diff --git a/assets/favicon.svg b/assets/favicon.svg new file mode 100644 index 0000000..8d54023 --- /dev/null +++ b/assets/favicon.svg @@ -0,0 +1,4 @@ + + + + diff --git a/assets/fonts/inter-latin-ext.woff2 b/assets/fonts/inter-latin-ext.woff2 new file mode 100644 index 0000000..57da6f8 Binary files /dev/null and b/assets/fonts/inter-latin-ext.woff2 differ diff --git a/assets/fonts/inter-latin.woff2 b/assets/fonts/inter-latin.woff2 new file mode 100644 index 0000000..91dc3e8 Binary files /dev/null and b/assets/fonts/inter-latin.woff2 differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..33ce91a --- /dev/null +++ b/index.html @@ -0,0 +1,140 @@ + + + + + + + + Studio Vitali — Kunstwissenschaft & Informatik, Zürich + + + + + + + + + + + + + + + + + + +
+ + +
+

Studio Vitali GmbH

+

Kunstwissenschaft & Informatik — Zürich

+
+ + Zürich + + + +
+
+ + + + + +
+
+

Zürich, Schweiz

+

Studio Vitali

+

Multidisziplinär in der Kunst- und IT-Branche verankert.

+ Projekt anfragen + +
+
+ + + + + + + + +
+ + +
+
+

Impressum

+ +
+
+

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.

+

Verantwortlich für diese Webseite
Studio Vitali GmbH
Lindenhofstrasse 17
8001 Zürich, Schweiz

+

info@studiovitali.ch
+41 44 520 15 96
CHE-215.230.900

+

Gesellschafter*innen: Alessandro Vitali, Evelyne Vitali

+

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.

+
+
+
+ + +
+
+

Datenschutz

+ +
+
+

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.

+

Verantwortliche Stelle
Studio Vitali GmbH, Lindenhofstrasse 17, 8001 Zürich, info@studiovitali.ch.

+

Hosting
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.

+

Lokale Speicherung
Deine Wahl zwischen hellem und dunklem Design wird im localStorage deines Browsers gespeichert. Diese Information bleibt auf deinem Gerät, wird nicht an uns übertragen und kann jederzeit über die Browsereinstellungen gelöscht werden.

+

Deine Rechte
Nach dem Schweizer DSG und der europäischen DSGVO hast du das Recht auf Auskunft, Berichtigung, Löschung und Widerspruch. Wende dich dafür an info@studiovitali.ch.

+
+
+
+ + + + diff --git a/main.js b/main.js new file mode 100644 index 0000000..2219814 --- /dev/null +++ b/main.js @@ -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); + }); +})(); diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..8c2f887 --- /dev/null +++ b/styles.css @@ -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; + } +}