




/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lock, html.lock body { overflow: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .5s ease, color .5s ease;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.eyebrow { font-family: var(--font-label); font-size: 11px; letter-spacing: .22em; font-weight: 700; color: var(--accent); text-transform: uppercase; }

/* Ambient backdrop */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; transition: background .6s ease; }
.orb-1 { width: 46vmax; height: 46vmax; left: -12vmax; top: -14vmax; background: var(--accent-2); opacity: .32; }
.orb-2 { width: 36vmax; height: 36vmax; right: -14vmax; bottom: -10vmax; background: var(--accent); opacity: .12; }
.grain {
  position: absolute; inset: 0; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Buttons */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; letter-spacing: .01em;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), translate .45s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, background-color .3s ease, color .3s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.btn:hover svg, .btn:focus-visible svg { transform: translate(3px, -3px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px var(--accent); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, #ffffff90 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s ease;
}
.btn-primary:hover::after, .btn-primary:focus-visible::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 14px 40px -10px var(--accent); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-block { width: 100%; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 16px; }

/* ---------- 3. Presentation ---------- */
.topbar {
  max-width: 1280px; margin: 0 auto; padding: 22px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.studio { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: -.01em; font-size: 15px; line-height: 1.1; }
.studio small { display: block; font-size: 9px; letter-spacing: .24em; font-weight: 500; color: var(--muted); margin-top: 4px; }
.studio-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background:
    conic-gradient(from 210deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 6px, #000 7px);
          mask: radial-gradient(circle at 50% 50%, transparent 6px, #000 7px);
}
.topbar-cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); text-decoration: none; font-size: 13px; font-weight: 600;
  transition: border-color .3s, background-color .3s;
}
.topbar-cta svg { width: 14px; height: 14px; }
.topbar-cta:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }

.stage {
  max-width: 1280px; margin: 0 auto; padding: 24px 32px 80px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 64px; align-items: center;
}
.pitch { max-width: 560px; }
.pitch h1 {
  font-family: var(--font-display); font-weight: var(--title-weight); text-transform: var(--title-transform);
  font-size: clamp(44px, 6.2vw, 86px); line-height: .95; letter-spacing: var(--title-spacing);
  margin: 18px 0 22px;
}

.pitch h1 em { font-style: normal; color: var(--accent); }

.pitch-lead { color: var(--muted); font-size: 17px; max-width: 470px; }
.pitch-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Theme switcher */
.switcher { margin-top: 32px; display: grid; gap: 10px; }
.switcher-label { font-family: var(--font-label); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.theme-opt {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 12px 16px 12px 12px; border-radius: 16px;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent);
  transition: border-color .3s, background-color .3s, transform .25s cubic-bezier(.2,.8,.2,1);
  position: relative;
}
.theme-opt:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.theme-opt:active { transform: scale(.98); }
.theme-opt[aria-checked="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--surface)); }
.theme-opt[aria-checked="true"]::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 10px; height: 10px; margin-top: -5px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent);
}
.opt-text strong { display: block; font-size: 15px; }
.opt-text small { display: block; font-size: 12.5px; color: var(--muted); }
/* Theme preview tiles: each shows its own typeface, surface and accents */
.swatch { position: relative; flex: none; width: 52px; height: 52px; overflow: hidden; display: grid; place-items: center; box-shadow: 0 6px 16px #0008; }
.swatch::before { content: "Aa"; position: relative; z-index: 1; line-height: 1; margin-top: -8px; }
.swatch i { position: absolute; bottom: 0; height: 9px; width: 34%; }
.swatch i:nth-child(1) { left: 0; } .swatch i:nth-child(2) { left: 33%; } .swatch i:nth-child(3) { left: 66%; }
.theme-opt[data-theme-value="chrome"] .swatch { border-radius: 0; background: radial-gradient(#9b4dff55 1px, transparent 1.5px) 0 0 / 6px 6px, #26282b; box-shadow: 3px 3px 0 #9b4dff; }
.theme-opt[data-theme-value="chrome"] .swatch::before { font: 400 25px/1 Anton, Impact, sans-serif; color: #c6ff1a; text-transform: uppercase; }
.theme-opt[data-theme-value="chrome"] .swatch i:nth-child(1) { background: linear-gradient(90deg, #fff, #6d6d76); }
.theme-opt[data-theme-value="chrome"] .swatch i:nth-child(2) { background: #9b4dff; }
.theme-opt[data-theme-value="chrome"] .swatch i:nth-child(3) { background: #c6ff1a; }
.theme-opt[data-theme-value="neon"] .swatch { border-radius: 10px; background: radial-gradient(circle at 50% 30%, #0b3a2c, #020b08); box-shadow: inset 0 0 0 1px #3dffb455, 0 0 16px -4px #3dffb488; }
.theme-opt[data-theme-value="neon"] .swatch::before { font: 700 20px/1 Unbounded, sans-serif; color: transparent; -webkit-text-stroke: 1px #3dffb4; text-shadow: 0 0 8px #3dffb4aa; }
.theme-opt[data-theme-value="neon"] .swatch i { height: 2px; bottom: 9px; }
.theme-opt[data-theme-value="neon"] .swatch i:nth-child(1) { background: #c9d6d2; }
.theme-opt[data-theme-value="neon"] .swatch i:nth-child(2) { background: #3dffb4; box-shadow: 0 0 6px #3dffb4; }
.theme-opt[data-theme-value="neon"] .swatch i:nth-child(3) { background: #ff3dcb; box-shadow: 0 0 6px #ff3dcb; }
.theme-opt[data-theme-value="atelier"] .swatch { border-radius: 2px; background: #0b0a09; box-shadow: inset 0 0 0 1px #cdb27a66, 0 6px 16px #0008; }
.theme-opt[data-theme-value="atelier"] .swatch::before { font: italic 500 28px/1 "Cormorant Garamond", Georgia, serif; color: #e2cc96; }
.theme-opt[data-theme-value="atelier"] .swatch i { height: 3px; bottom: 7px; width: 22%; }
.theme-opt[data-theme-value="atelier"] .swatch i:nth-child(1) { left: 12%; background: #f3ede2; }
.theme-opt[data-theme-value="atelier"] .swatch i:nth-child(2) { left: 39%; background: #cdb27a; }
.theme-opt[data-theme-value="atelier"] .swatch i:nth-child(3) { left: 66%; background: #6b5a3a; }







/* ---------- 4. Phone ---------- */
.device { display: flex; flex-direction: column; align-items: center; gap: 16px; outline: none; }
/* iPhone 17 (standard, 6.3"): 1206 × 2622 px display = 402 × 874 pt at 3×.
   The phone is built at true 1:1 point size (body 432 × 904) and scaled UNIFORMLY with
   --phone-scale (set in app.js), so the live demo inside is never stretched. */
.phone-scene { --phone-scale: .82; position: relative; perspective: 2400px; perspective-origin: 50% 40%; padding: 6px 30px 48px; }
.phone-tilt {
  --tilt-y: -8deg; --tilt-x: 3deg; --tilt-z: .6deg;
  position: relative; z-index: 1;
  width: calc(432px * var(--phone-scale)); height: calc(904px * var(--phone-scale));
  transform: rotateY(calc(var(--tilt-y) + var(--px, 0) * 4deg)) rotateX(calc(var(--tilt-x) - var(--py, 0) * 3deg)) rotateZ(var(--tilt-z));
  transform-style: preserve-3d; transition: transform 1.2s cubic-bezier(.16,1,.3,1);
}
.phone-scene:hover .phone-tilt { --tilt-y: -5deg; --tilt-x: 2deg; --tilt-z: .3deg; }
.phone {
  --frame: linear-gradient(135deg, #8d8d96 0%, #3a3a41 10%, #17171b 40%, #26262c 68%, #6e6e78 90%, #b4b4be 100%);
  position: absolute; left: 0; top: 0; width: 432px; height: 904px;
  padding: 4px;                                   /* aluminium frame */
  border-radius: 70px;                            /* 55pt screen corner + 15pt bezel */
  background: var(--frame);
  transform: scale(var(--phone-scale)); transform-origin: 0 0; transform-style: preserve-3d;
  box-shadow: inset 0 0 0 1px #ffffff55, inset 0 1.5px 1px #ffffff40, inset 0 -1px 1px #00000080, 0 0 0 .5px #000;
}
/* body thickness: two back layers give the tilted phone a real side wall */
.phone::before, .phone::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(90deg, #4a4a52, #101013 25%, #101013 75%, #55555e);
}
.phone::before { transform: translateZ(-6px); }
.phone::after  { transform: translateZ(-12px); box-shadow: 26px 46px 70px -28px #000000e0, 0 30px 120px -50px var(--glow); }
.phone-btn { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #1c1c21, #8a8a94 55%, #2a2a30); }
.btn-action   { left: -3px; top: 168px; height: 32px; }
.btn-vol-up   { left: -3px; top: 232px; height: 62px; }
.btn-vol-down { left: -3px; top: 308px; height: 62px; }
.btn-power    { right: -3px; top: 262px; height: 100px; background: linear-gradient(90deg, #2a2a30, #8a8a94 45%, #1c1c21); }
.btn-camera   { right: -2px; top: 540px; height: 56px; width: 3px; background: linear-gradient(90deg, #0d0d10, #3c3c44); }
.phone-glass {
  position: absolute; inset: 15px; z-index: 7; border-radius: 55px; pointer-events: none;
  background:
    linear-gradient(118deg, #ffffff17 0%, #ffffff08 16%, transparent 30%),
    linear-gradient(118deg, transparent 74%, #ffffff07 85%, transparent 93%);
}
.phone-shadow {
  position: absolute; left: 16%; right: 6%; bottom: 16px; height: 44px; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, #000000c8, #00000055 60%, transparent);
  filter: blur(12px); transform: skewX(-22deg);
}


.phone-status {
  position: absolute; top: 15px; left: 15px; right: 15px; height: 54px; z-index: 6;
  display: grid; grid-template-columns: 1fr 126px 1fr; align-items: center;
  font: 600 17px/1 Inter, system-ui, sans-serif; letter-spacing: -.01em; color: #fff; pointer-events: none;
}
.phone-status > span:first-child { justify-self: center; padding-left: 14px; }
.island { justify-self: center; align-self: start; margin-top: 11px; width: 126px; height: 37px; background: #000; border-radius: 20px; box-shadow: inset 0 0 0 1px #ffffff0a; }
.status-icons { justify-self: center; padding-right: 10px; display: flex; gap: 6px; align-items: center; }
.status-icons i { display: block; background: #fff; }
.sig { width: 18px; height: 12px; clip-path: polygon(0 75%, 22% 75%, 22% 100%, 0 100%, 0 75%, 26% 50%, 48% 50%, 48% 100%, 26% 100%, 26% 50%, 52% 25%, 74% 25%, 74% 100%, 52% 100%, 52% 25%, 78% 0, 100% 0, 100% 100%, 78% 100%); }
.wifi { width: 17px; height: 12px; clip-path: polygon(50% 100%, 0 30%, 15% 12%, 50% 0, 85% 12%, 100% 30%); }
.batt { width: 27px; height: 13px; border-radius: 4px; }
/* 11pt black bezel around the 402 × 874 display; inner radius = 66 − 11 = 55pt */
.screen-wrap {
  position: relative; z-index: 1; height: 100%; box-sizing: border-box;
  border: 11px solid #050506; border-radius: 66px; overflow: hidden; background: var(--bg); transform: translateZ(1px);
}
.screen {
  height: 100%; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  scrollbar-width: none; background: var(--screen-bg, var(--bg));
}
.screen::-webkit-scrollbar { display: none; }
.device-caption { font-family: var(--font-label); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* ---------- 5. Member page ---------- */
.member { padding: 64px 18px 28px; position: relative; isolation: isolate; }
.member::before { content: ""; position: absolute; inset: 0 0 auto; height: 420px; z-index: -1; background: var(--hero-bg, none); }
.m-head { display: grid; grid-template-columns: 48px 1fr 48px; align-items: start; gap: 4px; }
.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  color: var(--text); transition: transform .25s cubic-bezier(.2,.8,.2,1), background-color .25s, color .25s;
}
.icon-btn svg { width: 30px; height: 30px; }
.icon-btn:hover { color: var(--accent); background: color-mix(in srgb, var(--text) 8%, transparent); }
.icon-btn:active { transform: scale(.9); }
.logo-stage { position: relative; display: grid; place-items: center; padding-top: 6px; }
.logo { width: 100%; max-width: 250px; height: auto; position: relative; z-index: 1; } /* static: no animation, no rotation */
.logo-halo {
  position: absolute; left: 50%; top: 40%; width: 180px; height: 180px; margin: -90px 0 0 -90px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 68%);
}

.m-banner { display: flex; justify-content: center; margin: 14px 0 22px; }
.m-banner span {
  font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; padding: 14px 30px 15px;
  color: var(--accent-ink); background: var(--accent);
}

/* ---------- 6. Cards ---------- */
.cards { display: grid; gap: 14px; perspective: 900px; }
.card {
  --rx: 0deg; --ry: 0deg; --mx: 50%;
  --sun: var(--accent);
  position: relative; overflow: hidden; isolation: isolate; display: block;
  min-height: 150px; border-radius: var(--card-radius); text-decoration: none; color: var(--text);
  background: var(--card-bg, var(--surface));
  border: 1px solid var(--line);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) rotate(var(--rot, 0deg));
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .35s;
  animation: cardIn .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 80ms + 250ms);
}
.card[data-accent="b"] { --sun: var(--accent-2); }
.card[data-accent="c"] { --sun: transparent; }
.card:hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); box-shadow: 0 18px 40px -18px var(--glow); }
.card:active { transform: scale(.97); transition-duration: .12s; }
.card:focus-visible { outline-offset: 3px; border-radius: var(--card-radius); }
.card-art { position: absolute; left: -4px; bottom: 0; width: 86%; height: 100%; z-index: -1; transition: transform .5s cubic-bezier(.2,.8,.2,1); transform-origin: bottom left; }
.card:hover .card-art { transform: scale(1.05); }
.card-text { position: absolute; right: 14px; top: 16px; text-align: right; display: grid; gap: 2px; max-width: 64%; }
.card-kicker { font-family: var(--font-label); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card-title {
  font-family: var(--font-display); font-weight: var(--title-weight); text-transform: var(--title-transform);
  font-size: 26px; line-height: 1; letter-spacing: var(--title-spacing);
}
.card-go { position: absolute; right: 12px; bottom: 14px; width: 30px; height: 30px; color: var(--accent); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.card-go svg { width: 100%; height: 100%; }
.card:hover .card-go, .card:focus-visible .card-go { transform: translateX(4px); }
.card-num { display: none; }
.card-shine {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
  background: radial-gradient(260px circle at var(--mx) 0%, #ffffff22, transparent 60%);
  transition: opacity .3s;
}
.card:hover .card-shine { opacity: 1; }

/* Illustration parts (themed in section 9) */
.a-sun { fill: var(--sun-paint, var(--sun)); fill-opacity: var(--sun-fill-op, 1); stroke: var(--sun); stroke-opacity: var(--sun-stroke-op, 0); stroke-width: 1.5; stroke-dasharray: var(--sun-dash, none); opacity: var(--sun-op, 1); }
/* Note: art lives in <use> shadow trees, so themes restyle it ONLY through custom properties. */
.a-cactus { fill: var(--ill-cactus, #ddd); stroke: var(--ill-stroke, none); stroke-width: var(--ill-sw, 0); }
.a-rib { fill: none; stroke: var(--ill-rib, #0005); stroke-width: 2; stroke-linecap: round; }
.a-spine { fill: none; stroke: var(--ill-spine, #fff); stroke-width: 1.4; stroke-linecap: round; }
.a-rock { fill: var(--ill-rock, #333); stroke: var(--ill-rock-stroke, none); stroke-width: 1.5; stroke-linejoin: round; }
.a-mtn { fill: var(--ill-mtn, var(--accent-2)); opacity: .7; }
.a-accent { fill: var(--ill-accent, var(--accent-2)); }

/* ---------- 7. Detail view ---------- */
.detail {
  position: absolute; inset: 0; z-index: 5; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  background: var(--screen-bg, var(--bg));
  transform: translateX(100%); transition: transform .38s cubic-bezier(.2,.8,.2,1), visibility 0s .38s; visibility: hidden;
  --sun: var(--accent);
}
.detail::-webkit-scrollbar { display: none; }
.detail.open { transform: none; visibility: visible; transition: transform .38s cubic-bezier(.2,.8,.2,1); }
.detail[data-accent="b"] { --sun: var(--accent-2); }
.detail[data-accent="c"] { --sun: transparent; }
.d-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 58px 14px 8px; background: linear-gradient(var(--screen-bg, var(--bg)) 70%, transparent); }
.d-crumb { font-family: var(--font-label); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.d-hero { padding: 0 22px 18px; position: relative; }
.d-art { width: 70%; height: auto; aspect-ratio: 200 / 160; margin: -6px 0 6px auto; }
.d-kicker { font-family: var(--font-label); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.d-title {
  font-family: var(--font-display); font-weight: var(--title-weight); text-transform: var(--title-transform);
  font-size: 46px; line-height: .95; letter-spacing: var(--title-spacing); margin: 6px 0 12px; outline: none;
}
.d-intro { color: var(--muted); font-size: 15px; }
.d-body { padding: 4px 18px 10px; display: grid; gap: 12px; }
.d-body > * { animation: rise .5s cubic-bezier(.2,.8,.2,1) both; }
.d-body > *:nth-child(2) { animation-delay: .06s; } .d-body > *:nth-child(3) { animation-delay: .12s; }
.b-news, .b-list, .b-rules, .b-agenda { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.b-news { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.b-news time { font-family: var(--font-label); font-weight: 700; font-size: 12px; color: var(--accent-ink); background: var(--accent); border-radius: 10px; padding: 8px 8px; height: max-content; text-align: center; width: 54px; line-height: 1.15; }
.b-news h3, .b-list h3 { font-size: 16px; margin-bottom: 4px; }
.b-news p { color: var(--muted); font-size: 14px; }
.b-list h3 { font-family: var(--font-label); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.b-list ul { list-style: none; margin: 6px 0 0; padding: 0; }
.b-list li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.b-list li:first-child { border-top: 0; }
.b-rules { margin: 0; padding: 8px 16px; list-style: none; }
.b-rules li { --num-size: 15px; --num-ratio: 1.7; column-gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.b-rules .num { font-family: var(--font-label); font-weight: 700; padding-top: 2px; }
.b-rules li:first-child { border-top: 0; }
.b-agenda { list-style: none; margin: 0; padding: 6px 16px; }
.b-agenda li { --num-size: 20px; --num-ratio: var(--day-ratio); column-gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.b-agenda li:first-child { border-top: 0; }
.ag-day { font-family: var(--font-display); font-weight: var(--title-weight); line-height: 1; color: var(--accent); }
.ag-day small, .b-agenda strong + small { display: block; font-family: var(--font-label); font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 3px; }
.b-agenda strong { font-size: 15px; }
.d-next { padding: 14px 18px 40px; }
.d-next p { font-family: var(--font-label); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.d-next div { display: flex; flex-wrap: wrap; gap: 8px; }
.d-next a {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px 10px 16px; border-radius: 999px; min-height: 44px;
  border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14px; transition: border-color .25s, transform .25s;
}
.d-next a svg { width: 16px; height: 16px; color: var(--accent); }
.d-next a:hover { border-color: var(--accent); }
.d-next a:active { transform: scale(.96); }

/* ---------- 8. QR + about + dialog ---------- */
.qr-card {
  margin-top: 22px; padding: 18px; border-radius: var(--radius);
  background: var(--surface); border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--line));
  display: grid; justify-items: center; gap: 12px; text-align: center;
}
.qr-head { display: flex; align-items: center; gap: 10px; }
.qr-head h2 { font-family: var(--font-display); font-weight: var(--title-weight); font-size: 22px; text-transform: var(--title-transform); letter-spacing: var(--title-spacing); }
.demo-badge { font-family: var(--font-label); font-size: 10px; font-weight: 700; letter-spacing: .16em; padding: 4px 8px; border-radius: 6px; background: var(--accent-2); color: #fff; }
.qr-tile { padding: 10px; background: #fff; border-radius: 16px; position: relative; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; box-shadow: 0 12px 30px -14px var(--glow); }
.qr-tile canvas { width: 168px; height: 168px; }
.qr-tile:hover { transform: scale(1.03) rotate(-1deg); }
.qr-tile:active { transform: scale(.97); }
.qr-note { color: var(--muted); font-size: 13px; max-width: 280px; }
.qr-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 13px; font-weight: 600; transition: border-color .25s, background-color .25s, transform .2s;
}
.chip svg { width: 16px; height: 16px; color: var(--accent); }
.chip:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.chip:active { transform: scale(.95); }
.m-about { margin-top: 22px; padding: 20px 18px; border-radius: var(--radius); background: linear-gradient(160deg, color-mix(in srgb, var(--accent-2) 22%, var(--surface)), var(--surface)); border: 1px solid var(--line); display: grid; gap: 12px; }
.m-about h2 { font-family: var(--font-display); font-weight: var(--title-weight); text-transform: var(--title-transform); font-size: 26px; line-height: 1; letter-spacing: var(--title-spacing); }
.m-about p { font-size: 14px; color: var(--muted); }
.m-fine { font-family: var(--font-label); font-size: 11px !important; text-align: center; letter-spacing: .04em; }

.qr-dialog {
  border: 1px solid var(--line); border-radius: 28px; padding: 28px 24px 24px; width: min(400px, calc(100vw - 32px));
  background: var(--surface); color: var(--text); text-align: center;
  box-shadow: 0 40px 100px -20px #000, 0 0 80px -30px var(--glow);
}
.qr-dialog[open] { display: grid; justify-items: center; gap: 12px; animation: pop .35s cubic-bezier(.2,.8,.2,1); }
.qr-dialog::backdrop { background: #000b; backdrop-filter: blur(6px); }
.qr-dialog h2 { font-family: var(--font-display); font-weight: var(--title-weight); text-transform: var(--title-transform); font-size: 30px; }
.qr-dialog canvas { width: min(300px, 70vw); height: auto; aspect-ratio: 1; border-radius: 16px; }
.qr-url { font-family: var(--font-label); font-size: 12px; color: var(--muted); word-break: break-all; }
.dlg-close { position: absolute; right: 10px; top: 10px; }
.dlg-close svg { width: 22px; height: 22px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14px;
  box-shadow: 0 16px 40px -10px #000; transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .35s; max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* Reusable numbered row: dedicated number column + separate text column.
   The number column width scales with the number size and each theme's digit width (--num-ratio). */
:root { --num-ratio: 1.15; --day-ratio: 2.3; }


.num-row {
  --num-size: clamp(26px, 2.6vw, 38px);
  display: grid; grid-template-columns: calc(var(--num-size) * var(--num-ratio)) minmax(0, 1fr);
  column-gap: clamp(14px, 2.2vw, 26px); align-items: start;
}
.num-row > .num {
  font-family: var(--font-display); font-weight: var(--title-weight); font-size: var(--num-size); line-height: 1;
  color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; margin-top: -.04em;
}
.num-row > :not(.num) { min-width: 0; }

/* Service section */
.service { max-width: 1280px; margin: 0 auto; padding: 80px 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px 64px; }
.service-intro h2 { font-family: var(--font-display); font-weight: var(--title-weight); text-transform: var(--title-transform); letter-spacing: var(--title-spacing); font-size: clamp(36px, 4.4vw, 60px); line-height: .98; margin: 16px 0 18px; }
.service-intro p { color: var(--muted); font-size: 16px; max-width: 460px; }
.service-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.service-steps li { padding: 22px 24px; position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 70%, transparent); transition: border-color .3s, transform .3s; }
.service-steps li:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); transform: translateY(-2px); }
.service-steps h3 { font-size: 18px; line-height: 1.3; margin-bottom: 4px; }
.service-steps p { color: var(--muted); font-size: 15px; }
.service-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; padding-top: 12px; }
.fine { color: var(--muted); font-size: 13px; max-width: 620px; }
.site-footer { max-width: 1280px; margin: 0 auto; padding: 28px 32px 60px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: grid; gap: 4px; }


































/* art mirrored so the sunset sits at the outer edge, away from the text */













































/* ---------- 10. Responsive ---------- */
@media (max-width: 1040px) {
  .stage { grid-template-columns: 1fr; justify-items: center; gap: 40px; padding-top: 8px; }
  .pitch { width: 100%; min-width: 0; max-width: 640px; text-align: left; order: 2; }
  .device { order: 1; }
  .phone-tilt { --tilt-y: -5deg; --tilt-x: 2deg; --tilt-z: .3deg; }
  .service { grid-template-columns: 1fr; }
}

/* Phones: the phone stands straight so the live demo stays fully legible */
@media (max-width: 560px) {
  .topbar { padding: 14px 16px; }
  .studio small { display: none; }
  .topbar-cta { padding: 9px 14px; }
  .stage { padding: 0 0 40px; gap: 24px; }
  .device { width: 100%; gap: 6px; }
  .phone-scene { padding: 4px 16px 34px; width: 100%; display: flex; justify-content: center; }
  .phone-tilt, .phone-scene:hover .phone-tilt { --tilt-y: 0deg; --tilt-x: 0deg; --tilt-z: 0deg; }
  .screen { overscroll-behavior: auto; }
  .device-caption { font-size: 10px; }
  .pitch { padding: 0 16px; }
  .pitch h1 { font-size: clamp(40px, 12vw, 56px); }
  /* switcher becomes a horizontal, swipeable rail */
  .switcher { grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 28px -16px 0; padding: 0 16px 6px; scrollbar-width: none; }
  .switcher::-webkit-scrollbar { display: none; }
  .switcher-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .theme-opt { scroll-snap-align: start; }
  .theme-opt:hover { transform: none; }
  .service { padding: 56px 16px; }
  .service-steps li { padding: 20px 18px; --num-size: 26px; }
  .service-cta .btn { width: 100%; }
  .site-footer { padding: 24px 16px 48px; }
  .pitch-actions .btn { flex: 1 1 auto; }
}

/* Quick theme dock — mobile only, keeps the switch one tap away while browsing the demo */
.dock { display: none; }
@media (max-width: 560px) {
  .dock {
    display: flex; position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 40;
    gap: 4px; padding: 5px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 82%, transparent);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: 0 14px 40px -10px #000;
  }
  .dock button { min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; color: var(--muted); transition: background-color .3s, color .3s; }
  .dock button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
  .toast { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: 100px; }
}

/* ---------- 11. Motion ---------- */
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px #d7ff1f00; } 100% { box-shadow: 0 0 0 0 #d7ff1f00; } }
@keyframes scan { 50% { left: 34%; right: 10%; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .card { transform: none !important; }
}

.qr-head { flex-wrap: wrap; justify-content: center; }

/* Very narrow phones: stack the service rows (number above the text) */
@media (max-width: 340px) {
  .service-steps li.num-row { grid-template-columns: 1fr; row-gap: 8px; }
}

/* In the 3D phone, depth (not z-index) decides stacking: lift overlays above the screen plane */
.phone-status { transform: translateZ(2px); }
.phone-glass { transform: translateZ(3px); }


/* =========================================================================
   9b. OBSIDIAN ATELIER — ultra-modern luxury
   Obsidian black, warm ivory, restrained champagne gold. Editorial serif,
   hairline borders, an index-style list instead of boxed cards, fine gold line art.
   ========================================================================= */
[data-theme="atelier"] {
  --bg: #0b0a09; --bg-2: #15130f; --surface: #12100d; --surface-2: #1a1712;
  --line: #cdb27a2e; --text: #f3ede2; --muted: #a9a294;
  --accent: #d4bb84; --accent-ink: #0b0a09; --accent-2: #8c7a55; --accent-3: #f3ede2;
  --glow: #cdb27a26; --qr-ink: #15120c;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: Manrope, Inter, system-ui, sans-serif;
  --font-label: Manrope, Inter, system-ui, sans-serif;
  --title-weight: 500; --title-transform: none; --title-spacing: 0;
  --radius: 2px; --card-radius: 0;
  --num-ratio: 1.2; --day-ratio: 2.5;
  --screen-bg: radial-gradient(90% 40% at 50% 0%, #241e14 0%, transparent 70%), linear-gradient(180deg, #0e0c0a, #0b0a09);
  --hero-bg: none;
  --ill-cactus: transparent; --ill-stroke: #d4bb84; --ill-sw: 1.2;
  --ill-rib: #d4bb8466; --ill-spine: #f3ede280;
  --ill-rock: transparent; --ill-rock-stroke: #d4bb8470;
  --ill-mtn: #d4bb8414; --ill-accent: #f3ede2;
  --sun-fill-op: 0; --sun-stroke-op: .55;
}
[data-theme="atelier"] .card, [data-theme="atelier"] .detail { --sun: #d4bb84; }
/* presentation */
[data-theme="atelier"] .pitch h1 { font-size: clamp(50px, 6.6vw, 94px); line-height: .98; letter-spacing: -.01em; }
[data-theme="atelier"] .pitch h1 em { font-style: italic; color: var(--accent); }
[data-theme="atelier"] .eyebrow { letter-spacing: .34em; font-weight: 600; }
[data-theme="atelier"] .btn { border-radius: 2px; text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; font-weight: 600; }
[data-theme="atelier"] .btn-primary { background: linear-gradient(135deg, #ead7a6, #b99b5e); box-shadow: none; }
[data-theme="atelier"] .btn-primary:hover { box-shadow: 0 10px 30px -14px #d4bb84; }
[data-theme="atelier"] .topbar-cta, [data-theme="atelier"] .theme-opt, [data-theme="atelier"] .chip, [data-theme="atelier"] .d-next a { border-radius: 2px; }
[data-theme="atelier"] .orb-1 { background: #8c7a55; opacity: .16; }
[data-theme="atelier"] .orb-2 { opacity: .06; }
[data-theme="atelier"] .phone { --frame: linear-gradient(135deg, #f2e6c6 0%, #a08a58 10%, #3b3121 40%, #5c4c32 68%, #cbb27c 90%, #f7ecd0 100%); }
/* member page */
[data-theme="atelier"] .m-head::after {
  content: ""; position: absolute; left: 50%; bottom: -10px; width: 1px; height: 0; background: none;
}
[data-theme="atelier"] .logo-halo { background: radial-gradient(circle, #d4bb841c, transparent 66%); }
[data-theme="atelier"] .logo { filter: drop-shadow(0 14px 22px #000000b0); }
[data-theme="atelier"] .m-banner span {
  display: inline-flex; align-items: center; gap: 14px; padding: 6px 0; background: none; color: var(--accent);
  font: 600 11px/1 var(--font-label); letter-spacing: .42em; text-transform: uppercase;
}
[data-theme="atelier"] .m-banner span::before, [data-theme="atelier"] .m-banner span::after { content: ""; width: 30px; height: 1px; background: currentColor; opacity: .55; }
[data-theme="atelier"] .m-banner { margin: 18px 0 20px; }
[data-theme="atelier"] .cards { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); perspective: none; }
[data-theme="atelier"] .card {
  container-type: inline-size;
  display: grid; grid-template-columns: 46px minmax(0, 1fr) 64px 18px; column-gap: 12px; align-items: center;
  min-height: 98px; padding: 14px 2px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; box-shadow: none; transform: none;
}
[data-theme="atelier"] .card:hover { background: linear-gradient(90deg, #d4bb840d, transparent 80%); box-shadow: none; }
[data-theme="atelier"] .card::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
[data-theme="atelier"] .card:hover::after, [data-theme="atelier"] .card:focus-visible::after { transform: scaleX(1); }
[data-theme="atelier"] .card > * { grid-row: 1; }
[data-theme="atelier"] .card-num { grid-column: 1; display: block; font: 600 10px/1 var(--font-label); letter-spacing: .18em; color: var(--accent); }
[data-theme="atelier"] .card-num::before { content: "N° "; opacity: .7; }
[data-theme="atelier"] .card-text { grid-column: 2; position: relative; inset: auto; max-width: none; text-align: left; gap: 4px; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
[data-theme="atelier"] .card:hover .card-text { transform: translateX(4px); }
[data-theme="atelier"] .card-kicker { font-size: 10px; letter-spacing: .26em; font-weight: 600; color: var(--muted); }
[data-theme="atelier"] .card-title { font-size: clamp(26px, 9.5cqi, 36px); line-height: 1.02; white-space: nowrap; }
[data-theme="atelier"] .card-art {
  grid-column: 3; position: relative; inset: auto; z-index: 0; width: 64px; height: 64px; padding: 6px;
  border: 1px solid #d4bb8455; border-radius: 50%; transform: none;
}
[data-theme="atelier"] .card:hover .card-art { transform: none; border-color: var(--accent); }
[data-theme="atelier"] .card-go { grid-column: 4; position: relative; inset: auto; width: 18px; height: 18px; color: var(--accent); }
[data-theme="atelier"] .card-shine { display: none; }
[data-theme="atelier"] .b-news, [data-theme="atelier"] .b-list, [data-theme="atelier"] .b-rules, [data-theme="atelier"] .b-agenda { background: transparent; }
[data-theme="atelier"] .b-news time { background: transparent; color: var(--accent); border: 1px solid #d4bb8466; border-radius: 2px; font-family: var(--font-display); font-size: 15px; font-style: italic; }
[data-theme="atelier"] .b-list h3, [data-theme="atelier"] .d-kicker { letter-spacing: .3em; }
[data-theme="atelier"] .d-title { font-size: 54px; line-height: .95; }
[data-theme="atelier"] .qr-card { border: 1px solid #d4bb8455; background: #100e0b; }
[data-theme="atelier"] .qr-head h2, [data-theme="atelier"] .m-about h2 { font-style: italic; font-size: 28px; }
[data-theme="atelier"] .demo-badge { background: transparent; color: var(--accent); border: 1px solid #d4bb8488; letter-spacing: .24em; }
[data-theme="atelier"] .qr-tile { border-radius: 2px; box-shadow: 0 0 0 1px #d4bb8455, 0 18px 40px -20px #000; }
[data-theme="atelier"] .m-about { background: linear-gradient(180deg, #17140f, #100e0b); border-color: #d4bb8440; }
[data-theme="atelier"] .service-steps li { background: transparent; }
[data-theme="atelier"] .num-row > .num { font-style: italic; font-weight: 500; }
[data-theme="atelier"] .dock button[aria-pressed="true"] { border-radius: 2px; }

/* =========================================================================
   9a. DISTRITO 27 CHROME — contemporary urban reinvention
   Asphalt/graphite surfaces, bold condensed editorial type, sharp poster cards with
   hard offset shadows, stencil numbers and a halftone spray. The chrome cactus and
   violet orbit stay as the signature; violet + acid lime are used sparingly.
   ========================================================================= */
[data-theme="chrome"] {
  --bg: #17181a; --bg-2: #222427; --surface: #232528; --surface-2: #2d3034;
  --line: #f3f1ec24; --text: #f4f2ed; --muted: #b4b3ac;
  --accent: #c6ff1a; --accent-ink: #111214; --accent-2: #a463ff; --accent-3: #d2cfc6;
  --glow: #9b4dff40; --qr-ink: #111214;
  --font-display: Anton, Impact, "Arial Narrow", sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --font-label: "Barlow Condensed", "Arial Narrow", sans-serif;
  --title-weight: 400; --title-transform: uppercase; --title-spacing: .01em;
  --radius: 0; --card-radius: 0;
  --num-ratio: 1.05; --day-ratio: 1.9;
  --concrete: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E");
  --screen-bg: var(--concrete), linear-gradient(180deg, #26282b 0%, #17181a 60%);
  --ill-cactus: url(#g-chrome); --ill-stroke: #ffffff55; --ill-sw: 1;
  --ill-rib: #00000066; --ill-spine: #f4f2ed;
  --ill-rock: url(#g-rock); --ill-rock-stroke: #ffffff30;
  --ill-mtn: #c6ff1a33; --ill-accent: #c6ff1a;
}
[data-theme="chrome"] body { background-image: var(--concrete); }
/* presentation */
[data-theme="chrome"] .pitch h1 { font-size: clamp(50px, 6vw, 88px); line-height: .92; }
[data-theme="chrome"] .pitch h1 em { font-style: normal; color: var(--accent); text-shadow: 4px 4px 0 #9b4dff; }
[data-theme="chrome"] .eyebrow { font-size: 13px; letter-spacing: .18em; }
[data-theme="chrome"] .btn { border-radius: 0; font-family: var(--font-label); font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
[data-theme="chrome"] .btn-primary { box-shadow: 4px 4px 0 #9b4dff; }
[data-theme="chrome"] .btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #9b4dff; }
[data-theme="chrome"] .btn-ghost { border-width: 2px; }
[data-theme="chrome"] .topbar-cta, [data-theme="chrome"] .chip, [data-theme="chrome"] .d-next a { border-radius: 0; border-width: 2px; }
[data-theme="chrome"] .theme-opt { border-radius: 0; border-width: 2px; }
[data-theme="chrome"] .theme-opt[aria-checked="true"] { box-shadow: 4px 4px 0 var(--accent-2); }
[data-theme="chrome"] .orb-1 { background: #9b4dff; opacity: .2; }
[data-theme="chrome"] .orb-2 { background: #c6ff1a; opacity: .1; }
[data-theme="chrome"] .phone { --frame: linear-gradient(135deg, #9a9aa4 0%, #3c3c44 10%, #141417 40%, #24242a 68%, #75757f 90%, #c2c2cc 100%); }
/* member page: halftone spray in the corner + a faint stencil tag behind the logo */
[data-theme="chrome"] .member::before {
  height: 300px; background: radial-gradient(#9b4dff66 1.3px, transparent 1.8px) 0 0 / 9px 9px;
  -webkit-mask: radial-gradient(circle at 100% 0, #000 0, transparent 62%); mask: radial-gradient(circle at 100% 0, #000 0, transparent 62%);
}
[data-theme="chrome"] .member::after {
  content: "D27"; position: absolute; left: 0; right: 0; top: 40px; z-index: -1; pointer-events: none; text-align: center;
  font: 400 190px/1 var(--font-display); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 2px #c6ff1a1f; transform: rotate(-6deg);
}
[data-theme="chrome"] .logo-halo { display: none; }
[data-theme="chrome"] .logo { filter: drop-shadow(5px 5px 0 #0000009a); }
[data-theme="chrome"] .m-banner span {
  font: 400 27px/1 var(--font-display); text-transform: uppercase; letter-spacing: .02em;
  color: #111214; background: var(--accent); padding: 11px 22px 10px; transform: rotate(-2deg);
  box-shadow: 5px 5px 0 var(--accent-2); outline: 2px dashed #11121466; outline-offset: -6px;
}
[data-theme="chrome"] .cards { grid-template-columns: 1fr 1fr; grid-template-areas: "a a" "b c" "d e"; gap: 16px 14px; padding: 0 4px 6px 0; }
[data-theme="chrome"] .card-novedades { grid-area: a; --rot: 0deg; }
[data-theme="chrome"] .card-menu { grid-area: b; --rot: -.7deg; }
[data-theme="chrome"] .card-normas { grid-area: c; --rot: .7deg; }
[data-theme="chrome"] .card-bebidas { grid-area: d; --rot: .6deg; }
[data-theme="chrome"] .card-actividades { grid-area: e; --rot: -.6deg; }
[data-theme="chrome"] .card {
  --edge: var(--accent);
  container-type: inline-size; min-height: 156px; border: 2px solid #f4f2ed1c; border-radius: 0;
  background: var(--concrete), linear-gradient(160deg, #303338, #1f2124);
  box-shadow: 5px 5px 0 var(--edge);
}
[data-theme="chrome"] .card[data-accent="b"] { --edge: var(--accent-2); }
[data-theme="chrome"] .card[data-accent="c"] { --edge: #8d8f94; }
[data-theme="chrome"] .card:hover { border-color: var(--edge); box-shadow: 7px 7px 0 var(--edge); }
[data-theme="chrome"] .card-novedades { min-height: 176px; }
[data-theme="chrome"] .card-num {
  display: block; position: absolute; left: 12px; top: 10px; font: 400 36px/1 var(--font-display);
  color: transparent; -webkit-text-stroke: 1.5px var(--edge);
}
[data-theme="chrome"] .card-text { left: 12px; right: auto; top: auto; bottom: 12px; text-align: left; max-width: 74%; justify-items: start; gap: 6px; }
[data-theme="chrome"] .card-kicker { font: 600 12px/1 var(--font-label); letter-spacing: .12em; color: #111214; background: var(--accent-3); padding: 3px 6px 2px; }
[data-theme="chrome"] .card-title { font-size: clamp(22px, 15cqi, 32px); line-height: .95; white-space: nowrap; text-shadow: 3px 3px 0 #000; }
[data-theme="chrome"] .card-novedades .card-title { font-size: clamp(30px, 10cqi, 44px); }
[data-theme="chrome"] .card-art { left: auto; right: -8px; bottom: 0; width: 70%; height: 78%; transform-origin: bottom right; }
[data-theme="chrome"] .card-novedades .card-art { width: 50%; height: 100%; }
[data-theme="chrome"] .card-go { right: 0; bottom: 0; width: 34px; height: 34px; padding: 7px; background: var(--edge); color: #111214; }
[data-theme="chrome"] .card:hover .card-go { transform: none; }
[data-theme="chrome"] .card-shine { display: none; }
[data-theme="chrome"] .b-news, [data-theme="chrome"] .b-list, [data-theme="chrome"] .b-rules, [data-theme="chrome"] .b-agenda { border-width: 2px; background: var(--concrete), var(--surface); }
[data-theme="chrome"] .b-news time { border-radius: 0; font-family: var(--font-display); font-weight: 400; font-size: 15px; box-shadow: 3px 3px 0 var(--accent-2); }
[data-theme="chrome"] .b-list h3, [data-theme="chrome"] .d-kicker { font-size: 14px; letter-spacing: .14em; }
[data-theme="chrome"] .d-title { font-size: 56px; text-shadow: 4px 4px 0 #9b4dff; }
[data-theme="chrome"] .qr-card { border: 2px dashed #c6ff1a99; }
[data-theme="chrome"] .demo-badge { background: var(--accent-2); color: #fff; border-radius: 0; }
[data-theme="chrome"] .qr-tile { border-radius: 0; box-shadow: 5px 5px 0 var(--accent-2); }
[data-theme="chrome"] .m-about { background: var(--concrete), linear-gradient(160deg, #2a1350, #232528 75%); border: 2px solid #9b4dff66; }
[data-theme="chrome"] .m-about h2, [data-theme="chrome"] .qr-head h2 { font-size: 30px; }
[data-theme="chrome"] .service-steps li { border-width: 2px; }
[data-theme="chrome"] .dock button[aria-pressed="true"] { border-radius: 0; }
[data-theme="chrome"] .dock { border-radius: 0; }

@media (max-width: 560px) {
  [data-theme="atelier"] .pitch h1 { font-size: clamp(44px, 13vw, 60px); }
  [data-theme="chrome"] .pitch h1 { font-size: clamp(46px, 14vw, 64px); }
}

/* =========================================================================
   9d. NEON GARDEN — outlined neon line art, glass bento grid, mono labels
   ========================================================================= */
[data-theme="neon"] {
  --bg: #020b08; --bg-2: #04201a; --surface: #06150f; --surface-2: #0a2219;
  --line: #4dffc22b; --text: #ecfff8; --muted: #8fc2b0;
  --accent: #3dffb4; --accent-ink: #01120b; --accent-2: #ff3dcb; --accent-3: #c9d6d2;
  --glow: #3dffb455; --qr-ink: #032118;
  --font-display: Unbounded, "Arial Black", Arial, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --font-label: "Space Mono", ui-monospace, Menlo, monospace;
  --title-weight: 700; --title-transform: none; --title-spacing: -.02em;
  --radius: 14px; --card-radius: 10px;
  --num-ratio: 1.85; --day-ratio: 3.1;
  --screen-bg:
    radial-gradient(90% 50% at 50% 0%, #0b3a2c 0%, transparent 70%),
    linear-gradient(180deg, #03140f 0%, #020b08 100%);
  --hero-bg: none;
  --card-bg: linear-gradient(160deg, #0c2a20cc, #04120ecc);
  --ill-cactus: #3dffb40f;
  --ill-stroke: #3dffb4; --ill-sw: 2;
  --ill-rib: #3dffb499;
  --ill-spine: #c9d6d2;
  --ill-rock: none; --ill-rock-stroke: #c9d6d299;
  --ill-mtn: #ff3dcb22;
  --ill-accent: #ff3dcb;
  --sun-fill-op: .08; --sun-stroke-op: 1; --sun-dash: 3 5;
}
[data-theme="neon"] .pitch h1 { font-size: clamp(36px, 4.8vw, 66px); line-height: 1.02; }
[data-theme="neon"] .phone { --frame: linear-gradient(135deg, #f1f6f4 0%, #8c9c96 10%, #2a3430 40%, #46534e 68%, #b9c9c3 90%, #ffffff 100%); }
[data-theme="neon"] .member::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: .5;
  background-image: linear-gradient(#3dffb412 1px, transparent 1px), linear-gradient(90deg, #3dffb412 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask: linear-gradient(#000, transparent 60%); mask: linear-gradient(#000, transparent 60%);
}
[data-theme="neon"] .logo-halo { background: radial-gradient(circle, #3dffb455, transparent 66%); width: 220px; height: 220px; margin: -110px 0 0 -110px; }
[data-theme="neon"] .logo { filter: drop-shadow(0 0 1px #3dffb4) drop-shadow(0 0 18px #3dffb455); }
[data-theme="neon"] .m-banner span {
  font-family: var(--font-label); font-weight: 700; font-size: 13px; letter-spacing: .3em; text-transform: uppercase;
  background: none; color: var(--accent); padding: 8px 4px; position: relative;
}
[data-theme="neon"] .m-banner span::before { content: "[ "; color: var(--accent-2); }
[data-theme="neon"] .m-banner span::after { content: " ]"; color: var(--accent-2); }
[data-theme="neon"] .m-banner { position: relative; }
[data-theme="neon"] .m-banner::after {
  content: ""; position: absolute; left: 22%; right: 22%; bottom: -2px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent); animation: scan 3s ease-in-out 2;
}
[data-theme="neon"] .cards { grid-template-columns: 1.05fr 1fr; grid-template-areas: "a b" "a c" "d e"; gap: 10px; }
[data-theme="neon"] .card-novedades { grid-area: a; }
[data-theme="neon"] .card-menu { grid-area: b; }
[data-theme="neon"] .card-normas { grid-area: c; }
[data-theme="neon"] .card-bebidas { grid-area: d; }
[data-theme="neon"] .card-actividades { grid-area: e; }
[data-theme="neon"] .card {
  container-type: inline-size;
  min-height: 132px; backdrop-filter: blur(10px);
  border-color: #3dffb430; box-shadow: inset 0 1px 0 #c9d6d233;
}
[data-theme="neon"] .card:hover { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 30px -6px #3dffb488; }
[data-theme="neon"] .card[data-accent="b"]:hover { border-color: var(--accent-2); box-shadow: 0 0 0 1px var(--accent-2), 0 0 30px -6px #ff3dcb88; }
[data-theme="neon"] .card-num { display: block; position: absolute; left: 12px; top: 12px; font-family: var(--font-label); font-size: 11px; color: var(--accent-2); letter-spacing: .1em; }
[data-theme="neon"] .card-num::before { content: "/"; opacity: .6; }
[data-theme="neon"] .card-text { left: 10px; right: 10px; top: auto; bottom: 12px; text-align: left; max-width: none; }
[data-theme="neon"] .card-title { font-size: clamp(12px, 9.4cqi, 17px); }
[data-theme="neon"] .card-kicker { font-size: 9.5px; color: var(--muted); }
[data-theme="neon"] .card-art { left: auto; right: -6px; top: 4px; bottom: auto; width: 74%; height: 62%; transform-origin: top right; }
[data-theme="neon"] .card[data-accent="b"] { --ill-stroke: #ff3dcb; --ill-rib: #ff3dcb99; --ill-cactus: #ff3dcb0f; }
[data-theme="neon"] .card-art, [data-theme="neon"] .d-art { filter: drop-shadow(0 0 4px #3dffb4aa); }
[data-theme="neon"] .card[data-accent="b"] .card-art { filter: drop-shadow(0 0 4px #ff3dcbaa); }
[data-theme="neon"] .card-novedades .card-art { width: 100%; height: 62%; top: 34px; }
[data-theme="neon"] .card-novedades .card-title { font-size: clamp(13px, 10.6cqi, 20px); }
[data-theme="neon"] .card-go { right: 10px; top: 10px; bottom: auto; width: 22px; height: 22px; transform: rotate(-45deg); }
[data-theme="neon"] .card:hover .card-go { transform: rotate(-45deg) translateX(3px); }
[data-theme="neon"] .card-actividades .card-art { width: 100%; }
[data-theme="neon"] .qr-card { border-style: solid; border-color: #3dffb440; background: #06150fcc; }
[data-theme="neon"] .qr-head h2, [data-theme="neon"] .m-about h2 { font-size: 18px; line-height: 1.15; }
[data-theme="neon"] .demo-badge { background: transparent; color: var(--accent-2); border: 1px solid var(--accent-2); }
[data-theme="neon"] .b-news time { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
[data-theme="neon"] .btn-primary { box-shadow: 0 0 0 1px #3dffb4, 0 0 26px -4px #3dffb4aa; }
@media (max-width: 560px) { [data-theme="neon"] .pitch h1 { font-size: clamp(32px, 9.5vw, 44px); } }

/* =========================================================================
   12. PREMIUM MOTION — one system, three personalities
   Everything animates transform / opacity / clip-path only (GPU-friendly, no layout shift).
   The logo is never animated. prefers-reduced-motion gets a calm static page (section 11).
   ========================================================================= */
:root { --ease-out: cubic-bezier(.16,1,.3,1); --m-dur: .9s; --m-step: 90ms; }
[data-theme="chrome"]  { --ease-out: cubic-bezier(.2,.9,.1,1);  --m-dur: .65s; --m-step: 70ms; }  /* snappy, poster cuts */
[data-theme="neon"]    { --ease-out: cubic-bezier(.22,1,.36,1); --m-dur: .85s; --m-step: 85ms; }  /* glowing drift */
[data-theme="atelier"] { --ease-out: cubic-bezier(.3,.1,.1,1);  --m-dur: 1.2s; --m-step: 120ms; } /* slow couture fades */

/* Hero entrance: content is visible without JS; with JS it rises in once */
html.js .hero-in { opacity: 0; transform: translateY(28px); }
html.js.ready .hero-in {
  opacity: 1; transform: none;
  transition: opacity var(--m-dur) var(--ease-out), transform calc(var(--m-dur) * 1.2) var(--ease-out);
  transition-delay: calc(var(--d, 0) * var(--m-step) + 60ms);
}
html.js .device.hero-in { transform: translateY(60px) scale(.96); }
html.js:not(.ready) .phone-tilt { --tilt-y: -24deg; --tilt-x: 12deg; --tilt-z: 2deg; }
.split-lines .line { display: block; overflow: hidden; padding: 0 .12em .1em 0; margin-bottom: -.1em; }
.split-lines .line > span { display: inline-block; }
html.js .split-lines .line > span { transform: translateY(110%); }
html.js.ready .split-lines .line > span {
  transform: none; transition: transform calc(var(--m-dur) * 1.3) var(--ease-out);
  transition-delay: calc((var(--l) + 2) * var(--m-step) + 60ms);
}
html.hero-done .split-lines .line { overflow: visible; }

/* Scroll reveals */
html.js [data-reveal] { opacity: 0; transform: translateY(34px); }
html.js [data-reveal].in {
  opacity: 1; transform: none;
  transition: opacity var(--m-dur) var(--ease-out), transform calc(var(--m-dur) * 1.2) var(--ease-out), border-color .3s;
  transition-delay: calc(var(--d, 0) * var(--m-step));
}
html.js .service-steps li[data-reveal].in:hover { transform: translateY(-3px); transition-delay: 0s; }

/* Theme change: the new theme opens as a circle from the control you pressed */
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: vtReveal .8s cubic-bezier(.65,0,.35,1) both; }
@keyframes vtReveal {
  from { clip-path: circle(0 at var(--vt-x, 50%) var(--vt-y, 50%)); }
  to   { clip-path: circle(var(--vt-r, 150vmax) at var(--vt-x, 50%) var(--vt-y, 50%)); }
}

/* Card press ripple (accent-tinted per theme) */
.ripple {
  position: absolute; z-index: 2; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; pointer-events: none;
  background: var(--accent); opacity: .32; transform: scale(0); animation: ripple .75s var(--ease-out) forwards;
}
[data-theme="atelier"] .ripple { opacity: .16; }
[data-theme="chrome"] .ripple { border-radius: 0; opacity: .28; }
@keyframes ripple { to { transform: scale(46); opacity: 0; } }

/* QR demo reveal: tile flips up, modules draw in diagonally, one scan sweep */
.qr-tile { overflow: hidden; }
html.js .qr-card:not(.qr-revealed) .qr-tile { opacity: 0; transform: perspective(600px) rotateX(28deg) scale(.88); }
html.js .qr-card.qr-revealed .qr-tile { transition: opacity .6s var(--ease-out), transform 1s var(--ease-out); }
.qr-tile::after {
  content: ""; position: absolute; left: 0; right: 0; top: -30%; height: 30%; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 55%, transparent), transparent);
}
.qr-card.qr-revealed .qr-tile::after { animation: qrScan 1.1s .35s var(--ease-out) 1; }
@keyframes qrScan { 0% { top: -30%; opacity: 1; } 100% { top: 100%; opacity: 0; } }
html.js .qr-card:not(.qr-revealed) .qr-actions .chip, html.js .qr-card:not(.qr-revealed) .qr-note { opacity: 0; transform: translateY(10px); }
.qr-card.qr-revealed .qr-actions .chip, .qr-card.qr-revealed .qr-note { transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), border-color .25s, background-color .25s; }
.qr-card.qr-revealed .qr-note { transition-delay: .5s; }
.qr-card.qr-revealed .chip:nth-child(1) { transition-delay: .6s; }
.qr-card.qr-revealed .chip:nth-child(2) { transition-delay: .68s; }
.qr-card.qr-revealed .chip:nth-child(3) { transition-delay: .76s; }

/* Backdrop parallax (driven by scroll in app.js) */
.orb { will-change: translate; }
@media (prefers-reduced-motion: reduce) {
  html.js .hero-in, html.js [data-reveal], html.js .split-lines .line > span,
  html.js .qr-card .qr-tile, html.js .qr-card .chip, html.js .qr-card .qr-note { opacity: 1 !important; transform: none !important; }
  html.js:not(.ready) .phone-tilt { --tilt-y: -8deg; --tilt-x: 3deg; --tilt-z: .6deg; }
  .ripple, .qr-tile::after { display: none; }
  ::view-transition-new(root) { animation: none; }
}
