:root {
  --grey: #7f7f7d;
  --grey-light: #929290;
  --grey-dark: #676765;
  --ink: #313130;
  --ink-soft: #4e4e4c;
  --paper: #b2b2ae;
  --line: rgba(45, 45, 44, .35);
  --line-light: rgba(223, 223, 218, .28);
  --serif: "Cormorant Garamond", Georgia, serif;
  --mono: "DM Mono", "Courier New", monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { background: var(--grey); scroll-behavior: smooth; }
body { margin: 0; background: var(--grey); color: var(--ink); font-family: var(--mono); overflow-x: hidden; }
a { color: inherit; }
::selection { background: #292928; color: #c4c4c0; }
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 20; padding: 10px 12px; background: #272726; color: #d0d0cb; }
.skip-link:focus { left: 12px; }
.grain { position: fixed; inset: -50%; z-index: 15; pointer-events: none; opacity: .075; 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='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); animation: grain 1.25s steps(2) infinite; }

.limbo-site { min-height: 100vh; background: radial-gradient(circle at 50% 10%, rgba(200, 200, 196, .18), transparent 36%), var(--grey); }
.site-header { position: relative; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 25px 4.5vw; border-bottom: 1px solid rgba(47, 47, 46, .23); color: var(--ink-soft); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.identity { display: inline-flex; align-items: center; gap: 10px; width: max-content; text-decoration: none; }
.identity-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px rgba(42, 42, 41, .14); }
.site-nav { display: flex; gap: 32px; }
.site-nav a, .site-footer a { text-decoration: none; opacity: .7; transition: opacity .25s ease, color .25s ease; }
.site-nav a:hover, .site-nav a:focus-visible, .site-footer a:hover, .site-footer a:focus-visible { opacity: 1; color: #242423; }
.header-index { justify-self: end; color: #686866; }

.section-frame { position: relative; max-width: 1440px; margin: 0 auto; padding-left: 8vw; padding-right: 8vw; }
.eyebrow, .section-number, .state-topline, .state-bottomline, .fragment-index, .ending-stamp { color: #5e5e5c; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.hero { min-height: 780px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 7vw; padding-top: 8vh; padding-bottom: 12vh; }
.hero-copy { position: relative; z-index: 2; margin-top: -8vh; }
.hero h1 { margin: 20px 0 28px; color: var(--ink); font-family: var(--serif); font-size: clamp(100px, 17vw, 250px); font-weight: 400; letter-spacing: -.08em; line-height: .7; }
.title-period { color: #a7a7a2; }
.hero-note { margin: 0; color: var(--ink-soft); font-family: var(--serif); font-size: 19px; line-height: 1.1; }
.hero-state { position: relative; z-index: 1; min-height: 510px; padding: 25px 30px 24px; display: flex; flex-direction: column; justify-content: space-between; background: #252524; color: #d0d0cc; box-shadow: 28px 28px 0 rgba(49, 49, 48, .15), 0 24px 80px rgba(37, 37, 36, .22); transform: rotate(1.4deg); overflow: hidden; }
.hero-state::before { content: ""; position: absolute; inset: 15px; border: 1px solid rgba(209, 209, 201, .2); pointer-events: none; }
.hero-state::after { content: ""; position: absolute; inset: -15%; pointer-events: none; background: radial-gradient(circle at var(--spot-x, 70%) var(--spot-y, 30%), rgba(211, 211, 205, .16), transparent 23%); transition: background .35s ease; }
.state-topline, .state-bottomline { position: relative; z-index: 1; display: flex; justify-content: space-between; color: #8e8e89; }
.state-orbit { position: absolute; z-index: 0; top: 50%; left: 50%; width: 72%; height: 35%; border: 1px solid rgba(204, 204, 198, .23); border-radius: 50%; transform: translate(-50%, -50%) rotate(-22deg); }
.state-orbit::before { content: ""; position: absolute; inset: 18%; border: 1px solid rgba(204, 204, 198, .12); border-radius: 50%; transform: rotate(54deg); }
.state-orbit span { position: absolute; top: 7%; left: 15%; width: 7px; height: 7px; border-radius: 50%; background: #d8d8d0; box-shadow: 0 0 18px 5px rgba(210, 210, 203, .32); }
.hero-state blockquote { position: relative; z-index: 1; margin: 0; align-self: center; width: 83%; }
.hero-state blockquote p { margin: 0; color: #d1d1cb; font-family: var(--serif); font-size: clamp(31px, 4vw, 58px); line-height: .98; letter-spacing: -.04em; }
.hero-state blockquote em { color: #969691; font-style: italic; }
.hero-side-label { position: absolute; right: 3.2vw; top: 32%; color: #6b6b69; font-size: 8px; letter-spacing: .16em; writing-mode: vertical-rl; transform: rotate(180deg); }
.hero-rule { position: absolute; left: 0; bottom: 15%; width: 27%; height: 1px; background: var(--line); }

.threshold { min-height: 620px; display: grid; grid-template-columns: .35fr 1fr 1fr; align-items: center; gap: 5vw; padding-top: 13vh; padding-bottom: 14vh; border-top: 1px solid var(--line); }
.threshold .section-number, .fragments .section-number { align-self: start; padding-top: 10px; }
h2 { margin: 20px 0 0; color: var(--ink); font-family: var(--serif); font-size: clamp(56px, 7.4vw, 112px); font-weight: 400; letter-spacing: -.07em; line-height: .83; }
h2 em { color: #a9a9a4; font-style: italic; }
.threshold-quote { margin: 0; padding: 33px 0 33px 4vw; border-left: 1px solid var(--line); }
.threshold-quote p { margin: 0; color: var(--ink-soft); font-family: var(--serif); font-size: clamp(30px, 3.5vw, 52px); line-height: .96; letter-spacing: -.03em; }
.threshold-quote cite { display: block; margin-top: 32px; color: #686866; font-family: var(--mono); font-size: 8px; font-style: normal; letter-spacing: .14em; }

.fragments { padding-top: 14vh; padding-bottom: 16vh; border-top: 1px solid var(--line); }
.fragments-heading { display: grid; grid-template-columns: .35fr 1fr; gap: 5vw; margin-bottom: 95px; }
.fragment-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: stretch; }
.fragment { position: relative; min-height: 365px; margin: 0; padding: 28px; overflow: hidden; }
.fragment-large { grid-row: span 2; min-height: 500px; background: #aaa9a5; color: var(--ink); }
.fragment-dark { background: #363635; color: #d0d0ca; }
.fragment-narrow { grid-column: 2; min-height: 240px; background: #646462; color: #dadad4; }
.fragment::before { content: ""; position: absolute; inset: 14px; border: 1px solid currentColor; opacity: .17; }
.fragment p { position: relative; z-index: 1; margin: 0; font-family: var(--serif); font-size: clamp(31px, 4vw, 60px); line-height: .92; letter-spacing: -.04em; }
.fragment-dark p, .fragment-narrow p { color: inherit; }
.fragment-index { position: relative; z-index: 1; display: block; margin-bottom: 75px; color: currentColor; opacity: .65; }
.fragment-mark { position: absolute; right: 27px; bottom: 4px; color: currentColor; font-family: var(--serif); font-size: 180px; line-height: .7; opacity: .13; }
.fragment-narrow .fragment-index { margin-bottom: 34px; }
.fragment-narrow p { font-size: clamp(29px, 3.5vw, 50px); }

.ending { min-height: 620px; display: grid; grid-template-columns: 1fr 1.2fr .55fr; align-items: center; gap: 5vw; padding-top: 13vh; padding-bottom: 15vh; border-top: 1px solid var(--line); }
.ending-stamp { align-self: start; padding-top: 10px; }
.ending-copy .eyebrow { margin: 0; }
.ending-quote { margin: 44px 0 0; color: var(--ink-soft); font-family: var(--serif); font-size: 30px; line-height: .95; }
.ending-mark { justify-self: end; color: rgba(48, 48, 47, .17); font-family: var(--serif); font-size: clamp(220px, 28vw, 430px); line-height: .6; }
.site-footer { display: flex; justify-content: space-between; padding: 25px 4.5vw; border-top: 1px solid var(--line); color: #5e5e5c; font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .2s; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(2%, -2%); } 50% { transform: translate(-1%, 3%); } 75% { transform: translate(3%, 1%); } 100% { transform: translate(-2%, -1%); } }

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; padding: 20px 6vw; }
  .site-nav { position: absolute; top: 64px; left: 6vw; right: 6vw; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid rgba(47, 47, 46, .2); font-size: 8px; }
  .header-index { display: none; }
  .section-frame { padding-left: 8vw; padding-right: 8vw; }
  .hero { min-height: auto; display: block; padding-top: 16vh; padding-bottom: 15vh; }
  .hero-copy { margin: 0 0 11vh; }
  .hero h1 { font-size: clamp(100px, 27vw, 190px); }
  .hero-state { min-height: 470px; transform: rotate(.8deg); }
  .hero-state blockquote { width: 78%; }
  .hero-state blockquote p { font-size: clamp(31px, 8vw, 48px); }
  .hero-side-label { right: 10px; top: 42%; }
  .threshold { min-height: 0; display: block; padding-top: 110px; padding-bottom: 120px; }
  .threshold .section-number, .fragments .section-number { margin-bottom: 55px; }
  .threshold-heading { margin-bottom: 70px; }
  .threshold-quote { padding-left: 7vw; }
  .threshold-quote p { font-size: clamp(32px, 8vw, 46px); }
  .fragments { padding-top: 110px; padding-bottom: 120px; }
  .fragments-heading { display: block; margin-bottom: 70px; }
  .fragment-grid { display: block; }
  .fragment { min-height: 310px; margin-bottom: 18px; }
  .fragment-large { min-height: 430px; }
  .fragment-narrow { min-height: 280px; }
  .fragment p, .fragment-narrow p { font-size: clamp(33px, 9vw, 46px); }
  .ending { min-height: 0; display: block; padding-top: 110px; padding-bottom: 140px; }
  .ending-stamp { margin-bottom: 65px; }
  .ending-mark { position: absolute; right: 8vw; bottom: 11vh; font-size: 220px; }
  .site-footer { flex-wrap: wrap; gap: 18px; padding: 21px 6vw; font-size: 7px; }
}
@media (pointer: coarse) { .hero-state::after { background: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-state::after { transition: none; }
}
