:root {
  color-scheme: dark;
  --ink: #f0ede6;
  --muted: #8f9094;
  --line: rgba(240, 237, 230, .15);
  --paper: #090a0d;
  --studio: #ff8065;
  --realm: #809ab5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 16%, rgba(139, 125, 109, .12), transparent 31rem),
    radial-gradient(circle at 9% 60%, rgba(64, 76, 93, .1), transparent 30rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.grain { position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .12; 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='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }

.site-header { min-height: 82px; padding: 0 4.5vw; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; position: relative; z-index: 2; }
.wordmark { font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .13em; justify-self: start; }
.wordmark b { color: #b16e59; padding: 0 .1em; }
.site-header nav { display: flex; gap: 36px; font: 600 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .13em; color: #9b9a97; }
.site-header nav a { transition: color .25s ease; }
.site-header nav a:hover { color: var(--ink); }
.availability { justify-self: end; font: 600 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; color: #777a7a; }
.availability i { width: 5px; height: 5px; display: inline-block; margin: 0 7px 1px 0; border-radius: 50%; background: #76b796; box-shadow: 0 0 9px rgba(118,183,150,.65); }

.hero { min-height: calc(100svh - 82px); padding: clamp(70px, 10vh, 120px) 8vw 8vh; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.eyebrow, .section-number, .project-index, .card-copy > p { font: 600 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .16em; color: #797a7e; }
.hero h1 { margin: 30px 0 56px; max-width: 1050px; font: 400 clamp(58px, 8.4vw, 126px)/.89 Georgia, "Times New Roman", serif; letter-spacing: -.055em; position: relative; z-index: 1; }
.hero h1 em { font-weight: 400; color: #898885; }
.hero-foot { width: min(680px, 72%); padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; position: relative; z-index: 1; }
.hero-foot p { margin: 0; color: #a5a39e; font: 400 13px/1.85 Georgia, "Noto Serif SC", serif; }
.scroll-link { display: flex; align-items: center; gap: 18px; color: #b8b5ae; font-size: 11px; }
.scroll-link b { width: 33px; height: 33px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: transform .3s ease, background .3s ease; }
.scroll-link:hover b { transform: translateY(4px); background: rgba(255,255,255,.05); }
.orbit { position: absolute; width: clamp(280px, 35vw, 520px); aspect-ratio: 1; right: 5vw; bottom: -10%; display: grid; place-items: center; opacity: .55; }
.orbit-ring { position: absolute; inset: 0; border: 1px solid rgba(240,237,230,.14); border-radius: 50%; }
.orbit-ring::before, .orbit-ring::after { content: ""; position: absolute; border: 1px solid rgba(240,237,230,.09); border-radius: 50%; }
.orbit-ring::before { inset: 13%; }.orbit-ring::after { inset: 31%; }
.orbit-core { width: 58px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(240,237,230,.24); font: italic 24px Georgia, serif; background: rgba(9,10,13,.78); }
.orbit-dot { width: 7px; height: 7px; position: absolute; left: 9.5%; top: 31%; border-radius: 50%; background: #b6806f; box-shadow: 0 0 15px rgba(182,128,111,.5); transform-origin: calc(clamp(280px, 35vw, 520px) * .405) calc(clamp(280px, 35vw, 520px) * .19); animation: orbit 18s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }

.work { padding: 110px 4.5vw 130px; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin: 0 3.5vw 52px; }
.section-head > div { display: flex; gap: 25px; align-items: baseline; }
.section-head h2 { margin: 0; font: 400 clamp(32px, 4vw, 54px)/1 Georgia, serif; letter-spacing: -.035em; }
.section-head p { margin: 0; color: #77787a; font: 12px/1.7 Georgia, "Noto Serif SC", serif; text-align: right; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.project-card { min-height: 570px; padding: 27px 30px 32px; border: 1px solid var(--line); background: rgba(255,255,255,.017); display: flex; flex-direction: column; position: relative; overflow: hidden; transition: border-color .35s ease, transform .35s ease, background .35s ease; }
.project-card:hover { transform: translateY(-4px); border-color: rgba(240,237,230,.3); background: rgba(255,255,255,.028); }
.card-top { display: flex; justify-content: space-between; position: relative; z-index: 2; }
.open-mark { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: #aaa9a5; transition: transform .35s ease, color .35s ease; }
.project-card:hover .open-mark { transform: rotate(45deg); color: #fff; }
.card-copy { margin-top: auto; position: relative; z-index: 2; }
.card-copy > p { margin: 0 0 12px; }
.card-copy h3 { margin: 0 0 20px; font: 500 clamp(27px, 3vw, 42px)/1.05 ui-sans-serif, -apple-system, sans-serif; letter-spacing: -.045em; }
.card-copy h3 span { color: #74777e; }
.card-copy > div { padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: #8b8c8f; font: 12px/1.6 Georgia, "Noto Serif SC", serif; }
.card-copy b { flex: none; color: #c3c0ba; font: 500 10px/1.6 ui-sans-serif, sans-serif; }

.studio-visual { position: absolute; inset: 16% 7% 31%; border: 1px solid rgba(255,128,101,.1); background: radial-gradient(circle at 34% 42%, rgba(255,128,101,.12), transparent 36%), linear-gradient(rgba(255,255,255,.023) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.023) 1px, transparent 1px); background-size: auto, 28px 28px, 28px 28px; }
.studio-visual::after { content: "WORKFLOW / 01"; position: absolute; top: 15px; left: 17px; color: rgba(255,255,255,.25); font: 7px ui-monospace, monospace; letter-spacing: .16em; }
.node { position: absolute; width: 98px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 6px; background: rgba(12,13,17,.9); color: #73757b; font: 7px ui-monospace, monospace; letter-spacing: .1em; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.node::before { content: ""; width: 6px; height: 6px; position: absolute; left: 9px; top: 9px; border-radius: 50%; background: var(--studio); }
.node-a { left: 12%; top: 50%; }.node-b { left: 43%; top: 25%; }.node-c { right: 10%; top: 55%; }
.path { position: absolute; height: 1px; background: linear-gradient(90deg, rgba(255,128,101,.6), rgba(146,136,255,.35)); transform-origin: left; }
.path-a { width: 32%; left: 27%; top: 51%; transform: rotate(-20deg); }.path-b { width: 31%; left: 57%; top: 38%; transform: rotate(18deg); }
.realm-visual { position: absolute; inset: 10% 2% 27%; display: grid; place-items: center; background: radial-gradient(circle, rgba(95,121,148,.15), transparent 52%); }
.realm-moon { width: min(23vw, 275px); aspect-ratio: 1; border: 1px solid rgba(170,191,208,.2); border-radius: 50%; box-shadow: inset 0 0 80px rgba(63,90,118,.08), 0 0 60px rgba(63,90,118,.08); }
.realm-moon::before, .realm-moon::after { content: ""; position: absolute; left: 50%; top: 50%; border: 1px solid rgba(170,191,208,.1); border-radius: 50%; transform: translate(-50%, -50%); }
.realm-moon::before { width: 56%; aspect-ratio: 1; }.realm-moon::after { width: 76%; aspect-ratio: 1; }
.realm-rose { position: absolute; color: #b79c76; font-size: 24px; text-shadow: 0 0 30px rgba(183,156,118,.55); }
.realm-visual i { width: 2px; height: 2px; position: absolute; border-radius: 50%; background: #b6c2cb; opacity: .45; }
.realm-visual i:nth-of-type(1) { left: 18%; top: 25%; }.realm-visual i:nth-of-type(2) { left: 31%; top: 67%; }.realm-visual i:nth-of-type(3) { right: 25%; top: 18%; }.realm-visual i:nth-of-type(4) { right: 14%; top: 61%; }.realm-visual i:nth-of-type(5) { left: 48%; top: 12%; }

.site-footer { min-height: 110px; padding: 0 4.5vw; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #626467; font: 600 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.site-footer p { margin: 0; font: italic 12px Georgia, serif; letter-spacing: 0; color: #777774; }.site-footer span:last-child { justify-self: end; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,.7,.25,1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

@media (max-width: 780px) {
  .site-header { min-height: 70px; padding: 0 22px; grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }.availability { font-size: 8px; }
  .hero { min-height: calc(100svh - 70px); padding: 74px 24px 44px; justify-content: flex-start; }
  .hero h1 { margin: 30px 0 42px; font-size: clamp(52px, 16vw, 78px); line-height: .93; }
  .hero-foot { width: 100%; display: grid; gap: 26px; }
  .hero-foot p br { display: none; }.scroll-link { justify-self: start; }
  .orbit { width: 270px; right: -110px; bottom: -38px; opacity: .38; }
  .orbit-dot { transform-origin: 109px 51px; }
  .work { padding: 76px 14px 90px; }
  .section-head { margin: 0 10px 34px; align-items: flex-start; }
  .section-head > div { display: grid; gap: 13px; }.section-head p { display: none; }
  .project-grid { grid-template-columns: 1fr; gap: 14px; }
  .project-card { min-height: 490px; padding: 23px 22px 26px; }
  .studio-visual { inset: 16% 5% 34%; }.node { width: 84px; height: 49px; }.node-a { left: 7%; }.node-b { left: 39%; }.node-c { right: 6%; }
  .realm-visual { inset: 10% 0 30%; }.realm-moon { width: 220px; }
  .card-copy > div { align-items: flex-end; }.card-copy > div span { max-width: 74%; }
  .site-footer { min-height: 120px; padding: 28px 24px; grid-template-columns: 1fr auto; gap: 18px; }.site-footer p { grid-column: 1 / -1; grid-row: 2; }
}
