@font-face {
  font-family: 'Space Grotesk';
  src: url('/fonts/space-grotesk-variable.ttf') format('truetype');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --paper: #181c23;
  --ink: #f0ece8;
  --muted: #b5b4b5;
  --accent: #e69a80;
  --panel: #242a32;
  --line: #3b4149;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-underline-offset: 5px; }
a:hover { color: var(--accent); }
a:focus-visible, label:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; }
h1, h2 { font-weight: 500; letter-spacing: -.055em; }
h2 { font-size: clamp(2.2rem, 4.1vw, 3.65rem); }
p { max-width: 65ch; }
.wrap { width: min(1184px, calc(100% - 96px)); margin-inline: auto; }
.visually-hidden, .filter-radio { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 12px 20px; background: #242a32; z-index: 10; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; justify-content: space-between; align-items: center; min-height: 108px; gap: 28px; }
.brand { display: inline-flex; gap: 13px; align-items: center; text-decoration: none; font-size: 29px; letter-spacing: -.05em; font-weight: 650; }
.brand-mark { display: block; width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.brand-caption { font-size: 11px; font-weight: 400; line-height: 1.4; letter-spacing: 0; width: 48px; color: var(--muted); margin-left: 3px; }
.site-header nav { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.site-header nav a { text-decoration: none; }
.nav-external { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 24px; padding: 9px 18px; }
.github-icon { display: block; flex: 0 0 auto; width: 18px; height: 18px; fill: currentColor; }
.github-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.button.github-link { gap: 10px; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; padding-top: 58px; }
.intro, .section-note { color: var(--accent); font-size: 14px; margin-bottom: 25px; }
h1 { font-size: clamp(4rem, 7vw, 6rem); }
.hero-description { max-width: 440px; color: var(--muted); font-size: 18px; margin-top: 28px; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button { background: #d97757; color: #181c23; display: inline-flex; gap: 30px; align-items: center; padding: 14px 22px; border-radius: 7px; text-decoration: none; font-size: 14px; font-weight: 600; }
.button:hover { background: #e58a6b; color: #181c23; }
.text-link { font-size: 14px; font-weight: 600; }
.cairn-art { overflow: hidden; min-width: 0; height: 475px; position: relative; display: grid; place-items: center; isolation: isolate; }
.hero-logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.art-caption { position: absolute; bottom: 1px; font-size: 12px; color: var(--muted); }
.hero-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 65px; padding: 22px 0 28px; display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--muted); }
.hero-foot a { text-decoration: none; }
.hero-foot a span { margin-left: 18px; }
.featured { background: #1d232b; color: #f5f5fb; padding: 74px 0; }
.featured-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.featured .section-note { color: #e69a80; }
.feature-copy > p:not(.section-note) { color: #c6cbe1; margin: 26px 0 30px; max-width: 390px; }
.button-light { color: var(--ink); background: #3c444e; }
.button-light:hover { background: #4b5561; color: var(--ink); }
.featured a:focus-visible { outline-color: #d3ddff; }
.workflow { background: #252c35; border: 1px solid #414a55; border-radius: 12px; overflow: hidden; }
.workflow-title { display: flex; align-items: center; gap: 10px; padding: 18px 24px; border-bottom: 1px solid #414a55; font-size: 13px; }
.workflow-title > span:last-child { margin-left: auto; color: #b7bfde; font-size: 11px; }
.status-dot { width: 7px; height: 7px; background: #d97757; border-radius: 50%; }
.pipeline { list-style: none; padding: 8px 24px; margin: 0; }
.pipeline li { display: flex; align-items: center; gap: 22px; padding: 19px 0; }
.step-number { font-size: 12px; color: #bdc7f2; border: 1px solid #667099; border-radius: 50%; width: 32px; height: 32px; display: grid; place-items: center; flex-shrink: 0; }
.pipeline h3 { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.pipeline p { font-size: 12px; color: #c0c8e1; }
.workflow-foot { padding: 13px 24px; background: #20262e; max-width: none; font-size: 11px; color: #bdc7e9; }
.projects-section { padding-block: 100px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 45px; margin-bottom: 40px; }
.section-heading > p { color: var(--muted); max-width: 330px; font-size: 15px; }
.project-filter { border: 0; padding: 0; margin: 0; min-width: 0; }
.filter-labels { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-labels label { cursor: pointer; padding: 9px 17px; border-radius: 24px; font-size: 13px; border: 1px solid var(--line); }
.filter-labels label span { margin-left: 12px; font-size: 11px; }
.filter-labels label:hover { background: var(--panel); }
#filter-all:checked ~ .filter-labels label[for='filter-all'], #filter-ai:checked ~ .filter-labels label[for='filter-ai'], #filter-creative:checked ~ .filter-labels label[for='filter-creative'] { background: #693e32; color: white; border-color: #d97757; }
#filter-all:focus-visible ~ .filter-labels label[for='filter-all'], #filter-ai:focus-visible ~ .filter-labels label[for='filter-ai'], #filter-creative:focus-visible ~ .filter-labels label[for='filter-creative'] { outline: 3px solid var(--accent); outline-offset: 4px; }
#filter-ai:checked ~ .projects-grid .project-card:not([data-category='ai']), #filter-creative:checked ~ .projects-grid .project-card:not([data-category='creative']) { display: none; }
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
.project-card { min-width: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #20262e; }
.project-visual { height: 215px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.project-body { padding: 26px; }
.project-heading h3 { font-size: 23px; font-weight: 550; letter-spacing: -.035em; }
.project-heading h3 a { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-decoration: none; }
.project-heading > span { display: block; font-size: 11px; color: var(--muted); margin-top: 10px; }
.project-body > p { font-size: 14px; color: var(--muted); margin: 18px 0 22px; min-height: 68px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px 15px; font-size: 11px; }
.project-tags > span { background: #2c333c; padding: 3px 9px; border-radius: 4px; }
.project-tags a { padding-block: 3px; }
.code-visual { background: #302b2c; gap: 32px; }
.code-prompt { font-size: 42px; letter-spacing: -.07em; color: #eed3c8; }
.cursor { color: #d97757; }
.code-bracket { font-size: 85px; font-weight: 200; color: #b57863; }
.flower-visual { background: #30283c; }
.flower { position: relative; width: 140px; height: 140px; margin-top: -12px; }
.flower i { position: absolute; left: 48px; top: 0; width: 44px; height: 85px; background: linear-gradient(#b5a4d1, #d9ccec); border-radius: 55% 55% 45% 45%; transform-origin: 22px 70px; }
.flower i:nth-child(2) { transform: rotate(60deg); }.flower i:nth-child(3) { transform: rotate(120deg); }.flower i:nth-child(4) { transform: rotate(180deg); }.flower i:nth-child(5) { transform: rotate(240deg); }.flower i:nth-child(6) { transform: rotate(300deg); }
.flower b { position: absolute; left: 56px; top: 56px; width: 28px; height: 28px; background: #f1dc9c; border: 5px solid #e6cf91; border-radius: 50%; }
.flower-caption { position: absolute; bottom: 19px; font-size: 13px; color: #c8b9dc; }
.site-visual { background: #30353c; }
.mini-site { width: 255px; background: var(--paper); border: 1px solid #5a626b; border-radius: 5px; padding: 16px 21px; transform: rotate(-5deg) translateY(18px); box-shadow: 10px 15px 0 #22272e; }
.mini-header { font-size: 13px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }.mini-header span { float: right; color: #8991b4; }
.mini-content { position: relative; font-size: 25px; line-height: 1.15; letter-spacing: -.05em; padding-block: 23px; }
.mini-logo { position: absolute; right: 0; top: 29px; width: 55px; height: 55px; }
.architecture-section { padding-bottom: 96px; }
.architecture-section h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.architecture-flow { list-style: none; padding: 24px; margin: 0 0 38px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; background: var(--panel); border-radius: 8px; }
.architecture-flow li { position: relative; text-align: center; align-content: center; padding: 12px 5px; font-size: 12px; background: var(--paper); border: 1px solid #444d58; border-radius: 5px; }
.architecture-flow li:not(:last-child)::after { content: '\2192'; position: absolute; right: -20px; top: 50%; transform: translateY(-50%); color: #dca18d; }
.architecture-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.architecture-notes h3 { font-size: 17px; font-weight: 600; margin-bottom: 14px; }
.architecture-notes p { font-size: 14px; color: var(--muted); }
.philosophy-section { background: #222930; padding-block: 80px; }
.philosophy-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.philosophy-copy p { margin-bottom: 22px; color: #b9c1d7; }
.philosophy-copy .philosophy-end { color: var(--ink); font-weight: 600; }
.site-footer { padding-block: 36px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.site-footer p, .site-footer > a:last-child { font-size: 12px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (min-width: 1500px) { .hero { padding-top: 80px; } .hero-foot { margin-top: 90px; } }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }.site-header nav { gap: 20px; }.brand-caption { display: none; }
  .hero { padding-top: 35px; }.cairn-art { overflow: hidden; min-width: 0; height: 410px; }.featured-layout { gap: 45px; }.philosophy-layout { gap: 45px; }
  .architecture-flow { gap: 20px; padding: 18px; }.architecture-flow li { font-size: 11px; }.architecture-flow li:not(:last-child)::after { right: -17px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }.site-header { min-height: 0; padding-block: 23px; flex-wrap: wrap; gap: 20px; }.brand { font-size: 26px; }
  .site-header nav { width: 100%; gap: 0; justify-content: space-between; font-size: 12px; }.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; }.nav-external { padding: 6px 12px; gap: 6px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 34px; } h1 { font-size: clamp(3.2rem, 13vw, 5.5rem); }.hero-description { font-size: 16px; }.hero-actions { flex-wrap: wrap; gap: 20px 25px; }.hero-actions .text-link { display: inline-flex; align-items: center; min-height: 44px; }.button { padding: 13px 18px; gap: 20px; }
  .cairn-art { overflow: hidden; min-width: 0; height: 370px; max-width: 410px; width: 100%; justify-self: center; margin-top: 25px; }.art-caption { bottom: 0; }
  .hero-foot { margin-top: 30px; font-size: 11px; flex-wrap: wrap; gap: 8px; }.hero-foot a span { margin-left: 8px; }
  .featured { padding-block: 50px; }.featured-layout, .philosophy-layout { grid-template-columns: 1fr; gap: 36px; }.feature-copy > p:not(.section-note) { max-width: 100%; }.workflow-title { padding-inline: 18px; }.pipeline { padding-inline: 18px; }.pipeline li { gap: 15px; }
  .projects-section { padding-block: 62px; }.section-heading { display: block; margin-bottom: 28px; }.section-heading > p { margin-top: 23px; }.section-note { margin-bottom: 18px; }
  .filter-labels { gap: 7px; }.filter-labels label { display: inline-flex; align-items: center; min-height: 44px; font-size: 11px; padding: 9px 11px; }.filter-labels label span { margin-left: 7px; }.projects-grid { grid-template-columns: 1fr; gap: 24px; }.project-body { padding: 23px; }.project-body > p { min-height: 0; }
  .architecture-section { padding-bottom: 60px; }.architecture-flow { grid-template-columns: 1fr; gap: 22px; padding: 22px; }.architecture-flow li { font-size: 13px; }.architecture-flow li:not(:last-child)::after { content: '\2193'; top: auto; bottom: -22px; left: 50%; right: auto; transform: translateX(-50%); }
  .architecture-notes { grid-template-columns: 1fr; gap: 25px; }.architecture-notes h3 { margin-bottom: 10px; }.philosophy-section { padding-block: 54px; }.site-footer { flex-wrap: wrap; padding-block: 28px; }.site-footer .brand { width: 100%; }.site-footer .brand-caption { display: block; }
}
@media (forced-colors: active) { .flower i, .flower b { border: 1px solid CanvasText; } .filter-labels label { border: 1px solid ButtonText; } #filter-all:checked ~ .filter-labels label[for='filter-all'], #filter-ai:checked ~ .filter-labels label[for='filter-ai'], #filter-creative:checked ~ .filter-labels label[for='filter-creative'] { outline: 2px solid Highlight; } }
