656 lines
12 KiB
CSS
656 lines
12 KiB
CSS
@font-face {
|
|
font-family: "Inter";
|
|
font-style: normal;
|
|
font-weight: 100 900;
|
|
font-display: swap;
|
|
src: url("assets/fonts/inter-latin.woff2") format("woff2");
|
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-style: normal;
|
|
font-weight: 100 900;
|
|
font-display: swap;
|
|
src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
|
|
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
}
|
|
|
|
:root {
|
|
--font: "Inter", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
|
|
|
|
--pad: clamp(0.5rem, 1.6vw, 1.25rem);
|
|
--rail: clamp(1.5rem, 1.05rem + 0.9vw, 2.1rem);
|
|
--rail-size: clamp(0.68rem, 0.6rem + 0.18vw, 0.8rem);
|
|
--display-size: clamp(2.1rem, 11.5vw, 9rem);
|
|
--gap: clamp(0.75rem, 2vw, 1.5rem);
|
|
--stage-pad-x: clamp(1rem, 4vw, 4rem);
|
|
--stage-pad-y: clamp(1rem, 3vw, 3rem);
|
|
|
|
--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
|
|
}
|
|
|
|
:root[data-theme="light"] {
|
|
color-scheme: light;
|
|
--bg: #ffffff;
|
|
--fg: #0a0a0a;
|
|
--muted: #6f6f6f;
|
|
--line: rgba(10, 10, 10, 0.18);
|
|
--accent: #0000ee;
|
|
--scrim: rgba(10, 10, 10, 0.38);
|
|
}
|
|
|
|
:root[data-theme="dark"] {
|
|
color-scheme: dark;
|
|
--bg: #0b0b0c;
|
|
--fg: #f2f2f0;
|
|
--muted: #9a9a97;
|
|
--line: rgba(242, 242, 240, 0.2);
|
|
--accent: #8f8fff;
|
|
--scrim: rgba(0, 0, 0, 0.66);
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
background: var(--bg);
|
|
scrollbar-color: var(--line) transparent;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
min-height: 100svh;
|
|
background: var(--bg);
|
|
color: var(--fg);
|
|
font-family: var(--font);
|
|
font-size: 16px;
|
|
font-synthesis-weight: none;
|
|
line-height: 1.2;
|
|
-webkit-font-smoothing: antialiased;
|
|
text-rendering: optimizeLegibility;
|
|
transition: background-color 0.25s ease, color 0.25s ease;
|
|
}
|
|
|
|
::selection {
|
|
background: var(--accent);
|
|
color: var(--bg);
|
|
}
|
|
|
|
body.has-dialog {
|
|
overflow: hidden;
|
|
}
|
|
|
|
:where(a, button, [tabindex]):focus-visible {
|
|
outline: 2px solid var(--accent);
|
|
outline-offset: 3px;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
}
|
|
|
|
button,
|
|
input,
|
|
select,
|
|
textarea {
|
|
font: inherit;
|
|
}
|
|
|
|
.skip-link {
|
|
position: fixed;
|
|
top: 0.75rem;
|
|
left: 0.75rem;
|
|
z-index: 100;
|
|
padding: 0.6rem 0.85rem;
|
|
background: var(--fg);
|
|
color: var(--bg);
|
|
font-size: 0.78rem;
|
|
text-decoration: none;
|
|
transform: translateY(-200%);
|
|
transition: transform 0.18s var(--ease);
|
|
}
|
|
|
|
.skip-link:focus {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
/* ---------- frame ---------- */
|
|
|
|
.frame {
|
|
display: grid;
|
|
grid-template-columns: var(--rail) minmax(0, 1fr) var(--rail);
|
|
grid-template-rows: var(--rail) minmax(min-content, 1fr) var(--rail);
|
|
grid-template-areas:
|
|
"c-tl top c-tr"
|
|
"left stage right"
|
|
"c-bl bottom c-br";
|
|
min-height: 100vh;
|
|
min-height: 100svh;
|
|
padding: var(--pad);
|
|
}
|
|
|
|
.corner {
|
|
position: relative;
|
|
}
|
|
|
|
.corner-tl { grid-area: c-tl; }
|
|
.corner-tr { grid-area: c-tr; }
|
|
.corner-bl { grid-area: c-bl; }
|
|
.corner-br { grid-area: c-br; }
|
|
|
|
.corner::before,
|
|
.corner::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
background: var(--line);
|
|
}
|
|
|
|
.corner::before {
|
|
width: calc(var(--rail) * 0.62);
|
|
height: 1px;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
.corner::after {
|
|
width: 1px;
|
|
height: calc(var(--rail) * 0.62);
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
/* ---------- rails ---------- */
|
|
|
|
.rail {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
font-size: var(--rail-size);
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.rail-top,
|
|
.rail-bottom {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto 1fr;
|
|
align-items: center;
|
|
gap: var(--gap);
|
|
}
|
|
|
|
.rail-top { grid-area: top; }
|
|
.rail-bottom { grid-area: bottom; }
|
|
|
|
.rail-left,
|
|
.rail-right {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: clamp(1rem, 4vh, 2.75rem);
|
|
writing-mode: vertical-rl;
|
|
}
|
|
|
|
.rail-left { grid-area: left; }
|
|
.rail-right {
|
|
grid-area: right;
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.rail-title {
|
|
margin: 0;
|
|
font-size: calc(var(--rail-size) + 0.06rem);
|
|
font-weight: 600;
|
|
letter-spacing: 0.17em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.rail-list {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.rail-list a {
|
|
padding-block: 0.3em;
|
|
color: inherit;
|
|
text-decoration: none;
|
|
transition: color 0.18s ease;
|
|
}
|
|
|
|
.rail-list a:hover {
|
|
color: var(--accent);
|
|
text-decoration: underline;
|
|
text-underline-offset: 0.18em;
|
|
}
|
|
|
|
.sep {
|
|
padding-inline: 0.34em;
|
|
color: var(--line);
|
|
}
|
|
|
|
/* ---------- top rail ---------- */
|
|
|
|
.brand {
|
|
margin: 0;
|
|
font-size: calc(var(--rail-size) + 0.02rem);
|
|
font-weight: 600;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.brand a {
|
|
padding-block: 0.35rem;
|
|
color: var(--fg);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.brand-suffix {
|
|
color: var(--muted);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.top-note {
|
|
justify-self: center;
|
|
margin: 0;
|
|
color: var(--muted);
|
|
font-size: calc(var(--rail-size) - 0.05rem);
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.rail-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-self: end;
|
|
gap: clamp(0.5rem, 1.2vw, 0.9rem);
|
|
}
|
|
|
|
.clock {
|
|
display: inline-flex;
|
|
align-items: baseline;
|
|
gap: 0.45em;
|
|
font-variant-numeric: tabular-nums;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.clock-place {
|
|
color: var(--muted);
|
|
font-size: 0.92em;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
#clock {
|
|
font-weight: 550;
|
|
}
|
|
|
|
.theme-toggle {
|
|
position: relative;
|
|
display: grid;
|
|
place-items: center;
|
|
width: 1.5rem;
|
|
height: 1.5rem;
|
|
padding: 0;
|
|
border: 1px solid var(--line);
|
|
border-radius: 50%;
|
|
background: none;
|
|
color: var(--fg);
|
|
cursor: pointer;
|
|
transition: border-color 0.18s ease, color 0.18s ease;
|
|
}
|
|
|
|
.theme-toggle::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: -0.6rem;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.theme-toggle:hover {
|
|
border-color: var(--fg);
|
|
}
|
|
|
|
.theme-toggle svg {
|
|
display: block;
|
|
width: 0.78rem;
|
|
height: 0.78rem;
|
|
transition: transform 0.35s var(--ease);
|
|
}
|
|
|
|
:root[data-theme="dark"] .theme-toggle svg {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
/* ---------- bottom rail ---------- */
|
|
|
|
.address,
|
|
.bottom-note,
|
|
.contact {
|
|
margin: 0;
|
|
}
|
|
|
|
.address a,
|
|
.contact a {
|
|
padding-block: 0.35rem;
|
|
text-decoration: underline;
|
|
text-decoration-color: var(--line);
|
|
text-decoration-thickness: 1px;
|
|
text-underline-offset: 0.22em;
|
|
transition: color 0.18s ease, text-decoration-color 0.18s ease;
|
|
}
|
|
|
|
.address a:hover,
|
|
.contact a:hover {
|
|
color: var(--accent);
|
|
text-decoration-color: currentColor;
|
|
}
|
|
|
|
.bottom-note {
|
|
justify-self: center;
|
|
color: var(--muted);
|
|
letter-spacing: 0.06em;
|
|
}
|
|
|
|
.contact {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-self: end;
|
|
}
|
|
|
|
/* ---------- stage ---------- */
|
|
|
|
.stage {
|
|
grid-area: stage;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
padding: var(--stage-pad-y) var(--stage-pad-x);
|
|
}
|
|
|
|
.stage-inner {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 100%;
|
|
max-width: 64rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.kicker {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
font-size: calc(var(--rail-size) - 0.02rem);
|
|
font-weight: 500;
|
|
letter-spacing: 0.16em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.wordmark {
|
|
margin: clamp(0.55rem, 1.6vh, 0.9rem) 0 0;
|
|
font-size: var(--display-size);
|
|
font-weight: 600;
|
|
letter-spacing: -0.05em;
|
|
line-height: 0.86;
|
|
text-wrap: balance;
|
|
}
|
|
|
|
.lede {
|
|
max-width: 34ch;
|
|
margin: clamp(1rem, 2.6vh, 1.7rem) 0 0;
|
|
color: var(--muted);
|
|
font-size: clamp(0.95rem, 0.85rem + 0.35vw, 1.15rem);
|
|
letter-spacing: -0.005em;
|
|
line-height: 1.45;
|
|
text-wrap: pretty;
|
|
}
|
|
|
|
.cta {
|
|
display: inline-flex;
|
|
align-items: baseline;
|
|
gap: 0.35em;
|
|
margin-top: clamp(1.4rem, 4vh, 2.5rem);
|
|
padding-bottom: 0.16em;
|
|
border-bottom: 1px solid var(--fg);
|
|
color: var(--fg);
|
|
font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.4rem);
|
|
font-weight: 520;
|
|
letter-spacing: -0.015em;
|
|
text-decoration: none;
|
|
transition: color 0.18s ease, border-color 0.18s ease;
|
|
}
|
|
|
|
.cta .arrow {
|
|
transition: transform 0.25s var(--ease);
|
|
}
|
|
|
|
.cta:hover,
|
|
.cta:focus-visible {
|
|
border-color: var(--accent);
|
|
color: var(--accent);
|
|
}
|
|
|
|
.cta:hover .arrow {
|
|
transform: translateX(0.2em);
|
|
}
|
|
|
|
.legal {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: baseline;
|
|
justify-content: center;
|
|
gap: 0.15rem 0.1rem;
|
|
margin-top: clamp(1.5rem, 4.5vh, 2.75rem);
|
|
color: var(--muted);
|
|
font-size: var(--rail-size);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.text-button {
|
|
padding: 0.35rem 0.15rem;
|
|
margin: -0.35rem -0.15rem;
|
|
border: 0;
|
|
background: none;
|
|
color: inherit;
|
|
font: inherit;
|
|
text-decoration: underline;
|
|
text-decoration-color: var(--line);
|
|
text-underline-offset: 0.2em;
|
|
cursor: pointer;
|
|
transition: color 0.18s ease, text-decoration-color 0.18s ease;
|
|
}
|
|
|
|
.text-button:hover {
|
|
color: var(--fg);
|
|
text-decoration-color: currentColor;
|
|
}
|
|
|
|
/* ---------- dialogs ---------- */
|
|
|
|
dialog {
|
|
width: min(44rem, calc(100vw - 2rem));
|
|
max-height: calc(100dvh - 2rem);
|
|
margin: auto;
|
|
padding: 0;
|
|
border: 1px solid var(--line);
|
|
background: var(--bg);
|
|
color: var(--fg);
|
|
}
|
|
|
|
dialog::backdrop {
|
|
background: var(--scrim);
|
|
backdrop-filter: blur(3px);
|
|
}
|
|
|
|
.dialog-inner {
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
max-height: calc(100dvh - 2.5rem);
|
|
}
|
|
|
|
.dialog-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 2rem;
|
|
padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem) 0;
|
|
}
|
|
|
|
dialog h2 {
|
|
margin: 0;
|
|
font-size: clamp(1.5rem, 3vw, 2.1rem);
|
|
font-weight: 600;
|
|
letter-spacing: -0.035em;
|
|
line-height: 1;
|
|
}
|
|
|
|
.dialog-close {
|
|
position: relative;
|
|
display: grid;
|
|
flex: none;
|
|
place-items: center;
|
|
width: 2rem;
|
|
height: 2rem;
|
|
padding: 0;
|
|
border: 1px solid var(--line);
|
|
background: none;
|
|
color: var(--fg);
|
|
cursor: pointer;
|
|
transition: border-color 0.18s ease;
|
|
}
|
|
|
|
.dialog-close::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: -0.5rem;
|
|
}
|
|
|
|
.dialog-close:hover {
|
|
border-color: var(--fg);
|
|
}
|
|
|
|
.dialog-close svg {
|
|
width: 0.7rem;
|
|
height: 0.7rem;
|
|
}
|
|
|
|
.dialog-body {
|
|
overflow-y: auto;
|
|
padding: 1rem clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.25rem);
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
.dialog-body p {
|
|
max-width: 62ch;
|
|
margin: 0 0 1em;
|
|
color: var(--muted);
|
|
font-size: 0.92rem;
|
|
line-height: 1.55;
|
|
text-wrap: pretty;
|
|
}
|
|
|
|
.dialog-body p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.dialog-body strong {
|
|
color: var(--fg);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.dialog-body a {
|
|
color: var(--accent);
|
|
text-underline-offset: 0.15em;
|
|
}
|
|
|
|
.dialog-body code {
|
|
font-size: 0.92em;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
dialog[open] {
|
|
animation: dialog-in 0.22s var(--ease);
|
|
}
|
|
|
|
dialog[open]::backdrop {
|
|
animation: fade-in 0.22s ease;
|
|
}
|
|
|
|
@keyframes dialog-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(0.5rem);
|
|
}
|
|
}
|
|
|
|
@keyframes fade-in {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* ---------- responsive ---------- */
|
|
|
|
@media (max-width: 48rem) {
|
|
.top-note,
|
|
.bottom-note {
|
|
display: none;
|
|
}
|
|
|
|
.rail-top,
|
|
.rail-bottom {
|
|
grid-template-columns: 1fr auto;
|
|
}
|
|
|
|
.rail-meta,
|
|
.contact {
|
|
justify-self: end;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 40rem) {
|
|
.hide-sm {
|
|
display: none;
|
|
}
|
|
|
|
.lede {
|
|
max-width: 28ch;
|
|
}
|
|
|
|
.stage {
|
|
padding: 1.25rem 1rem;
|
|
}
|
|
|
|
.legal {
|
|
gap: 0.2rem 0.1rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 30rem) {
|
|
.clock-place {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 26rem) {
|
|
.brand-suffix {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
}
|