/* Copyright (c) 2026 Michel Kris Naiken · SPDX-License-Identifier: AGPL-3.0-only */
/* aurisse.ch's front page (en/de/fr): noir and gold, the serif carries the voice. The other pages keep install.css. */
@font-face { font-family: "Cormorant"; src: url("/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
:root {
  --bg: #070708; --alt: #0b0b0d; --panel: #111114; --line: #24221e; --ink: #f1ede4; --muted: #9a948a; --faint: #6e695f;
  --gold: #c9a96e; --gold-hi: #e6cc94; --gold-lo: #8f6f3a;
  --serif: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.site a { color: var(--gold); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: #0b0b0c; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; z-index: 50; }
.swiss { display: inline-block; flex: none; width: 14px; height: 14px; border-radius: 3px; background: #d52b1e; position: relative; vertical-align: -2px; margin-right: 10px; }
.swiss::before, .swiss::after { content: ""; position: absolute; background: #fff; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.swiss::before { width: 8px; height: 2.4px; } .swiss::after { width: 2.4px; height: 8px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 14px var(--gutter); background: linear-gradient(to bottom, rgba(7,7,8,.9), rgba(7,7,8,0)); transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(7,7,8,.82); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink) !important; font: 600 20px var(--serif); letter-spacing: .3em; white-space: nowrap; }
.brand img { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 6px 20px -6px rgba(201,169,110,.6); }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a, .langs a { color: var(--muted) !important; text-decoration: none; font-size: 14px; }
.links a:hover, .langs a:hover { color: var(--ink) !important; }
.langs { display: flex; gap: 6px; }
.langs a { border: 1px solid var(--line); border-radius: 14px; padding: 4px 10px; font-size: 12px; letter-spacing: .1em; }
@media (max-width: 860px) { .links { display: none; } .langs { margin-left: auto; } }

/* hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 120px var(--gutter) 80px; overflow: hidden; isolation: isolate; }
.glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 500px at 18% 30%, rgba(201,169,110,.12), transparent 70%), radial-gradient(700px 600px at 80% 60%, rgba(201,169,110,.14), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 200px; background: linear-gradient(to bottom, transparent, var(--bg)); z-index: -1; }
.hero-grid { width: 100%; max-width: 1240px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.eyebrow { display: flex; align-items: center; color: var(--gold); letter-spacing: .3em; text-transform: uppercase; font-size: 12px; margin: 0 0 22px; }
.site h1 { font: 500 clamp(46px, 5.6vw, 88px)/1.0 var(--serif); letter-spacing: -.01em; margin: 0 0 26px; }
.site h1 span { color: var(--gold-hi); font-style: italic; }
.lede { color: #b3ada2; font-size: clamp(17px, 1.5vw, 19.5px); max-width: 560px; margin: 0 0 30px; }
.note { max-width: 560px; padding: 14px 18px; border-radius: 16px; border: 1px solid rgba(201,169,110,.35); background: rgba(201,169,110,.06); color: var(--ink); }
.code-card { max-width: 560px; padding: 20px; border-radius: 22px; border: 1px solid rgba(201,169,110,.38); background: linear-gradient(180deg, rgba(18,18,21,.86), rgba(13,13,16,.86)); backdrop-filter: blur(10px); box-shadow: 0 30px 80px -40px rgba(201,169,110,.5); }
.code-card label { display: block; color: var(--gold); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; margin-bottom: 12px; }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; min-width: 0; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: #0a0a0c; color: var(--ink); font: 500 16px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em; outline: none; }
.code-row input::placeholder { color: #4d4a44; }
.code-row input:focus { border-color: rgba(201,169,110,.6); box-shadow: 0 0 0 4px rgba(201,169,110,.08); }
.code-row button { flex: none; padding: 0 26px; border: 0; border-radius: 16px; cursor: pointer; font: 600 15px var(--sans); color: #0b0b0c; background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); box-shadow: 0 12px 30px -12px rgba(201,169,110,.7); }
.code-row button:hover { filter: brightness(1.06); }
.code-card .hint { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
@media (max-width: 520px) { .code-row { flex-direction: column; } .code-row button { padding: 14px; } }

/* the app on a phone */
.stage { position: relative; display: grid; place-items: center; min-height: 640px; }
.halo { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(201,169,110,.28), rgba(201,169,110,.06) 45%, transparent 70%); filter: blur(10px); animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.07); opacity: .8; } }
.phone { position: relative; width: 300px; height: 620px; border-radius: 48px; padding: 11px; background: linear-gradient(145deg, #3a3631, #121214 30%, #0a0a0b 70%, #2c2925); box-shadow: 0 0 0 1px rgba(230,204,148,.28), 0 50px 90px -30px rgba(0,0,0,.9), 0 30px 120px -40px rgba(201,169,110,.45); transform: rotate(3deg); animation: float 9s ease-in-out infinite; }
@keyframes float { 50% { transform: rotate(3deg) translateY(-12px); } }
.screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: #08080a radial-gradient(420px 260px at 90% -40px, rgba(201,169,110,.2), transparent 70%) no-repeat; padding: 10px 14px; font-size: 10px; line-height: 1.35; color: var(--ink); text-align: left; }
.p-status { display: flex; align-items: center; justify-content: space-between; font-weight: 500; font-size: 10.5px; padding: 2px 8px 8px; }
.p-island { width: 78px; height: 22px; border-radius: 12px; background: #000; }
.p-icons { display: flex; gap: 3px; } .p-icons i { width: 5px; height: 8px; border-radius: 1px; background: var(--ink); } .p-icons i:nth-child(2) { height: 6px; align-self: end; } .p-icons i:nth-child(3) { width: 14px; }
.p-head { display: flex; align-items: center; gap: 10px; padding: 10px 2px 4px; }
.p-head img { width: 34px; height: 34px; border-radius: 50%; }
.p-head b { display: block; font: 600 26px/1 var(--serif); } .p-head span { color: var(--gold); font-size: 8px; letter-spacing: .08em; }
.p-search { margin-top: 10px; height: 28px; border-radius: 14px; background: #131317; border: 1px solid #2a2822; color: var(--muted); display: flex; align-items: center; padding-left: 26px; font-size: 9px; position: relative; }
.p-search::before { content: ""; position: absolute; left: 10px; top: 9px; width: 7px; height: 7px; border-radius: 50%; border: 1.4px solid var(--gold); }
.p-line { height: 1px; margin: 12px -14px 4px; background: linear-gradient(90deg, transparent, rgba(201,169,110,.6), transparent); }
.c-row { position: relative; display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 11px 14px; margin: 0 -14px; border-bottom: 1px solid #1c1c21; }
.c-row.unread { background: linear-gradient(90deg, rgba(201,169,110,.09), transparent 70%); }
.c-row.unread::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; border-radius: 2px; background: var(--gold); }
.av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 600 13px var(--serif); color: #0b0b0c; }
.c-row.unread .av { box-shadow: 0 0 0 2px #08080a, 0 0 0 3.2px var(--gold); }
.a1 { background: #c9a96e; } .a2 { background: #8fa3c7; } .a3 { background: #9bc4a6; } .a4 { background: #c79bb0; }
.c-row p { margin: 0; } .r1 { display: flex; justify-content: space-between; gap: 6px; } .r1 b { font-size: 11px; } .r1 time { color: var(--muted); font-size: 8px; }
.unread .r1 time { color: var(--gold-hi); font-weight: 600; } .r2 { color: var(--muted); font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .unread .r2 { color: var(--ink); }
.c-row .badge { min-width: 16px; height: 16px; padding: 0 5px; border-radius: 8px; display: grid; place-items: center; font-size: 8px; font-weight: 700; color: #0b0b0c; background: linear-gradient(135deg, var(--gold-hi), var(--gold-lo)); }
.p-seal { position: absolute; left: 0; right: 0; bottom: 18px; margin: 0; text-align: center; color: var(--faint); font-size: 7.5px; letter-spacing: .18em; text-transform: uppercase; display: flex; justify-content: center; align-items: center; gap: 6px; }
.sh { display: inline-block; width: 7px; height: 8px; border: 1.2px solid var(--gold); border-radius: 1px 1px 4px 4px; }
.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(16,16,19,.8); backdrop-filter: blur(14px); border: 1px solid rgba(201,169,110,.28); box-shadow: 0 20px 50px -20px rgba(0,0,0,.9); text-align: left; }
.float b { display: block; font-weight: 500; font-size: 13.5px; } .float span { color: var(--muted); font-size: 12px; }
.float img { width: 40px; height: 40px; border-radius: 50%; }
.callring { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-hi), var(--gold-lo)); box-shadow: 0 0 0 6px rgba(201,169,110,.15); }
.callring svg { width: 18px; height: 18px; fill: #0b0b0c; }
.f1 { left: -56px; bottom: 170px; animation: float2 8s ease-in-out infinite; }
.f2 { right: -34px; top: 110px; animation: float2 10s ease-in-out infinite reverse; }
@keyframes float2 { 50% { transform: translateY(-10px); } }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .eyebrow { justify-content: center; } .lede, .code-card, .note { margin-left: auto; margin-right: auto; } .code-card { text-align: left; }
  .stage { min-height: 600px; } .f1 { left: 0; } .f2 { right: 0; }
}
@media (max-width: 520px) {
  .nav { gap: 12px; } .brand { font-size: 17px; letter-spacing: .24em; } .brand img { width: 30px; height: 30px; }
  .eyebrow { font-size: 10.5px; letter-spacing: .18em; }
  .phone { width: 270px; height: 560px; } .float { transform: scale(.88); } .f1 { left: -10px; bottom: 90px; } .f2 { right: -10px; top: 70px; } .halo { width: 380px; height: 380px; }
}

/* band */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0a0a0c; overflow: hidden; padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.band-track { display: flex; gap: 56px; width: max-content; animation: marquee 50s linear infinite; }
.band span { display: inline-flex; align-items: center; color: var(--muted); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.band span::after { content: "◆"; color: var(--gold); font-size: 8px; margin-left: 56px; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* chapters */
.chapter { padding: clamp(80px, 11vw, 150px) var(--gutter); }
.chapter.alt { background: var(--alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.numeral { display: block; font: 500 22px var(--serif); color: var(--gold); letter-spacing: .3em; margin-bottom: 12px; }
.site h2 { font: 500 clamp(38px, 5vw, 62px)/1.04 var(--serif); margin: 0 0 16px; }
.head p { color: var(--muted); font-size: 17px; margin: 0 auto; max-width: 60ch; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; max-width: 1180px; margin: 0 auto; }
.pillar { position: relative; padding: 30px 28px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, #121215, #0d0d10); transition: border-color .3s, transform .3s; }
.pillar:hover { border-color: rgba(201,169,110,.45); transform: translateY(-3px); }
.ring { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--gold); background: radial-gradient(circle, rgba(201,169,110,.14), transparent 70%); color: var(--gold-hi); }
.ring svg { width: 28px; height: 28px; }
.ring.small { width: 48px; height: 48px; } .ring.small svg { width: 24px; height: 24px; }
.fi { position: absolute; right: 26px; top: 28px; font: 600 13px var(--serif); color: var(--gold); letter-spacing: .2em; }
.pillar h3 { font: 600 25px/1.15 var(--serif); margin: 20px 0 10px; }
.pillar p { color: var(--muted); font-size: 15px; margin: 0; }
.family { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; max-width: 1180px; margin: 0 auto; }
.fam { display: grid; gap: 10px; align-content: start; padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, #121215, #0d0d10); text-decoration: none; color: var(--ink) !important; transition: border-color .3s, transform .3s; }
a.fam:hover { border-color: rgba(201,169,110,.5); transform: translateY(-3px); }
.fam.current { border-color: rgba(201,169,110,.45); box-shadow: 0 30px 70px -40px rgba(201,169,110,.5); }
.fam b { font: 600 24px var(--serif); margin-top: 8px; } .fam p { margin: 0; color: var(--muted); font-size: 14.5px; }
.tag { justify-self: start; margin-top: 6px; padding: 4px 12px; border-radius: 14px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.tag.here { color: #0b0b0c; border-color: transparent; background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); font-weight: 600; }
a.fam .tag { color: var(--gold-hi); border-color: rgba(201,169,110,.4); }

/* statement */
.statement { padding: clamp(90px, 12vw, 170px) var(--gutter); text-align: center; background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(201,169,110,.12), transparent 70%); }
.statement .q { margin: 0; font: 500 clamp(44px, 7vw, 100px)/1.02 var(--serif); }
.statement .q span { color: var(--gold-hi); font-style: italic; }
.statement .by { margin: 26px 0 0; color: var(--muted); letter-spacing: .24em; font-size: 12px; text-transform: uppercase; }

/* join */
.join { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 18px; max-width: 1080px; margin: 0 auto; }
@media (max-width: 860px) { .join { grid-template-columns: 1fr; } }
.steps { list-style: none; margin: 0; padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, #121215, #0d0d10); display: grid; gap: 22px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.steps .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--gold); color: var(--gold-hi); font: 600 20px var(--serif); background: radial-gradient(circle, rgba(201,169,110,.15), transparent 70%); }
.steps h3 { margin: 6px 0 4px; font: 600 22px var(--serif); } .steps p { margin: 0; color: var(--muted); font-size: 15px; }
.own { display: grid; gap: 10px; align-content: start; padding: 28px; border-radius: 22px; border: 1px solid rgba(201,169,110,.45); background: radial-gradient(400px 220px at 100% 0, rgba(201,169,110,.14), transparent 70%), linear-gradient(180deg, #121215, #0d0d10); text-decoration: none; color: var(--ink) !important; box-shadow: 0 30px 80px -40px rgba(201,169,110,.5); transition: transform .3s; }
.own:hover { transform: translateY(-3px); }
.own b { font: 600 26px/1.15 var(--serif); margin-top: 8px; } .own p { margin: 0; color: var(--muted); font-size: 15px; }
.own .cta { margin-top: 8px; color: var(--gold-hi); font-weight: 600; font-size: 15px; }

/* footer */
.foot { padding: 64px var(--gutter) 36px; border-top: 1px solid var(--line); background: #050506; }
.foot-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; max-width: 1180px; margin: 0 auto; }
@media (max-width: 760px) { .foot-inner { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.foot-brand p { color: var(--muted); margin: 12px 0 0; font-size: 14px; }
.made { display: inline-flex; align-items: center; letter-spacing: .2em; text-transform: uppercase; font-size: 11px !important; margin-top: 16px !important; }
.foot .fh { margin: 0 0 12px; color: var(--gold); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot ul a { color: var(--muted) !important; text-decoration: none; font-size: 14px; } .foot ul a:hover { color: var(--gold-hi) !important; }
.motto { text-align: center; color: var(--faint); font-size: 13px; margin: 44px 0 0; letter-spacing: .04em; }

/* reveal */
.reveal { transition: opacity .9s ease, transform .9s ease; }
.js .reveal:not(.in) { opacity: 0; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { transition: none !important; } .phone, .float, .halo, .band-track { animation: none !important; } }
