:root {
  --charcoal: #18201f;
  --charcoal-deep: #111716;
  --teal: #176b68;
  --teal-light: #5cb3a9;
  --ochre: #d39a35;
  --slate: #647a8a;
  --off-white: #fafaf7;
  --muted: #a4b0ab;
  --line: rgba(250, 250, 247, 0.14);
  --line-strong: rgba(250, 250, 247, 0.28);
  --serif: Georgia, 'Times New Roman', serif;
  color-scheme: dark;
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--charcoal);
  color: var(--off-white);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--charcoal); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--charcoal); }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { border: 0; color: inherit; cursor: pointer; }
.static-fallback { min-height: 100svh; display: grid; place-items: center; position: relative; background: radial-gradient(circle at 50% 42%, rgba(23, 107, 104, .11), transparent 36%), var(--charcoal); }
.fallback-mark { position: absolute; top: 26px; left: 34px; font-size: 10px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; }
.fallback-mark i { display: inline-block; width: 6px; height: 6px; margin-right: 12px; border-radius: 50%; background: var(--ochre); }
.fallback-copy { text-align: center; }
.fallback-copy h1 { margin: 0; font-size: clamp(46px, 10vw, 112px); line-height: .9; letter-spacing: -.08em; }
.fallback-copy p { margin: 24px 0 34px; color: var(--muted); font-size: 14px; letter-spacing: .08em; }
.fallback-copy a { padding-bottom: 12px; border-bottom: 1px solid var(--line-strong); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.fallback-copy span { margin-left: 12px; color: var(--ochre); font-size: 17px; }

.home-shell { min-height: 100svh; overflow: hidden; position: relative; background: radial-gradient(circle at 50% 42%, rgba(23, 107, 104, .11), transparent 36%), var(--charcoal); }
.home-shell::after { content: ''; pointer-events: none; position: absolute; inset: 0; opacity: .18; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.home-header { position: absolute; z-index: 3; top: 0; left: 0; right: 0; padding: 26px 34px; display: flex; justify-content: space-between; align-items: center; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(250,250,247,.52); }
.brand-mark { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .3em; color: var(--off-white); }
.brand-mark::before { content: ''; width: 33px; height: 27px; flex: none; background: url("assets/brand/anthrome-mark-fluid.png") center / contain no-repeat; }
.brand-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ochre); box-shadow: 0 0 14px rgba(211,154,53,.7); }
.nav-manifold { display: none; }
.quiet-label { display: flex; align-items: center; gap: 10px; }
.quiet-label::before { content: ''; display: block; width: 28px; height: 1px; background: var(--line-strong); }

.visual-stage { position: absolute; inset: 0; display: grid; place-items: center; }
#embedding { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; opacity: .98; transition: opacity 700ms ease; }
.static-identity { position: absolute; z-index: 2; top: 80%; left: 50%; width: min(90vw, 760px); transform: translate(-50%, -43%); text-align: center; pointer-events: none; opacity: 0; transition: opacity 800ms ease, transform 800ms cubic-bezier(.2,.7,.2,1); }
.static-identity.is-visible { opacity: 1; transform: translate(-50%, -50%); }
.static-identity h1 { margin: 0; font-size: clamp(28px, 5vw, 65px); letter-spacing: .28em; line-height: 1; font-weight: 500; padding-left: .28em; }
.static-identity p { margin: 24px 0 0; color: var(--muted); font-size: clamp(11px, 1.35vw, 15px); letter-spacing: .12em; }
.intro-copy { position: absolute; z-index: 2; text-align: center; top: 50%; left: 50%; width: min(90vw, 760px); transform: translate(-50%, -50%); pointer-events: none; opacity: 0; transition: opacity 1000ms ease, transform 1200ms cubic-bezier(.2,.7,.2,1); }
.intro-copy.is-revealed { opacity: 1; transform: translate(-50%, -44%); }
.intro-copy h1 { margin: 0; font-size: clamp(46px, 10vw, 112px); letter-spacing: -.08em; line-height: .9; font-weight: 800; }
.intro-copy p { margin: 24px 0 0; color: var(--muted); font-size: clamp(12px, 1.6vw, 16px); letter-spacing: .08em; }
.labs-entry { position: absolute; z-index: 4; left: 50%; bottom: clamp(18px, 4.5svh, 64px); transform: translateX(-50%) translateY(10px); opacity: 0; transition: opacity 700ms ease 400ms, transform 700ms ease 400ms; display: inline-flex; gap: 15px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line-strong); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.labs-entry.is-revealed { opacity: 1; transform: translateX(-50%) translateY(0); }
.labs-entry span { transition: transform 200ms ease; color: var(--ochre); font-size: 17px; line-height: 0; }
.labs-entry:hover span, .labs-entry:focus-visible span { transform: translateX(5px); }
.intro-hint { position: absolute; z-index: 2; bottom: 25px; right: 34px; color: rgba(250,250,247,.35); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; transition: opacity 500ms ease; }
.intro-hint.is-hidden { opacity: 0; }

.labs-shell { min-height: 100svh; background: var(--charcoal); }
.labs-nav { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 27px clamp(22px, 5vw, 72px); border-bottom: 1px solid var(--line); background: rgba(24,32,31,.88); backdrop-filter: blur(16px); }
.labs-wordmark { display: flex; align-items: center; gap: 18px; font-weight: 800; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
.labs-mark { width: 31px; height: 26px; overflow: visible; flex: none; }
.labs-mark-raster { width: 38px; height: 31px; object-fit: contain; mix-blend-mode: screen; }
.labs-mark-solid { width: 31px; height: 28px; object-fit: contain; }
.labs-mark-raster, .labs-mark-solid { content: url("assets/brand/anthrome-mark-fluid.png"); mix-blend-mode: normal; }
.labs-wordmark em { color: var(--ochre); font-style: normal; font-weight: 500; letter-spacing: .08em; }
.labs-nav-links { display: flex; gap: clamp(16px, 3vw, 38px); }
.labs-nav-links a { color: var(--muted); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; transition: color 180ms ease; }
.labs-nav-links a:hover, .labs-nav-links a:focus-visible { color: var(--off-white); }
.back-home { color: var(--muted); font-size: 17px; transition: color 180ms ease; }
.back-home:hover { color: var(--off-white); }
.labs-content { width: min(1180px, calc(100% - 44px)); margin: auto; }
.labs-hero { padding: clamp(100px, 17vh, 190px) 0 clamp(90px, 14vh, 160px); border-bottom: 1px solid var(--line); }
.eyebrow { display: flex; align-items: center; gap: 13px; color: var(--ochre); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 38px; height: 1px; background: currentColor; }
.labs-hero h1 { max-width: 900px; margin: 28px 0 34px; font-size: clamp(48px, 8.5vw, 114px); line-height: .95; letter-spacing: -.085em; font-weight: 700; }
.labs-hero h1 span { color: var(--slate); }
.hero-deck { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.hero-deck p { grid-column: 7 / 12; max-width: 440px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.section { padding: clamp(70px, 11vw, 140px) 0; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 52px; }
.section-heading h2 { margin: 0; font-size: clamp(28px, 4vw, 52px); letter-spacing: -.06em; }
.section-heading p { margin: 0; color: var(--slate); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 9vw, 160px); }
.about-grid p { max-width: 520px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.75; }
.about-grid p:first-child { color: var(--off-white); font-size: clamp(21px, 2.8vw, 32px); line-height: 1.35; letter-spacing: -.04em; }
.people-grid, .outputs-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.person, .output { min-height: 230px; padding: 24px 22px 28px 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.person:not(:first-child), .output:not(:first-child) { padding-left: 22px; }
.person:last-child, .output:last-child { border-right: 0; }
.person-number, .output-index { color: var(--ochre); font-size: 10px; letter-spacing: .16em; }
.person h3 { margin: 58px 0 8px; font-size: 21px; letter-spacing: -.04em; }
.person p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.output { min-height: 180px; }
.output h3 { margin: 34px 0 11px; font-size: 20px; letter-spacing: -.04em; }
.output p { margin: 0; max-width: 270px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.work-hero { padding-bottom: clamp(70px, 12vh, 130px); }
.system-section { padding-top: clamp(70px, 10vw, 120px); }
.system-intro { max-width: 620px; margin: -15px 0 50px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.system-map-wrap { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.system-map-canvas-wrap { position: relative; min-height: 620px; border-right: 1px solid var(--line); }
#system-map { display: block; width: 100%; height: 100%; min-height: 620px; touch-action: none; }
.map-instruction { position: absolute; left: 22px; bottom: 19px; margin: 0; color: rgba(250,250,247,.38); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; pointer-events: none; }
.system-inspector { padding: 28px 30px; display: flex; min-height: 430px; max-height: 620px; overflow-y: auto; flex-direction: column; }
.inspector-type { margin: 0 0 58px; color: var(--ochre); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.system-inspector h3 { margin: 0 0 17px; max-width: 290px; font-size: clamp(25px, 2.5vw, 38px); line-height: 1.02; letter-spacing: -.06em; }
.system-inspector > p:not(.inspector-type):not(.inspector-note) { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.inspector-facets { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 27px; }
.inspector-facets button { padding: 7px 9px; border: 1px solid var(--line); background: transparent; color: rgba(250,250,247,.7); font-size: 9px; letter-spacing: .06em; transition: border-color 180ms ease, color 180ms ease; }
.inspector-facets button:hover, .inspector-facets button:focus-visible { border-color: var(--line-strong); color: var(--off-white); outline: 0; }
.inspector-note { margin: auto 0 0; padding-top: 30px; color: var(--slate); font-size: 10px; line-height: 1.65; }
.inspector-outputs { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.inspector-outputs:empty { display: none; }
.inspector-outputs h4 { margin: 18px 0 0; color: var(--ochre); font-size: 9px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.inspector-output { padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.inspector-output-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--slate); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.anthrome-role { display: inline-flex; align-items: center; padding: 4px 6px; border: 1px solid var(--line); color: var(--muted); font-size: 8px; font-weight: 600; letter-spacing: .1em; line-height: 1; text-transform: uppercase; }
.anthrome-role--led { border-color: rgba(200,216,169,.46); background: rgba(200,216,169,.08); color: var(--off-white); }
.anthrome-role--contribution { border-color: rgba(100,122,138,.45); }
.inspector-output h5 { margin: 0; font-size: 15px; line-height: 1.3; letter-spacing: -.03em; }
.inspector-output h5 a { border-bottom: 1px solid transparent; transition: border-color 180ms ease; }
.inspector-output h5 a:hover, .inspector-output h5 a:focus-visible { border-color: var(--line-strong); outline: 0; }
.inspector-output h5 span { color: var(--ochre); font-size: 12px; }
.inspector-output-summary { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.system-key { display: flex; flex-wrap: wrap; gap: 9px 18px; padding: 22px 0 0; }
.system-key button { display: inline-flex; align-items: center; gap: 8px; padding: 0; background: transparent; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-align: left; }
.system-key button::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--node-colour); box-shadow: 0 0 0 3px color-mix(in srgb, var(--node-colour) 14%, transparent); }
.system-key button:hover, .system-key button:focus-visible { color: var(--off-white); outline: 0; }
.highlights-section { padding-bottom: clamp(75px, 11vw, 140px); }
.highlights-list { border-top: 1px solid var(--line); }
.highlight-output { display: grid; grid-template-columns: minmax(220px, .38fr) minmax(0, 1fr); gap: clamp(25px, 4vw, 64px); align-items: start; padding: 29px 0 34px; border-bottom: 1px solid var(--line); }
.highlight-body { max-width: 760px; }
.highlight-network { display: block; width: 100%; height: 148px; background: transparent; }
.highlight-topline { display: flex; align-items: center; gap: 20px; margin-bottom: 12px; }
.highlight-type { margin: 0; color: var(--slate); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.highlight-output h3 { margin: 0; max-width: 760px; font-size: clamp(20px, 2.2vw, 31px); line-height: 1.15; letter-spacing: -.055em; }
.highlight-output h3 a { border-bottom: 1px solid transparent; transition: border-color 180ms ease; }
.highlight-output h3 a:hover, .highlight-output h3 a:focus-visible { border-color: var(--line-strong); outline: 0; }
.highlight-output h3 span { color: var(--ochre); font-size: .72em; }
.highlight-summary { max-width: 690px; margin: 15px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.team-directory { padding-top: clamp(42px, 8vw, 94px); }
.team-card { min-height: 410px; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 0 22px 28px 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.team-card:not(:first-child) { padding-left: 22px; }
.team-card:last-child { border-right: 0; }
.team-photo { aspect-ratio: 1 / .78; margin: 0 0 22px; background: var(--charcoal); overflow: hidden; }
.team-photo img, .team-photo canvas { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78); }
.team-card h3 { margin: 0 0 18px; font-size: 25px; letter-spacing: -.05em; }
.team-meta { display: grid; grid-template-columns: minmax(0, 1fr) 94px; gap: 20px; align-items: start; margin-top: 5px; }
.team-role, .team-system { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.team-role > span, .team-system > span { color: var(--ochre); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.team-role p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.25; }
.team-domain-map { width: 86px; height: 86px; }
.team-profile { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 24px 22px 27px; background: rgba(24,32,31,.97); border: 1px solid rgba(250,250,247,.2); opacity: 0; pointer-events: none; transform: translateY(5px); transition: opacity 180ms ease, transform 180ms ease; }
.team-profile p { margin: 0; color: rgba(250,250,247,.82); font-size: 12px; line-height: 1.67; }
.team-profile-links { display: flex; flex-wrap: wrap; gap: 8px 13px; padding-top: 18px; border-top: 1px solid var(--line); }
.team-profile-links a { color: var(--ochre); font-size: 10px; letter-spacing: .03em; }
.team-card:hover .team-profile, .team-card:focus .team-profile, .team-card:focus-within .team-profile { opacity: 1; pointer-events: auto; transform: translateY(0); }
.team-card:focus { outline: 1px solid rgba(250,250,247,.34); outline-offset: 4px; }
.profile-link { position: absolute; right: 0; bottom: 26px; color: var(--off-white); font-size: 19px; }
.roles-list { border-top: 1px solid var(--line); }
.role-row { display: flex; justify-content: space-between; gap: 20px; padding: 23px 0; border-bottom: 1px solid var(--line); font-size: 16px; letter-spacing: -.02em; }
.role-row span:last-child { color: var(--ochre); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.roles-empty { margin: 0; padding: 23px 0; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 14px; }
.inline-link { color: var(--off-white); border-bottom: 1px solid var(--line-strong); }
.create-role-links { display: flex; flex-wrap: wrap; gap: 15px 22px; margin-top: 28px !important; }
.create-role-links a { color: var(--off-white); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--line-strong); padding-bottom: 5px; }
.career-guide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 60px; border-top: 1px solid var(--line); }
.guide-item { min-height: 260px; padding: 25px 28px 30px 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guide-item:nth-child(even) { padding-left: 28px; border-right: 0; }
.guide-item > span { color: var(--ochre); font-size: 10px; letter-spacing: .14em; }
.guide-item h3 { margin: 35px 0 11px; font-size: 22px; letter-spacing: -.05em; }
.guide-item p { max-width: 440px; margin: 0 0 12px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.guide-item a { color: var(--off-white); border-bottom: 1px solid var(--line-strong); font-size: 10px; letter-spacing: .06em; }
.research-note { margin: 25px 0 0; color: var(--slate); font-size: 10px; letter-spacing: .06em; }
.labs-footer { display: flex; justify-content: space-between; gap: 30px; padding: 30px 0 50px; color: var(--muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }

@media (max-width: 680px) {
  .home-header { padding: 22px 20px; }
  .quiet-label { display: none; }
  .intro-copy p { margin-top: 18px; }
  .intro-hint { right: 20px; bottom: 18px; }
  .labs-nav { padding: 21px 20px; }
  .labs-nav-links { gap: 14px; }
  .labs-nav-links a { font-size: 9px; letter-spacing: .08em; }
  .back-home { display: none; }
  .labs-content { width: min(100% - 40px, 1180px); }
  .hero-deck, .about-grid { display: block; }
  .hero-deck p { margin-top: 8px; }
  .about-grid p + p { margin-top: 26px; }
  .people-grid, .outputs-list { display: block; }
  .team-grid { display: block; }
  .career-guide { display: block; margin-top: 42px; }
  .system-map-wrap { display: block; }
  .system-map-canvas-wrap { min-height: 490px; border-right: 0; border-bottom: 1px solid var(--line); }
  #system-map { min-height: 490px; }
  .system-inspector { min-height: 0; max-height: none; padding: 25px 0 30px; }
  .inspector-type { margin-bottom: 30px; }
  .inspector-note { margin-top: 26px; }
  .highlight-output { grid-template-columns: 1fr; gap: 13px; padding: 25px 0 29px; }
  .highlight-network { width: min(100%, 360px); height: 170px; }
  .highlight-topline { margin-bottom: 10px; }
  .highlight-summary { font-size: 12px; }
  .person, .output, .person:not(:first-child), .output:not(:first-child) { min-height: 0; padding: 24px 0; border-right: 0; }
  .team-card, .team-card:not(:first-child) { min-height: 0; padding: 0 0 28px; border-right: 0; }
  .guide-item, .guide-item:nth-child(even) { min-height: 0; padding: 24px 0; border-right: 0; }
  .person h3 { margin-top: 28px; }
  .labs-footer { flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
