:root {
  --bg: #f5f3ee;
  --ink: #131313;
  --muted: #686868;
  --line: rgba(20,20,20,.16);
  --brand: #111111;
  --accent: #f06a47;
  --shell: min(1180px,calc(100% - 48px));
  font-family: "Segoe UI","Microsoft YaHei",sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.shell {
  width: var(--shell);
  margin: auto;
}

.site-head {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(245,243,238,.9);
  backdrop-filter: blur(18px);
}

.nav {
  width: var(--shell);
  height: 88px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.brand span:last-child {
  display: grid;
}

.brand b {
  letter-spacing: .18em;
}

.brand small {
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--muted);
}

nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
}

.menu {
  display: none;
  border: 0;
  background: var(--brand);
  color: #fff;
  padding: 11px 16px;
  border-radius: 99px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand);
}

h1,h2,p {
  margin-top: 0;
}

.primary {
  display: inline-flex;
  margin-top: 22px;
  padding: 14px 22px;
  background: var(--brand);
  color: #fff;
  border-radius: 99px;
  font-weight: 700;
}

.article-hero {
  padding: 100px max(24px,calc((100% - 1000px)/2));
  background: var(--brand);
  color: #fff;
}

.article-hero h1 {
  max-width: 900px;
  font-size: clamp(3rem,7vw,6rem);
  line-height: 1;
}

.article-hero>p:not(.eyebrow) {
  max-width: 720px;
  font-size: 19px;
  line-height: 1.8;
  opacity: .78;
}

.article-hero .eyebrow {
  color: var(--accent);
}

.article-hero>div {
  font-size: 12px;
  letter-spacing: .08em;
  opacity: .6;
}

.article-layout {
  width: min(1000px,calc(100% - 48px));
  margin: 80px auto 120px;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 80px;
}

.article-layout aside {
  position: sticky;
  top: 30px;
  height: max-content;
  display: grid;
  gap: 14px;
  font-size: 13px;
}

.article-layout aside b {
  margin-bottom: 16px;
  letter-spacing: .16em;
}

.article-layout aside a {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.prose {
  font-family: Georgia,"Noto Serif SC",serif;
  font-size: 18px;
  line-height: 2;
}

.prose .lead {
  font-size: 24px;
}

.prose h2 {
  margin-top: 54px;
  font-size: 34px;
  line-height: 1.25;
}

.prose blockquote {
  margin: 50px 0;
  padding: 36px;
  border-left: 5px solid var(--accent);
  background: #fff;
  font-size: 30px;
  line-height: 1.5;
}

.article-card {
  display: flex;
  gap: 22px;
  margin: 48px 0;
  padding: 30px;
  background: var(--brand);
  color: #fff;
}

.article-card>span {
  font-size: 46px;
  font-weight: 900;
  color: var(--accent);
}

.site-footer {
  padding: 42px 0;
  background: #0e1114;
  color: #fff;
}

.footer-inner {
  width: var(--shell);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  color: #aaa;
  font-size: 13px;
}

.not-found {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
}

.error-art {
  display: grid;
  place-items: center;
  background: var(--brand);
  color: var(--accent);
  font-size: clamp(9rem,25vw,24rem);
  font-weight: 900;
  letter-spacing: -.1em;
}

.error-copy {
  padding: 9vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.error-copy h1 {
  font-size: clamp(3rem,6vw,6rem);
  line-height: 1;
}

.error-copy p {
  max-width: 520px;
  line-height: 1.8;
  color: var(--muted);
}

.error-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.error-actions a {
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: 99px;
}

.error-actions a:first-child {
  background: var(--brand);
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: .7s;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

body {
  background: #f7f7f3;
}

.portfolio-hero {
  min-height: 620px;
  padding: 100px max(24px,calc((100% - 1180px)/2));
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: 7vw;
  align-items: end;
  border-bottom: 6px solid #111;
}

.portfolio-hero h1 {
  font-size: clamp(4rem,9vw,9rem);
  line-height: .82;
  text-transform: uppercase;
}

.portfolio-hero p:not(.eyebrow) {
  font-size: 18px;
  line-height: 1.8;
}

.portfolio-hero img {
  grid-column: 2;
  grid-row: 1/4;
}

.house-matrix {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
}

.house-matrix>* {
  min-height: 430px;
  padding: 34px;
  border-right: 3px solid #111;
  border-bottom: 3px solid #111;
}

.house-matrix a {
  display: flex;
  flex-direction: column;
}

.house-matrix b {
  font-size: 50px;
}

.house-matrix h2 {
  margin-top: auto;
  font-size: 40px;
}

.house-matrix .fashion {
  background: #111;
  color: #fff;
}

.house-matrix .jewel {
  background: var(--accent);
}

.house-matrix .beauty {
  background: #eee;
}

.house-matrix>div b {
  font-size: 130px;
}

@media(max-width:800px) {
  :root {
    --shell: min(100% - 28px,1180px);
  }

  .nav {
    height: 72px;
  }

  .nav nav {
    display: none;
  }

  .menu {
    display: block;
  }

  .nav.open nav {
    display: flex;
    position: absolute;
    left: 14px;
    right: 14px;
    top: 74px;
    padding: 20px;
    background: #fff;
    color: #111;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,.16);
  }

  .console-hero,.atlas-hero,.terminal-hero,.portfolio-hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .signal-board {
    margin-top: 25px;
  }

  .module-grid,.timeline,.region-board,.checklist,.city-mosaic,.pledges,.route-steps,.house-matrix {
    grid-template-columns: 1fr;
  }

  .archive-cover,.gallery-hero,.journal-cover {
    grid-template-columns: 1fr;
    padding-top: 80px;
  }

  .archive-cover img,.gallery-hero img,.journal-cover img {
    height: 340px;
    width: 100%;
  }

  .archive-number {
    font-size: 5rem;
  }

  .gallery-hero .vertical,.journal-cover .volume {
    display: none;
  }

  .portfolio-hero img {
    grid-column: auto;
    grid-row: auto;
  }

  .frontpage {
    grid-template-columns: 1fr;
  }

  .headline {
    border-right: 0;
    padding-right: 0;
  }

  .article-layout {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .article-layout aside {
    position: static;
  }

  .not-found {
    grid-template-columns: 1fr;
  }

  .error-art {
    min-height: 36vh;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .orbit {
    margin-top: 20px;
  }

  .masthead h1 {
    font-size: 5rem;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto!important;
    animation: none!important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

