:root {
  color-scheme: light;
  --ink: #20211e;
  --muted: #676861;
  --paper: #f2efe8;
  --paper-light: #faf9f5;
  --line: #d9d6ce;
  --orange: #e5643f;
  --green: #477554;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.skip-link { position: absolute; z-index: 10; top: 12px; left: 12px; padding: 12px 16px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; width: min(1280px, calc(100% - 96px)); margin: 0 auto; }
.site-header { height: 92px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 20px; font-weight: 720; letter-spacing: -.065em; }
.wordmark-mark { display: inline-flex; align-items: end; gap: 3px; height: 22px; }
.wordmark-mark i { display: block; width: 5px; border-radius: 5px; background: var(--orange); }
.wordmark-mark i:nth-child(1) { height: 11px; }
.wordmark-mark i:nth-child(2) { height: 17px; background: var(--green); }
.wordmark-mark i:nth-child(3) { height: 22px; background: #477fa1; }
.site-header nav { display: flex; align-items: center; gap: 37px; }
.site-header nav a, .site-footer a { text-decoration: none; font-size: 13px; font-weight: 580; }
.site-header nav a:hover, .site-footer a:hover, .arrow-link:hover { color: var(--orange); }
.site-header nav a span { font-size: 11px; }

.intro { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; width: min(1280px, calc(100% - 96px)); min-height: 555px; margin: 0 auto; padding: 82px 4.7% 84px; border-bottom: 1px solid var(--line); overflow: hidden; }
.intro-copy { position: relative; z-index: 1; max-width: 630px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 23px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 26px; font-size: clamp(62px, 8.3vw, 112px); line-height: .92; letter-spacing: -.085em; font-weight: 650; }
h1 em, .closing em { color: var(--orange); font-family: var(--serif); font-weight: 400; letter-spacing: -.075em; }
.intro-text { max-width: 390px; margin-bottom: 30px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.text-link, .arrow-link { display: inline-flex; align-items: center; gap: 13px; width: fit-content; text-decoration: none; font-size: 13px; font-weight: 700; }
.text-link { padding-bottom: 8px; border-bottom: 1px solid var(--ink); }
.text-link span { color: var(--orange); font-size: 17px; }
.intro-art { position: relative; justify-self: center; width: min(100%, 465px); aspect-ratio: 1; border-radius: 50%; background: #e8e4db; overflow: hidden; }
.sun { position: absolute; top: 29%; left: 30%; width: 40%; aspect-ratio: 1; border-radius: 50%; background: #e8b46a; box-shadow: 0 0 60px #e8b46a55; }
.orbit { position: absolute; top: 50%; left: 50%; border: 1px solid #85877d55; border-radius: 50%; transform: translate(-50%, -50%) rotate(-25deg); }
.orbit-one { width: 86%; height: 43%; }
.orbit-two { width: 100%; height: 58%; transform: translate(-50%, -50%) rotate(52deg); }
.orbit-dot { position: absolute; width: 12px; height: 12px; border: 3px solid var(--paper-light); border-radius: 50%; background: var(--orange); box-shadow: 0 2px 8px #0002; }
.orbit-dot-one { top: 34%; left: 15%; }
.orbit-dot-two { top: 78%; left: 53%; background: var(--green); }
.orbit-dot-three { top: 24%; right: 16%; width: 9px; height: 9px; background: #477fa1; }
.intro-caption { position: absolute; right: 10%; bottom: 16%; color: #6c6d64; font-family: var(--serif); font-size: 13px; line-height: 1.35; letter-spacing: .16em; }
.intro-index { position: absolute; bottom: 29px; left: 4.7%; display: flex; gap: 11px; color: #87877e; font-family: var(--serif); font-size: 12px; }

.projects { width: min(1280px, calc(100% - 96px)); margin: 0 auto; padding: 86px 4.7% 112px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 37px; }
.section-heading .eyebrow { margin-bottom: 13px; }
.section-heading h2 { margin: 0; font-size: 44px; letter-spacing: -.07em; font-weight: 640; }
.section-note { margin: 0 3px 5px 0; color: var(--muted); font-family: var(--serif); font-size: 16px; line-height: 1.5; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.project-card { min-width: 0; }
.project-visual { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1.32; overflow: hidden; text-decoration: none; }
.flowloop-visual { background: #e2e5dc; }
.project-visual::after { position: absolute; inset: 0; content: ''; border: 1px solid #20211e0a; pointer-events: none; }
.visual-label { position: absolute; z-index: 2; top: 22px; left: 23px; display: inline-flex; gap: 10px; align-items: center; padding: 9px 11px; border: 1px solid #ffffffa8; border-radius: 2px; background: #f9f8f2cc; color: var(--ink); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.visual-label span { color: var(--orange); font-size: 12px; }
.app-window { position: relative; width: 67%; overflow: hidden; border: 1px solid #ffffffa8; border-radius: 8px; background: #272729; box-shadow: 0 24px 52px #28362e30; transform: translateY(5px) rotate(-2deg); transition: transform .3s ease; }
.project-visual:hover .app-window { transform: translateY(0) rotate(0); }
.window-bar { display: flex; align-items: center; gap: 5px; height: 27px; padding: 0 10px; border-bottom: 1px solid #ffffff12; background: #363639; }
.window-bar span { width: 6px; height: 6px; border-radius: 50%; background: #e08073; }
.window-bar span:nth-child(2) { background: #e5bd6c; }
.window-bar span:nth-child(3) { background: #79a883; }
.window-bar b { margin: 0 auto; color: #dadad8; font-size: 9px; font-weight: 500; }
.app-window img { display: block; width: 100%; max-height: 200px; object-fit: contain; background: #252526; }
.window-foot { display: flex; align-items: center; justify-content: space-between; min-height: 39px; padding: 0 13px; color: #d4d3cf; font-size: 10px; }
.window-time { color: #8dcb79; font-variant-numeric: tabular-nums; }
.visual-side-note { position: absolute; right: 25px; bottom: 24px; color: #676d62; font-family: var(--serif); font-size: 13px; font-style: italic; }
.caveos-visual { background: #39463e; }
.caveos-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) brightness(.78); transition: transform .45s ease, filter .45s ease; }
.caveos-visual:hover > img { transform: scale(1.035); filter: saturate(.9) brightness(.86); }
.caveos-visual .visual-label { top: 22px; right: 23px; left: auto; }
.caveos-stamp { position: absolute; top: 50%; left: 50%; display: grid; place-content: center; width: 100px; height: 100px; border: 1px solid #fff8; border-radius: 50%; color: #fff; font-family: var(--serif); font-size: 36px; line-height: .7; text-align: center; transform: translate(-50%, -50%) rotate(-9deg); }
.caveos-stamp small { margin-top: 7px; font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.caveos-caption { position: absolute; bottom: 27px; left: 25px; color: #fff; font-family: var(--serif); font-size: 23px; line-height: 1.03; }
.project-meta { padding: 23px 2px 0; }
.project-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.project-number { margin: 0; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.status { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.status-making i { background: #ca8c42; }
.project-meta h3 { margin: 0 0 10px; font-size: 29px; letter-spacing: -.06em; font-weight: 650; }
.project-description { max-width: 480px; min-height: 52px; margin-bottom: 22px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.project-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.project-kind { color: #898a82; font-size: 10px; }
.arrow-link { gap: 12px; font-size: 12px; }
.arrow-link span { color: var(--orange); font-size: 16px; }

.closing { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 58px max(9.4%, calc((100% - 1150px) / 2)); background: #e7e2d8; }
.closing p:not(.closing-mark) { margin: 0; font-family: var(--serif); font-size: clamp(23px, 3.3vw, 37px); line-height: 1.27; letter-spacing: -.045em; }
.closing em { color: var(--green); }
.closing-mark { position: absolute; top: 29px; right: 9.4%; color: var(--orange); font-size: 20px; }
.site-footer { min-height: 90px; color: var(--muted); }
.footer-wordmark { color: var(--ink); font-size: 16px; }
.footer-wordmark .wordmark-mark { transform: scale(.8); transform-origin: left center; }
.site-footer p { margin: 0; font-size: 11px; }
.site-footer > a:last-child { font-size: 11px; }

@media (max-width: 760px) {
  .site-header, .site-footer, .intro, .projects { width: min(100% - 40px, 600px); }
  .site-header { height: 74px; }
  .site-header nav { gap: 20px; }
  .site-header nav a { font-size: 12px; }
  .intro { grid-template-columns: 1fr; min-height: 0; padding: 67px 0 67px; }
  .intro-copy { padding-bottom: 30px; }
  h1 { font-size: clamp(66px, 16vw, 94px); }
  .intro-art { position: absolute; top: 80px; right: -110px; width: 58%; min-width: 250px; opacity: .52; }
  .intro-copy { max-width: 75%; }
  .intro-text { max-width: 340px; }
  .intro-index { bottom: 20px; left: 0; }
  .projects { padding: 66px 0 76px; }
  .section-heading { margin-bottom: 27px; }
  .project-grid { grid-template-columns: 1fr; gap: 46px; }
  .project-visual { aspect-ratio: 1.42; }
  .project-description { min-height: 0; }
  .closing { align-items: flex-start; flex-direction: column; padding: 48px 25px; }
  .closing-mark { top: 22px; right: 25px; }
  .site-footer { min-height: 78px; }
}
@media (max-width: 420px) {
  .site-header, .site-footer, .intro, .projects { width: calc(100% - 32px); }
  .site-header nav { gap: 13px; }
  .site-header nav a { font-size: 11px; }
  .wordmark { font-size: 18px; }
  .intro-copy { max-width: 92%; }
  .intro-art { right: -156px; width: 80%; }
  .section-heading h2 { font-size: 38px; }
  .section-note { font-size: 14px; }
  .project-bottom { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
