:root {
  --paper: #f3eee4; --ink: #302a26; --ink-soft: #655c54;
  --terracotta: #b95f3f; --terracotta-dark: #91452f; --sage: #87927b;
  --sand: #d9c5a7; --line: rgba(48, 42, 38, 0.18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: min(1440px, calc(100vw - 80px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 12% 8%, rgba(255,255,255,.65), transparent 28%), var(--paper); font-family: var(--sans); line-height: 1.5; }
body::before { position: fixed; inset: 0; z-index: -1; content: ""; opacity: .22; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E"); }
body::after { position: fixed; inset: 0; z-index: 100; content: ""; pointer-events: none; opacity: 0; background: radial-gradient(circle at 28% 22%, #fffaf3, var(--paper) 36%, #dfb69b 100%); transform: translateY(16px); transition: opacity .32s ease, transform .32s cubic-bezier(.22,.8,.22,1); }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 10px 14px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { width: var(--page); height: 104px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; text-decoration: none; letter-spacing: -.025em; }
.site-nav { display: flex; gap: 42px; }
.site-nav a { position: relative; font-size: .95rem; text-decoration: none; }
.site-nav a::after { position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; content: ""; background: var(--terracotta); transition: right .25s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.site-nav a[aria-current="page"]::after { right: 0; }
.menu-toggle { display: none; }
.hero { width: var(--page); min-height: calc(100vh - 104px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr); align-items: center; gap: clamp(40px, 8vw, 130px); padding: 72px 0 96px; }
.home-page .hero { min-height: calc(100svh - 104px); padding: clamp(38px, 6vh, 72px) 0; }
.eyebrow { margin: 0 0 22px; color: var(--terracotta-dark); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: 0; font-family: var(--serif); font-size: clamp(4.5rem, 9vw, 8.75rem); font-weight: 400; line-height: .86; letter-spacing: -.065em; }
h1::after { display: block; width: 54%; height: 9px; margin: 20px 0 28px 4px; content: ""; border-radius: 50%; background: var(--terracotta); transform: rotate(-1.25deg) scaleY(.42); transform-origin: left center; }
.hero-statement { max-width: 680px; margin: 0; font-size: clamp(1.55rem, 2.45vw, 2.65rem); line-height: 1.18; letter-spacing: -.035em; }
.hero-statement span { display: block; }
.hero-role { margin: 26px 0 0; color: var(--terracotta-dark); font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button { min-width: 170px; padding: 14px 22px; border: 1px solid var(--ink); border-radius: 9px; text-align: center; text-decoration: none; transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fffaf3; border-color: var(--terracotta); background: var(--terracotta); }
.button-primary:hover { background: var(--terracotta-dark); }
.button-secondary:hover { color: var(--paper); background: var(--ink); }
.research-visual { position: relative; aspect-ratio: 1.18; max-height: 650px; overflow: hidden; }
.wash { position: absolute; border-radius: 47% 53% 62% 38% / 44% 38% 62% 56%; filter: saturate(.84); }
.wash-one { width: 52%; height: 37%; right: 6%; bottom: 10%; background: rgba(217, 197, 167, .74); transform: rotate(-7deg); }
.wash-two { width: 31%; height: 25%; left: 11%; bottom: 8%; background: rgba(135, 146, 123, .56); transform: rotate(8deg); }
.orbit { position: absolute; border: 1.5px solid rgba(70, 78, 61, .72); border-radius: 50%; }
.orbit-one { width: 40%; aspect-ratio: 1; right: 3%; bottom: 11%; }
.orbit-two { width: 30%; aspect-ratio: 1; right: 8%; bottom: 16%; }
.agent-map { position: absolute; inset: 8% 8% 32% 13%; }
.node { position: absolute; z-index: 2; width: 18px; height: 18px; border: 2px solid var(--paper); border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 1px rgba(48,42,38,.2); }
.node-a { left: 12%; top: 28%; background: var(--terracotta); }.node-b { left: 44%; top: 12%; }.node-c { right: 8%; top: 26%; background: var(--terracotta); }.node-d { left: 30%; bottom: 12%; background: var(--ink); }.node-e { right: 30%; bottom: 3%; }
.link { position: absolute; height: 1px; background: rgba(48,42,38,.42); transform-origin: left center; }
.link-a { width: 38%; left: 14%; top: 31%; transform: rotate(-17deg); }.link-b { width: 39%; left: 46%; top: 17%; transform: rotate(15deg); }.link-c { width: 33%; left: 15%; top: 33%; transform: rotate(42deg); }.link-d { width: 38%; left: 32%; bottom: 18%; transform: rotate(-18deg); }
.flow-line { position: absolute; left: 17%; top: 59%; width: 34%; height: 20%; border: solid var(--ink-soft); border-width: 1px 0 0 1px; border-radius: 70% 0 0; transform: rotate(12deg); }
.flow-line span { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.flow-line span:nth-child(1) { left: -6px; top: -6px; }.flow-line span:nth-child(2) { left: 58%; top: -7px; background: var(--sage); }.flow-line span:nth-child(3) { right: -6px; bottom: -6px; background: var(--terracotta); }
.section { width: var(--page); margin: 0 auto; padding: 120px 0; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 60px; margin-bottom: 52px; }
.section-kicker { margin: 0 0 18px; color: var(--terracotta-dark); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h2 { max-width: 850px; margin: 0; font-family: var(--serif); font-size: clamp(2.7rem, 5vw, 5.5rem); font-weight: 400; line-height: .98; letter-spacing: -.05em; }
.section-intro { max-width: 500px; margin: 0; color: var(--ink-soft); font-size: 1.04rem; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.work-card { overflow: hidden; border: 1px solid rgba(48,42,38,.12); border-radius: 18px; background: rgba(255,252,246,.52); box-shadow: 0 16px 44px rgba(61,48,37,.055); }
.work-card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.08fr .92fr; }
.card-art { position: relative; min-height: 270px; overflow: hidden; background: rgba(135,146,123,.12); }
.work-card-wide .card-art { min-height: 360px; }
.card-copy { padding: 30px; }
.work-card-wide .card-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 5vw, 72px); }
.card-index { margin: 0 0 22px; color: var(--terracotta-dark); font: 700 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
h3 { margin: 0 0 14px; font-family: var(--serif); font-size: clamp(1.65rem, 3vw, 2.7rem); font-weight: 400; line-height: 1.05; letter-spacing: -.035em; }
.card-copy > p:not(.card-index) { max-width: 580px; margin: 0; color: var(--ink-soft); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.tag-list li { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; }
.card-art-agents span { position: absolute; width: 32px; height: 32px; border: 8px solid rgba(243,238,228,.82); border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 1px rgba(48,42,38,.16); }
.card-art-agents span::after { position: absolute; left: 15px; top: 15px; width: 260px; height: 1px; content: ""; background: rgba(48,42,38,.25); transform-origin: left; }
.card-art-agents span:nth-child(1) { left: 12%; top: 30%; background: var(--terracotta); }.card-art-agents span:nth-child(1)::after { transform: rotate(15deg); }
.card-art-agents span:nth-child(2) { left: 48%; top: 18%; }.card-art-agents span:nth-child(2)::after { width: 180px; transform: rotate(36deg); }
.card-art-agents span:nth-child(3) { right: 10%; top: 42%; background: var(--sand); }.card-art-agents span:nth-child(3)::after { width: 210px; transform: rotate(137deg); }
.card-art-agents span:nth-child(4) { left: 29%; bottom: 15%; background: var(--ink); }.card-art-agents span:nth-child(4)::after { width: 180px; transform: rotate(-39deg); }
.card-art-agents span:nth-child(5) { right: 27%; bottom: 17%; background: var(--terracotta); }.card-art-agents span:nth-child(5)::after { display: none; }
.card-art-robust { background: linear-gradient(135deg, rgba(185,95,63,.16), rgba(217,197,167,.24)); }
.ring { position: absolute; border: 1px solid rgba(48,42,38,.38); border-radius: 50%; }
.ring-a { width: 185px; height: 185px; left: 18%; top: 15%; }.ring-b { width: 130px; height: 130px; left: 42%; top: 35%; border-color: var(--terracotta); }.ring-c { width: 80px; height: 80px; right: 16%; top: 20%; background: rgba(135,146,123,.28); }
.card-art-model { background: rgba(217,197,167,.2); }
.card-art-model span { position: absolute; width: 100px; height: 100px; border-radius: 50% 50% 46% 54%; mix-blend-mode: multiply; }
.card-art-model span:nth-child(1) { left: 22%; top: 31%; background: rgba(185,95,63,.68); }.card-art-model span:nth-child(2) { left: 38%; top: 20%; background: rgba(135,146,123,.68); }.card-art-model span:nth-child(3) { left: 48%; top: 44%; background: rgba(217,197,167,.92); }.card-art-model span:nth-child(4) { left: 32%; top: 49%; background: rgba(48,42,38,.48); }
.focus-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px, 10vw, 150px); }
.focus-copy > p:last-child { max-width: 610px; margin: 32px 0 0; color: var(--ink-soft); font-size: 1.08rem; }
.focus-list { margin: 0; padding: 0; list-style: none; }
.focus-list li { display: grid; grid-template-columns: 52px 1fr; gap: 22px; padding: 28px 0; border-top: 1px solid var(--line); }
.focus-list li:last-child { border-bottom: 1px solid var(--line); }
.focus-list li > span { color: var(--terracotta-dark); font-size: .78rem; font-weight: 700; }
.focus-list h3 { margin-bottom: 7px; font-size: 1.8rem; }
.focus-list p { margin: 0; color: var(--ink-soft); }
.about-section { display: grid; grid-template-columns: .62fr 1.38fr; gap: clamp(55px, 10vw, 150px); align-items: center; }
.about-mark { display: grid; aspect-ratio: 1; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--terracotta); font-family: var(--serif); font-size: clamp(3rem, 8vw, 8rem); background: radial-gradient(circle at 32% 25%, rgba(255,255,255,.7), transparent 32%), rgba(217,197,167,.3); }
.about-copy p:not(.section-kicker) { max-width: 760px; margin: 30px 0; color: var(--ink-soft); font-size: 1.08rem; }
.text-link { display: inline-block; color: var(--terracotta-dark); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.contact-section { padding-right: min(14vw, 200px); }
.contact-section h2 { max-width: 1050px; }
.contact-section > p:not(.section-kicker) { max-width: 610px; margin: 30px 0 34px; color: var(--ink-soft); font-size: 1.08rem; }
.site-footer { width: var(--page); margin: 0 auto; padding: 38px 0 52px; display: grid; grid-template-columns: 1fr auto auto; gap: 42px; align-items: center; border-top: 1px solid var(--line); }
.site-footer p { margin: 0; color: var(--ink-soft); font-size: .82rem; }
.page-hero { width: var(--page); min-height: 68vh; margin: 0 auto; padding: clamp(90px, 12vw, 170px) 0 110px; display: flex; flex-direction: column; justify-content: flex-end; }
.page-hero h1 { max-width: 1200px; font-size: clamp(4rem, 8vw, 8.2rem); }
.page-hero h1::after { width: 28%; }
.page-hero > p:last-child { max-width: 780px; margin: 14px 0 0 auto; color: var(--ink-soft); font-size: clamp(1.1rem, 2vw, 1.5rem); }
.page-section:first-of-type { border-top: 1px solid var(--line); }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.topic-grid article { min-height: 310px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.topic-grid article > span { display: block; margin-bottom: 90px; color: var(--terracotta-dark); font-size: .72rem; font-weight: 700; }
.topic-grid h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.topic-grid p { margin: 0; color: var(--ink-soft); }
.next-page { width: var(--page); margin: 0 auto; padding: 44px 0 70px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.next-page > span { color: var(--terracotta-dark); font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.next-page a { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 3rem); text-decoration: none; }
.next-page b { display: inline-block; margin-left: 12px; font-weight: 400; transition: transform .2s ease; }
.next-page a:hover b { transform: translateX(7px); }
.github-callout { margin-top: 22px; padding: 38px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,252,246,.45); }
.github-callout h3 { margin: 0; }
.contact-options { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(50px, 10vw, 150px); }
.contact-card { padding: clamp(36px, 6vw, 80px); border: 1px solid var(--line); border-radius: 22px; background: rgba(255,252,246,.5); }
.contact-card > span { display: block; margin-bottom: 70px; color: var(--terracotta-dark); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.contact-card h3 { max-width: 720px; font-size: clamp(2.2rem, 4.5vw, 4.6rem); }
.contact-card p { max-width: 580px; margin: 24px 0 34px; color: var(--ink-soft); }
html.is-leaving { pointer-events: none; }
html.js-loading body { opacity: 0; transform: translateY(14px); }
html.is-entering body { animation: site-enter .44s cubic-bezier(.22,.8,.22,1) both; }
html.is-leaving body { transform: translateY(-10px); transition: transform .32s ease; }
html.is-leaving body::after { opacity: 1; transform: translateY(0); }
@keyframes site-enter { from { opacity: 0; transform: translateY(16px); filter: blur(2px); } }
@media (max-width: 980px) { :root { --page: min(100% - 40px, 760px); } .hero { grid-template-columns: 1fr; padding-top: 64px; } .research-visual { width: min(100%, 640px); justify-self: center; } .section-heading, .focus-section, .about-section, .contact-options { grid-template-columns: 1fr; } .work-card-wide { grid-template-columns: 1fr; } .section-heading { gap: 26px; } .about-mark { width: min(52vw, 330px); } .topic-grid { grid-template-columns: 1fr; } .topic-grid article { min-height: 230px; } .topic-grid article > span { margin-bottom: 56px; } }
@media (max-width: 680px) { :root { --page: calc(100% - 32px); } .site-header { height: 80px; } .menu-toggle { display: grid; gap: 6px; padding: 10px; border: 0; background: transparent; } .menu-toggle > span:not(.sr-only) { width: 25px; height: 1px; background: var(--ink); } .site-nav { position: absolute; top: 80px; left: 16px; right: 16px; z-index: 10; display: none; flex-direction: column; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(243, 238, 228, .98); } .site-nav.is-open { display: flex; } .site-nav a { padding: 12px; } .hero { min-height: auto; gap: 18px; padding: 54px 0 72px; } .home-page .hero { min-height: calc(100svh - 80px); padding: 36px 0 48px; } h1 { font-size: clamp(4rem, 21vw, 6rem); } .hero-statement span { display: inline; } .hero-actions { align-items: stretch; flex-direction: column; } .button { width: 100%; } .research-visual { margin-top: 12px; } .section { padding: 82px 0; } .work-grid { grid-template-columns: 1fr; } .work-card-wide { grid-column: auto; } .card-art, .work-card-wide .card-art { min-height: 250px; } .site-footer { grid-template-columns: 1fr; gap: 10px; } .page-hero { min-height: 62vh; padding: 80px 0 70px; } .page-hero h1 { font-size: clamp(3.4rem, 17vw, 5rem); } .page-hero > p:last-child { margin-left: 0; } .next-page { align-items: flex-start; flex-direction: column; gap: 16px; } .github-callout { align-items: stretch; flex-direction: column; } .contact-card { padding: 30px; } .contact-card > span { margin-bottom: 48px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
