@font-face {
  font-family: "Iansui";
  src: url("assets/fonts/Iansui-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #f4e8d1;
  --paper-light: #fbf5e9;
  --paper-deep: #d7c194;
  --ink: #26352e;
  --ink-soft: #516158;
  --terra: #b95434;
  --terra-dark: #8b3c29;
  --sun: #d18c47;
  --moss: #77805a;
  --line: rgba(38, 53, 46, 0.3);
  --serif: "Iansui", Iowan Old Style, Baskerville, "Songti TC", "PMingLiU", "Noto Serif CJK TC", serif;
  --sans: "Iansui", Avenir Next, Avenir, "PingFang TC", "Noto Sans CJK TC", sans-serif;
  --mono: "Iansui", SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-synthesis: weight;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.paper-noise {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  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: multiply;
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: 100%;
  padding: 34px clamp(28px, 5.5vw, 96px);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .04em;
}
.wordmark { display: inline-flex; align-items: center; gap: 13px; width: max-content; font-size: 25px; font-weight: 700; letter-spacing: -.04em; }
.brand-logo { display: block; flex: none; width: 38px; height: 38px; object-fit: contain; }
.header-stamp { justify-self: end; font-family: var(--mono); font-size: 16px; font-weight: 700; line-height: 1.45; letter-spacing: .03em; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); min-height: min(950px, 100svh); overflow: hidden; padding: 178px clamp(22px, 8vw, 148px) 84px; border-bottom: 1px solid var(--ink); isolation: isolate; }
.hero::before { position: absolute; z-index: -1; inset: 0; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(38,53,46,.09) calc(25% - 1px), rgba(38,53,46,.09) 25%); content: ""; opacity: .55; }
.hero-sun { position: absolute; z-index: -2; top: -29vw; right: -7vw; width: min(78vw, 1100px); aspect-ratio: 1; border-radius: 50%; background: var(--sun); opacity: .74; }
.hero-copy { align-self: center; max-width: 650px; padding: 28px 4vw 52px 0; }
.folio { display: flex; align-items: center; gap: 14px; margin: 0 0 68px; font-family: var(--mono); font-size: 15px; font-weight: 700; line-height: 1.45; letter-spacing: .06em; text-transform: uppercase; }
.folio::before { width: 22px; height: 22px; border: 1px solid var(--ink); border-radius: 50%; content: ""; }
.folio span { color: var(--terra-dark); }
.eyebrow { margin: 0 0 18px; color: var(--terra-dark); font-family: var(--mono); font-size: 14px; font-weight: 700; line-height: 1.45; letter-spacing: .07em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.065em; }
em { color: var(--terra); font-style: normal; }
h1 { max-width: none; margin-bottom: 31px; font-size: clamp(54px, 5.1vw, 92px); line-height: .93; }
.hero-title-line { display: block; white-space: nowrap; }
.hero-intro { max-width: 430px; margin-bottom: 33px; font-size: 17px; line-height: 1.8; letter-spacing: .025em; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 13px 18px; border: 1px solid var(--ink); font-size: 13px; font-weight: 650; transition: background .25s, color .25s, transform .25s; }
.button:hover { transform: translateY(-3px); }
.button-solid { color: var(--paper-light); background: var(--ink); }
.button-solid:hover { background: var(--terra-dark); }
.button-outline:hover { color: var(--paper-light); background: var(--ink); }
.text-link, .project-link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 650; }
.text-link span, .project-link span { font-size: 18px; line-height: .6; transition: transform .2s ease; }
.text-link:hover span, .project-link:hover span { transform: translate(3px, -3px); }

.hero-art { position: relative; display: grid; place-items: center; min-height: 530px; padding: 16px 4vw 24px; }
.project-card { position: relative; z-index: 1; width: min(100%, 485px); padding: 20px 20px 25px; background: #d9c49c; box-shadow: 18px 19px 0 rgba(38,53,46,.12); transform: rotate(4deg); }
.project-card::after { position: absolute; top: 7px; bottom: 7px; left: 50%; border-left: 1px solid rgba(38,53,46,.1); content: ""; }
.card-topline { display: flex; justify-content: space-between; margin-bottom: 13px; font-family: var(--mono); font-size: 14px; font-weight: 700; line-height: 1.45; letter-spacing: .03em; }
.project-card svg { display: block; width: 100%; height: auto; border: 1px solid rgba(38,53,46,.75); }
.card-caption { margin: 19px 0 0; font-family: var(--serif); font-size: 20px; line-height: 1.22; letter-spacing: -.05em; }
.registration-mark { position: absolute; right: 2%; bottom: 11%; z-index: 2; color: var(--terra); font-family: var(--serif); font-size: clamp(80px, 11vw, 166px); line-height: 1; }
.hero-footnotes { position: absolute; right: clamp(22px, 8vw, 148px); bottom: 24px; left: clamp(22px, 8vw, 148px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.hero-footnotes p { display: flex; flex-wrap: wrap; gap: 5px 11px; margin: 0; padding: 12px 14px 0 0; font-size: 15px; line-height: 1.5; }
.hero-footnotes p + p { padding-left: 14px; border-left: 1px solid var(--line); }
.hero-footnotes strong { color: var(--terra-dark); font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: .05em; }
.hero-footnotes span { color: var(--ink-soft); font-weight: 700; }

.section-rule { border-bottom: 1px solid var(--ink); }
.manifesto { display: grid; grid-template-columns: minmax(120px, .7fr) minmax(0, 3.1fr) minmax(170px, .8fr); gap: clamp(28px, 5vw, 95px); padding: clamp(80px, 11vw, 170px) clamp(22px, 8vw, 148px); }
.section-index { display: flex; gap: 13px; color: var(--ink-soft); font-family: var(--mono); font-size: 14px; font-weight: 700; line-height: 1.45; letter-spacing: .06em; text-transform: uppercase; }
.section-index span { color: var(--terra-dark); }
.manifesto-body h2, .projects-heading h2, .future h2 { margin-bottom: 34px; font-size: clamp(43px, 5vw, 78px); line-height: .98; }
.manifesto-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 6vw, 110px); max-width: 880px; }
.manifesto-columns p { margin: 0; font-size: 16px; line-height: 1.9; }
.margin-note { align-self: end; max-width: 170px; padding-top: 15px; border-top: 1px solid var(--ink); }
.margin-note span { color: var(--terra-dark); font-family: var(--mono); font-size: 14px; font-weight: 700; line-height: 1.45; letter-spacing: .06em; }
.margin-note p { margin: 11px 0 0; font-family: var(--serif); font-size: 18px; line-height: 1.3; letter-spacing: -.04em; }

.projects { overflow: hidden; padding: clamp(80px, 11vw, 170px) clamp(22px, 8vw, 148px) 0; background: var(--paper-light); }
.projects-heading { display: grid; grid-template-columns: minmax(120px, .7fr) minmax(0, 3.9fr); gap: clamp(28px, 5vw, 95px); margin-bottom: clamp(60px, 8vw, 112px); }
.projects-heading h2 { margin-bottom: 0; }
.project { position: relative; display: grid; grid-template-columns: 8.3% minmax(260px, 1fr) minmax(240px, .92fr); grid-template-rows: auto 35px; column-gap: clamp(20px, 4vw, 70px); min-height: 510px; padding: 45px 0 0; border-top: 1px solid var(--ink); }
.project-number { color: var(--terra-dark); font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.project-copy { align-self: center; max-width: 480px; padding-bottom: 55px; }
.project-tag { margin-bottom: 22px; color: var(--ink-soft); font-family: var(--mono); font-size: 14px; font-weight: 700; line-height: 1.45; letter-spacing: .07em; }
.project h3 { margin-bottom: 25px; font-size: clamp(45px, 4.6vw, 76px); line-height: .91; }
.project-text { margin-bottom: 28px; font-size: 15px; line-height: 1.8; }
.project-art { position: relative; align-self: center; justify-self: center; width: min(100%, 420px); aspect-ratio: 1; }
.project-meta { grid-column: 2 / -1; display: flex; gap: 13px; align-items: start; color: var(--ink-soft); font-family: var(--mono); font-size: 14px; font-weight: 700; line-height: 1.45; letter-spacing: .03em; }
.project-meta span + span::before { margin-right: 13px; color: var(--terra); content: "✦"; }

.project-dns { --project-bg: var(--ink); color: var(--paper-light); }
.project-dns::before { position: absolute; z-index: 0; top: 0; right: calc(50% - 50vw); bottom: 0; left: calc(50% - 50vw); background: var(--ink); content: ""; }
.project-dns > * { position: relative; z-index: 1; }
.project-dns .project-number, .project-dns .project-tag, .project-dns .project-meta { color: #e0c78f; }
.project-dns .project-meta span + span::before { color: var(--sun); }
.dns-art { color: #ead7af; }
.dns-ring { position: absolute; top: 50%; left: 50%; display: block; border: 1px solid currentColor; border-radius: 50%; transform: translate(-50%, -50%) rotate(-23deg); }
.ring-one { width: 97%; height: 42%; }
.ring-two { width: 73%; height: 74%; }
.ring-three { width: 40%; height: 95%; }
.dns-core { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 107px; aspect-ratio: 1; color: var(--ink); background: var(--sun); border-radius: 50%; font-family: var(--serif); font-size: 27px; line-height: .7; letter-spacing: -.08em; text-align: center; transform: translate(-50%, -50%); }
.dns-core small { display: block; margin-top: 8px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.orbit-label { position: absolute; color: #e0c78f; font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.orbit-a { top: 14%; left: 10%; }
.orbit-b { right: 2%; bottom: 21%; }

.project-filter { min-height: 590px; color: var(--ink); }
.filter-art { min-height: 390px; }
.filter-sheet { position: absolute; width: 68%; aspect-ratio: .72; border: 1px solid var(--ink); }
.sheet-back { top: 17%; left: 17%; background: var(--moss); transform: rotate(-11deg); }
.sheet-front { top: 9%; left: 22%; padding: 23px; background: var(--paper-deep); box-shadow: 12px 14px 0 rgba(38,53,46,.15); transform: rotate(5deg); }
.sheet-front > span { display: block; margin-bottom: 22px; font-family: var(--mono); font-size: 14px; font-weight: 700; line-height: 1.45; letter-spacing: .06em; }
.sheet-front i { display: block; height: 1px; margin: 16px 0; background: var(--ink); opacity: .7; }
.sheet-front i:nth-of-type(2), .sheet-front i:nth-of-type(5) { width: 70%; }
.sheet-front b { position: absolute; right: -18px; bottom: 19px; display: grid; place-items: center; width: 103px; aspect-ratio: 1; color: var(--paper-light); background: var(--terra); border-radius: 50%; font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .03em; line-height: 1.15; text-align: center; transform: rotate(-17deg); }
.filter-seal { position: absolute; bottom: 2%; left: 2%; display: grid; place-items: center; width: 80px; aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--serif); font-size: 32px; line-height: .7; text-align: center; transform: rotate(-12deg); }
.filter-seal small { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .04em; }

.project-water { min-height: 560px; }
.water-art { display: grid; place-items: center; color: var(--terra); background: var(--paper-deep); overflow: hidden; }
.water-art::before { position: absolute; top: 0; right: 0; bottom: 0; left: 0; border: 1px solid var(--ink); content: ""; transform: translate(13px, 13px); }
.water-art svg { position: relative; width: 113%; transform: rotate(-7deg) translateY(19px); }
.chart-label { position: absolute; padding: 6px 9px; color: var(--ink); background: var(--paper-light); border: 1px solid var(--ink); font-family: var(--mono); font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: .04em; }
.label-one { top: 65%; left: 8%; }
.label-two { top: 38%; left: 43%; }
.label-three { top: 13%; right: 7%; }

.future { position: relative; display: grid; grid-template-columns: minmax(250px, .9fr) minmax(300px, 1.1fr); min-height: 660px; overflow: hidden; padding: clamp(90px, 12vw, 180px) clamp(22px, 15vw, 250px); color: var(--paper-light); background: var(--terra); }
.future::before { position: absolute; inset: 18px; border: 1px solid rgba(244,232,209,.6); content: ""; pointer-events: none; }
.future-copy { position: relative; z-index: 1; max-width: 550px; }
.future .eyebrow { color: #f6d6a0; }
.future h2 { margin-bottom: 24px; }
.future h2 em { color: #ffdc96; }
.future-copy > p:not(.eyebrow) { max-width: 430px; margin-bottom: 34px; font-size: 16px; line-height: 1.8; }
.future-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button-outline { color: var(--paper-light); border-color: var(--paper-light); }
.project .button-outline { color: var(--ink); border-color: var(--ink); }
.future-stamp { z-index: 1; align-self: end; justify-self: center; width: min(100%, 350px); aspect-ratio: 1; padding: 28px; border: 2px solid #ffdc96; border-radius: 50%; color: #ffdc96; font-family: var(--serif); font-size: clamp(38px, 4vw, 63px); line-height: .78; letter-spacing: -.08em; transform: rotate(10deg); }
.future-stamp span { display: block; }
.future-stamp span:nth-child(2) { padding-left: 18%; color: var(--paper-light); font-family: var(--mono); font-size: 17%; letter-spacing: .08em; }
.future-stamp span:nth-child(3) { padding-left: 6%; }
.future-lines { position: absolute; right: -5%; bottom: -8%; left: 42%; height: 72%; opacity: .35; transform: rotate(-8deg); }
.future-lines span { position: absolute; right: 0; left: 0; height: 1px; background: var(--paper-light); }
.future-lines span:nth-child(1) { top: 10%; }.future-lines span:nth-child(2) { top: 30%; }.future-lines span:nth-child(3) { top: 50%; }.future-lines span:nth-child(4) { top: 70%; }.future-lines span:nth-child(5) { top: 90%; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; align-items: center; padding: 33px clamp(22px, 4vw, 70px); color: var(--paper-light); background: var(--ink); }
.site-footer p { margin: 0; font-size: 14px; }
.site-footer .footer-meta { justify-self: end; font-family: var(--mono); font-size: 14px; font-weight: 700; line-height: 1.45; letter-spacing: .03em; }
.site-footer .footer-meta a { border-bottom: 1px solid currentColor; }
.site-footer .font-credit { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid rgba(244,232,209,.35); color: #e0c78f; font-size: 13px; }
.site-footer .font-credit a { border-bottom: 1px solid currentColor; }

@media (prefers-reduced-motion: no-preference) {
  .project-card { animation: settle 1.2s cubic-bezier(.2,.8,.2,1) both; }
  .dns-ring { animation: orbit 18s linear infinite; }
  .ring-two { animation-direction: reverse; animation-duration: 23s; }
  .ring-three { animation-duration: 27s; }
  .future-stamp { animation: drift 8s ease-in-out infinite; }
}
@keyframes settle { from { opacity: 0; transform: rotate(-2deg) translateY(30px); } to { opacity: 1; transform: rotate(4deg) translateY(0); } }
@keyframes orbit { from { transform: translate(-50%, -50%) rotate(-23deg); } to { transform: translate(-50%, -50%) rotate(337deg); } }
@keyframes drift { 50% { transform: rotate(5deg) translateY(-10px); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 152px; }.hero-copy { padding-right: 0; }.folio { margin-bottom: 45px; }
  .hero-art { min-height: 450px; padding: 15px 12vw 85px; }.project-card { max-width: 390px; }.hero-sun { top: 28%; right: -30%; width: 100vw; }
  .manifesto { grid-template-columns: 115px 1fr; }.margin-note { grid-column: 2; }
  .projects-heading { grid-template-columns: 115px 1fr; }.project { grid-template-columns: 50px minmax(0, 1fr) minmax(220px, .8fr); column-gap: 25px; }
  .future { padding-right: 10vw; padding-left: 10vw; }
}
@media (max-width: 650px) {
  .site-header { padding: 22px; }.wordmark { gap: 10px; font-size: 22px; }.brand-logo { width: 33px; height: 33px; }.header-stamp { font-size: 13px; }
  .hero { padding: 142px 22px 118px; }.hero::before { background: repeating-linear-gradient(90deg, transparent 0, transparent calc(50% - 1px), rgba(38,53,46,.09) calc(50% - 1px), rgba(38,53,46,.09) 50%); }
  h1 { font-size: clamp(36px, 11vw, 64px); }.hero-intro { font-size: 15px; }.hero-art { min-height: 370px; padding: 8px 9vw 35px; }.project-card { padding: 13px 13px 18px; box-shadow: 10px 11px 0 rgba(38,53,46,.12); }.card-topline { font-size: 12px; }.card-caption { font-size: 16px; }.registration-mark { right: 0; bottom: 4%; }
  .hero-footnotes { grid-template-columns: 1fr; bottom: 18px; }.hero-footnotes p { padding: 6px 0 0; }.hero-footnotes p + p { padding-left: 0; border-left: 0; }
  .manifesto { grid-template-columns: 1fr; gap: 36px; }.margin-note { grid-column: auto; }.manifesto-columns { grid-template-columns: 1fr; gap: 20px; }
  .projects { padding-right: 22px; padding-left: 22px; }.projects-heading { grid-template-columns: 1fr; gap: 34px; }.project { grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: auto auto auto 29px; gap: 0 15px; min-height: 0; padding-top: 30px; padding-bottom: 42px; }.project-copy { grid-column: 2; padding-bottom: 35px; }.project h3 { font-size: clamp(44px, 13vw, 66px); }.project-art { grid-column: 1 / -1; grid-row: 3; width: min(100%, 310px); margin-bottom: 28px; }.project-meta { grid-column: 1 / -1; grid-row: 4; }.project-filter { min-height: 0; }.filter-art { min-height: 312px; }
  .project-filter .filter-art { min-height: 372px; }
  .future { grid-template-columns: 1fr; gap: 55px; min-height: auto; padding: 90px 43px; }.future::before { inset: 11px; }.future-stamp { justify-self: start; width: 250px; }.future-lines { left: 14%; }
  .site-footer { grid-template-columns: 1fr; padding: 29px 22px; }.site-footer .footer-meta { justify-self: start; }
}
