@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --paper: #f5f6f2;
  --ink: #17211d;
  --muted: #77817b;
  --line: #dfe3dd;
  --green: #c3f36a;
  --dark-green: #315329;
  --mono: "DM Mono", "Courier New", monospace;
  --sans: "DM Sans", Arial, sans-serif;
  --display: "Manrope", "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.site-header { height: 76px; padding: 0 7.15%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-size: 15px; font-weight: 800; letter-spacing: -.05em; }
.wordmark-mark { width: 25px; height: 25px; display: grid; place-items: center; background: var(--ink); color: var(--green); border-radius: 7px; font-size: 14px; }
.wordmark-dot, .accent { color: #83b443; }
.main-nav { display: flex; gap: 34px; margin-left: 70px; color: #66716b; font-size: 12px; }
.main-nav a:hover, .github-link:hover, .site-footer a:hover { color: #669332; }
.github-link { font-size: 12px; font-weight: 600; }
.github-link span, .site-footer a span { color: #80ae42; }
.hero { position: relative; min-height: 580px; padding: 106px 12.5% 90px; overflow: hidden; display: flex; align-items: center; }
.hero-copy { position: relative; z-index: 1; max-width: 610px; }
.eyebrow { margin: 0 0 22px; color: #68746d; font: 10px/1.5 var(--mono); letter-spacing: .095em; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #89bd4a; box-shadow: 0 0 0 4px #89bd4a1c; vertical-align: 1px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font: 700 clamp(46px, 6vw, 76px)/1.07 var(--display); letter-spacing: -.075em; }
h1 span { color: #84ad4f; }
.hero-description { max-width: 415px; margin-bottom: 28px; color: #758079; font-size: 14px; line-height: 1.8; }
.text-link { display: inline-flex; align-items: center; gap: 13px; font-size: 12px; font-weight: 700; }
.text-link span { color: #79a93c; font-size: 16px; }
.hero-art { position: absolute; width: 450px; height: 450px; top: 50%; right: 9%; transform: translateY(-50%); }
.art-orbit { position: absolute; border: 1px solid #dfe4dc; border-radius: 50%; }
.orbit-one { inset: 34px; }
.orbit-two { inset: 0; border-style: dashed; opacity: .8; }
.art-core { position: absolute; inset: 119px; display: grid; place-items: center; border: 1px solid #dce2d9; border-radius: 50%; background: linear-gradient(140deg, #f8faf5, #e9eee4); box-shadow: 0 18px 55px #4d623517; }
.art-core span { width: 96px; height: 96px; display: grid; place-items: center; border-radius: 26px; background: #1d2b24; color: var(--green); font: 800 62px var(--display); letter-spacing: -.09em; box-shadow: 0 12px 30px #17211d35; }
.art-core i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #91bd57; }
.art-core i:nth-of-type(1) { top: 12px; left: 57px; }.art-core i:nth-of-type(2) { right: 21px; bottom: 49px; }.art-core i:nth-of-type(3) { left: 25px; bottom: 61px; }
.art-label { position: absolute; color: #89938b; font: 9px var(--mono); letter-spacing: .06em; }
.label-one { top: 69px; right: 27px; }.label-two { bottom: 62px; left: 4px; }
.art-cross { position: absolute; color: #9cba7a; font: 18px var(--mono); }.cross-one { top: 126px; left: 16px; }.cross-two { right: 49px; bottom: 106px; }
.hero-index { position: absolute; right: 7.15%; bottom: 38px; color: #9ba39d; font: 10px var(--mono); }
.hero-index span { color: var(--ink); }
.section { padding: 83px 12.5% 95px; }
.projects-section { background: #fff; }
.section-heading, .gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 38px; }
.section-heading .eyebrow, .gallery-heading .eyebrow { margin-bottom: 12px; }
h2 { margin-bottom: 0; font: 700 clamp(28px, 3.5vw, 40px)/1.2 var(--display); letter-spacing: -.06em; }
.section-note { margin: 0 0 5px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.project-card { position: relative; min-height: 365px; padding: 26px 28px 25px; border: 1px solid #e6e9e4; border-radius: 8px; background: #fcfdfa; transition: transform .2s ease, box-shadow .2s ease; }
.project-card:hover { transform: translateY(-3px); box-shadow: 0 16px 38px #1f30220c; }
.card-topline { display: flex; justify-content: space-between; color: #87918a; font: 9px var(--mono); letter-spacing: .05em; }
.card-arrow { font-size: 16px; color: #8cae62; }
.project-icon { width: 52px; height: 52px; position: relative; margin: 34px 0 22px; display: grid; place-items: center; border-radius: 15px; background: #edf4e5; color: #527a32; }
.ipsc-icon span { font: 800 19px var(--display); letter-spacing: -.08em; }
.ipsc-icon i { position: absolute; right: 8px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: #8fbd50; }
.video-icon { background: #f1f0e9; color: #656b4d; font-size: 15px; }
.video-icon i { position: absolute; left: 11px; bottom: 9px; height: 2px; width: 12px; background: #95b773; }.video-icon i:last-child { left: auto; right: 10px; bottom: 14px; width: 8px; }
.project-card h3 { margin-bottom: 10px; font: 700 18px var(--display); letter-spacing: -.04em; }
.project-card p { max-width: 470px; margin-bottom: 17px; color: #78827b; font-size: 12px; line-height: 1.75; }
.tag-row { display: flex; gap: 7px; margin-bottom: 19px; }
.tag-row span { padding: 5px 8px; border: 1px solid #e4e9e1; border-radius: 4px; color: #657268; font: 9px var(--mono); }
.card-link { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 700; }.card-link span { color: #7faa49; }
.tools-section { padding-top: 80px; padding-bottom: 90px; }
.tool-links { border-top: 1px solid var(--line); }
.tool-link { min-height: 83px; display: flex; align-items: center; gap: 21px; border-bottom: 1px solid var(--line); transition: padding .18s ease; }
.tool-link:hover { padding-right: 8px; padding-left: 8px; }
.tool-number { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #dce3d6; border-radius: 50%; color: #72964c; font: 10px var(--mono); }
.tool-copy { display: grid; gap: 5px; flex: 1; }.tool-copy strong { font: 600 14px var(--display); }.tool-copy small { color: #89928c; font-size: 11px; }
.tool-arrow { color: #7faa49; }
.gallery-section { padding: 77px 12.5% 91px; background: #e9eee6; }
.gallery-heading { margin-bottom: 30px; }.gallery-heading .text-link { margin-bottom: 7px; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gallery-item { overflow: hidden; margin: 0; border: 1px solid #dce2d8; border-radius: 6px; background: #fff; }
.gallery-wide { grid-column: 1 / -1; }
.gallery-item img { display: block; width: 100%; height: auto; min-height: 150px; object-fit: cover; background: #e2e7df; }
.gallery-item:not(.gallery-wide) img { aspect-ratio: 1.65; }
.gallery-item figcaption { display: flex; gap: 11px; padding: 12px 15px; border-top: 1px solid #e7ebe5; color: #727d74; font: 9px var(--mono); letter-spacing: .05em; }
.gallery-item figcaption span { color: #80a94c; }
.site-footer { min-height: 82px; padding: 18px 7.15%; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); color: #818b83; font-size: 10px; }
.site-footer > a:last-child { color: var(--ink); font: 10px var(--mono); letter-spacing: .05em; }

.doc-main { max-width: 900px; margin: 0 auto; padding: 60px 32px 95px; }
.back-link { display: inline-block; margin-bottom: 34px; color: #66746a; font-size: 12px; }
.doc-main .eyebrow { margin-bottom: 13px; }
.doc-main h1 { margin-bottom: 15px; font-size: clamp(36px, 5vw, 56px); }
.doc-lead { max-width: 700px; margin-bottom: 42px; color: #727d75; font-size: 14px; line-height: 1.8; }
.doc-block { padding: 25px 0; border-top: 1px solid var(--line); }
.doc-block h2 { margin-bottom: 13px; font-size: 21px; }
.doc-block p, .doc-block li { color: #69756c; font-size: 13px; line-height: 1.8; }
.doc-block ul { padding-left: 20px; margin: 10px 0 0; }
.config-list { display: grid; grid-template-columns: minmax(150px, .7fr) 2fr; margin: 0; border-top: 1px solid #e5e9e3; }
.config-list dt, .config-list dd { margin: 0; padding: 12px 10px; border-bottom: 1px solid #e5e9e3; font-size: 12px; line-height: 1.65; }
.config-list dt { color: #3c5735; font: 11px var(--mono); }
.config-list dd { color: #69756c; }
.doc-main code { padding: 2px 5px; border-radius: 3px; background: #ebefe8; color: #49603b; font: .9em var(--mono); }
.doc-main pre { overflow-x: auto; padding: 20px; border: 1px solid #e4e8e2; border-radius: 6px; background: #fff; color: #435044; font: 12px/1.7 var(--mono); }
.placeholder-card { padding: 30px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.placeholder-card p:last-child { margin-bottom: 0; }

@media (max-width: 760px) {
  .site-header { height: 66px; padding: 0 6%; }.main-nav { gap: 17px; margin-left: 0; }.github-link { display: none; }
  .hero { min-height: 555px; padding: 75px 8% 85px; align-items: flex-start; }.hero-art { width: 275px; height: 275px; top: auto; right: 5%; bottom: -34px; transform: none; opacity: .7; }.art-core { inset: 76px; }.art-core span { width: 69px; height: 69px; border-radius: 20px; font-size: 47px; }.label-one { top: 39px; right: 12px; }.label-two { bottom: 35px; left: 0; }.hero-index { right: 6%; bottom: 22px; }
  .section, .gallery-section { padding: 62px 7% 70px; }.section-heading, .gallery-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 27px; }.project-grid { grid-template-columns: 1fr; }.project-card { min-height: 0; }.project-icon { margin-top: 27px; }
  .gallery-heading { position: relative; }.gallery-heading .text-link { margin-top: 1px; }.site-footer { padding: 18px 6%; }.site-footer > span { display: none; }
  .doc-main { padding: 39px 7% 70px; }.config-list { grid-template-columns: 1fr; }.config-list dt { padding-bottom: 3px; border-bottom: 0; }.config-list dd { padding-top: 3px; }
}
@media (max-width: 420px) {
  .main-nav { font-size: 11px; gap: 12px; }.hero { min-height: 525px; }.hero-art { right: -33px; }.gallery-grid { grid-template-columns: 1fr; }.gallery-wide { grid-column: auto; }.tool-link { gap: 13px; }.tool-copy strong { font-size: 12px; }.tool-copy small { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
