/* daher.ch */
/* Self-hosted fonts: Bodoni Moda and Manrope (SIL Open Font License) */
/* BodoniModa latin-ext */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/BodoniModa-latin-ext-aFTS7PxzY382XsXX63LUYJSPeKTcW2BO.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* BodoniModa latin */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/BodoniModa-latin-aFTS7PxzY382XsXX63LUYJSPeKrcWw.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;
}
/* BodoniModa latin-ext */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/BodoniModa-latin-ext-aFTS7PxzY382XsXX63LUYJSPeKTcW2BO.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* BodoniModa latin */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/BodoniModa-latin-aFTS7PxzY382XsXX63LUYJSPeKrcWw.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;
}
/* Manrope latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Manrope-latin-ext-xn7gYHE41ni1AdIRggmxSuXd.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Manrope latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Manrope-latin-xn7gYHE41ni1AdIRggexSg.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;
}
/* Manrope latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Manrope-latin-ext-xn7gYHE41ni1AdIRggmxSuXd.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Manrope latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Manrope-latin-xn7gYHE41ni1AdIRggexSg.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;
}
/* Manrope latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Manrope-latin-ext-xn7gYHE41ni1AdIRggmxSuXd.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Manrope latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Manrope-latin-xn7gYHE41ni1AdIRggexSg.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;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
/* Layout: one calm screen; a slow colour field where lake blues meet desert golds, with a large italic name and two live city lines. */
:root {
  --night: #0b1622;
  --fg: #f6f3ec;
  --soft: rgba(246, 243, 236, 0.72);
  --line: rgba(246, 243, 236, 0.28);
  --display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  color-scheme: dark;
}
html, body { height: 100%; }
body { background: var(--night); color: var(--fg); font-family: var(--sans); overflow: hidden; }
canvas { position: fixed; inset: -6%; width: 112%; height: 112%; filter: blur(42px) saturate(1.1); }
.grain { position: fixed; inset: 0; pointer-events: none; opacity: 0.16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
#tech { position: fixed; inset: 0; width: 100%; height: 100%; filter: none; pointer-events: none; }
.shade { position: fixed; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5,10,16,0) 40%, rgba(5,10,16,0.35) 100%); }

.page {
  position: relative; height: 100%; display: grid; grid-template-rows: auto 1fr auto;
  padding-block: calc(env(safe-area-inset-top, 0px) + 26px) calc(env(safe-area-inset-bottom, 0px) + 24px);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.inner { width: min(1200px, 100%); margin: 0 auto; }
.top { display: flex; justify-content: space-between; gap: 12px; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--soft); }
main { align-self: center; }
h1 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(5.5rem, 22vw, 17rem); line-height: 0.85; margin: 0 0 0 -0.04em; letter-spacing: -0.02em; }
h1 .enc { color: #f2b866; opacity: 0.75; text-shadow: 0 0 18px rgba(242,184,102,0.6); }
.lede { font-size: clamp(1.05rem, 2.1vw, 1.4rem); line-height: 1.5; max-width: 34ch; margin: 24px 0 0; color: var(--fg); text-wrap: balance; }
.lede button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--display); font-style: italic; border-bottom: 1px solid var(--line); transition: border-color .3s; }
.lede button:hover, .lede button.on { border-color: var(--fg); }
.lede button:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

.cities { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--line); padding-top: 16px; }
.c { display: flex; align-items: flex-end; gap: 16px; min-width: 0; }
.c:last-child { flex-direction: row-reverse; text-align: right; }
.ct { display: grid; gap: 4px; min-width: 0; }
.c .n { font-family: var(--display); font-style: italic; font-size: 1.5rem; }
.c .t { font-size: 2rem; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.mark { flex: 0 0 auto; height: 92px; width: auto; overflow: visible; }
.mark.gva { filter: drop-shadow(0 0 6px rgba(120,196,236,0.55)); }
.mark.dxb { filter: drop-shadow(0 0 6px rgba(242,184,102,0.55)); }
.drops circle { animation: spray 2.4s ease-out infinite; transform-box: fill-box; }
.drops circle:nth-child(2) { animation-delay: -0.5s; } .drops circle:nth-child(3) { animation-delay: -1s; }
.drops circle:nth-child(4) { animation-delay: -1.5s; } .drops circle:nth-child(5) { animation-delay: -2s; }
@keyframes spray { 0% { transform: translate(-3px, 10px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(3px, -6px); opacity: 0; } }
.wave { animation: wave 3s linear infinite; }
@keyframes wave { to { transform: translateX(-8px); } }
.scanbar { animation: climb 3.5s cubic-bezier(.5,0,.5,1) infinite; }
@keyframes climb { 0% { transform: translateY(0); } 100% { transform: translateY(-80px); } }
.tip { animation: blink 1.8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }
@media (prefers-reduced-motion: reduce) { .drops circle, .wave, .scanbar, .tip { animation: none; } }
.foot { margin: 18px 0 0; font-size: 0.74rem; color: var(--soft); letter-spacing: 0.04em; display: flex; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap; }
.chain { font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 8px; }
.chain::before { content: ""; width: 7px; height: 7px; background: #f2b866; box-shadow: 0 0 10px #f2b866; animation: beat 3.5s infinite; }
@keyframes beat { 0%, 100% { opacity: 0.35; } 8% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .chain::before { animation: none; opacity: 0.8; } }
@media (max-width: 799px) { main { align-self: start; padding-top: clamp(24px, 7vh, 72px); } }
@media (max-width: 560px) { .top { font-size: 0.66rem; letter-spacing: 0.1em; } }
@media (max-width: 560px) {
  .c .t { font-size: 1.5rem; }
  .c .n { font-size: 1.25rem; }
  .c { flex-direction: column; align-items: flex-start; gap: 8px; }
  .c:last-child { flex-direction: column; align-items: flex-end; }
  .mark { height: 60px; }
  .foot { flex-direction: column; align-items: center; text-align: center; gap: 4px; margin-top: 22px; }
}

/* 404 page: the same tide, drawn in CSS only */
.nf-bg {
  position: fixed; inset: -10%;
  background:
    radial-gradient(40% 50% at 25% 40%, rgba(63, 134, 168, 0.85), transparent 70%),
    radial-gradient(35% 45% at 15% 78%, rgba(13, 51, 80, 0.9), transparent 70%),
    radial-gradient(40% 50% at 78% 35%, rgba(199, 137, 63, 0.8), transparent 70%),
    radial-gradient(35% 45% at 86% 80%, rgba(184, 80, 47, 0.75), transparent 70%),
    var(--night);
  filter: blur(40px);
  animation: nf-drift 18s ease-in-out infinite alternate;
}
@keyframes nf-drift { to { transform: translate3d(3%, -2%, 0) scale(1.05); } }
.home {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  color: var(--fg); text-decoration: none; border: 1px solid var(--line);
  padding: 12px 18px; font-size: 0.95rem; letter-spacing: 0.04em;
  transition: border-color 0.3s, background 0.3s;
}
.home:hover { border-color: var(--fg); background: rgba(246, 243, 236, 0.06); }
.home:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .nf-bg { animation: none; } }