add fully generated homepage

This commit is contained in:
alessandrovitali committed 2026-11-01 00:25:32 +01:00
1 parent 7a7f0129b3
commit f9a5fe7e7d
6 files changed
+916

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
<circle cx="16" cy="16" r="15" fill="#0a0a0a"/>
<path d="M16 9v14M9 16h14" fill="none" stroke="#ffffff" stroke-width="1.75"/>
</svg>

After

Width:  |  Height:  |  Size: 198 B

Binary file not shown.
Binary file not shown.
+140
View File
@@ -0,0 +1,140 @@
<!doctype html>
<html lang="de" data-theme="light">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="light dark">
<title>Studio Vitali — Kunstwissenschaft &amp; Informatik, Zürich</title>
<meta name="description" content="Studio Vitali GmbH — multidisziplinär in der Kunst- und IT-Branche. Provenienzforschung, Kunstberatung und Inventarisierung sowie Webhosting, IT Consulting und Cloud Services in Zürich.">
<meta name="theme-color" content="#ffffff" id="theme-color">
<meta property="og:type" content="website">
<meta property="og:title" content="Studio Vitali — Kunstwissenschaft &amp; Informatik">
<meta property="og:description" content="Multidisziplinär in der Kunst- und IT-Branche verankert. Zürich, Schweiz.">
<meta property="og:locale" content="de_CH">
<link rel="canonical" href="https://studiovitali.ch/">
<link rel="icon" type="image/svg+xml" href="assets/favicon.svg">
<link rel="preload" href="assets/fonts/inter-latin.woff2" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="styles.css">
<script>
(function () {
var dark = false;
try {
var saved = localStorage.getItem('theme');
dark = saved ? saved === 'dark' : window.matchMedia('(prefers-color-scheme: dark)').matches;
} catch (error) {
dark = window.matchMedia('(prefers-color-scheme: dark)').matches;
}
document.documentElement.dataset.theme = dark ? 'dark' : 'light';
var meta = document.getElementById('theme-color');
if (meta) {
meta.setAttribute('content', dark ? '#0b0b0c' : '#ffffff');
}
})();
</script>
</head>
<body>
<a class="skip-link" href="#main">Zum Inhalt springen</a>
<div class="frame">
<span class="corner corner-tl" aria-hidden="true"></span>
<header class="rail rail-top">
<p class="brand"><a href="#main">Studio Vitali <span class="brand-suffix">GmbH</span></a></p>
<p class="top-note">Kunstwissenschaft &amp; Informatik — Zürich</p>
<div class="rail-meta">
<span class="clock">
<span class="clock-place">Zürich</span>
<time id="clock" datetime="">--:--</time>
</span>
<button class="theme-toggle" type="button" aria-label="Dunkles Design umschalten" aria-pressed="false">
<svg viewBox="0 0 16 16" aria-hidden="true" focusable="false">
<circle cx="8" cy="8" r="6.25" fill="none" stroke="currentColor" stroke-width="1"/>
<path d="M8 1.75a6.25 6.25 0 0 0 0 12.5Z" fill="currentColor"/>
</svg>
</button>
</div>
</header>
<span class="corner corner-tr" aria-hidden="true"></span>
<nav class="rail rail-left" aria-label="Kunstwissenschaft">
<h2 class="rail-title">Kunstwissenschaft</h2>
<p class="rail-list"><a href="mailto:[email protected]?subject=Provenienzforschung">Provenienzforschung</a><span class="sep" aria-hidden="true">·</span><a href="mailto:[email protected]?subject=Kunstberatung">Kunstberatung</a><span class="sep" aria-hidden="true">·</span><a href="mailto:[email protected]?subject=Inventarisierung">Inventarisierung</a></p>
</nav>
<main class="stage" id="main" tabindex="-1">
<div class="stage-inner">
<p class="kicker">Zürich, Schweiz</p>
<h1 class="wordmark">Studio Vitali</h1>
<p class="lede">Multidisziplinär in der Kunst- und IT-Branche verankert.</p>
<a class="cta" href="mailto:[email protected]">Projekt anfragen <span class="arrow" aria-hidden="true">→</span></a>
<div class="legal">
<button class="text-button" type="button" data-dialog="impressum">Impressum</button>
<span class="sep" aria-hidden="true">·</span>
<button class="text-button" type="button" data-dialog="datenschutz">Datenschutz</button>
<span class="sep" aria-hidden="true">·</span>
<span>© <span id="year">2026</span> Studio Vitali GmbH</span>
</div>
</div>
</main>
<nav class="rail rail-right" aria-label="Informatik">
<h2 class="rail-title">Informatik</h2>
<p class="rail-list"><a href="mailto:[email protected]?subject=Webhosting">Webhosting</a><span class="sep" aria-hidden="true">·</span><a href="mailto:[email protected]?subject=IT%20Consulting">IT Consulting</a><span class="sep" aria-hidden="true">·</span><a href="mailto:[email protected]?subject=Cloud%20Services">Cloud Services</a></p>
</nav>
<span class="corner corner-bl" aria-hidden="true"></span>
<footer class="rail rail-bottom">
<p class="address"><a href="https://maps.app.goo.gl/sgo7hm1Xa4DBFRAYA" target="_blank" rel="noopener" aria-label="Studio Vitali, Lindenhofstrasse 17, 8001 Zürich — auf Google Maps öffnen"><span class="hide-sm">Lindenhofstrasse 17 · </span>8001 Zürich</a></p>
<p class="bottom-note">CHE-215.230.900</p>
<p class="contact"><a href="mailto:[email protected]">[email protected]</a><span class="sep hide-sm" aria-hidden="true">·</span><a class="hide-sm" href="tel:+41445201596">+41 44 520 15 96</a></p>
</footer>
<span class="corner corner-br" aria-hidden="true"></span>
</div>
<dialog id="impressum" aria-labelledby="impressum-title">
<div class="dialog-inner">
<div class="dialog-head">
<h2 id="impressum-title">Impressum</h2>
<button class="dialog-close" type="button" aria-label="Impressum schliessen">
<svg viewBox="0 0 16 16" aria-hidden="true" focusable="false"><path d="M2.5 2.5l11 11M13.5 2.5l-11 11" fill="none" stroke="currentColor" stroke-width="1.25"/></svg>
</button>
</div>
<div class="dialog-body">
<p>Sämtlicher Inhalt dieser Webseite ist urheberrechtlich geschützt. Die Reproduktion jeglicher Elemente zu anderen Zwecken als dem persönlichen Gebrauch ist ohne unsere vorherige schriftliche Zustimmung untersagt.</p>
<p><strong>Verantwortlich für diese Webseite</strong><br>Studio Vitali GmbH<br>Lindenhofstrasse 17<br>8001 Zürich, Schweiz</p>
<p><a href="mailto:[email protected]">[email protected]</a><br><a href="tel:+41445201596">+41 44 520 15 96</a><br>CHE-215.230.900</p>
<p>Gesellschafter*innen: Alessandro Vitali, Evelyne Vitali</p>
<p>Wir können keine Gewähr für die Vollständigkeit, Richtigkeit und Aktualität der Informationen auf dieser Seite übernehmen und behalten uns das Recht vor, nach eigenem Ermessen und ohne Ankündigung Teile der Seite zu verändern oder zu löschen. Verweise und Links auf Webseiten Dritter liegen ausserhalb unseres Verantwortungsbereiches, und wir übernehmen keine Gewähr für deren Inhalt oder Verfügbarkeit. Der Zugriff auf solche Links erfolgt auf eigene Gefahr. Wir übernehmen keine Haftung für Schäden jeglicher Art, die durch den Zugriff oder die Nutzung, den Missbrauch oder Fehler dieser Webseite entstanden sind.</p>
</div>
</div>
</dialog>
<dialog id="datenschutz" aria-labelledby="datenschutz-title">
<div class="dialog-inner">
<div class="dialog-head">
<h2 id="datenschutz-title">Datenschutz</h2>
<button class="dialog-close" type="button" aria-label="Datenschutz schliessen">
<svg viewBox="0 0 16 16" aria-hidden="true" focusable="false"><path d="M2.5 2.5l11 11M13.5 2.5l-11 11" fill="none" stroke="currentColor" stroke-width="1.25"/></svg>
</button>
</div>
<div class="dialog-body">
<p>Der Schutz deiner Daten ist uns wichtig. Diese Webseite ist eine statische Informationsseite. Wir setzen keine Analyse- oder Werbetools ein und verwenden keine Tracking-Cookies.</p>
<p><strong>Verantwortliche Stelle</strong><br>Studio Vitali GmbH, Lindenhofstrasse 17, 8001 Zürich, <a href="mailto:[email protected]">[email protected]</a>.</p>
<p><strong>Hosting</strong><br>Beim Aufruf dieser Seite verarbeitet der Hosting-Anbieter technisch notwendige Server-Logdaten wie IP-Adresse, Zeitpunkt der Anfrage, aufgerufene Datei, Referrer-URL, Browser und Betriebssystem. Diese Daten dienen dem sicheren und stabilen Betrieb der Seite, werden nicht mit anderen Datenquellen zusammengeführt und nach kurzer Zeit gelöscht. Die Übertragung erfolgt verschlüsselt über TLS.</p>
<p><strong>Lokale Speicherung</strong><br>Deine Wahl zwischen hellem und dunklem Design wird im <code>localStorage</code> deines Browsers gespeichert. Diese Information bleibt auf deinem Gerät, wird nicht an uns übertragen und kann jederzeit über die Browsereinstellungen gelöscht werden.</p>
<p><strong>Deine Rechte</strong><br>Nach dem Schweizer <a href="https://www.fedlex.admin.ch/eli/cc/1993/1945_1945_1945/en" target="_blank" rel="noopener">DSG</a> und der europäischen DSGVO hast du das Recht auf Auskunft, Berichtigung, Löschung und Widerspruch. Wende dich dafür an <a href="mailto:[email protected]">[email protected]</a>.</p>
</div>
</div>
</dialog>
<script src="main.js" defer></script>
</body>
</html>
+117
View File
@@ -0,0 +1,117 @@
(function () {
"use strict";
var root = document.documentElement;
var themeToggle = document.querySelector(".theme-toggle");
var themeColor = document.getElementById("theme-color");
var themeColors = { light: "#ffffff", dark: "#0b0b0c" };
function setTheme(theme, persist) {
root.dataset.theme = theme;
if (themeToggle) {
themeToggle.setAttribute("aria-pressed", String(theme === "dark"));
}
if (themeColor) {
themeColor.setAttribute("content", themeColors[theme]);
}
if (persist) {
try {
localStorage.setItem("theme", theme);
} catch (error) {
/* Storage can be unavailable; the choice still applies for this visit. */
}
}
}
setTheme(root.dataset.theme === "dark" ? "dark" : "light", false);
if (themeToggle) {
themeToggle.addEventListener("click", function () {
setTheme(root.dataset.theme === "dark" ? "light" : "dark", true);
});
}
var clock = document.getElementById("clock");
if (clock) {
try {
var timeFormat = new Intl.DateTimeFormat("de-CH", {
hour: "2-digit",
minute: "2-digit",
timeZone: "Europe/Zurich"
});
var updateClock = function () {
var now = new Date();
clock.textContent = timeFormat.format(now);
clock.setAttribute("datetime", now.toISOString());
};
updateClock();
window.setInterval(updateClock, 15000);
} catch (error) {
clock.textContent = "";
}
}
var year = document.getElementById("year");
if (year) {
year.textContent = String(new Date().getFullYear());
}
var dialogs = Array.prototype.slice.call(document.querySelectorAll("dialog"));
function syncScrollLock() {
var hasOpenDialog = dialogs.some(function (dialog) {
return dialog.open;
});
document.body.classList.toggle("has-dialog", hasOpenDialog);
}
document.querySelectorAll("[data-dialog]").forEach(function (button) {
var dialog = document.getElementById(button.getAttribute("data-dialog"));
if (!dialog || typeof dialog.showModal !== "function") {
return;
}
button.addEventListener("click", function () {
dialog.showModal();
syncScrollLock();
});
});
dialogs.forEach(function (dialog) {
var closeButton = dialog.querySelector(".dialog-close");
if (closeButton) {
closeButton.addEventListener("click", function () {
dialog.close();
});
}
dialog.addEventListener("click", function (event) {
if (event.target !== dialog) {
return;
}
var rect = dialog.getBoundingClientRect();
var inside =
event.clientX >= rect.left &&
event.clientX <= rect.right &&
event.clientY >= rect.top &&
event.clientY <= rect.bottom;
if (!inside) {
dialog.close();
}
});
dialog.addEventListener("close", syncScrollLock);
});
})();
+655
View File
@@ -0,0 +1,655 @@
@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;
}
}