/* AETHER. The app's own world on the web: #000, white, greys, and one red. */

@font-face { font-family: 'Pinyon Script'; src: url(assets/fonts/pinyon-script.woff2) format('woff2'); font-display: block; }
@font-face { font-family: 'EB Garamond'; src: url(assets/fonts/eb-garamond.woff2) format('woff2'); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'EB Garamond'; src: url(assets/fonts/eb-garamond-italic.woff2) format('woff2'); font-weight: 400 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url(assets/fonts/montserrat.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --black: #000;
  --white: #fff;
  --grey: #9a9a9a;
  --dim: #5e5e5e;
  --faint: #3a3a3a;
  --hair: rgba(255, 255, 255, .16);
  --signal: #ff3b30;
  --script: 'Pinyon Script', cursive;
  --serif: 'EB Garamond', 'Times New Roman', serif;
  --sans: 'Montserrat', 'Helvetica Neue', sans-serif;
  --gutter: clamp(20px, 3.4vw, 64px);
  /* Replaced at load with the real spring as a linear() curve. */
  --spring: cubic-bezier(.2, .9, .25, 1);
  --spring-time: 1.1s;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; background: var(--black); color: var(--white); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, figure, dl, dd { margin: 0; padding: 0; font: inherit; }
ol, ul { list-style: none; }
img, video, canvas { display: block; }
::selection { background: var(--white); color: var(--black); }
:focus-visible { outline: 1px solid var(--white); outline-offset: 4px; }

.caps { font-family: var(--sans); font-weight: 500; font-size: 11px; line-height: 1.5; letter-spacing: .28em; text-transform: uppercase; }
.aside { font-style: italic; color: var(--grey); }

/* The grain over everything, as in the app. */
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .085; background-size: 220px 220px; mix-blend-mode: overlay; }
.defs { position: absolute; }

/* The veil: the cross of light, the year, and then the room. */
.veil { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--black); pointer-events: none; transition: opacity 1.1s ease; animation: veil-safety .01s 7s forwards; }
@keyframes veil-safety { to { opacity: 0; visibility: hidden; } }
.veil.gone { opacity: 0; }
.veil__inner { display: grid; justify-items: center; gap: 22px; }
.veil__year { color: var(--dim); letter-spacing: .5em; margin-right: -.5em; opacity: 0; animation: rise 1.2s .25s var(--spring) forwards; }
.cross { position: relative; width: 132px; height: 132px; }
.cross i { position: absolute; left: 50%; top: 50%; display: block; transform: translate(-50%, -50%); background: linear-gradient(var(--dir, to bottom), transparent, rgba(255, 255, 255, var(--a, .95)), transparent); }
.cross .v { width: 1.6px; height: 100%; }
.cross .vg { width: 7px; height: 100%; --a: .18; filter: blur(2px); }
.cross .h { --dir: to right; width: 60%; height: 1.5px; }
.cross .hg { --dir: to right; width: 60%; height: 6px; --a: .15; filter: blur(2px); }
.cross .halo { width: 60%; height: 60%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .42), rgba(255, 255, 255, .08) 40%, transparent); }
.cross .core { width: 8%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, #fff, transparent); }
.veil .cross { animation: ignite 1.5s var(--spring) both; }
@keyframes ignite { from { opacity: 0; transform: scaleY(.2) scaleX(.5); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* The bar. Two words, and nothing to dismiss. */
.bar { position: fixed; z-index: 60; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 26px var(--gutter); transition: color .7s ease; }
/* Frost behind the bar, dissolving downward so that it has no edge. */
.bar::before { content: ''; position: absolute; inset: 0 0 -30px; z-index: -1; pointer-events: none; opacity: 0; background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .38) 60%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.25); backdrop-filter: blur(18px) saturate(1.25); -webkit-mask: linear-gradient(#000 56%, transparent); mask: linear-gradient(#000 56%, transparent); transition: opacity .8s ease; }
.bar.over::before { opacity: 1; }
.light-top .bar::before { background: linear-gradient(rgba(226, 228, 232, .72), rgba(226, 228, 232, .32) 60%, transparent); }
/* What a long glide passes behind. */
.travel { position: fixed; inset: 0; z-index: 55; pointer-events: none; visibility: hidden; opacity: 0; background: rgba(0, 0, 0, .84); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.light-top .bar { color: #0b0b0c; }
.bar a { position: relative; }
.bar__mark { letter-spacing: .5em; }
.link::after { content: ''; position: absolute; left: 0; right: .28em; bottom: -5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .7s var(--spring); }
.link:hover::after { transform: scaleX(1); transform-origin: left; }

/* I. The hero: a niche in a black wall. */
.hero { position: relative; height: 240vh; height: 240svh; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#dots { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fallback { position: absolute; inset: 0; margin: auto; height: 100%; object-fit: contain; opacity: .8; display: none; }
.no-gl #dots { display: none; }
.no-gl .hero__fallback { display: block; }
/* Where the figure is as wide as the window, the bar would stand on its dots: the top of the niche goes dark. */
@media (max-width: 1100px), (max-aspect-ratio: 11/10) {
  .hero__stage::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 150px; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, .96), rgba(0, 0, 0, .86) 36%, rgba(0, 0, 0, .44) 68%, transparent); }
}
.hero__title { position: absolute; left: 0; right: 0; bottom: clamp(44px, 8vh, 96px); text-align: center; will-change: transform, opacity; }
.hero__word { display: block; font-family: var(--script); font-weight: 400; font-size: clamp(120px, min(23vw, 40vh), 460px); line-height: 1; color: var(--white); text-shadow: 0 0 80px rgba(0, 0, 0, .55); padding: .2em 0; margin: -.2em 0; -webkit-mask: linear-gradient(104deg, #000 44%, transparent 56%) 100% 0 / 330% 100% no-repeat; mask: linear-gradient(104deg, #000 44%, transparent 56%) 100% 0 / 330% 100% no-repeat; transition: -webkit-mask-position 2.5s cubic-bezier(.3, .55, .2, 1), mask-position 2.5s cubic-bezier(.3, .55, .2, 1); }
.ready .hero__word { -webkit-mask-position: 0 0; mask-position: 0 0; transition-delay: .35s; }
.hero__line { display: block; margin-top: clamp(2px, 1vh, 12px); color: rgba(255, 255, 255, .86); letter-spacing: .52em; margin-right: -.52em; opacity: 0; transition: opacity 1.6s ease; }
.ready .hero__line { opacity: 1; transition-delay: 1.15s; }

/* The museum's label, at the niche's side. */
.label { position: absolute; top: 50%; transform: translateY(-50%); display: grid; gap: 6px; opacity: 0; transition: opacity 1.4s ease; }
.ready .label { opacity: 1; transition-delay: 1.5s; }
.label--left { left: var(--gutter); max-width: 240px; }
.label--right { right: var(--gutter); text-align: right; justify-items: end; }
.label__fig { color: var(--dim); }
.label__name { font-size: clamp(26px, 2.3vw, 36px); line-height: 1.1; font-style: italic; }
.label__note { color: var(--grey); font-size: 15px; line-height: 1.35; }
.label__count { font-size: clamp(26px, 2.3vw, 36px); line-height: 1.1; font-variant-numeric: lining-nums; }
.label__of { color: var(--dim); }
.mask { display: block; overflow: hidden; }
.mask > span { display: block; transition: transform .9s var(--spring), opacity .5s ease; }
.mask.out > span { transform: translateY(105%); opacity: 0; transition: transform .45s ease-in, opacity .3s ease; }

.hero__hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; color: var(--dim); opacity: 0; transition: opacity 1.2s ease; }
.ready .hero__hint { opacity: 1; transition-delay: 2s; }
.hero__hint i { display: block; width: 1px; height: 26px; background: linear-gradient(var(--white), transparent); transform-origin: top; animation: drip 2.8s var(--spring) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 760px) {
  .label--left { top: auto; bottom: calc(clamp(70px, 13vh, 150px) + 42vw + 16px); transform: none; display: none; }
  .label--right { display: none; }
}

/* Shared. */
.chapter { display: flex; justify-content: center; align-items: baseline; gap: 14px; color: var(--grey); }
.chapter i { font-size: 17px; color: var(--dim); }
.chapter--left { justify-content: flex-start; }
.display { font-size: clamp(42px, 5.6vw, 96px); line-height: 1.05; font-weight: 400; letter-spacing: -.005em; }
.reading { font-size: clamp(18px, 1.45vw, 22px); line-height: 1.5; color: var(--grey); max-width: 30em; }
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1.2s ease, transform var(--spring-time) var(--spring); }
.in[data-reveal], .in [data-reveal] { opacity: 1; transform: none; }

.glass { position: relative; isolation: isolate; background: rgba(0, 0, 0, .3); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-radius: 999px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), inset 0 -1px 0 rgba(255, 255, 255, .1), inset 1px 0 0 rgba(255, 255, 255, .1), inset -1px 0 0 rgba(255, 255, 255, .1), 0 14px 44px rgba(0, 0, 0, .55); }
.lens .glass { -webkit-backdrop-filter: url(#lens) blur(7px) saturate(1.4); backdrop-filter: url(#lens) blur(7px) saturate(1.4); }

/* I. The name. */
.name { min-height: 100vh; display: grid; align-content: center; justify-items: center; gap: clamp(16px, 3vh, 34px); text-align: center; padding: 14vh var(--gutter) 10vh; }
.greek { font-size: clamp(76px, min(17.5vw, 38vh), 330px); line-height: 1.02; letter-spacing: .09em; margin-right: -.09em; font-weight: 400; display: flex; opacity: 1 !important; transform: none !important; }
.greek .ch { display: inline-block; background: linear-gradient(180deg, #fff 8%, #cfcfcf 52%, #4c4c4c 96%); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; filter: blur(16px); transform: translateY(16%); transition: opacity 1.6s ease, filter 1.6s ease, transform 1.8s var(--spring); transition-delay: calc(var(--i) * 120ms); }
.greek.in .ch { opacity: 1; filter: none; transform: none; }
.theta { position: relative; }
.theta b { position: absolute; left: 11%; right: 19%; top: 50%; height: .024em; min-height: 1px; background: #c4c4c4; margin-top: .02em; }
.gloss { font-size: clamp(19px, 1.7vw, 26px); color: var(--grey); }
.gloss .aside { color: var(--white); }
.meander { width: min(760px, 84vw); height: 22px; margin-top: 3vh; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='22'%3E%3Cpath d='M0 21.5H38M0 .5H38M31.5 21.5V6.5H9.5V16.5H24.5V11.5H16.5' fill='none' stroke='white' stroke-opacity='.4'/%3E%3C/svg%3E") center / 38px 22px repeat-x; }

/* The creed: lit a word at a time. */
.creed { height: 280vh; }
.creed__stage { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; padding: 0 var(--gutter); }
.lit { font-size: clamp(32px, min(4.5vw, 8.6vh), 80px); line-height: 1.2; max-width: 20.5em; text-align: center; }
.lit span { opacity: .13; }

/* II. The room: a phone in the middle of a dark gallery. */
.room { height: 520vh; }
.room__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(24px, 6vw, 110px); padding: 0 var(--gutter); }
.room__stage::before { content: ''; position: absolute; left: 50%; top: 50%; width: 90vh; height: 90vh; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255, 255, 255, .09), transparent); pointer-events: none; }
.room__copy { display: grid; justify-self: end; max-width: 400px; width: 100%; }
.plate { grid-area: 1 / 1; display: grid; gap: 8px; align-content: center; opacity: 0; transform: translateY(20px); visibility: hidden; transition: opacity .55s ease, transform .9s var(--spring), visibility 0s .55s; }
.plate.on { opacity: 1; transform: none; visibility: visible; transition: opacity 1s ease .12s, transform var(--spring-time) var(--spring) .08s, visibility 0s; }
.plate__no { color: var(--dim); }
.plate__name { font-family: var(--script); font-size: clamp(54px, 5.1vw, 96px); line-height: 1.2; font-weight: 400; white-space: nowrap; }
.plate__line { font-size: clamp(22px, 1.9vw, 30px); font-style: italic; }
.plate__text { color: var(--grey); font-size: clamp(17px, 1.3vw, 20px); margin-top: 8px; }
.phone { --h: min(86vh, 800px); position: relative; height: var(--h); aspect-ratio: 1080 / 2287; border-radius: calc(var(--h) * .06); padding: calc(var(--h) * .009); background: linear-gradient(145deg, #2c2c2e, #0b0b0c 38%, #1a1a1c 70%, #050505); box-shadow: 0 50px 120px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .13); }
.phone__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--h) * .052); background: #000; }
.phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone__screen::after { content: ''; position: absolute; inset: 0; background: linear-gradient(112deg, rgba(255, 255, 255, .06), transparent 34%); pointer-events: none; }
.room__index { justify-self: start; display: grid; gap: 16px; color: var(--faint); }
.room__index li { position: relative; padding-left: 0; transition: color .7s ease, transform .9s var(--spring); }
.room__index li.on { color: var(--white); transform: translateX(26px); }
.room__index li::before { content: ''; position: absolute; left: -26px; top: 50%; width: 16px; height: 1px; background: var(--white); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--spring); }
.room__index li.on::before { transform: scaleX(1); }

/* III. The sound: a measuring bench. */
.sound { padding: 22vh var(--gutter) 18vh; display: grid; gap: clamp(50px, 9vh, 110px); max-width: 1500px; margin: 0 auto; }
.sound__head { display: grid; gap: 20px; }
.sound__bench { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(30px, 5vw, 90px); align-items: stretch; }
.curve__read { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 18px; }
.curve__read > div { display: grid; gap: 2px; }
.curve__axis { color: var(--dim); }
#curve { width: 100%; height: clamp(260px, 46vh, 460px); }
.models li { border-top: 1px solid var(--hair); }
.models li:last-child { border-bottom: 1px solid var(--hair); }
.models button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 13px 2px; font-family: var(--sans); font-weight: 600; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); transition: color .4s ease, padding .8s var(--spring); }
.models button:hover { color: var(--grey); }
.models button:focus-visible { outline: 1px solid var(--white); outline-offset: 2px; }
.models button[aria-pressed='true'] { color: var(--white); padding-left: 12px; }
.models button::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--white); opacity: 0; transition: opacity .4s ease; }
.models button[aria-pressed='true']::after { opacity: 1; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair); }
.facts li { padding: 26px clamp(16px, 2.4vw, 44px) 0 0; display: grid; gap: 4px; }
.facts b { font-weight: 400; font-size: clamp(40px, 4.4vw, 70px); line-height: 1.1; }
.facts span { color: var(--grey); max-width: 18em; }

/* IV. The hand. */
.hand { position: relative; height: 100vh; min-height: 620px; overflow: hidden; touch-action: pan-y; }
.hand__copy { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; gap: 16px; padding: max(84px, 10vh) var(--gutter) 0; pointer-events: none; }
.hand .reading { max-width: 26em; }
#dial { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
#dial.held { cursor: grabbing; }
.hand__time { position: absolute; left: 0; right: 0; bottom: calc(82px + 2vh); display: grid; justify-items: center; pointer-events: none; font-size: clamp(38px, 4vw, 64px); line-height: 1.05; font-variant-numeric: lining-nums tabular-nums; }
.hand__time .aside { font-size: clamp(16px, 1.3vw, 21px); }

/* V. The metal: the stage is the card's opposite. */
.metal { position: relative; min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 110px); align-items: center; padding: 14vh max(var(--gutter), 8vw); overflow: hidden; transition: color .9s ease; }
.metal__stage { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.metal__stage--black { background: radial-gradient(90% 90% at 66% 46%, #e6e8ec, #8e9197); }
.metal__stage--silver { background: radial-gradient(70% 70% at 66% 46%, #1b1c1e, #000); }
.metal[data-finish='black'] .metal__stage--black, .metal[data-finish='silver'] .metal__stage--silver { opacity: 1; }
.metal[data-finish='black'] { color: #0b0b0c; }
.metal[data-finish='black'] .reading, .metal[data-finish='black'] .chapter, .metal[data-finish='black'] .chapter i { color: #2b2c30; }
.metal__copy { position: relative; display: grid; gap: 20px; justify-items: start; max-width: 560px; }
.finish { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 99px; background: rgba(0, 0, 0, .86); margin-top: 8px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.finish button { all: unset; cursor: pointer; position: relative; z-index: 1; padding: 10px 28px; color: #fff; text-align: center; font-family: var(--sans); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; }
.finish button:focus-visible { outline: 1px solid #fff; border-radius: 99px; }
.finish__drop { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 99px; background: rgba(255, 255, 255, .17); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 0 0 1px rgba(255, 255, 255, .12); transition: transform .8s var(--spring); }
.metal[data-finish='silver'] .finish__drop { transform: translateX(100%); }

.card-wrap { position: relative; display: grid; justify-items: center; justify-self: center; gap: 22px; perspective: 1400px; }
.card { --u: calc(min(356px, 76vw, 46vh * 1.2) / 356); position: relative; width: calc(var(--u) * 356); height: calc(var(--u) * 644); border-radius: calc(var(--u) * 26); overflow: hidden; transform-style: preserve-3d; will-change: transform; box-shadow: 0 calc(var(--u) * 46) calc(var(--u) * 90) rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .22); }
.metal[data-finish='silver'] .card { box-shadow: 0 0 calc(var(--u) * 120) rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(255, 255, 255, .6); }
.card canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.card__face { position: absolute; inset: 0; display: flex; flex-direction: column; padding: calc(var(--u) * 24) calc(var(--u) * 26); font-family: var(--sans); font-weight: 600; text-transform: uppercase; }
.e { background: linear-gradient(100deg, #f6f7f9, #c0c4cb 30%, #f6f7f9 55%, #aaaeb6 78%, #f0f1f4); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .8)); }
.e.q { background: linear-gradient(100deg, #a6aab2, #82868e); -webkit-background-clip: text; background-clip: text; }
.metal[data-finish='silver'] .e { background-image: linear-gradient(100deg, #101114, #34363b 40%, #101114 70%, #26282c); filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .6)); }
.metal[data-finish='silver'] .e.q { background-image: linear-gradient(100deg, #45484e, #5a5d63); }
.metal[data-finish='silver'] .card hr { border-color: rgba(0, 0, 0, .26); }
.metal[data-finish='silver'] .medal .r, .metal[data-finish='silver'] .medal line { stroke: rgba(0, 0, 0, .3); }
.card hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .22); width: 100%; margin: 0; }
.card__top { display: flex; justify-content: space-between; align-items: center; }
.card__logo { font-family: var(--script); font-weight: 400; font-size: calc(var(--u) * 40); line-height: 1.2; text-transform: none; padding-right: .2em; }
.card__tier { font-size: calc(var(--u) * 8.5); letter-spacing: .22em; }
.medal { position: relative; width: calc(var(--u) * 148); height: calc(var(--u) * 148); margin: calc(var(--u) * 18) auto calc(var(--u) * 12); }
.medal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.medal .r { fill: none; stroke: rgba(255, 255, 255, .24); stroke-width: .7; }
.medal line { stroke: rgba(255, 255, 255, .24); stroke-width: .5; }
.medal img { position: absolute; inset: 7%; width: 86%; height: 86%; border-radius: 50%; object-fit: cover; object-position: 50% 12%; filter: contrast(1.15); }
.card__k { text-align: center; font-size: calc(var(--u) * 8.5); letter-spacing: .32em; margin: 0 0 calc(var(--u) * 3); }
.card__big { text-align: center; font-size: calc(var(--u) * 21); letter-spacing: .1em; margin-bottom: calc(var(--u) * 14); }
.card__rows { padding: calc(var(--u) * 10) 0; display: grid; gap: calc(var(--u) * 7); }
.card__rows li { display: grid; grid-template-columns: calc(var(--u) * 32) 1fr auto; font-size: calc(var(--u) * 11.5); letter-spacing: .1em; }
.card__fig { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding: calc(var(--u) * 16) 0 calc(var(--u) * 14); }
.card__fig dd { font-size: calc(var(--u) * 17); letter-spacing: .03em; }
.card__fig dt { font-size: calc(var(--u) * 6.5); letter-spacing: .16em; margin-top: calc(var(--u) * 4); }
.card__two, .card__foot { display: flex; justify-content: space-between; }
.card__two { font-size: calc(var(--u) * 11); letter-spacing: .08em; }
.card__two p:first-child, .card__foot p:first-child { font-size: calc(var(--u) * 7.5); letter-spacing: .26em; margin-bottom: calc(var(--u) * 3); }
.card__two div:last-child, .card__foot div { text-align: right; }
.card__foot { margin-top: auto; align-items: flex-end; font-size: calc(var(--u) * 9.5); letter-spacing: .16em; }
.card__holder { font-size: calc(var(--u) * 15); letter-spacing: .16em; }
.card-note { font-size: 16px; }
.metal[data-finish='black'] .card-note { color: #2b2c30; }

/* VI. The omissions: letters a raking light finds. */
.sine { position: relative; padding: 24vh var(--gutter) 22vh; display: grid; justify-items: center; text-align: center; gap: 18px; overflow: hidden; }
.flutes { position: absolute; top: 0; bottom: 0; width: clamp(50px, 9vw, 170px); background: repeating-linear-gradient(90deg, #000 0, #1b1b1c 34%, #4a4a4c 49%, #111 53%, #000 100%); background-size: 12.5% 100%; -webkit-mask: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask: linear-gradient(transparent, #000 18%, #000 82%, transparent); opacity: .85; }
.flutes--l { left: 0; }
.flutes--r { right: 0; }
.stones { margin-top: 7vh; display: grid; gap: clamp(22px, 4.6vh, 50px); }
.stones li { display: grid; gap: 4px; justify-items: center; }
.latin { --lit: 0; font-size: clamp(30px, 5.5vw, 92px); line-height: 1.1; letter-spacing: .13em; margin-right: -.13em; text-transform: uppercase; background: linear-gradient(95deg, #fff calc(var(--lit) * 130% - 30%), #1f1f20 calc(var(--lit) * 130%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plain { color: var(--grey); font-style: italic; font-size: clamp(18px, 1.5vw, 23px); }

/* The sea, and one line on it. */
.few { position: relative; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.few video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.few::after { content: ''; position: absolute; inset: 0; background: linear-gradient(#000, transparent 22%, transparent 78%, #000); }
.few__line { position: relative; z-index: 1; font-size: clamp(38px, 6.2vw, 110px); font-style: italic; text-align: center; padding: 0 var(--gutter); line-height: 1.1; }

/* VII. The edition: the certificate that comes with it. */
.edition { padding: 18vh var(--gutter) 12vh; display: grid; justify-items: center; gap: clamp(36px, 7vh, 70px); }
.edition__sign { display: grid; justify-items: center; }
.edition__sign .cross { width: 96px; height: 96px; }
.edition__word { font-family: var(--script); font-weight: 400; font-size: clamp(90px, 11vw, 190px); line-height: 1.12; }
.edition__sub { color: var(--grey); letter-spacing: .4em; margin-right: -.4em; }
.cert { width: min(680px, 100%); border-top: 1px solid var(--hair); }
.cert > div { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; padding: 13px 2px; border-bottom: 1px solid var(--hair); }
.cert dt { color: var(--dim); }
.cert dd { font-size: 19px; text-align: right; }
.cert__sha dd { font-size: 14px; color: var(--grey); letter-spacing: .03em; font-variant-numeric: tabular-nums lining-nums; }
.get { display: grid; justify-items: center; gap: 24px; }
.get__button { display: inline-block; padding: 22px 54px; font-size: 12px; transition: transform .8s var(--spring); }
.get__button:hover { transform: scale(1.035); }
.get__source { position: relative; color: var(--grey); }

.foot { position: relative; padding-top: 10vh; text-align: center; overflow: hidden; }
.foot__earth { display: block; width: 100%; height: min(92vh, 60vw); min-height: 460px; object-fit: cover; object-position: 62% 50%; -webkit-mask: linear-gradient(transparent, #000 36%); mask: linear-gradient(transparent, #000 36%); }
.foot__words { position: absolute; left: 0; right: 0; bottom: 20px; display: grid; gap: 10px; justify-items: center; padding: 0 var(--gutter) 70px; font-size: 14px; color: rgba(255, 255, 255, .62); }
.foot__words p:first-child { max-width: 52em; }
.foot__words a { text-decoration: underline; text-underline-offset: 3px; }
.foot__words .caps { font-size: 9px; color: rgba(255, 255, 255, .45); }

/* The tab bar's glass, carrying the chapters. */
.dock { position: fixed; z-index: 70; left: 50%; bottom: 18px; display: flex; padding: 5px; transform: translate(-50%, 90px); opacity: 0; transition: transform 1.1s var(--spring), opacity .6s ease; font-size: 17px; }
.dock.up { transform: translate(-50%, 0); opacity: 1; }
.light-foot .dock { background: rgba(0, 0, 0, .68); }
.dock a { position: relative; z-index: 1; width: 46px; height: 38px; display: grid; place-items: center; color: rgba(255, 255, 255, .6); font-variant-numeric: lining-nums; transition: color .5s ease; }
.dock a.on { color: #fff; }
.dock__drop { position: absolute; left: 5px; top: 5px; width: 46px; height: 38px; border-radius: 99px; background: rgba(255, 255, 255, .13); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 0 0 1px rgba(255, 255, 255, .08); will-change: transform; }

@media (max-width: 900px) {
  .room { height: 480vh; }
  .room__stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; justify-items: center; gap: 12px; padding-top: 74px; padding-bottom: 84px; }
  .room__copy { justify-self: center; text-align: center; max-width: 440px; order: 0; }
  .plate { justify-items: center; }
  .plate__name { font-size: 54px; }
  .plate__line { font-size: 20px; }
  .plate__text { font-size: 15.5px; margin-top: 0; }
  .phone { --h: min(56vh, 620px); align-self: start; }
  .room__index { display: none; }
  .sound__bench { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 10px; }
  .metal { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .metal__copy { justify-items: center; }
  .metal__stage--black { background: radial-gradient(120% 70% at 50% 66%, #e6e8ec, #8e9197); }
  .metal__stage--silver { background: radial-gradient(120% 60% at 50% 66%, #1b1c1e, #000); }
  .chapter--left { justify-content: center; }
  .sound { text-align: center; }
  .sound .reading { margin: 0 auto; }
  .curve__read { text-align: left; }
  .flutes { width: 30px; }
  .latin { letter-spacing: .08em; margin-right: -.08em; }
  .dock { display: none; }
  .foot__words { padding-bottom: 20px; }
}

.room__glow { display: none; }

/* On a phone the page is close-set: short pins, tight spacing, and darkened, blurred pictures where there was empty black. */
@media (max-width: 900px) {
  .bar { padding: 18px var(--gutter); }
  .hero { height: 150vh; height: 150svh; }
  .hero__title { bottom: 44px; }
  .hero__word { font-size: min(27vw, 170px); }
  .hero__line { font-size: 9.5px; letter-spacing: .32em; margin-right: -.32em; }

  .name, .edition { position: relative; overflow: hidden; }
  .name::before, .creed__stage::before, .edition::before { content: ''; position: absolute; inset: -6% -24%; background-position: center 18%; background-size: cover; filter: blur(30px) brightness(.34); opacity: .5; -webkit-mask: radial-gradient(58% 46% at 50% 44%, #000 30%, transparent); mask: radial-gradient(58% 46% at 50% 44%, #000 30%, transparent); }
  .name::before { background-image: url(assets/statues/hera.jpg); }
  .creed__stage::before { background-image: url(assets/statues/athena.jpg); opacity: .4; }
  .edition::before { background-image: url(assets/statues/poseidon.jpg); opacity: .34; }
  .name > *, .edition > *, .lit { position: relative; z-index: 1; }

  .name { min-height: 0; padding: 60px var(--gutter) 36px; gap: 12px; }
  .greek { font-size: 22vw; }
  .gloss { font-size: 17px; line-height: 1.35; }
  .meander { margin-top: 6px; }

  .creed { height: 138vh; height: 138svh; }
  .creed__stage { top: 13vh; top: 13svh; height: 74vh; height: 74svh; overflow: hidden; }
  .lit { font-size: clamp(29px, 8.4vw, 46px); line-height: 1.2; }

  .room { height: 300vh; height: 300svh; }
  .room__stage { height: 100vh; height: 100svh; grid-template-rows: auto minmax(0, 1fr); gap: 10px; padding: 58px var(--gutter) 16px; }
  .room__stage::before { display: none; }
  .room__glow { display: block; position: absolute; inset: -10%; overflow: hidden; }
  .room__glow img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(34px) brightness(.46); opacity: 0; transition: opacity .9s ease; }
  .room__glow img.on { opacity: 1; }
  .room__copy, .phone { position: relative; z-index: 1; }
  .room__copy { min-height: 136px; align-content: start; }
  .plate { gap: 1px; align-content: start; }
  .plate__no { display: none; }
  .plate__name { font-size: 46px; line-height: 1.15; }
  .plate__line { font-size: 19px; line-height: 1.2; }
  .plate__text { font-size: 15px; line-height: 1.34; margin-top: 3px; }
  .phone { --h: max(330px, min(100vh - 232px, 680px)); --h: max(330px, min(100svh - 232px, 680px)); align-self: center; }

  .sound { padding: 54px var(--gutter) 36px; gap: 24px; }
  .sound__head { gap: 10px; }
  .display { font-size: clamp(36px, 10.2vw, 62px); }
  .reading { font-size: 16.5px; line-height: 1.42; }
  .sound__bench { gap: 14px; }
  .curve__read { margin-bottom: 8px; }
  #curve { height: 200px; }
  .models { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .models li:last-child { border-bottom: 0; }
  .models button { font-size: 9.5px; letter-spacing: .1em; padding: 10px 0; text-align: left; }
  .models button[aria-pressed='true'] { padding-left: 0; }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .facts li { padding: 14px 10px 0 0; align-content: start; }
  .facts b { font-size: 30px; }
  .facts span { font-size: 13px; line-height: 1.28; }

  .hand { height: 430px; min-height: 0; }
  .hand__copy { padding: 44px var(--gutter) 0; gap: 8px; }
  .hand .reading { font-size: 15.5px; line-height: 1.36; }
  .hand__time { bottom: 26px; font-size: 36px; }

  .metal { min-height: 0; padding: 54px var(--gutter) 40px; gap: 22px; }
  .metal__copy { gap: 10px; }
  .finish { margin-top: 2px; }
  .card { --u: calc(min(330px, 78vw) / 356); }
  .card-wrap { gap: 12px; }

  .sine { padding: 54px var(--gutter) 40px; gap: 8px; }
  .flutes { width: 18px; }
  .stones { margin-top: 18px; gap: 14px; }
  .latin { font-size: 5vw; letter-spacing: .07em; margin-right: -.07em; }
  .plain { font-size: 15px; }

  .few { height: 54vh; height: 54svh; }
  .few__line { font-size: 11vw; }

  .edition { padding: 44px var(--gutter) 26px; gap: 22px; }
  .edition__sign .cross { width: 62px; height: 62px; }
  .edition__word { font-size: 25vw; }
  .get { gap: 14px; }
  .get__button { padding: 18px 40px; }
  .cert > div { padding: 9px 2px; }
  .cert dd { font-size: 16px; }
  .cert > .cert__sha { flex-direction: column; gap: 3px; }
  .cert__sha dd { font-size: 11.5px; text-align: left; }

  .foot { padding-top: 0; }
  .foot__earth { height: 320px; min-height: 0; }
  .foot__words { bottom: 14px; padding-bottom: 0; font-size: 12px; line-height: 1.35; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
