/* =========================================================
   RWR-Clean — rwr-clean.ch
   ========================================================= */

:root {
  --ink: #0B1726;
  --ink-2: #0F1F33;
  --ink-3: #162A42;
  --paper: #F4F2EE;
  --paper-2: #E6E3DC;
  --accent: #F07C28;
  --accent-soft: #F6A062;
  --blue: #1A558D;
  --blue-deep: #123F6B;
  --slate: #1A558D;
  --text: #F2EDE4;
  --muted: #97A2B0;
  --muted-ink: #55606E;
  --line: rgba(244, 242, 238, .14);
  --line-ink: rgba(11, 23, 38, .16);
  --logo-font: 'Barlow', 'Arial Narrow', Arial, sans-serif;

  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --pad: clamp(16px, 5vw, 80px);
  --radius: 24px;
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html.is-loading { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--ink); }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.hl { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: 56px; padding: 0 28px; border-radius: 999px;
  font-weight: 750; font-stretch: 110%; font-size: 14.5px; letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap;
  transition: color .45s var(--ease), border-color .3s, background-color .3s;
}
.btn .i { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--paper); transform: translateY(102%); transition: transform .5s var(--ease);
}
.btn-primary:hover::before { transform: none; }
.btn-ghost { border: 1.5px solid rgba(242, 237, 228, .35); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); background: rgba(242, 237, 228, .08); }
.btn-block { width: 100%; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.h2 {
  font-weight: 860; font-stretch: 118%; text-transform: uppercase;
  font-size: clamp(42px, 7.4vw, 124px); line-height: .88; letter-spacing: -.03em;
}
.section { position: relative; padding: clamp(96px, 13vw, 180px) var(--pad); }
.section-head { max-width: 1400px; margin: 0 auto clamp(48px, 7vw, 96px); display: grid; gap: 28px; grid-template-columns: 1fr; }
.section-lead { max-width: 560px; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted-ink); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.3fr 1fr; align-items: end; }
  .section-head .eyebrow { grid-column: 1 / -1; margin: 0; }
  .section-lead { justify-self: end; margin: 0; }
}
.line-wrap { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line-wrap > span { display: block; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 900; background: var(--paper);
  display: grid; place-items: center; color: var(--ink);
}
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.loader-mark { width: clamp(120px, 15vw, 160px); height: auto; overflow: visible; margin-bottom: 8px; }
.loader-word { font-family: var(--logo-font); font-weight: 700; font-size: clamp(32px, 5vw, 52px); line-height: 1; letter-spacing: .02em; color: var(--blue); }
.loader-tag { font-family: var(--logo-font); font-weight: 700; font-size: clamp(12px, 1.5vw, 15px); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.loader-count { margin-top: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--muted-ink); }
.loader-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(11, 23, 38, .08); }
.loader-bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
html:not(.js) .loader { display: none; }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 950; pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: opacity .3s; }
  .cursor.is-on { opacity: 1; }
  .cursor-ring, .cursor-dot { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
  .cursor-ring { width: 38px; height: 38px; border: 1.5px solid #fff; transition: width .35s var(--ease-out), height .35s var(--ease-out), background-color .35s; }
  .cursor-dot { width: 6px; height: 6px; background: #fff; }
  .cursor.is-hover .cursor-ring { width: 74px; height: 74px; background: #fff; }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; z-index: 500; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1400px, calc(100% - 2 * clamp(12px, 3vw, 40px)));
  display: flex; align-items: center; gap: 20px;
  padding: 8px 8px 8px 12px; border-radius: 999px;
  background: rgba(11, 23, 38, .62);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), background-color .3s;
}
.nav.is-hidden { transform: translate(-50%, calc(-100% - 24px)); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-tile { width: 42px; height: 42px; border-radius: 12px; background: #fff; display: grid; place-items: center; flex: none; }
.brand-mark { width: 40px; height: 40px; }
.brand-name { display: grid; line-height: 1; }
.brand-name b { font-family: var(--logo-font); font-weight: 700; font-size: 20px; letter-spacing: .02em; color: var(--paper); }
.brand-name small { font-family: var(--logo-font); font-weight: 600; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-top: 4px; }
@media (max-width: 420px) { .brand-name small { display: none; } }
.nav-links { display: none; margin-left: auto; gap: 4px; }
.nav-links a { position: relative; padding: 10px 14px; font-size: 14.5px; font-weight: 600; color: rgba(242,237,228,.78); border-radius: 999px; transition: color .25s, background-color .25s; }
.nav-links a:hover { color: var(--paper); background: rgba(242,237,228,.08); }
.nav-cta {
  display: none; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--accent); color: var(--ink); font-weight: 750; font-size: 14.5px;
  transition: background-color .3s;
}
.nav-cta:hover { background: var(--paper); }
.nav-cta .i { width: 17px; height: 17px; }
.nav-burger { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); display: grid; place-content: center; gap: 6px; }
.nav-burger > span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .4s var(--ease); }
.nav-burger[aria-expanded="true"] > span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
@media (min-width: 1080px) {
  .nav { padding-left: 14px; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
}

.menu {
  position: fixed; inset: 0; z-index: 450; background: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--pad) calc(32px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s 0s; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  display: flex; align-items: baseline; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line);
  font-weight: 880; font-stretch: 120%; text-transform: uppercase; font-size: clamp(34px, 10vw, 64px); line-height: 1.05;
}
.menu nav a small { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--accent); letter-spacing: .1em; }
.menu-foot { display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 15px; color: var(--muted); }

/* =========================================================
   SCROLLY — renovation story
   ========================================================= */
.scrolly { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #3b4249; color: var(--text); }
.visual { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(180deg, #343b44, #7b838a); }
.gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 80% 75% at 62% 45%, rgba(0,0,0,0) 55%, rgba(0,0,0,.34) 100%); }

.rain { position: absolute; inset: -10% -10% 0; transform: skewX(-12deg); pointer-events: none; }
.rain i {
  position: absolute; top: -40px; width: 1.5px; border-radius: 2px;
  background: linear-gradient(to bottom, rgba(210, 222, 235, 0), rgba(210, 222, 235, .7));
  animation: fall linear infinite;
}
@keyframes fall { to { transform: translate3d(0, 120vh, 0); } }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; animation: flash 8s linear infinite 2s; }
@keyframes flash { 0%, 86%, 100% { opacity: 0; } 87% { opacity: .28; } 88% { opacity: 0; } 89.5% { opacity: .18; } 91% { opacity: 0; } }

.tags3d { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.tag3d { position: absolute; left: 0; top: 0; will-change: transform; }
.tag-in { display: block; opacity: 0; transform-origin: 50% 100%; }
.tag-pill {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  transform: translate(-50%, -100%);
  padding: 8px 14px 8px 8px; border-radius: 999px;
  background: rgba(11, 23, 38, .86); border: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--paper);
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.tag-pill i { width: 20px; height: 20px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1726' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 9.5 17 19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.tag-floor .tag-pill { padding: 6px 12px; font-size: 11px; background: rgba(11, 23, 38, .8); }
.tag-floor .tag-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.scrolly.no-webgl .visual { background: linear-gradient(180deg, #27306a 0%, #a8567a 50%, #ffa762 100%); }
.scrolly.no-webgl .gl { display: none; }

/* ---------- Copy ---------- */
.copy {
  position: absolute; z-index: 5; left: var(--pad); top: 0; bottom: 0;
  width: min(480px, 38vw);
  display: flex; align-items: center; pointer-events: none;
}
.copy a, .copy button { pointer-events: auto; }
.step-intro {
  position: absolute; left: 0; top: 0; bottom: 0; width: min(720px, 50vw);
  display: flex; flex-direction: column; justify-content: center;
}
.step-intro .eyebrow { color: #FFD2BF; }
.hero-title {
  font-weight: 900; font-stretch: 122%; text-transform: uppercase;
  font-size: clamp(46px, 6.6vw, 124px); line-height: .86; letter-spacing: -.035em;
  margin: 0 0 26px; text-shadow: 0 4px 40px rgba(0,0,0,.25);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .05em; margin-bottom: -.05em; }
.hero-title .line > span { display: inline-block; }
.lead { max-width: 440px; font-size: clamp(16px, 1.25vw, 19px); color: rgba(242,237,228,.86); margin-bottom: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.scroll-cue {
  display: flex; align-items: center; gap: 14px; margin-top: 40px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(242,237,228,.7);
}
.cue-line { position: relative; width: 2px; height: 46px; background: rgba(242,237,228,.2); overflow: hidden; border-radius: 2px; }
.cue-line::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--accent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

.copy-card { position: relative; display: grid; width: 100%; }
.copy-bg {
  position: absolute; inset: -34px -34px; border-radius: 30px;
  background: rgba(11, 23, 38, .8); border: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.copy-card .step { grid-area: 1 / 1; position: relative; align-self: center; }
.step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.step-num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  font-family: var(--mono); font-weight: 600; font-size: 15px;
}
.step-num .i { width: 24px; height: 24px; stroke-width: 2.6; }
.step-kicker { font-family: var(--mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-soft); }
.step-title {
  font-weight: 880; font-stretch: 115%; text-transform: uppercase;
  font-size: clamp(30px, 3.2vw, 52px); line-height: .92; letter-spacing: -.025em; margin-bottom: 18px;
}
.step-text { color: rgba(242,237,228,.8); font-size: clamp(15.5px, 1.1vw, 17.5px); margin-bottom: 20px; }
.step-list { display: grid; gap: 9px; }
.step-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.step-list li::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--accent); transform: rotate(45deg); }
.step-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.step-chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.step-chips li:first-child { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* JS-driven initial states */
.js .copy-bg { opacity: 0; visibility: hidden; }
.js .copy-card .step { opacity: 0; visibility: hidden; }

/* ---------- HUD ---------- */
.hud {
  position: absolute; z-index: 6; left: var(--pad); right: var(--pad); bottom: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 10px 10px 20px; border-radius: 999px;
  background: rgba(11, 23, 38, .6); border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.hud-progress { display: flex; align-items: center; gap: 14px; flex: 1; max-width: 420px; }
.hud-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hud-pct { font-family: var(--mono); font-size: 14px; min-width: 46px; }
.hud-pct b { font-weight: 600; color: var(--paper); }
.hud-bar { position: relative; flex: 1; height: 4px; border-radius: 4px; background: rgba(242,237,228,.14); overflow: hidden; }
.hud-bar i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.hud-steps { display: flex; gap: 4px; }
.hud-steps button {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: rgba(242,237,228,.6); transition: color .3s, background-color .3s;
}
.hud-steps button span { font-family: var(--mono); font-size: 11px; color: var(--muted); transition: color .3s; }
.hud-steps button:hover { color: var(--paper); }
.hud-steps button.is-done { color: var(--paper); }
.hud-steps button.is-done span { color: var(--accent); }
.hud-steps button.is-active { background: var(--accent); color: var(--ink); }
.hud-steps button.is-active span { color: var(--ink); }

/* Desktop tuning */
@media (min-width: 900px) and (max-width: 1180px) {
  .hud-steps button { padding: 0 10px; }
  .hud-steps button span { display: none; }
}

/* ---------- Mobile scene layout ---------- */
@media (max-width: 899px) {
  :root { --sheet: 44svh; }
  .visual { bottom: calc(var(--sheet) - 26px); }
  .copy {
    left: 0; right: 0; top: auto; bottom: 0; width: auto; height: var(--sheet);
    align-items: flex-start; padding: 26px 20px calc(16px + env(safe-area-inset-bottom));
    background: var(--ink); border-radius: 26px 26px 0 0; pointer-events: auto;
    box-shadow: 0 -20px 60px rgba(0,0,0,.35);
  }
  .copy-bg { display: none; }
  .step-intro { position: absolute; inset: 26px 20px 16px; width: auto; justify-content: flex-start; }
  .step-intro .eyebrow { display: none; }
  .hero-title { font-size: clamp(36px, 11.4vw, 60px); margin-bottom: 12px; }
  .step-intro .lead { font-size: 14.5px; line-height: 1.5; margin-bottom: 16px; }
  .step-intro .actions .btn { height: 48px; padding: 0 20px; font-size: 13px; }
  .scroll-cue { display: none; }
  .step-head { margin-bottom: 12px; }
  .step-num { width: 40px; height: 40px; font-size: 13px; }
  .step-title { font-size: clamp(26px, 8vw, 38px); margin-bottom: 10px; }
  .step-text { font-size: 15px; margin-bottom: 12px; }
  .step-list { display: none; }
  .step-chips li { padding: 6px 11px; font-size: 13px; }
  .copy-card .actions .btn { height: 48px; padding: 0 20px; font-size: 13px; }
  .hud { left: 16px; right: 16px; top: 84px; bottom: auto; padding: 8px 14px; }
  .hud-progress { max-width: none; }
  .hud-steps { display: none; }
  .tag-pill { font-size: 10px; padding: 6px 11px 6px 6px; gap: 7px; }
  .tag-pill i { width: 16px; height: 16px; background-size: 11px; }
  .tag-floor .tag-pill { font-size: 8.5px; padding: 4px 8px; gap: 5px; letter-spacing: .05em; }
  .tag-floor .tag-pill::before { width: 5px; height: 5px; }
}
@media (max-width: 899px) and (max-height: 700px) {
  :root { --sheet: 47svh; }
  .step-intro .lead { display: none; }
  .step-text { font-size: 14px; }
}

/* Static fallback (no JS or reduced motion) */
html:not(.js) .scrolly, .scrolly.is-static { height: auto; overflow: visible; }
html:not(.js) .scrolly .visual, .scrolly.is-static .visual { position: relative; height: 100svh; bottom: auto; }
html:not(.js) .scrolly .copy, .scrolly.is-static .copy {
  position: relative; inset: auto; width: auto; height: auto; display: block;
  padding: 64px var(--pad); background: var(--ink); border-radius: 0; box-shadow: none;
}
html:not(.js) .scrolly .step, .scrolly.is-static .step { position: relative; inset: auto; width: auto; opacity: 1; visibility: visible; margin: 0 auto 56px; max-width: 760px; }
html:not(.js) .scrolly .copy-bg, .scrolly.is-static .copy-bg { display: none; }
html:not(.js) .scrolly .copy-card, .scrolly.is-static .copy-card { display: block; }
html:not(.js) .scrolly .hud, .scrolly.is-static .hud, .scrolly.is-static .scroll-cue { display: none; }
.scrolly.is-static .step-list { display: grid; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { background: var(--accent); color: var(--ink); overflow: hidden; padding: 22px 0; border-block: 2px solid var(--ink); }
.marquee-row { display: flex; }
.marquee-track { display: flex; align-items: center; gap: 36px; padding-right: 36px; white-space: nowrap; flex: none; will-change: transform; }
.marquee-track span { font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(30px, 5vw, 72px); line-height: 1; letter-spacing: -.02em; }
.marquee-track i { font-style: normal; font-size: clamp(20px, 3vw, 40px); }
html:not(.js) .marquee-track { animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SERVICES
   ========================================================= */
.services { background: var(--paper); color: var(--ink); }
.services .eyebrow { color: var(--blue); }
.cards { max-width: 1400px; margin: 0 auto; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; min-height: 440px;
  padding: clamp(26px, 2.6vw, 38px); border-radius: var(--radius);
  background: #FBF8F3; border: 1.5px solid var(--ink);
  transition: color .5s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  clip-path: circle(0% at 0% 100%); transition: clip-path .75s var(--ease);
}
.card:hover { color: var(--paper); }
.card:hover::before { clip-path: circle(150% at 0% 100%); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; padding-bottom: 40px; }
.card-icon {
  width: 64px; height: 64px; padding: 15px; border-radius: 18px; background: var(--accent); color: var(--ink);
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .6s var(--ease-out);
}
.card:hover .card-icon { transform: rotate(-12deg) scale(1.08); }
.card-num { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; opacity: .55; }
.card-title { font-weight: 880; font-stretch: 104%; text-transform: uppercase; font-size: clamp(25px, 2vw, 32px); overflow-wrap: anywhere; line-height: .95; letter-spacing: -.02em; margin-bottom: 14px; }
.card-text { font-size: 16px; opacity: .78; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 24px; }
.tags li { padding: 5px 11px; border-radius: 999px; border: 1px solid currentColor; font-size: 12.5px; font-weight: 600; opacity: .7; }
.card-link {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  font-weight: 750; font-stretch: 110%; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  padding-bottom: 4px; border-bottom: 2px solid var(--accent);
}
.card-link .i { transition: transform .4s var(--ease); }
.card-link:hover .i { transform: translateX(5px); }
.card-link::after { content: ""; position: absolute; inset: 0; }
.card-accent { background: var(--accent); }
.card-accent .card-icon { background: var(--ink); color: var(--accent); }
.card-accent .card-link { border-color: var(--ink); }

/* =========================================================
   STATEMENT
   ========================================================= */
.statement { background: var(--ink); }
.statement > * { max-width: 1400px; margin-left: auto; margin-right: auto; }
.statement-text {
  font-weight: 820; font-stretch: 112%; font-size: clamp(30px, 4.6vw, 76px); line-height: 1.02; letter-spacing: -.025em;
  margin-bottom: clamp(64px, 9vw, 130px);
}
.statement-text .w { opacity: .16; transition: none; }
html:not(.js) .statement-text .w { opacity: 1; }
.values { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value { padding: 34px 26px 34px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 1100px) { .value { border-bottom: 0; padding: 40px 30px 0 0; } .value + .value { padding-left: 30px; border-left: 1px solid var(--line); } }
.value .i { width: 34px; height: 34px; color: var(--accent); margin-bottom: 22px; stroke-width: 1.6; }
.value h3 { font-weight: 820; font-stretch: 112%; text-transform: uppercase; font-size: 21px; letter-spacing: -.01em; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* =========================================================
   PROCESS
   ========================================================= */
.process { position: relative; background: var(--paper-2); color: var(--ink); overflow: hidden; }
.process-pin { position: relative; padding: clamp(96px, 12vw, 160px) var(--pad) clamp(64px, 8vw, 110px); }
.process .eyebrow { color: var(--blue); }
.process-head { margin-bottom: 56px; }
.process .h2 { font-size: clamp(42px, 5.6vw, 96px); }
.process-hint { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-ink); }
.process-track { display: grid; gap: 16px; }
.pstep {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 30px; border-radius: var(--radius); background: var(--paper); border: 1.5px solid var(--ink);
  min-height: 300px;
}
.pstep-num {
  font-weight: 900; font-stretch: 125%; font-size: clamp(96px, 11vw, 180px); line-height: .8; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 2px var(--ink);
}
.pstep h3 { font-weight: 880; font-stretch: 116%; text-transform: uppercase; font-size: clamp(28px, 2.6vw, 40px); letter-spacing: -.02em; margin-bottom: 10px; }
.pstep p { margin: 0; font-size: 16.5px; color: var(--muted-ink); max-width: 360px; }
.pstep-last { background: var(--ink); color: var(--paper); }
.pstep-last .pstep-num { -webkit-text-stroke-color: var(--accent); }
.pstep-last p { color: var(--muted); }
.process-bar { display: none; }
@media (min-width: 900px) {
  .process-pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 110px; padding-bottom: 60px; }
  .process-head { position: absolute; top: 108px; left: var(--pad); margin: 0; }
  .process-track { display: flex; gap: 22px; padding-left: calc(var(--pad) + min(46vw, 640px)); width: max-content; margin-left: calc(-1 * var(--pad)); padding-right: var(--pad); margin-top: auto; }
  .pstep { width: min(420px, 34vw); min-height: min(400px, 45svh); flex: none; }
  .pstep-num { font-size: clamp(90px, 9vw, 150px); }
  .process-bar { display: block; position: absolute; left: var(--pad); right: var(--pad); bottom: 36px; height: 3px; background: var(--line-ink); border-radius: 3px; overflow: hidden; }
  .process-bar i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about { background: var(--ink); }
.about-grid { max-width: 1400px; margin: 0 auto; display: grid; gap: 64px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .about-grid { grid-template-columns: 1.25fr 1fr; gap: 90px; align-items: end; } }
.about-copy .h2 { margin-bottom: 40px; hyphens: manual; }
.about-copy p { max-width: 600px; color: rgba(242,237,228,.78); font-size: clamp(16.5px, 1.25vw, 19px); }
.about-copy strong { color: var(--paper); }
.stats { display: grid; gap: 0; }
.stat { display: grid; gap: 4px; padding: 26px 0; border-top: 1px solid var(--line); }
.stat:last-child { border-bottom: 1px solid var(--line); }
.stat b { font-weight: 900; font-stretch: 125%; font-size: clamp(64px, 8vw, 128px); line-height: .9; letter-spacing: -.04em; color: var(--paper); }
.stat b small { font-size: .38em; color: var(--accent); margin-left: 6px; letter-spacing: 0; }
.stat > span { font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* =========================================================
   QUOTE
   ========================================================= */
.quote { background: var(--blue); color: #fff; }
.quote > * { max-width: 1300px; margin-left: auto; margin-right: auto; }
.quote-mark { width: clamp(56px, 7vw, 100px); fill: var(--accent); margin: 0 0 36px; }
.quote blockquote { margin: 0 auto; }
.quote-text { font-weight: 820; font-stretch: 110%; font-size: clamp(28px, 4.1vw, 66px); line-height: 1.05; letter-spacing: -.025em; margin-bottom: 40px; }
.quote-text .w { opacity: .26; }
html:not(.js) .quote-text .w { opacity: 1; }
.quote footer { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.quote-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }

/* =========================================================
   REGION
   ========================================================= */
.region { background: var(--ink-2); overflow: hidden; }
.region-grid { max-width: 1400px; margin: 0 auto; display: grid; gap: 56px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1000px) { .region-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; } }
.region .h2 { font-size: clamp(36px, 4.3vw, 78px); font-stretch: 112%; }
.region-copy .h2 { margin-bottom: 32px; }
.region-copy > p { max-width: 520px; color: rgba(242,237,228,.78); font-size: clamp(16.5px, 1.25vw, 19px); }
.place-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.place-chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: rgba(242,237,228,.85); }
.place-chips li:first-child { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.radar-wrap { position: relative; width: min(100%, 640px); margin: 0 auto; }
.radar { width: 100%; height: auto; overflow: visible; }
.rings circle { stroke: rgba(242,237,228,.16); stroke-width: 1.2; }
.rings .ring-outer { stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 6 8; stroke-opacity: .8; }
.axes { stroke: rgba(242,237,228,.07); stroke-width: 1; }
.sweep { transform-box: view-box; transform-origin: 300px 300px; animation: sweep 6s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.ring-labels text { font-family: var(--mono); font-size: 12px; fill: rgba(242,237,228,.4); letter-spacing: .06em; }
.place circle { fill: var(--paper); }
.place text { font-family: var(--font); font-size: 15px; font-weight: 600; fill: rgba(242,237,228,.85); }
.home text { font-family: var(--font); font-size: 17px; font-weight: 850; font-stretch: 115%; fill: var(--paper); text-transform: uppercase; letter-spacing: .02em; }
.home-pulse { fill: none; stroke: var(--accent); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: 1; } to { transform: scale(5); opacity: 0; } }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: var(--paper); color: var(--ink); }
.contact .eyebrow { color: var(--blue); }
.contact-head, .contact-grid { max-width: 1400px; margin-left: auto; margin-right: auto; }
.contact-head { margin-bottom: clamp(48px, 6vw, 80px); }
.contact .h2 { font-size: clamp(46px, 9vw, 160px); }
.contact-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } }
.contact-info { display: grid; gap: 0; }
.info { display: flex; gap: 20px; align-items: flex-start; padding: 24px 0; border-top: 1.5px solid var(--line-ink); transition: padding .4s var(--ease-out); }
.info:last-child { border-bottom: 1.5px solid var(--line-ink); }
a.info:hover { padding-left: 12px; }
.info .i { width: 26px; height: 26px; margin-top: 4px; color: var(--blue); }
.info span { display: grid; gap: 4px; }
.info small { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-ink); }
.info b { font-weight: 820; font-stretch: 110%; font-size: clamp(21px, 2vw, 28px); line-height: 1.15; letter-spacing: -.01em; word-break: break-word; }
.info em { font-style: normal; font-size: 15px; color: var(--muted-ink); }

.form { background: var(--ink); color: var(--paper); border-radius: 30px; padding: clamp(26px, 3.4vw, 48px); }
.form h3 { font-weight: 880; font-stretch: 116%; text-transform: uppercase; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.02em; margin-bottom: 26px; }
.chips { border: 0; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; padding: 0; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); font-size: 14.5px; font-weight: 650; transition: all .25s;
}
.chips span::before { content: "+"; font-family: var(--mono); color: var(--accent); transition: transform .3s var(--ease); }
.chips label:hover span { border-color: rgba(242,237,228,.5); }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.chips input:checked + span::before { content: "✓"; color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.fields { display: grid; gap: 14px 18px; grid-template-columns: 1fr; margin-bottom: 22px; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; padding: 26px 0 10px; border: 0; border-bottom: 1.5px solid var(--line); border-radius: 0;
  background: transparent; color: var(--paper); font: inherit; font-size: 17px; resize: vertical;
  transition: border-color .3s;
}
.field textarea { min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field span {
  position: absolute; left: 0; top: 24px; font-size: 16px; color: var(--muted); pointer-events: none;
  transform-origin: 0 0; transition: transform .3s var(--ease-out), color .3s;
}
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-20px) scale(.78); color: var(--accent); }
.field.is-invalid input { border-bottom-color: #FF4D4D; }
.form-error { color: #FF8A7A; font-size: 14.5px; margin: -6px 0 16px; }
.form-note { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }
.form-note a { color: var(--paper); border-bottom: 1px solid var(--accent); }
.form.is-sent .btn-primary { background: #3DBE6E; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); padding: clamp(80px, 10vw, 140px) var(--pad) 28px; overflow: hidden; }
.footer > * { max-width: 1400px; margin-left: auto; margin-right: auto; }
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 30px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.footer-claim { margin: 0; font-weight: 880; font-stretch: 118%; text-transform: uppercase; font-size: clamp(34px, 5vw, 80px); line-height: .92; letter-spacing: -.03em; }
.footer-cols { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding: 56px 0; }
.footer-cols > div { display: flex; flex-direction: column; gap: 8px; }
.footer-cols small { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.footer-cols a, .footer-cols span { color: rgba(242,237,228,.78); font-size: 16px; }
.footer-cols a:hover { color: var(--paper); }
.footer-word {
  display: flex; justify-content: space-between; max-width: none; margin: 0 calc(-1 * var(--pad) / 3);
  font-family: var(--logo-font); font-weight: 700; font-size: 16.4vw; line-height: .8; letter-spacing: -.01em; text-transform: uppercase;
  color: var(--paper); overflow: hidden; padding-top: .04em;
}
.footer-word span { display: inline-block; }
.footer-word .dash { color: var(--accent); }
.footer-tagline { margin: 18px 0 0; font-family: var(--logo-font); font-weight: 700; font-size: clamp(14px, 2.2vw, 30px); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; color: var(--muted); }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--paper); }
.to-top { display: inline-flex; align-items: center; gap: 8px; }
.to-top .i { width: 16px; height: 16px; transform: rotate(-90deg); }

/* ---------- Confetti ---------- */
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 800; }

/* ---------- Reveal defaults ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.js.no-anim [data-reveal] { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rain, .flash { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   CANTON LIST (main page)
   ========================================================= */
.cantons { margin-top: 30px; border-top: 1px solid var(--line); }
.cantons a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); transition: padding .35s var(--ease-out), color .3s; }
.cantons a:hover { padding-left: 14px; color: var(--accent); }
.cantons b { font-weight: 800; font-stretch: 108%; font-size: clamp(19px, 1.7vw, 24px); text-transform: uppercase; letter-spacing: -.01em; }
.cantons span { grid-column: 1; font-size: 14px; color: var(--muted); }
.cantons .i { grid-column: 2; grid-row: 1 / span 2; color: var(--accent); }
.cantons-note { margin-top: 18px; font-size: 15px; color: var(--muted); }

/* =========================================================
   REGION LANDING PAGES
   ========================================================= */
.rpage .lead { max-width: 640px; }
.rhero { position: relative; overflow: hidden; background: var(--ink); color: var(--text); padding: clamp(130px, 16vw, 190px) var(--pad) clamp(64px, 8vw, 110px); }
.rhero-bg {
  position: absolute; right: -1vw; bottom: -3.2vw; pointer-events: none; user-select: none;
  font-family: var(--logo-font); font-weight: 700; font-size: 24vw; line-height: .8; text-transform: uppercase; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(244, 242, 238, .09);
}
.rhero-inner { position: relative; max-width: 1400px; margin: 0 auto; display: grid; gap: 22px; justify-items: start; }
.rhero-inner .eyebrow, .rhero-inner .lead { margin: 0; }
.crumbs { display: flex; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.crumbs a { color: var(--paper); border-bottom: 1px solid var(--accent); }
.rhero-title { font-weight: 880; font-stretch: 115%; text-transform: uppercase; font-size: clamp(38px, 6.2vw, 100px); line-height: .9; letter-spacing: -.03em; max-width: 16ch; text-wrap: balance; }
.rtowns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.rtowns li { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: rgba(244, 242, 238, .88); }
.rsection { padding: clamp(72px, 9vw, 130px) var(--pad); }
.rsection > * { max-width: 1400px; margin-left: auto; margin-right: auto; }
.h2-sm { font-size: clamp(32px, 4.4vw, 68px); text-wrap: balance; }
.rtext { background: var(--paper); color: var(--ink); }
.rtext .eyebrow, .rservices .eyebrow, .rother .eyebrow { color: var(--blue); }
.rtext-grid { display: grid; gap: 36px; }
@media (min-width: 1000px) { .rtext-grid { grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; } }
.rtext-body p { font-size: clamp(17px, 1.3vw, 19px); color: #2c3643; max-width: 62ch; }
.rservices { background: var(--paper-2); color: var(--ink); }
.rgrid { display: grid; gap: 14px; margin-top: 40px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .rgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .rgrid { grid-template-columns: repeat(3, 1fr); } }
.ritem { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: 20px; background: #FBFAF7; border: 1.5px solid var(--ink); }
.ritem .i { width: 46px; height: 46px; padding: 11px; border-radius: 13px; background: var(--accent); color: var(--ink); stroke-width: 1.7; }
.ritem h3 { font-weight: 850; font-stretch: 104%; text-transform: uppercase; font-size: 21px; letter-spacing: -.01em; }
.ritem p { margin: 0; color: var(--muted-ink); font-size: 16px; }
.rfaq { background: var(--ink); }
.rfaq-list { margin-top: 36px; border-top: 1px solid var(--line); }
.rfaq-item { border-bottom: 1px solid var(--line); }
.rfaq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 750; font-stretch: 106%; font-size: clamp(18px, 1.6vw, 22px); }
.rfaq-item summary::-webkit-details-marker { display: none; }
.rfaq-item summary::after { content: "+"; font-family: var(--mono); color: var(--accent); font-size: 22px; line-height: 1; transition: transform .3s var(--ease); }
.rfaq-item[open] summary::after { transform: rotate(45deg); }
.rfaq-item p { margin: 0 0 24px; max-width: 70ch; color: rgba(244, 242, 238, .78); font-size: 17px; }
.rcta { background: var(--blue); color: #fff; }
.rcta .eyebrow { color: #FFD1AD; }
.rcta-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .rcta-grid { grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: end; } }
.rcta-grid p { max-width: 52ch; font-size: 18px; color: rgba(255, 255, 255, .85); margin: 20px 0 28px; }
.rcta-info { display: grid; }
.rcta-info > * { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .22); }
.rcta-info small { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.rcta-info b { font-weight: 800; font-stretch: 108%; font-size: clamp(19px, 1.7vw, 24px); overflow-wrap: anywhere; }
.rother { background: var(--paper); color: var(--ink); padding-block: clamp(56px, 6vw, 90px); }
.rother-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.rother-list a { display: inline-flex; padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--ink); font-weight: 700; font-size: 15px; transition: background-color .25s, color .25s; }
.rother-list a:hover { background: var(--ink); color: var(--paper); }
.footer-compact { padding-top: 10px; }
.footer-compact .footer-bottom { margin-top: 0; border-top: 0; }

/* ---------- Credit ---------- */
.made-by {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; margin: 28px auto 0;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
  font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: rgba(244, 242, 238, .8);
  transition: border-color .3s, color .3s, background-color .3s;
}
.made-by b { color: var(--accent); font-weight: 600; }
.made-by .i { width: 15px; height: 15px; }
.made-by:hover { border-color: var(--accent); color: var(--paper); background: rgba(240, 124, 40, .08); }
.footer-compact .made-by { margin: 22px auto 0; }

/* ---------- 3D fallback poster ---------- */
.poster { position: absolute; inset: 0; display: none; }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.poster-after { opacity: 0; }
.visual.use-poster .poster { display: block; }
.visual.use-poster .gl { visibility: hidden; }

/* ---------- Debug box (?debug) ---------- */
.debug-box {
  position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 2000; max-height: 45vh; overflow: auto; margin: 0;
  padding: 10px; border-radius: 10px; background: rgba(0, 0, 0, .85); color: #7CFC9A;
  font: 11px/1.4 ui-monospace, Menlo, monospace; white-space: pre-wrap; word-break: break-word;
}

/* =========================================================
   LIGHT VERSION (touch devices): photo slideshow
   ========================================================= */
.slides { position: absolute; inset: 0; display: none; overflow: hidden; background: var(--ink); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; }
.slide:first-child { opacity: 1; visibility: visible; }
.slide picture, .slide img { display: block; width: 100%; height: 100%; }
.slide img { object-fit: cover; object-position: 50% 50%; transform-origin: 50% 55%; will-change: transform; pointer-events: none; }
.slides-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(11, 23, 38, .62) 0%, rgba(11, 23, 38, 0) 24%, rgba(11, 23, 38, 0) 52%, rgba(11, 23, 38, .82) 100%); }
.slides-ui { position: absolute; left: 16px; right: 16px; bottom: 22px; z-index: 3; display: grid; gap: 14px; pointer-events: none; }
.slides-bars { display: flex; gap: 6px; }
.slides-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.slides-bars b { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.slides-cap { margin: 0; display: flex; align-items: center; gap: 12px; font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 6.2vw, 30px); line-height: 1; letter-spacing: -.01em; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.slides-num { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--ink); font-family: var(--mono); font-size: 13px; font-weight: 600; text-shadow: none; }
.scrolly.is-lite .slides { display: block; }
.scrolly.is-lite .gl, .scrolly.is-lite .rain, .scrolly.is-lite .tags3d, .scrolly.is-lite .poster, .scrolly.is-lite .vignette { display: none; }
.scrolly.is-lite .visual { height: min(76svh, 700px); }
@media (min-width: 700px) { .scrolly.is-lite .visual { height: 82svh; } .slides-ui { left: var(--pad); right: var(--pad); bottom: 32px; } }
