/* Amyno Bio */

:root {
  --bg: #f5f3ee;
  --bg-alt: #edeae2;
  --ink: #0d1210;
  --muted: #5a615c;
  --line: #d9d5ca;
  --dark: #09100d;
  --dark-line: #1d2a24;
  --glow: #4ee3a0;
  --accent: #0e7a50;

  --font-display: "Jost", "Futura", "Century Gothic", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(20px, 5vw, 48px);
  --max: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
::selection { background: var(--glow); color: var(--dark); }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.7rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.4rem; letter-spacing: -0.005em; font-weight: 500; }


.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.55; color: var(--muted); max-width: 40em; }
.on-dark .lede { color: #a9bbb1; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 243, 238, .82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 18px; width: auto; }
.nav ul { display: flex; gap: 2.2rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a { text-decoration: none; }
.nav li a:not(.btn) { font-size: .92rem; position: relative; padding: 6px 0; color: var(--muted); transition: color .2s; }
.nav li a:not(.btn):hover, .nav li a[aria-current="page"] { color: var(--ink); }
.nav li a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink);
}
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.menu-btn span { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 5px 0; transition: transform .3s var(--ease), opacity .2s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-body); font-size: .95rem; font-weight: 500;
  padding: .85em 1.5em; border-radius: 999px;
  background: var(--ink); color: var(--bg); text-decoration: none;
  border: 1px solid var(--ink);
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.small { padding: .55em 1.15em; font-size: .88rem; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.on-dark .btn { background: var(--bg); color: var(--dark); border-color: var(--bg); }
.on-dark .btn:hover { background: transparent; color: var(--bg); }

/* Sections */
section { padding: clamp(44px, 6.5vw, 84px) 0; }
.hero { padding: clamp(32px, 5vw, 64px) 0 clamp(40px, 5vw, 64px); }
.hero h1 { max-width: 11em; margin-bottom: .45em; }
.hero .lede { margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-photo {
  margin-top: clamp(32px, 4.5vw, 52px);
  border-radius: 6px; overflow: hidden;
  aspect-ratio: 3 / 2;
  position: relative;
  background: var(--bg-alt);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }

.page-head { padding: clamp(36px, 6vw, 72px) 0 clamp(32px, 4.5vw, 52px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); max-width: 13em; margin-bottom: .5em; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 110px); align-items: start; }
.split h2 { position: sticky; top: 110px; }

.rule-list { list-style: none; margin: 0; padding: 0; }
.rule-list > li { border-top: 1px solid var(--line); padding: 1.8rem 0; display: grid; grid-template-columns: 56px 1fr; gap: 1rem; }
.rule-list > li:last-child { border-bottom: 1px solid var(--line); }
.rule-list .n { font-family: var(--font-mono); font-size: .78rem; color: var(--accent); padding-top: .55em; letter-spacing: .05em; }
.rule-list h3 { margin-bottom: .4em; }
.rule-list p { margin: 0; color: var(--muted); }

.alt { background: var(--bg-alt); }

/* Dark panel */
.on-dark { background: var(--dark); color: #e8efe9; }
.on-dark h2, .on-dark h3 { color: #f3f7f4; }
.lymph { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.lymph-fig { position: relative; aspect-ratio: 1 / 1; max-width: 380px; width: 100%; margin-left: auto; }
.lymph-fig svg { width: 100%; height: 100%; overflow: visible; }
.lymph-fig .vessel { fill: none; stroke: var(--glow); stroke-linecap: round; stroke-linejoin: round; }
.lymph-fig .base { stroke-width: 1.4; opacity: .35; }
.lymph-fig .core { stroke-width: 2; }
.lymph-fig .node { fill: var(--dark); stroke: var(--glow); stroke-width: 1.5; }
.lymph-fig .pulse { fill: var(--glow); opacity: 0; }
.lymph-fig .glow-layer { filter: url(#blur); opacity: .55; }
.lymph-fig .vessel.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 2.4s var(--ease); }
.lymph-fig.in .vessel.draw { stroke-dashoffset: 0; }
.lymph-fig .node, .lymph-fig .pulse { transition: opacity 1s .9s; }
.lymph-fig:not(.in) .node { opacity: 0; }
.lymph-fig.in .pulse { animation: pulse 4.5s 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 0; } 50% { opacity: .35; } }
.fig-note { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; color: #6f857a; margin-top: 1rem; text-transform: uppercase; }

.points { margin: 2rem 0 0; padding: 0; list-style: none; display: grid; gap: .9rem; }
.points li { padding-left: 1.6rem; position: relative; color: #a9bbb1; }
.points li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px var(--glow); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 3rem; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 2rem 1.8rem 2.2rem; transition: transform .35s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-3px); border-color: #b9b5a8; }
.card .n { font-family: var(--font-mono); font-size: .75rem; color: var(--accent); margin-bottom: 3rem; display: block; letter-spacing: .08em; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

.statement-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 7vw, 100px); align-items: start; }
.statement-grid .big { margin: 0; }
.statement .big { font-family: var(--font-display); font-size: clamp(1.8rem, 3.8vw, 3rem); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .8em; }
.statement .sub { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); line-height: 1.6; max-width: 40em; }
.statement .btn { margin-top: 1rem; }

.cta-band { text-align: left; }
.cta-band h2 { max-width: 14em; }

/* Status rail */
.status { margin-top: 2.5rem; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); }
.status-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.2rem 1.6rem; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.status-head .tag { color: var(--accent); display: inline-flex; align-items: center; gap: .6em; }
.status-head .tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.status-grid > div { padding: 1.6rem; border-right: 1px solid var(--line); }
.status-grid > div:last-child { border-right: 0; }
.status-grid strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; margin-bottom: .4rem; }
.status-grid span { color: var(--muted); font-size: .92rem; display: block; line-height: 1.5; }

/* About */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); margin-top: 3rem; }
.founder .ph { aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--bg-alt); margin-bottom: 1.4rem; }
.founder .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s var(--ease); }
.founder:hover .ph img { transform: scale(1.03); }
.founder h3 { margin-bottom: .1em; font-size: 1.6rem; }
.founder .role { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; display: block; }
.founder p { color: var(--muted); max-width: 28em; }

.timeline { list-style: none; margin: 3rem 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 2.6rem 2.4rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: .6em; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--ink); }
.timeline li.next::before { border-style: dashed; border-color: var(--muted); }
.timeline .when { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: .3rem; }
.timeline h3 { margin-bottom: .3em; }
.timeline p { margin: 0; color: var(--muted); max-width: 34em; }

.two-photo { margin-top: clamp(48px, 7vw, 88px); border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 8; }
.two-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }

/* Contact */
.contact-email { display: inline-block; font-family: var(--font-display); font-size: clamp(1.6rem, 4.5vw, 3.2rem); letter-spacing: -0.015em; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: .1em; margin: .5rem 0 0; transition: color .2s, border-color .2s; }
.contact-email:hover { color: var(--accent); border-color: var(--accent); }
.audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.audience div { padding: 1.4rem 1.4rem 1.4rem 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.2rem; }
.audience div span { font-family: var(--font-mono); font-size: .7rem; color: var(--accent); display: block; margin-bottom: .4rem; letter-spacing: .08em; }

/* Footer */
.site-footer { background: var(--dark); color: #a9bbb1; padding: 44px 0 28px; font-size: .92rem; }
.footer-top { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid var(--dark-line); }
.footer-top img { height: 18px; width: auto; filter: invert(1); margin-bottom: 0; }
.footer-top p { margin: 0; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; flex-wrap: wrap; align-self: flex-start; }
.footer-top a { text-decoration: none; transition: color .2s; }
.footer-top a:hover { color: #fff; }
.footer-bottom { padding-top: 1.8rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: #6f857a; }
.footer-bottom p { margin: 0; }

/* Motion */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.load { animation: rise 1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-photo img, .two-photo img { transform: scale(1.04); transition: transform 2s var(--ease); }
.hero-photo.in img, .two-photo.in img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .load { opacity: 1; transform: none; animation: none; transition: none; }
  .hero-photo img, .two-photo img { transform: none; transition: none; }
  .lymph-fig .vessel.draw { stroke-dashoffset: 0; transition: none; }
  .lymph-fig .pulse { animation: none; }
}

/* Responsive */
@media (max-width: 880px) {
  .statement-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .split, .lymph { grid-template-columns: 1fr; }
  .split h2 { position: static; }
  .lymph-fig { margin: 1rem auto 0; max-width: 400px; }
  .cards { grid-template-columns: 1fr; }
  .card .n { margin-bottom: 1.6rem; }
  .status-grid { grid-template-columns: 1fr; }
  .status-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .status-grid > div:last-child { border-bottom: 0; }

  .menu-btn { display: block; }
  .nav ul {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .4s var(--ease), visibility 0s .4s;
  }
  .menu-open .nav ul { clip-path: inset(0); visibility: visible; transition: clip-path .4s var(--ease); }
  .nav li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav li:last-child { border: 0; padding-top: 16px; }
  .nav li a:not(.btn) { display: block; padding: 16px 0; font-size: 1.05rem; }
  .nav li a[aria-current="page"]::after { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .founders { grid-template-columns: 1fr; }
  .rule-list > li { grid-template-columns: 40px 1fr; }
}

.founder h3 { display: flex; align-items: center; gap: .55rem; }
.founder .li { display: inline-flex; color: var(--muted); transition: color .2s; }
.founder .li:hover { color: var(--accent); }

.tag { font-family: var(--font-mono); font-style: normal; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px solid currentColor; border-radius: 999px; padding: .15em .7em; margin-left: .5em; vertical-align: middle; white-space: nowrap; }
.timeline li.now::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(14,122,80,.15); }

/* Steps, flow, notes */
.split.tight h2 { position: static; }
.steps { list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 56px); counter-reset: s; }
.steps li { border-top: 1px solid var(--ink); padding-top: 1.4rem; }
.steps .n { font-family: var(--font-mono); font-size: .75rem; color: var(--accent); letter-spacing: .08em; display: block; margin-bottom: 1.4rem; }
.steps h3 { margin-bottom: .4em; }
.steps p { color: var(--muted); margin: 0; font-size: .98rem; max-width: 22em; }
.steps.plain { margin-top: 2.5rem; }
.steps.plain li { padding-top: 1.4rem; }
.textlink { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; color: var(--glow); }
.textlink:hover { opacity: .8; }
.caption { font-size: .88rem; color: var(--muted); border-left: 2px solid var(--line); padding-left: 1rem; margin-top: 1.5rem; max-width: 34em; }
.cta-band .split { align-items: center; }
.cta-band .btn { margin-top: .4rem; }
.footer-note { margin: 0; padding-top: 1rem; font-size: .8rem; line-height: 1.55; color: #6f857a; max-width: 52em; }
.footer-bottom { padding-bottom: 0; }
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .steps p { max-width: none; }
}

/* Compact founders */
.founders { margin-top: 1.8rem; gap: clamp(20px, 3vw, 40px); }
.founder { display: grid; grid-template-columns: 150px 1fr; gap: 1.4rem; align-items: start; }
.founder { grid-auto-rows: min-content; }
.founder .ph { aspect-ratio: 1 / 1; margin-bottom: 0; border-radius: 6px; grid-row: 1 / span 3; }
.founder h3 { margin-top: .4rem; }
.founder .ph img { object-position: 50% 28%; }
.founder h3 { font-size: 1.35rem; }
.founder p { font-size: .96rem; margin-bottom: 0; }
@media (max-width: 880px) {
  .founders { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .founder { grid-template-columns: 84px 1fr; gap: .2rem 1rem; }
  .founder .ph { grid-row: 1 / span 2; align-self: center; }
  .founder p { grid-column: 1 / -1; margin-top: .8rem; }
}

/* Founder cards: text fits within photo height */
.founder { grid-template-columns: 210px 1fr; gap: 0 1.5rem; align-items: start; }
.founder .ph { grid-row: 1 / span 3; }
.founder h3 { margin: 0; font-size: 1.3rem; line-height: 1.2; }
.founder .role { margin: .25rem 0 .55rem; }
.founder p { margin: 0; font-size: .9rem; line-height: 1.45; }
.inline { color: inherit; text-underline-offset: 3px; }
.inline:hover { color: var(--accent); }
@media (max-width: 480px) {
  .founder { grid-template-columns: 96px 1fr; gap: .2rem 1rem; }
  .founder .ph { grid-row: 1 / span 2; align-self: center; }
  .founder p { grid-column: 1 / -1; margin-top: .8rem; }
}

.status-line { margin: 1.4rem 0 0; font-size: .92rem; color: var(--muted); }

.inline { color: inherit; text-underline-offset: 3px; }

.cite { font-size: .7em; line-height: 0; margin-left: 2px; }
.cite a { text-decoration: none; color: var(--accent); }
.cite a:hover { text-decoration: underline; }
.ref { font-size: .76rem; color: var(--muted); margin: 1.2rem 0 0; opacity: .9; }
