/* Luxmore website — visual language from the Luxmore iPad and phone app:
   charcoal rail, warm ivory canvas, gold accents, thin wordmark, soft rounded cards. */
.site-header.scrolled.on-dark { background: rgba(16,17,19,.82) !important; box-shadow: 0 1px 0 rgba(255,255,255,.06) !important; }
.site-header.scrolled.on-dark .brand img { filter: brightness(0) invert(1) !important; }
.site-header.scrolled.on-dark .nav a { color: rgba(255,255,255,.78) !important; }
.site-header.scrolled.on-dark .dealer-link { color: #d5b56d !important; border-color: rgba(213,181,109,.55) !important; }
.site-header.scrolled.on-dark .dealer-link:hover { color: #1a1408 !important; background: #d5b56d !important; }
.site-header.scrolled.on-dark .menu-toggle span { background: #fff !important; }
:root {
  --ink: #141618;
  --ink-2: #1c1f22;
  --ink-3: #262a2e;
  --ivory: #f6f3ee;
  --ivory-2: #efe9e0;
  --paper: #fbfaf7;
  --line: #e2dbcf;
  --text: #1d2125;
  --text-2: #5d6268;
  --muted: #8a8f94;
  --gold: #b58a31;
  --gold-2: #d5b56d;
  --gold-soft: rgba(181, 138, 49, .14);
  --blue: #2168b2;
  --font: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text); background: var(--ivory); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 300; letter-spacing: -.025em; line-height: 1.08; }
h2 { font-size: clamp(34px, 4.4vw, 58px); }
h3 { font-size: 22px; font-weight: 400; letter-spacing: -.01em; }
em { font-style: normal; color: var(--gold-2); }
.wrap { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 10px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

.eyebrow { margin: 0 0 18px; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 500; }
.gold-text { color: var(--gold); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; color: rgba(255,255,255,.72); margin: 24px 0 0; max-width: 560px; }
.lead.dark { color: var(--text-2); }
.center .lead { margin-left: auto; margin-right: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px; border-radius: 999px; font-size: 15px; font-weight: 500; letter-spacing: .01em; transition: transform .3s var(--ease), background .3s, box-shadow .3s, color .3s; border: 1px solid transparent; }
.btn.gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1408; box-shadow: 0 12px 30px rgba(181,138,49,.28); }
.btn.gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(181,138,49,.38); }
.btn.ghost-light { border-color: rgba(255,255,255,.28); color: #fff; }
.btn.ghost-light:hover { background: rgba(255,255,255,.08); }

/* Header ----------------------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, box-shadow .4s, backdrop-filter .4s; }
.header-inner { height: 84px; display: flex; align-items: center; gap: 36px; }
.brand img { width: 150px; height: auto; filter: brightness(0) invert(1); transition: filter .4s; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font-size: 14px; color: rgba(255,255,255,.78); position: relative; padding: 6px 0; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-2); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }
.dealer-link { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(213,181,109,.55); color: var(--gold-2); font-size: 14px; font-weight: 500; transition: background .3s, color .3s, border-color .3s; white-space: nowrap; }
.dealer-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.dealer-link:hover { background: var(--gold-2); color: #1a1408; border-color: var(--gold-2); }
.site-header.scrolled { background: rgba(246,243,238,.86); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.site-header.scrolled .brand img { filter: brightness(0); }
.site-header.scrolled .nav a { color: var(--text-2); }
.site-header.scrolled .nav a:hover { color: var(--text); }
.site-header.scrolled .dealer-link { color: var(--gold); border-color: rgba(181,138,49,.5); }
.site-header.scrolled .dealer-link:hover { color: #fff; background: var(--gold); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: #fff; transition: transform .3s, top .3s; }
.menu-toggle span:first-child { top: 17px; } .menu-toggle span:last-child { top: 26px; }
.site-header.scrolled .menu-toggle span { background: var(--text); }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; min-height: 100vh; background: radial-gradient(120% 90% at 75% 20%, #2a2e32 0%, #17191b 45%, #0e0f10 100%); color: #fff; overflow: hidden; padding: 140px 0 110px; display: flex; align-items: center; }
.hero-glow { position: absolute; width: 900px; height: 900px; right: -200px; top: -250px; background: radial-gradient(circle, rgba(213,181,109,.22), transparent 62%); filter: blur(10px); animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .75; } }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(46px, 6vw, 84px); font-weight: 200; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-facts { display: flex; gap: 40px; margin: 56px 0 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-facts dt { font-size: 20px; font-weight: 300; }
.hero-facts dd { margin: 4px 0 0; font-size: 13px; color: rgba(255,255,255,.55); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; border-radius: 2px; background: var(--gold-2); transform: translateX(-50%); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 14px); } 100% { opacity: 0; } }

/* Devices ------------------------------------------------------------------ */
.hero-devices { position: relative; height: 560px; perspective: 1600px; }
.ipad { position: absolute; right: -10px; top: 30px; width: 600px; aspect-ratio: 4 / 3; padding: 16px; border-radius: 38px; background: linear-gradient(145deg, #3a3d40, #121314 60%); box-shadow: 0 60px 120px rgba(0,0,0,.6), inset 0 0 0 1.5px rgba(255,255,255,.08), inset 0 0 0 7px #0b0b0c; transform: rotateY(-14deg) rotateX(6deg); transform-style: preserve-3d; animation: float 8s ease-in-out infinite; }
@keyframes float { 50% { transform: rotateY(-12deg) rotateX(5deg) translateY(-10px); } }
.ipad::after { content: ""; position: absolute; inset: 16px; border-radius: 22px; background: linear-gradient(120deg, rgba(255,255,255,.1), transparent 40%); pointer-events: none; }
.ipad-screen { width: 100%; height: 100%; border-radius: 22px; overflow: hidden; }
.phone { position: absolute; left: -24px; bottom: -10px; width: 210px; aspect-ratio: 9 / 19.3; padding: 10px; border-radius: 44px; background: linear-gradient(145deg, #3c3f42, #0f1011 60%); box-shadow: 0 50px 90px rgba(0,0,0,.65), inset 0 0 0 1.5px rgba(255,255,255,.1), inset 0 0 0 5px #0b0b0c; transform: rotateY(10deg) rotateX(4deg); animation: float2 8s ease-in-out infinite 1.2s; z-index: 2; }
@keyframes float2 { 50% { transform: rotateY(8deg) rotateX(3deg) translateY(-14px); } }
.phone-screen { width: 100%; height: 100%; border-radius: 35px; overflow: hidden; position: relative; }

/* App rendering (mirrors the Luxmore customer app) --------------------------- */
.app { display: flex; background: #f2f0ec; color: #1d2125; font-size: 10px; }
.app-rail { width: 23%; background: #141618; color: #b9bdc1; display: flex; flex-direction: column; padding: 18px 8px 12px; }
.app-logo { width: 72%; margin: 4px auto 18px; filter: brightness(0) invert(1); opacity: .95; }
.app-rail ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.app-rail li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; font-size: 10px; }
.app-rail li.on { background: #2a2e32; color: #fff; }
.rail-foot { margin-top: auto; font-size: 8px; color: #6f7478; text-align: center; }
.app-main { flex: 1; padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.banner { display: flex; justify-content: space-between; align-items: flex-end; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, #2a2620, #4a3c26 55%, #8b6a33); color: #fff; }
.banner small { font-size: 8px; color: rgba(255,255,255,.7); display: block; }
.banner strong { display: block; font-size: 20px; font-weight: 300; margin: 2px 0; }
.banner .muted { font-size: 8.5px; color: rgba(255,255,255,.65); }
.weather { text-align: right; display: grid; justify-items: end; gap: 2px; }
.weather b { font-size: 20px; font-weight: 300; }
.sun { width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle, #ffe6a6 40%, rgba(255,230,166,0) 72%); box-shadow: 0 0 12px #ffd57a; }
.chips { display: flex; gap: 5px; overflow: hidden; }
.chips span { white-space: nowrap; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid #e3dfd7; font-size: 8.5px; color: #4b5056; }
.chips span.on { background: #1d2125; color: #fff; border-color: #1d2125; }
.tiles { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 8px; }
.tile { background: #fbfaf7; border: 1px solid #e7e3db; border-radius: 12px; padding: 9px 10px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tile header { display: flex; align-items: center; gap: 6px; font-size: 9px; color: #5d6268; }
.tile b { font-size: 14px; font-weight: 400; margin-top: auto; }
.tile small { font-size: 8px; color: #8a8f94; }
.tile.dark { background: #1d2125; border-color: #1d2125; color: #fff; }
.tile.dark header, .tile.dark small { color: #a7acb1; }
.pwr { margin-left: auto; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #c9c4ba; }
.pwr.on { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33,104,178,.15); }
.mini-bar { height: 4px; border-radius: 4px; background: #e6e1d8; overflow: hidden; }
.mini-bar span { display: block; height: 100%; background: var(--gold); border-radius: 4px; }
.scene-row { display: flex; gap: 4px; margin-top: auto; flex-wrap: wrap; }
.scene-row span { padding: 4px 7px; border-radius: 7px; background: #efebe4; font-size: 8px; }
.scene-row span.on { background: var(--gold); color: #fff; }

/* App icons (CSS-drawn, thin-line style like the app) */
.ic { display: inline-block; width: 13px; height: 13px; flex: none; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ic.gold { color: var(--gold); }
.ic-home { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M3 11 12 4l9 7v9H3z'/%3E%3Cpath d='M10 20v-6h4v6'/%3E%3C/svg%3E"); }
.ic-light { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M12 3v4M6 13a6 6 0 0 1 12 0z'/%3E%3Cpath d='M9 16l-1 3M15 16l1 3M12 16v4'/%3E%3C/svg%3E"); }
.ic-curtain { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Crect x='3' y='3' width='18' height='18' rx='1'/%3E%3Cpath d='M3 8h18M3 13h18M9 3v18M15 3v18'/%3E%3C/svg%3E"); }
.ic-climate { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M12 2v20M4 7l16 10M20 7 4 17'/%3E%3Cpath d='m9 3 3 3 3-3M9 21l3-3 3 3'/%3E%3C/svg%3E"); }
.ic-media { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Crect x='2' y='4' width='20' height='13' rx='2'/%3E%3Cpath d='M8 21h8M10 8.5v5l4-2.5z'/%3E%3C/svg%3E"); }
.ic-music { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M9 18V5l11-2v13'/%3E%3Ccircle cx='6.5' cy='18' r='2.5'/%3E%3Ccircle cx='17.5' cy='16' r='2.5'/%3E%3C/svg%3E"); }
.ic-scene { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M12 3l2 5 5 2-5 2-2 5-2-5-5-2 5-2z'/%3E%3C/svg%3E"); }
.ic-shield { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M12 3 4 6v6c0 5 8 9 8 9s8-4 8-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.ic-volume { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z'/%3E%3Cpath d='M16 9a4 4 0 0 1 0 6M18.5 6.5a8 8 0 0 1 0 11'/%3E%3C/svg%3E"); }

/* Phone app (light dial) */
.light-app { flex-direction: column; background: #f2f0ec; padding: 34px 14px 0; }
.island { position: absolute; top: 10px; left: 50%; width: 70px; height: 20px; border-radius: 12px; background: #050505; transform: translateX(-50%); }
.ph-head small { font-size: 8px; letter-spacing: .2em; color: var(--gold); }
.ph-head b { display: block; font-size: 17px; font-weight: 400; margin-top: 2px; }
.ph-dial { position: relative; margin: 6px auto 0; width: 82%; }
.ph-dial svg { display: block; width: 100%; }
.ph-dial-val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ph-dial-val b { font-size: 26px; font-weight: 300; }
.ph-dial-val small { font-size: 8px; color: var(--muted); }
.ph-scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 4px; }
.ph-scenes span { text-align: center; padding: 6px 0; border-radius: 8px; background: #fff; border: 1px solid #e5e1d9; font-size: 8px; }
.ph-scenes span.on { background: var(--gold); color: #fff; border-color: var(--gold); }
.ph-loads { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.ph-loads div { display: flex; align-items: center; gap: 5px; padding: 9px 8px; border-radius: 10px; background: #fbfaf7; border: 1px solid #e7e3db; font-size: 9px; }
.ph-loads .pwr { width: 12px; height: 12px; }
.ph-loads .pwr.on { background: #0891b2; border-color: #0891b2; box-shadow: none; }
.ph-bar { margin: auto -14px 0; padding: 12px 18px 20px; background: #fbfaf7; border-top: 1px solid #e7e3db; display: flex; justify-content: space-between; color: #8a8f94; }
.ph-bar .ic { width: 16px; height: 16px; }
.ph-bar .sel { color: #0891b2; }

/* Dial (shared by phone and demo) */
.dial-track { fill: none; stroke: #e2ddd3; stroke-width: 12; stroke-linecap: round; }
.dial-fill { fill: none; stroke: var(--gold); stroke-width: 12; stroke-linecap: round; transition: stroke-dasharray .45s var(--ease); }

/* Sections ---------------------------------------------------------------- */
.section { padding: clamp(90px, 11vw, 150px) 0; position: relative; }
.intro { background: var(--ivory); }
.intro h2 { color: var(--text); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 70px; }
.pillar { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(60,45,20,.08); border-color: rgba(181,138,49,.4); }
.p-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--gold-soft); color: var(--gold); margin-bottom: 22px; }
.p-ic .ic { width: 24px; height: 24px; }
.pillar p { margin: 10px 0 0; color: var(--text-2); font-size: 15px; }

/* Light demo */
.feature { background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-2) 100%); }
.feature-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.feature-copy p:not(.eyebrow) { color: var(--text-2); font-size: 18px; margin: 22px 0 0; max-width: 460px; }
.scene-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.scene-buttons button { height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); font-size: 14px; transition: all .3s var(--ease); }
.scene-buttons button:hover { border-color: var(--gold); }
.scene-buttons button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.light-demo { position: relative; }
.room { position: relative; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 90px rgba(40,30,15,.18); aspect-ratio: 3 / 2; background: #111; }
.room-art { width: 100%; height: 100%; display: block; }
.room-glow { position: absolute; inset: 0; background: radial-gradient(60% 70% at 69% 22%, rgba(255,214,140,.65), transparent 70%); opacity: var(--lvl); mix-blend-mode: soft-light; transition: opacity .6s var(--ease); }
.room-dark { position: absolute; inset: 0; background: #0b1020; opacity: calc(.82 - var(--lvl) * .82); transition: opacity .6s var(--ease); }
.bulb { filter: drop-shadow(0 0 18px #ffd27a); }
.dial-card { position: absolute; right: -24px; bottom: -40px; width: 230px; padding: 18px; border-radius: 28px; background: rgba(251,250,247,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 70px rgba(30,20,10,.22); border: 1px solid rgba(255,255,255,.7); }
.dial { position: relative; touch-action: none; cursor: grab; user-select: none; border-radius: 50%; }
.dial:active { cursor: grabbing; }
.dial svg { display: block; width: 100%; overflow: visible; }
.dial-knob { fill: #fff; stroke: var(--gold); stroke-width: 3; filter: drop-shadow(0 2px 4px rgba(0,0,0,.2)); }
.dial-val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.dial-val b { font-size: 40px; font-weight: 200; letter-spacing: -.03em; }
.dial-val small { font-size: 11px; color: var(--muted); }

/* Climate & curtains */
.duo { background: var(--ivory-2); padding-top: clamp(60px, 7vw, 100px); }
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card { background: var(--paper); border: 1px solid var(--line); border-radius: 32px; padding: 40px; display: flex; flex-direction: column; gap: 34px; }
.duo-head h3 { font-size: clamp(24px, 2.3vw, 32px); font-weight: 300; max-width: 420px; }
.climate { display: grid; justify-items: center; gap: 26px; }
.thermo { position: relative; width: min(280px, 100%); aspect-ratio: 1; }
.thermo svg { width: 100%; transform: rotate(135deg); }
.thermo-track { fill: none; stroke: #ebe6dc; stroke-width: 14; stroke-dasharray: 75 100; stroke-linecap: round; }
.thermo-fill { fill: none; stroke: url(#tgrad); stroke-width: 14; stroke-linecap: round; stroke-dasharray: calc(var(--t) * 75) 100; transition: stroke-dasharray .5s var(--ease); }
.thermo-val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.thermo-val b { font-size: 60px; font-weight: 200; letter-spacing: -.04em; line-height: 1; margin: 6px 0; }
.thermo-val small { font-size: 12px; color: var(--muted); }
.thermo-ctrls { display: flex; align-items: center; gap: 16px; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 22px; color: var(--text); transition: all .3s var(--ease); }
.round:hover { border-color: var(--gold); color: var(--gold); }
.modes { display: flex; padding: 4px; border-radius: 999px; background: var(--ivory-2); }
.modes button { border: 0; background: none; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 13px; color: var(--text-2); transition: all .3s; }
.modes button.on { background: #fff; color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.curtain-demo { display: grid; gap: 22px; }
.window { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: #e9e3d8; border: 10px solid #e4dccf; }
.sky { position: absolute; inset: 0; background: linear-gradient(180deg, #f3b98a 0%, #f6d7a7 45%, #b7c5d0 100%); }
.sunset { position: absolute; left: 50%; top: 48%; width: 110px; height: 110px; margin-left: -55px; border-radius: 50%; background: radial-gradient(circle, #fff1cc 30%, rgba(255,226,170,0) 70%); }
.hill { position: absolute; left: -10%; right: 20%; bottom: -40%; height: 70%; border-radius: 50%; background: #7d8f88; }
.hill.b { left: 35%; right: -20%; bottom: -46%; background: #66786f; }
.panel { position: absolute; top: 14px; bottom: 0; width: calc((1 - var(--open)) * 50% + 6%); background: repeating-linear-gradient(90deg, #d9cdb9 0 14px, #cdbfa8 14px 22px, #e2d8c6 22px 30px); box-shadow: inset 0 -30px 40px rgba(0,0,0,.06); transition: width 1.4s var(--ease); }
.panel.left { left: 0; border-right: 1px solid rgba(0,0,0,.06); }
.panel.right { right: 0; border-left: 1px solid rgba(0,0,0,.06); }
.rail { position: absolute; top: 4px; left: 0; right: 0; height: 10px; background: linear-gradient(#3b3e41, #1f2124); border-radius: 4px; }
.curtain-ctrls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.curtain-ctrls > button { height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; transition: all .3s; }
.curtain-ctrls > button:hover { border-color: var(--gold); color: var(--gold); }
.slider-label { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 220px; font-size: 13px; color: var(--text-2); }
.slider-label input { flex: 1; accent-color: var(--gold); }
.slider-label output { min-width: 38px; text-align: right; font-variant-numeric: tabular-nums; color: var(--text); }

/* Media */
.media-sec { background: radial-gradient(90% 80% at 20% 30%, #2a2d31 0%, #15171a 55%, #0d0e0f 100%); color: #fff; overflow: hidden; }
.media-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.media-copy p:not(.eyebrow) { color: rgba(255,255,255,.7); font-size: 18px; margin: 22px 0 0; max-width: 470px; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.checks li { padding-left: 30px; position: relative; color: rgba(255,255,255,.82); }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 1.5px solid var(--gold-2); border-bottom: 1.5px solid var(--gold-2); transform: rotate(-45deg); }
.media-visual { position: relative; height: 520px; }
.ipad.small { position: absolute; width: 560px; top: 0; right: 0; animation: none; transform: rotateY(-10deg) rotateX(4deg); }
.dark-app { background: #121416; color: #e8eaec; flex-direction: column; }
.cinema { padding: 18px; display: flex; flex-direction: column; gap: 14px; height: 100%; }
.cin-head { display: flex; align-items: baseline; gap: 10px; }
.cin-head small { font-size: 8px; letter-spacing: .2em; color: var(--gold-2); }
.cin-head b { font-size: 17px; font-weight: 400; }
.power-chip { margin-left: auto; font-size: 8px; padding: 5px 10px; border-radius: 999px; border: 1px solid #3a3e42; color: #c0c4c8; }
.sources { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.src { display: grid; gap: 6px; justify-items: center; position: relative; }
.src small { font-size: 8.5px; color: #a7acb1; }
.src em { position: absolute; top: -6px; right: 4px; font-size: 7px; padding: 2px 6px; border-radius: 999px; background: #1f5132; color: #8fe0ad; font-style: normal; }
.src-art { width: 100%; aspect-ratio: 16 / 10; border-radius: 10px; background: #2a2e32; border: 1px solid #33373b; }
.src.run .src-art { outline: 1.5px solid var(--gold-2); outline-offset: 2px; }
.src-art.a { background: linear-gradient(135deg, #1b2a44, #3c5a8a); }
.src-art.b { background: linear-gradient(135deg, #3b2a1d, #8a5a2e); }
.src-art.c { background: linear-gradient(135deg, #1f1f2b, #4a4a6e); }
.src-art.d { background: linear-gradient(135deg, #1c3a33, #2f7a63); }
.np { display: flex; gap: 14px; align-items: center; margin-top: auto; padding: 12px; border-radius: 14px; background: #1b1e21; }
.np-art { width: 74px; aspect-ratio: 2 / 3; border-radius: 6px; background: linear-gradient(160deg, #0e2a3d, #1b5a7a 45%, #e3a35a); flex: none; }
.np b { font-size: 13px; font-weight: 400; display: block; }
.np small { font-size: 8.5px; color: #8e949c; }
.seek { height: 3px; border-radius: 3px; background: #3a3e42; margin-top: 10px; width: 200px; max-width: 100%; }
.seek span { display: block; height: 100%; background: #8e949c; border-radius: 3px; }
.vol { display: flex; align-items: center; gap: 10px; color: #a7acb1; font-size: 8px; }
.vol-bar { flex: 1; height: 5px; border-radius: 5px; background: #2e3236; }
.vol-bar span { display: block; height: 100%; border-radius: 5px; background: var(--blue); }
.music-card { position: absolute; left: 0; bottom: 0; width: 300px; display: flex; gap: 16px; padding: 16px; border-radius: 24px; background: rgba(251,250,247,.96); color: var(--text); box-shadow: 0 40px 80px rgba(0,0,0,.5); z-index: 2; }
.mc-art { width: 96px; aspect-ratio: 1; border-radius: 14px; background: linear-gradient(140deg, #2c2016, #8b6a33 55%, #e8c27a); display: grid; place-items: center; flex: none; }
.mc-art span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); box-shadow: 0 0 0 8px rgba(255,255,255,.12); }
.mc-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pill { align-self: flex-start; font-size: 10px; padding: 2px 9px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); margin-bottom: 4px; }
.mc-body b { font-weight: 500; }
.mc-body small { color: var(--muted); font-size: 12px; }
.mc-ctrls { display: flex; gap: 14px; align-items: center; margin-top: 8px; font-size: 13px; color: var(--text-2); }
.mc-ctrls .play { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 9px; }
.eq { display: flex; gap: 3px; align-items: flex-end; height: 14px; margin-top: 8px; }
.eq i { width: 3px; background: var(--gold); border-radius: 2px; animation: eq 1.1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: .2s; } .eq i:nth-child(3) { animation-delay: .4s; } .eq i:nth-child(4) { animation-delay: .1s; } .eq i:nth-child(5) { animation-delay: .3s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 14px; } }

/* Local-first */
.local { background: var(--ink); color: #fff; }
.local-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.local-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 18px; }
.local-list li { padding-left: 22px; border-left: 1px solid rgba(213,181,109,.4); color: rgba(255,255,255,.66); font-size: 15px; }
.local-list b { color: #fff; font-weight: 500; display: block; margin-bottom: 2px; }
.diagram svg { width: 100%; }
.d-title { font: 300 22px var(--font); fill: #fff; letter-spacing: .1em; }
.d-small { font: 11px var(--font); fill: #8a8f94; letter-spacing: .04em; }
.node rect { fill: #1c1f22; stroke: #34383c; }
.node text { font: 11px var(--font); fill: #c9cdd1; }
.led { fill: #55c98b; animation: led 2.4s ease-in-out infinite; }
@keyframes led { 50% { opacity: .35; } }
.flow { stroke-dasharray: 4 6; animation: flow 1.6s linear infinite; }
.flow-dash { animation: flow 2.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -20; } }

/* Plans */
.apps { background: var(--ivory); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 38px 34px; transition: transform .5s var(--ease), box-shadow .5s; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(60,45,20,.08); }
.plan.featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan-tag { margin: 0 0 14px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.plan.featured .plan-tag { color: var(--gold-2); }
.plan-big { font-size: 56px; font-weight: 200; letter-spacing: -.04em; margin: 22px 0 18px; line-height: 1; min-height: 56px; }
.plan-big small { font-size: 16px; letter-spacing: 0; color: var(--muted); }
.plan ul { list-style: none; padding: 20px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; color: var(--text-2); }
.plan.featured ul { border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.7); }
.globe { display: inline-block; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--gold); position: relative; }
.globe::before, .globe::after { content: ""; position: absolute; inset: -1.5px 14px; border: 1.5px solid var(--gold); border-radius: 50%; }
.globe::after { inset: 24px -1.5px auto; height: 0; border-width: 1.5px 0 0; border-radius: 0; }

/* Processors */
.processors { background: linear-gradient(180deg, var(--ivory-2), var(--ivory)); }
.proc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.proc { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 34px; }
.proc-unit { height: 90px; border-radius: 14px; background: linear-gradient(180deg, #2c3034, #15171a); position: relative; margin-bottom: 26px; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 30px rgba(0,0,0,.12); }
.proc-unit::before { content: "LUXMORE"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 11px; letter-spacing: .3em; color: #c8ccd0; }
.proc-unit span { position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #55c98b; box-shadow: 0 0 10px #55c98b; }
.proc-unit.pro { height: 100px; background: linear-gradient(180deg, #3a3126, #17130e); }
.proc-unit.server { height: 112px; background: linear-gradient(180deg, #23262a, #0d0e10); }
.proc-unit.server::after { content: ""; position: absolute; left: 18px; right: 50px; bottom: 18px; height: 6px; background: repeating-linear-gradient(90deg, #3a3e42 0 10px, transparent 10px 14px); }
.proc-model { margin: 6px 0 22px; color: var(--muted); font-size: 14px; }
.proc dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; padding-top: 22px; border-top: 1px solid var(--line); }
.proc dt { font-size: 12px; color: var(--muted); }
.proc dd { margin: 2px 0 0; font-size: 24px; font-weight: 300; }
.integrations { margin-top: 70px; text-align: center; }
.integrations .eyebrow { color: var(--muted); }
/* Brand marquee: two rows scrolling in opposite directions, seamless loop */
.marquee { display: grid; gap: 14px; margin: 8px calc(50% - 50vw) 0; padding: 6px 0; overflow: hidden; max-width: 100vw;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-row { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; gap: 14px; animation: marquee 48s linear infinite; }
.marquee-row.reverse { animation-direction: reverse; animation-duration: 54s; }
.marquee:hover .marquee-row, .marquee:focus-within .marquee-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
.marquee-row li { flex: none; min-width: 200px; height: 92px; padding: 0 28px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
  transition: border-color .4s, transform .4s var(--ease), box-shadow .4s; }
.marquee-row li:hover { border-color: rgba(181,138,49,.45); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(60,45,20,.08); }
.marquee-row small { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.marquee-row b { font-size: 21px; font-weight: 400; letter-spacing: .02em; color: var(--text); white-space: nowrap; }
.marquee-row li img { max-height: 38px; max-width: 150px; width: auto; filter: grayscale(1) contrast(1.1); opacity: .82; transition: filter .4s, opacity .4s; }
.marquee-row li:hover img { filter: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; margin: 8px 0 0; }
  .marquee-row { width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee-row [aria-hidden="true"] { display: none; }
}

/* Dealers */
.dealers { background: radial-gradient(80% 90% at 80% 20%, #2a2620 0%, #17181a 55%, #0e0f10 100%); color: #fff; }
.dealer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.dealer-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.dealer-points li { display: flex; gap: 22px; padding: 24px 26px; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: background .4s, border-color .4s; }
.dealer-points li:hover { background: rgba(255,255,255,.07); border-color: rgba(213,181,109,.35); }
.dealer-points span { font-size: 13px; color: var(--gold-2); letter-spacing: .1em; padding-top: 3px; }
.dealer-points b { font-weight: 500; font-size: 17px; }
.dealer-points p { margin: 4px 0 0; color: rgba(255,255,255,.6); font-size: 15px; }

.site-footer { background: #0b0c0d; color: rgba(255,255,255,.55); padding: 44px 0; }
.footer-inner { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.footer-inner img { width: 120px; filter: brightness(0) invert(1); opacity: .85; }
.footer-inner nav { display: flex; gap: 24px; margin-left: auto; font-size: 14px; }
.footer-inner nav a:hover { color: #fff; }
.footer-inner small { width: 100%; font-size: 12px; color: rgba(255,255,255,.35); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.delay { transition-delay: .15s; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid, .feature-grid, .media-grid, .local-grid, .dealer-grid { grid-template-columns: 1fr; }
  .hero-devices { height: 520px; max-width: 680px; margin: 0 auto; width: 100%; }
  .media-visual { max-width: 640px; margin: 0 auto; width: 100%; }
  .dial-card { right: 12px; bottom: -30px; }
}
@media (max-width: 900px) {
  .nav { position: fixed; inset: 84px 0 auto; flex-direction: column; gap: 0; padding: 12px 24px 24px; background: rgba(20,22,24,.97); backdrop-filter: blur(16px); transform: translateY(-120%); transition: transform .4s var(--ease); }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: #fff !important; font-size: 16px; }
  .site-header.open .nav { transform: none; }
  .menu-toggle { display: block; }
  .header-inner { gap: 14px; }
  .dealer-link { margin-left: auto; }
  .pillars, .plans, .proc-grid, .duo-grid { grid-template-columns: 1fr; }
  .ipad { width: 100%; max-width: 560px; transform: none; animation: none; position: relative; top: 0; }
  .hero-devices { height: auto; padding-bottom: 120px; perspective: none; }
  .phone { width: 160px; left: auto; right: 10px; bottom: 0; transform: none; animation: none; }
  .ipad.small { position: relative; width: 100%; transform: none; }
  .media-visual { height: auto; padding-bottom: 150px; }
  .music-card { width: min(300px, 90%); }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .brand img { width: 118px; }
  .dealer-link { padding: 0 12px; font-size: 13px; }
  .dealer-link svg { display: none; }
  .hero { padding-top: 120px; }
  .hero-facts { gap: 22px; }
  .app { font-size: 8px; }
  .app-rail { display: none; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile:nth-child(n+5) { display: none; }
  .duo-card { padding: 26px; }
  .dial-card { position: relative; right: auto; bottom: auto; margin: -50px auto 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

[hidden]{display:none!important}

/* Artwork cards (SVG illustrations, no external images) */
.art-stream { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 100' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='s' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%231b2547'/%3E%3Cstop offset='.6' stop-color='%235a4f86'/%3E%3Cstop offset='1' stop-color='%23c9879a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='160' height='100' fill='url%28%23s%29'/%3E%3Ccircle cx='118' cy='28' r='9' fill='%23f6e7c8'/%3E%3Cg fill='%23fff' opacity='.7'%3E%3Ccircle cx='30' cy='18' r='.9'/%3E%3Ccircle cx='62' cy='30' r='.7'/%3E%3Ccircle cx='90' cy='12' r='.8'/%3E%3Ccircle cx='142' cy='48' r='.6'/%3E%3C/g%3E%3Cpath d='M0 70 L30 44 L52 62 L80 34 L112 66 L134 50 L160 68 V100 H0Z' fill='%232a2f55'/%3E%3Cpath d='M0 82 L40 62 L76 78 L108 58 L160 80 V100 H0Z' fill='%231a1d3a'/%3E%3Crect y='86' width='160' height='14' fill='%23121429'/%3E%3Cpath d='M60 90 h50' stroke='%23f6e7c8' stroke-opacity='.35' stroke-width='1.5'/%3E%3C/svg%3E") center / cover no-repeat !important; }
.art-tv { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 100' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='t' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f0a34e'/%3E%3Cstop offset='.7' stop-color='%23f6d48d'/%3E%3Cstop offset='1' stop-color='%23ffe9b8'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='160' height='100' fill='url%28%23t%29'/%3E%3Ccircle cx='80' cy='70' r='22' fill='%23fff1c9' opacity='.8'/%3E%3Cg fill='%233b2a22'%3E%3Crect x='6' y='52' width='18' height='48'/%3E%3Crect x='26' y='38' width='14' height='62'/%3E%3Crect x='42' y='58' width='20' height='42'/%3E%3Crect x='64' y='30' width='12' height='70'/%3E%3Crect x='78' y='46' width='16' height='54'/%3E%3Crect x='96' y='24' width='14' height='76'/%3E%3Crect x='112' y='50' width='20' height='50'/%3E%3Crect x='134' y='40' width='20' height='60'/%3E%3C/g%3E%3Cg fill='%23ffd27a' opacity='.85'%3E%3Crect x='29' y='44' width='3' height='3'/%3E%3Crect x='34' y='52' width='3' height='3'/%3E%3Crect x='67' y='38' width='3' height='3'/%3E%3Crect x='99' y='32' width='3' height='3'/%3E%3Crect x='104' y='44' width='3' height='3'/%3E%3Crect x='138' y='48' width='3' height='3'/%3E%3Crect x='117' y='60' width='3' height='3'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat !important; }
.art-disc { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 100' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3CradialGradient id='d' cx='50%25' cy='0%25' r='90%25'%3E%3Cstop offset='0' stop-color='%236b5bb0'/%3E%3Cstop offset='1' stop-color='%2315122a'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='160' height='100' fill='url%28%23d%29'/%3E%3Cpath d='M60 0 L30 100 H130 L100 0Z' fill='%23fff' opacity='.07'/%3E%3Cpath d='M0 0 h18 c-4 40 -2 70 6 100 H0Z M160 0 h-18 c4 40 2 70 -6 100 H160Z' fill='%237a1f2b'/%3E%3Ccircle cx='80' cy='56' r='26' fill='%23c9c3e8' opacity='.9'/%3E%3Ccircle cx='80' cy='56' r='26' fill='none' stroke='%23fff' stroke-opacity='.5'/%3E%3Ccircle cx='80' cy='56' r='6' fill='%2315122a'/%3E%3Cpath d='M64 44 a20 20 0 0 1 22 -10' stroke='%23fff' stroke-width='2' fill='none' opacity='.7'/%3E%3C/svg%3E") center / cover no-repeat !important; }
.art-game { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 100' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%230d2c2a'/%3E%3Cstop offset='.55' stop-color='%2314594c'/%3E%3Cstop offset='1' stop-color='%230a1f1d'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='160' height='100' fill='url%28%23g%29'/%3E%3Ccircle cx='80' cy='52' r='20' fill='%23f4c46a'/%3E%3Crect x='56' y='50' width='48' height='3' fill='%2314594c'/%3E%3Crect x='58' y='57' width='44' height='4' fill='%2314594c'/%3E%3Cg stroke='%2353e0b8' stroke-opacity='.6' stroke-width='.8'%3E%3Cpath d='M0 66 H160 M0 74 H160 M0 84 H160 M0 96 H160'/%3E%3Cpath d='M80 62 L0 100 M80 62 L40 100 M80 62 L80 100 M80 62 L120 100 M80 62 L160 100'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat !important; }
.art-film { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 150' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='f' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%230b1d33'/%3E%3Cstop offset='.55' stop-color='%231d4f73'/%3E%3Cstop offset='.75' stop-color='%23d98f4e'/%3E%3Cstop offset='1' stop-color='%233a2a28'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='100' height='150' fill='url%28%23f%29'/%3E%3Ccircle cx='70' cy='30' r='8' fill='%23f7e6c4'/%3E%3Cpath d='M0 108 H100 V150 H0Z' fill='%23132a3d'/%3E%3Cpath d='M24 104 h40 l-6 8 h-30z' fill='%230b1520'/%3E%3Cpath d='M44 104 V72 l14 30z' fill='%23e9dcc4'/%3E%3Cpath d='M43 104 V70' stroke='%230b1520'/%3E%3Cg stroke='%23f3c27a' stroke-opacity='.5'%3E%3Cpath d='M30 118 h16 M54 124 h20 M20 132 h12'/%3E%3C/g%3E%3Crect x='10' y='12' width='34' height='3' fill='%23fff' opacity='.75'/%3E%3Crect x='10' y='18' width='22' height='2' fill='%23fff' opacity='.45'/%3E%3C/svg%3E") center / cover no-repeat !important; }
.art-jazz { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='j' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%232c1d12'/%3E%3Cstop offset='.55' stop-color='%238b6a33'/%3E%3Cstop offset='1' stop-color='%23e8c27a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='100' height='100' fill='url%28%23j%29'/%3E%3Ccircle cx='56' cy='56' r='34' fill='%23141210'/%3E%3Cg fill='none' stroke='%233a332b' stroke-width='.8'%3E%3Ccircle cx='56' cy='56' r='28'/%3E%3Ccircle cx='56' cy='56' r='22'/%3E%3Ccircle cx='56' cy='56' r='16'/%3E%3C/g%3E%3Ccircle cx='56' cy='56' r='9' fill='%23d5b56d'/%3E%3Ccircle cx='56' cy='56' r='2' fill='%23141210'/%3E%3Cpath d='M34 30 a34 34 0 0 1 20 -8' stroke='%23fff' stroke-opacity='.25' stroke-width='3' fill='none'/%3E%3C/svg%3E") center / cover no-repeat !important; }
.art-lounge { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='l' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ff8a5b'/%3E%3Cstop offset='.6' stop-color='%23ffc47a'/%3E%3Cstop offset='1' stop-color='%236a3d6e'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='100' height='100' fill='url%28%23l%29'/%3E%3Ccircle cx='50' cy='62' r='20' fill='%23fff2c4'/%3E%3Crect y='66' width='100' height='34' fill='%234a2b52'/%3E%3Cg stroke='%23ffd59a' stroke-opacity='.6'%3E%3Cpath d='M30 74 h40 M36 82 h28 M42 90 h16'/%3E%3C/g%3E%3Cpath d='M78 66 C77 46 80 36 84 28' stroke='%232a1830' stroke-width='3' fill='none'/%3E%3Cpath d='M84 28 c-12 -4 -18 2 -22 8 M84 28 c10 -6 16 -2 20 4 M84 28 c-4 -10 -12 -12 -18 -10 M84 28 c6 -10 12 -10 16 -8' stroke='%232a1830' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / cover no-repeat !important; }
.art-classic { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid slice'%3E%3Crect width='100' height='100' fill='%23f3ead8'/%3E%3Cg fill='none' stroke='%23b58a31'%3E%3Ccircle cx='50' cy='110' r='30' stroke-width='3'/%3E%3Ccircle cx='50' cy='110' r='45' stroke-width='2'/%3E%3Ccircle cx='50' cy='110' r='60' stroke-width='1.5'/%3E%3Ccircle cx='50' cy='110' r='75' stroke-width='1'/%3E%3Ccircle cx='50' cy='110' r='90' stroke-width='.6'/%3E%3C/g%3E%3Cpath d='M30 26 v26 M30 26 l26 -6 v26' stroke='%232a2420' stroke-width='3' fill='none'/%3E%3Ccircle cx='26' cy='53' r='5' fill='%232a2420'/%3E%3Ccircle cx='52' cy='47' r='5' fill='%232a2420'/%3E%3C/svg%3E") center / cover no-repeat !important; }
.art-ocean { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='o' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23bfe3e6'/%3E%3Cstop offset='.5' stop-color='%233f9aa8'/%3E%3Cstop offset='1' stop-color='%230f3d52'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='100' height='100' fill='url%28%23o%29'/%3E%3Ccircle cx='70' cy='26' r='10' fill='%23fffbe9' opacity='.9'/%3E%3Cg fill='none' stroke='%23e9fbff' stroke-width='2'%3E%3Cpath d='M0 56 q12 -8 25 0 t25 0 t25 0 t25 0' stroke-opacity='.7'/%3E%3Cpath d='M0 70 q12 -8 25 0 t25 0 t25 0 t25 0' stroke-opacity='.5'/%3E%3Cpath d='M0 84 q12 -8 25 0 t25 0 t25 0 t25 0' stroke-opacity='.3'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat !important; }
.art-forest { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='fo' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f1e6b8'/%3E%3Cstop offset='1' stop-color='%234f7a52'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='100' height='100' fill='url%28%23fo%29'/%3E%3Cpath d='M60 0 L30 100 M75 0 L58 100 M45 0 L10 100' stroke='%23fff' stroke-opacity='.25' stroke-width='6'/%3E%3Cg fill='%232f4f35'%3E%3Cpath d='M14 100 L26 52 L38 100Z'/%3E%3Cpath d='M40 100 L54 40 L68 100Z'/%3E%3Cpath d='M66 100 L78 58 L90 100Z'/%3E%3C/g%3E%3Cg fill='%233e6644'%3E%3Cpath d='M0 100 L8 70 L16 100Z'/%3E%3Cpath d='M84 100 L94 66 L104 100Z'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat !important; }
.art-city { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='c' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23120e2a'/%3E%3Cstop offset='.7' stop-color='%234a2466'/%3E%3Cstop offset='1' stop-color='%23e2508a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='100' height='100' fill='url%28%23c%29'/%3E%3Cg fill='%231a1235'%3E%3Crect x='4' y='48' width='14' height='40'/%3E%3Crect x='20' y='36' width='12' height='52'/%3E%3Crect x='34' y='54' width='14' height='34'/%3E%3Crect x='52' y='30' width='10' height='58'/%3E%3Crect x='64' y='46' width='14' height='42'/%3E%3Crect x='80' y='40' width='16' height='48'/%3E%3C/g%3E%3Crect y='86' width='100' height='14' fill='%230c0a1c'/%3E%3Cpath d='M0 93 h100' stroke='%23ffcf6e' stroke-dasharray='6 6' stroke-width='1.5'/%3E%3Cg fill='%23ff9ac8'%3E%3Crect x='23' y='42' width='2' height='2'/%3E%3Crect x='55' y='38' width='2' height='2'/%3E%3Crect x='84' y='48' width='2' height='2'/%3E%3Crect x='68' y='54' width='2' height='2'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat !important; }
.src-art { box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); transition: transform .4s var(--ease); }
.src:hover .src-art { transform: translateY(-2px) scale(1.03); }
.lib-row { display: grid; gap: 8px; }
.lib-title { font-size: 7.5px; letter-spacing: .2em; color: #8e949c; }
.lib-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.lib { display: grid; justify-items: center; gap: 5px; min-width: 0; }
.lib-art { width: 100%; aspect-ratio: 1; border-radius: 10px; border: 1px solid #2c3034; box-shadow: 0 6px 14px rgba(0,0,0,.35); transition: transform .4s var(--ease); }
.lib:hover .lib-art { transform: translateY(-2px); }
.lib small { font-size: 7.5px; color: #8e949c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cinema .np { margin-top: 0; }
.mc-art { box-shadow: 0 10px 24px rgba(60,40,10,.25); }

.cinema .vol { margin-top: auto; padding-left: 40%; }
.cinema .lib-row { margin-top: 6px; }

/* ===== App tour ===== */
.tour { background: radial-gradient(90% 70% at 70% 30%, #2a2722 0%, #161719 50%, #0d0e0f 100%); color: #fff; }
.tour h2 { color: #fff; }
.tour-grid { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; margin-top: 70px; }
.tour-tabs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tour-tabs button { width: 100%; display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 16px; border: 1px solid transparent; background: none; color: rgba(255,255,255,.62); text-align: left; transition: background .35s, border-color .35s, color .35s; }
.tour-tabs button .ic { width: 20px; height: 20px; color: rgba(255,255,255,.45); transition: color .35s; }
.tour-tabs b { display: block; font-weight: 400; font-size: 17px; color: inherit; }
.tour-tabs small { display: block; font-size: 13px; color: rgba(255,255,255,.42); max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.tour-tabs button:hover { color: #fff; background: rgba(255,255,255,.04); }
.tour-tabs button[aria-selected="true"] { background: rgba(213,181,109,.1); border-color: rgba(213,181,109,.35); color: #fff; }
.tour-tabs button[aria-selected="true"] .ic { color: var(--gold-2); }
.tour-tabs button[aria-selected="true"] small { max-height: 40px; margin-top: 2px; }
.tour-device { position: relative; }
.tour-ipad { position: relative; top: 0; right: 0; width: 100%; max-width: 820px; margin-left: auto; transform: none; animation: none; }
.tour-ipad .app { font-size: 11px; }
.tour-rail li { cursor: default; transition: background .35s, color .35s; }
.tour-rail li.on { background: #2a2e32; color: #fff; }
.tour-screens { flex: 1; position: relative; min-width: 0; }
.screen { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.screen.active { opacity: 1; transform: none; pointer-events: auto; }
.dark-screen { background: #121416; color: #e8eaec; }
.tour-progress { height: 2px; background: rgba(255,255,255,.08); border-radius: 2px; margin: 22px 0 0 auto; max-width: 820px; overflow: hidden; }
.tour-progress span { display: block; height: 100%; width: 0; background: var(--gold-2); }
.tour-progress.run span { animation: tourbar 6s linear forwards; }
@keyframes tourbar { to { width: 100%; } }

.s-head { display: flex; align-items: flex-start; justify-content: space-between; }
.s-head small { font-size: 8px; letter-spacing: .22em; color: var(--gold); }
.s-head b { display: block; font-size: 20px; font-weight: 400; margin-top: 2px; }
.room-pill { font-size: 7px; letter-spacing: .14em; color: #8a8f94; padding: 7px 12px; border-radius: 12px; background: #fbfaf7; border: 1px solid #e3dfd7; }
.room-pill b { font-size: 11px; letter-spacing: 0; color: #1d2125; font-weight: 400; margin-left: 6px; display: inline; }
.scene-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.scene-strip span { text-align: center; padding: 8px 0; border-radius: 10px; background: #fff; border: 1px solid #e5e1d9; font-size: 9.5px; }
.scene-strip span.on { background: var(--gold); border-color: var(--gold); color: #fff; }
.lights-grid { flex: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 12px; min-height: 0; }
.big-dial { position: relative; background: #fbfaf7; border: 1px solid #e7e3db; border-radius: 16px; display: grid; place-items: center; padding: 10px; }
.big-dial svg { width: 86%; }
.big-dial > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.big-dial b { font-size: 30px; font-weight: 300; } .big-dial small { font-size: 9px; color: #8a8f94; }
.load-list { display: grid; gap: 8px; align-content: start; }
.load { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 6px 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #fbfaf7; border: 1px solid #e7e3db; }
.load span { font-size: 10.5px; } .load span small { display: block; font-size: 8.5px; color: #8a8f94; }
.lbar, .swatches { grid-column: 1 / -1; }
.lbar { height: 5px; border-radius: 5px; background: #e6e1d8; overflow: hidden; } .lbar i { display: block; height: 100%; background: var(--gold); border-radius: 5px; }
.swatches { display: flex; gap: 6px; } .swatches i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #e3dfd7; }
.climate-screen { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; }
.c-dial { position: relative; } .c-dial svg { width: 100%; transform: rotate(135deg); }
.c-dial > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.c-dial b { font-size: 38px; font-weight: 200; line-height: 1.1; } .c-dial small { font-size: 9px; color: #8a8f94; }
.c-side { display: grid; gap: 12px; }
.c-row { display: flex; gap: 10px; } .round.sm { width: 40px; height: 40px; display: grid; place-items: center; font-size: 16px; }
.c-modes { display: flex; padding: 3px; border-radius: 999px; background: #e9e4da; }
.c-modes span { flex: 1; text-align: center; padding: 7px 0; border-radius: 999px; font-size: 9.5px; color: #5d6268; }
.c-modes span.on { background: #fff; color: #1d2125; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.c-fan { display: flex; align-items: center; gap: 8px; font-size: 10px; color: #5d6268; padding: 9px 12px; border-radius: 12px; background: #fbfaf7; border: 1px solid #e7e3db; } .c-fan b { margin-left: auto; color: #1d2125; font-weight: 500; }
.c-zones { display: grid; gap: 6px; } .c-zones div { display: flex; justify-content: space-between; font-size: 10px; padding: 8px 12px; border-radius: 10px; background: #fbfaf7; border: 1px solid #e7e3db; } .c-zones b { font-weight: 500; }
.curtain-cards { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cc { background: #fbfaf7; border: 1px solid #e7e3db; border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.cc-win { position: relative; flex: 1; min-height: 90px; border-radius: 10px; overflow: hidden; background: linear-gradient(180deg, #f3b98a, #f6d7a7 55%, #9fb4a8); }
.cc-win.dim { background: linear-gradient(180deg, #6b7b96, #b9a7a0); }
.cc-win span { position: absolute; top: 0; bottom: 0; width: calc((1 - var(--o)) * 50% + 4%); background: repeating-linear-gradient(90deg, #d9cdb9 0 8px, #cdbfa8 8px 13px, #e2d8c6 13px 18px); }
.cc-win span:first-child { left: 0; } .cc-win span:last-child { right: 0; }
.cc b { font-size: 11px; font-weight: 500; margin-top: 4px; } .cc small { font-size: 8.5px; color: #8a8f94; }
.cc-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 4px; } .cc-btns span { text-align: center; font-size: 8.5px; padding: 6px 0; border-radius: 8px; background: #efebe4; }
.dark-screen .sources { grid-template-columns: repeat(4, 1fr); }
.remote { flex: 1; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; gap: 12px 18px; align-items: center; padding: 12px; border-radius: 14px; background: #1b1e21; }
.dpad { position: relative; width: 120px; height: 120px; border-radius: 50%; background: #26292d; grid-row: span 2; }
.dpad span { position: absolute; width: 0; height: 0; border: 6px solid transparent; }
.dpad .up { top: 12px; left: 54px; border-bottom-color: #8e949c; } .dpad .down { bottom: 12px; left: 54px; border-top-color: #8e949c; }
.dpad .left { left: 12px; top: 54px; border-right-color: #8e949c; } .dpad .right { right: 12px; top: 54px; border-left-color: #8e949c; }
.dpad b { position: absolute; inset: 34px; border-radius: 50%; background: #34383c; display: grid; place-items: center; font-size: 10px; font-weight: 500; }
.r-keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .r-keys span { text-align: center; padding: 10px 0; border-radius: 10px; background: #26292d; font-size: 9.5px; color: #c9cdd1; }
.r-vol { display: flex; align-items: center; gap: 10px; font-size: 9px; color: #a7acb1; } .r-vol .vol-bar { flex: 1; }
.music-screen { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; min-height: 0; }
.m-player { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 16px; background: #fbfaf7; border: 1px solid #e7e3db; }
.m-art { width: 100%; max-height: 130px; aspect-ratio: 1; border-radius: 12px; margin-bottom: 6px; }
.m-player b { font-size: 13px; font-weight: 500; } .m-player small { font-size: 9px; color: #8a8f94; }
.m-pos { height: 3px; border-radius: 3px; background: #e6e1d8; margin-top: 8px; } .m-pos i { display: block; height: 100%; width: 40%; background: #8e949c; border-radius: 3px; }
.m-ctrl { display: flex; justify-content: center; gap: 18px; align-items: center; margin-top: 6px; font-size: 12px; color: #5d6268; }
.m-ctrl .play { width: 32px; height: 32px; border-radius: 50%; background: #1d2125; color: #fff; display: grid; place-items: center; font-size: 9px; }
.m-vol { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: #8a8f94; } .m-vol .vol-bar { flex: 1; background: #e6e1d8; }
.m-lib { display: flex; flex-direction: column; gap: 8px; }
.m-lib > small { font-size: 7.5px; letter-spacing: .2em; color: #8a8f94; }
.m-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-grid span { aspect-ratio: 1; border-radius: 10px; border: 1px solid #e3dfd7; box-shadow: 0 4px 10px rgba(0,0,0,.06); }
.m-grid.svc span { background: #fff; display: grid; place-items: center; font-size: 16px; color: #5d6268; aspect-ratio: auto; height: 42px; }
.m-grid.svc { grid-template-columns: repeat(4, 1fr); }
.armed { font-size: 10px; color: #0a7d0a; padding: 6px 12px; border-radius: 999px; background: #e6f5e6; }
.cams { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-height: 0; }
.cam { position: relative; border-radius: 12px; overflow: hidden; filter: saturate(.75); }
.cam span { position: absolute; left: 8px; bottom: 6px; font-size: 9px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.cam em { position: absolute; top: 6px; right: 8px; font-size: 7px; font-style: normal; color: #fff; background: #d03b3b; padding: 2px 6px; border-radius: 4px; }
.locks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.locks div { display: flex; align-items: center; gap: 6px; font-size: 9.5px; padding: 9px 10px; border-radius: 10px; background: #fbfaf7; border: 1px solid #e7e3db; }
.locks b { margin-left: auto; font-weight: 500; font-size: 9px; color: #0a7d0a; } .locks b.warn { color: #b58a31; }
.scene-cards { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 10px; }
.sc { position: relative; border-radius: 14px; overflow: hidden; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.sc::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.55)); }
.sc b, .sc small { position: relative; } .sc b { font-size: 12px; font-weight: 500; } .sc small { font-size: 8.5px; opacity: .85; }
.sc.on { outline: 2px solid var(--gold-2); outline-offset: -2px; }

/* Phones */
.phones-sec { background: var(--ivory); }
.phones-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.phone-row { display: flex; justify-content: center; gap: 26px; align-items: flex-end; }
.phone.mini { position: relative; left: auto; bottom: auto; width: 200px; transform: none; animation: none; }
.phone.mini.mid { width: 220px; transform: translateY(-24px); }
.phone.mini .phone-screen { display: flex; }
.mini-banner { margin-top: 10px; padding: 12px; border-radius: 12px; background: linear-gradient(135deg, #2a2620, #8b6a33); color: #fff; }
.mini-banner b { font-size: 20px; font-weight: 300; display: block; } .mini-banner small { font-size: 8px; opacity: .75; }
.mini-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.mini-tiles div { height: 64px; border-radius: 12px; background: #fbfaf7; border: 1px solid #e7e3db; padding: 8px; display: flex; flex-direction: column; justify-content: space-between; }
.mini-tiles b { font-size: 12px; font-weight: 400; } .mini-tiles .dk { background: #1d2125; color: #fff; border-color: #1d2125; }
.phone.mini .ph-dial svg { transform: rotate(135deg); }
.mini-art { margin-top: 10px; aspect-ratio: 1; border-radius: 14px; box-shadow: 0 10px 20px rgba(0,0,0,.15); }
.mini-np { margin-top: 8px; } .mini-np b { display: block; font-size: 12px; font-weight: 500; } .mini-np small { font-size: 8px; color: #8a8f94; }

/* Feature cards */
.features-sec { background: linear-gradient(180deg, var(--ivory), var(--ivory-2)); padding-top: 40px; }
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.fc { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 30px; transition: transform .5s var(--ease), box-shadow .5s, border-color .5s; }
.fc:hover { transform: translateY(-5px); box-shadow: 0 26px 50px rgba(60,45,20,.08); border-color: rgba(181,138,49,.4); }
.fc-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--ink); color: var(--gold-2); margin-bottom: 20px; }
.fc-ic .ic { width: 20px; height: 20px; }
.fc p { margin: 8px 0 0; color: var(--text-2); font-size: 15px; }

@media (max-width: 1100px) {
  .tour-grid { grid-template-columns: 1fr; gap: 30px; }
  .tour-tabs { grid-template-columns: repeat(4, 1fr); }
  .tour-tabs small { display: none; }
  .tour-tabs button { flex-direction: column; text-align: center; gap: 6px; padding: 12px 6px; }
  .tour-tabs b { font-size: 14px; }
  .tour-ipad { margin: 0 auto; }
  .phones-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .feature-cards { grid-template-columns: 1fr 1fr; }
  .phone-row { gap: 12px; } .phone.mini { width: 31%; } .phone.mini.mid { width: 33%; }
}
@media (max-width: 560px) {
  .tour-tabs { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .tour-tabs b { font-size: 11px; }
  .tour-ipad .app { font-size: 8px; }
  .feature-cards { grid-template-columns: 1fr; }
  .phone.mini:not(.mid) { display: none; } .phone.mini.mid { width: 70%; transform: none; }
}

/* Brand logos: solid monochrome, no colour */
.marquee-row li img { height: 30px; max-height: 30px; max-width: 150px; width: auto; filter: brightness(0) !important; opacity: .72; transition: opacity .3s; }
.marquee-row li:hover img { filter: brightness(0) !important; opacity: 1; }
.marquee-row li[data-keep-name] img { height: 26px; }
.marquee-row li[data-keep-name] b { font-size: 15px; }

/* Four processor tiers incl. P12 Custom (unlimited) */
.proc-grid { grid-template-columns: repeat(4, 1fr); }
.proc { padding: 30px; }
.proc dd { font-size: 22px; }
.proc-custom { background: var(--ink); border-color: var(--ink); color: #fff; }
.proc-custom .proc-model, .proc-custom dt { color: rgba(255,255,255,.55); }
.proc-custom dl { border-top-color: rgba(255,255,255,.12); }
.proc-custom dd { color: var(--gold-2); font-size: 17px; letter-spacing: .02em; padding-top: 4px; }
.proc-unit.custom { height: 112px; background: linear-gradient(180deg, #3b3226, #0f0d0a); box-shadow: inset 0 1px 0 rgba(213,181,109,.25), 0 18px 30px rgba(0,0,0,.25); }
.proc-unit.custom::before { color: var(--gold-2); }
.proc-unit.custom::after { content: "∞"; position: absolute; left: 18px; bottom: 12px; font-size: 22px; line-height: 1; color: rgba(213,181,109,.7); }
@media (max-width: 1100px) { .proc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .proc-grid { grid-template-columns: 1fr; } }

/* ===== Real app screenshots inside device frames ===== */
.ipad { aspect-ratio: auto; }
.ipad-screen.shot { aspect-ratio: 1180 / 820; height: auto; background: #f4f6f8; position: relative; }
.ipad-screen.shot > img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.phone-screen.shot { background: #f5f7fa; padding-top: 30px; }
.phone-screen.shot > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.tour-screens.shot { overflow: hidden; }
.tour-screens.shot > img.screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.hero-devices .ipad { width: 640px; }
.hero-devices { height: 520px; }
@media (max-width: 900px) { .hero-devices .ipad { width: 100%; } }

/* Smart Custom card: same tile and text style as the other processor cards */
.proc.proc-custom { background: var(--paper); border-color: var(--line); color: var(--text); }
.proc-custom .proc-model, .proc-custom dt { color: var(--muted); }
.proc-custom dl { border-top-color: var(--line); }
.proc-custom dd { color: var(--text); font-size: 24px; font-weight: 300; letter-spacing: normal; padding-top: 0; }
.proc dd { font-size: 24px; }
.proc-unit.custom { height: 112px; background: linear-gradient(180deg, #2c3034, #15171a); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 30px rgba(0,0,0,.12); }
.proc-unit.custom::before { color: #c8ccd0; }
.proc-unit.custom::after { color: rgba(213,181,109,.85); }
@media (min-width: 1101px) { .proc-custom dd { font-size: 21px; } .proc dd { font-size: 21px; } }

/* Brand category captions at half size */
.marquee-row small { font-size: 5px; letter-spacing: .22em; }

/* Real screenshots: absolute fill, never flex-stretched (Safari-safe) */
.phone-screen.shot, .phone.mini .phone-screen.shot { display: block !important; position: relative; padding: 0 !important; background: #f5f7fa; }
.phone-screen.shot > img { position: absolute; left: 0; right: 0; top: 30px; bottom: 0; width: 100% !important; height: calc(100% - 30px) !important;
  max-width: none; object-fit: cover; object-position: top center; flex: none; }
.phone.mini, .hero-devices .phone { aspect-ratio: 390 / 874; }
.ipad-screen.shot { display: block !important; }
.ipad-screen.shot > img, .tour-screens.shot > img.screen { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; object-position: top left; flex: none; }
.ipad-screen.shot > img:not(.screen) { position: absolute; }

/* App screenshots as backgrounds: always proportional (no stretching in any browser) */
.shot-img { position: absolute; inset: 0; background-repeat: no-repeat; background-size: cover; background-position: top left; }
.phone-screen.shot > .shot-img { top: 30px; background-position: top center; }
.ipad-screen.shot { position: relative; }
.tour-screens.shot > .shot-img.screen { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.tour-screens.shot > .shot-img.screen.active { opacity: 1; transform: none; }

/* Gentler tilt so real app text stays legible */
.hero-devices .ipad { transform: rotateY(-5deg) rotateX(2deg); animation: float-soft 8s ease-in-out infinite; }
.hero-devices .phone { transform: rotateY(4deg) rotateX(1deg); animation: float-soft-2 8s ease-in-out infinite 1.2s; }
@keyframes float-soft { 50% { transform: rotateY(-4deg) rotateX(2deg) translateY(-8px); } }
@keyframes float-soft-2 { 50% { transform: rotateY(3deg) rotateX(1deg) translateY(-10px); } }
@media (max-width: 900px) { .hero-devices .ipad, .hero-devices .phone { transform: none; animation: none; } }

/* ===================== Blackish theme (whole website) ===================== */
:root {
  --ivory: #0d0e10; --ivory-2: #121315; --paper: #18191c; --line: #2a2b30;
  --text: #f1f1f3; --text-2: #a6a8ad; --muted: #7d8086; --ink: #0a0b0c; --gold-soft: rgba(213,181,109,.12);
}
body { background: var(--ivory); color: var(--text); }
/* Header always dark */
.site-header.scrolled { background: rgba(10,11,12,.85) !important; box-shadow: 0 1px 0 rgba(255,255,255,.06) !important; }
.site-header.scrolled .brand img { filter: brightness(0) invert(1) !important; }
.site-header.scrolled .nav a { color: rgba(255,255,255,.78) !important; }
.site-header.scrolled .nav a:hover { color: #fff !important; }
.site-header.scrolled .dealer-link { color: #d5b56d !important; border-color: rgba(213,181,109,.55) !important; }
.site-header.scrolled .dealer-link:hover { color: #1a1408 !important; background: #d5b56d !important; }
.site-header.scrolled .menu-toggle span { background: #fff !important; }
/* Neutral (not warm) dark sections */
.hero { background: radial-gradient(120% 90% at 75% 20%, #24262a 0%, #121315 45%, #08090a 100%); }
.tour { background: radial-gradient(90% 70% at 70% 30%, #1f2124 0%, #111214 50%, #090a0b 100%); }
.media-sec { background: radial-gradient(90% 80% at 20% 30%, #1f2124 0%, #111214 55%, #090a0b 100%); }
.local { background: #0a0b0c; }
.dealers { background: radial-gradient(80% 90% at 80% 20%, #1f2124 0%, #111214 55%, #090a0b 100%); }
.hero-glow { background: radial-gradient(circle, rgba(213,181,109,.12), transparent 62%); }
.feature { background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-2) 100%); }
.site-footer { background: #060707; }
/* Cards and controls on dark */
.pillar, .duo-card, .plan, .proc, .fc, .marquee-row li, .proc.proc-custom { background: var(--paper); border-color: var(--line); }
.pillar:hover, .plan:hover, .fc:hover, .marquee-row li:hover { box-shadow: 0 26px 50px rgba(0,0,0,.45); border-color: rgba(213,181,109,.4); }
.plan.featured { background: #101113; border-color: rgba(213,181,109,.45); }
.fc-ic { background: #232428; }
.scene-buttons button, .round, .curtain-ctrls > button { background: #1d1e22; border-color: var(--line); color: var(--text); }
.scene-buttons button.on { background: #f1f1f3; border-color: #f1f1f3; color: #0d0e10; }
.modes { background: #101113; }
.modes button { color: var(--text-2); }
.modes button.on { background: #2a2b30; color: #fff; box-shadow: none; }
.dial-card { background: rgba(24,25,28,.94); border-color: rgba(255,255,255,.08); box-shadow: 0 30px 70px rgba(0,0,0,.55); }
.dial-card .dial-track { stroke: #34353a; }
.dial-knob { fill: #f1f1f3; }
.thermo-track { stroke: #2c2d32; }
.window { border-color: #2a2b30; }
.room { box-shadow: 0 40px 90px rgba(0,0,0,.5); }
.slider-label output { color: var(--text); }
.integrations ul, .integrations .eyebrow { color: var(--muted); }
/* Logos white-ish on dark */
.marquee-row li img, .marquee-row li:hover img { filter: brightness(0) invert(1) !important; }
.marquee-row li img { opacity: .7; } .marquee-row li:hover img { opacity: 1; }
/* Processor units keep their dark hardware look; lift them off the card */
.proc-unit { box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 30px rgba(0,0,0,.4); }
.proc-unit, .proc-unit.custom { background: linear-gradient(180deg, #2d3035, #141518); }
.proc-unit.pro { background: linear-gradient(180deg, #34302a, #141210); }
/* Phones on dark */
.phone { box-shadow: 0 50px 90px rgba(0,0,0,.6), inset 0 0 0 1.5px rgba(255,255,255,.12), inset 0 0 0 5px #0b0b0c; }

/* ===== Latest device form factors ===== */
/* iPhone 18 Pro (402×874 pt) and Pro Max (440×956 pt): frame = screen + 10px bezel; screen keeps native ratio */
.phone.i18pro, .phone.i18promax { padding: 9px; border-radius: 48px; }
.phone.i18pro .phone-screen, .phone.i18promax .phone-screen { border-radius: 40px; }
.phone.i18pro { aspect-ratio: 420 / 892; }
.phone.i18promax { aspect-ratio: 458 / 974; }
.phone-screen.shot > .shot-img { top: 0; }
.phone-screen.shot { padding: 0 !important; }
.phone .island { top: 9px; width: 30%; height: 3.6%; z-index: 2; }
.hero-devices .phone.i18pro { width: 205px; }
.phone-row { align-items: flex-end; }
.phone.mini.i18pro { width: 200px; transform: none; }
.phone.mini.i18promax { width: 219px; transform: none; }   /* 440/402 of the Pro */
.device-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.device-fig figcaption { font-size: 12px; letter-spacing: .08em; color: var(--muted); }

/* iPhone Duo (foldable) — inner display ~2712×1920 (estimated proportions) */
.duo-showcase { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; align-items: center; margin-top: 90px; }
.duo-copy h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 300; margin-top: 6px; }
.duo-copy p:not(.eyebrow) { color: var(--text-2); font-size: 16px; margin-top: 16px; max-width: 420px; }
.duo-device { width: 100%; max-width: 680px; padding: 10px; border-radius: 30px; background: linear-gradient(145deg, #3a3d41, #101112 60%);
  box-shadow: 0 50px 100px rgba(0,0,0,.6), inset 0 0 0 1.5px rgba(255,255,255,.1), inset 0 0 0 5px #0b0b0c; }
.duo-screen { position: relative; aspect-ratio: 2712 / 1920; border-radius: 22px; overflow: hidden; background: #f4f6f8; }
.duo-hinge { position: absolute; top: 0; bottom: 0; left: 50%; width: 18px; transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,.05) 40%, rgba(255,255,255,.18) 50%, rgba(0,0,0,.05) 60%, transparent); }

/* Apple Watch (concept) — latest 46 mm case proportions (416×496) */
.watch { position: absolute; z-index: 3; right: -6px; bottom: -34px; width: 132px; aspect-ratio: 416 / 496; padding: 9px; border-radius: 34%/28%;
  background: linear-gradient(145deg, #4a4d52, #151618 55%); box-shadow: 0 30px 60px rgba(0,0,0,.6), inset 0 0 0 1.5px rgba(255,255,255,.12), inset 0 0 0 4px #0a0a0b;
  animation: float-soft-2 8s ease-in-out infinite .6s; }
.watch-crown { position: absolute; right: -6px; top: 26%; width: 7px; height: 22%; border-radius: 3px; background: linear-gradient(90deg, #2a2c2f, #6a6d72); }
.watch-button { position: absolute; right: -3px; top: 56%; width: 4px; height: 20%; border-radius: 2px; background: #2a2c2f; }
.watch-screen { width: 100%; height: 100%; border-radius: 30%/24%; background: #000; color: #fff; padding: 9px 9px 8px; display: flex; flex-direction: column; overflow: hidden; }
.w-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 8px; padding: 0 4px; }
.w-top b { font-weight: 600; color: #d5b56d; } .w-top time { color: #fff; font-weight: 500; }
.w-dial { position: relative; flex: 1; display: grid; place-items: center; min-height: 0; }
.w-dial svg { width: 86%; }
.w-track { fill: none; stroke: #2a2a2c; stroke-width: 15; stroke-linecap: round; }
.w-fill { fill: none; stroke: #d5b56d; stroke-width: 15; stroke-linecap: round; }
.w-dial > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.w-dial b { font-size: 18px; font-weight: 300; } .w-dial small { font-size: 6.5px; color: #8e8e93; }
.w-scenes { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.w-scenes span { text-align: center; font-size: 7px; padding: 5px 0; border-radius: 999px; background: #1c1c1e; color: #e5e5ea; }
.w-scenes span.on { background: #d5b56d; color: #1a1408; }

@media (max-width: 1100px) { .duo-showcase { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .watch { right: 0; bottom: 40px; width: 104px; animation: none; } .phone.mini.i18pro { width: 30%; } .phone.mini.i18promax { width: 33%; } }
@media (max-width: 560px) { .phone.mini.i18pro { display: block; } .phone-row .device-fig:not(:nth-child(2)) { display: none; } }

/* No category text above brand logos */
.marquee-row small { display: none !important; }

/* iOS status bar above the app (app content starts below it, as on a real iPhone 18) */
.ios-status { position: absolute; top: 0; left: 0; right: 0; height: 6.4%; z-index: 1; display: flex; align-items: center; justify-content: space-between;
  padding: 0 9% 0 11%; background: #f5f7fa; color: #111; font: 600 clamp(7px, 3.4cqw, 11px)/1 -apple-system, "SF Pro Text", Inter, sans-serif; }
.phone-screen.shot { container-type: inline-size; }
.ios-status { font-size: 4.2cqw; }
.ios-icons { display: flex; gap: 3px; align-items: center; }
.ios-icons i { display: block; background: #111; border-radius: 1px; }
.ios-icons .sig { width: 4.6cqw; height: 2.8cqw; 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%); }
.ios-icons .wifi { width: 4cqw; height: 2.8cqw; border-radius: 50% 50% 0 0; clip-path: polygon(50% 100%, 0 20%, 100% 20%); }
.ios-icons .bat { width: 6.4cqw; height: 3cqw; border-radius: 2px; background: #111; box-shadow: inset 0 0 0 .6cqw #111; }
.phone-screen.shot > .shot-img { top: 6.4% !important; }
.phone .island { top: 1.1%; height: 3.9%; }

/* Sharpness: flat devices (no 3D/animated rasterisation) */
.hero-devices, .hero-devices .ipad, .hero-devices .phone, .watch, .tour-ipad, .phone.mini, .duo-device { perspective: none !important; transform: none !important; animation: none !important; will-change: auto !important; }
.hero-devices .ipad, .hero-devices .phone { translate: none !important; }
.shot-img { image-rendering: auto; backface-visibility: visible; }


/* Full-resolution lossless captures: proportional text and icons at every pixel density. */
img.app-screenshot {
  display: block;
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
}
.ipad-screen.shot > img.app-screenshot,
.tour-screens.shot > img.app-screenshot { object-fit: contain; object-position: center; }
.phone-screen.shot > img.app-screenshot {
  top: 6.4% !important;
  bottom: 0;
  height: 93.6% !important;
  object-fit: contain;
  object-position: center;
}
.tour-screens.shot > img.app-screenshot.screen {
  transform: none;
  transition: opacity .25s ease;
}
.hero-devices .ipad::after, .tour-ipad::after { background: none; }


/* Native HTML/SVG previews paint app text at the display's actual pixel density. */
.app-live-viewport { position:absolute; inset:0; overflow:hidden; opacity:0; pointer-events:none; display:block; }
.phone-screen.shot > .app-live-viewport { top:6.4%; }
.app-live-frame { position:absolute; left:0; top:0; border:0; max-width:none; display:block; transform:none; background:#f5f7fa; }
.live-app-ready > .app-live-viewport { opacity:1; pointer-events:auto; }
.live-app-ready > img.app-screenshot { visibility:hidden; }


.app-store-badges { display:flex; justify-content:center; flex-wrap:wrap; gap:14px; margin-top:30px; }
.app-store-badge { display:flex; align-items:center; gap:13px; min-width:190px; padding:11px 19px; border:1px solid #62676d; border-radius:12px; background:#101214; color:#fff; text-align:left; }
.app-store-badge:disabled { opacity:1; cursor:default; }
.app-store-badge svg { width:29px; height:34px; flex:none; }
.app-store-badge span { display:flex; flex-direction:column; gap:3px; }
.app-store-badge small { font-size:11px; letter-spacing:.03em; }
.app-store-badge strong { font-size:22px; font-weight:500; line-height:1.1; }
.store-availability { margin-top:12px; font-size:12px; color:var(--muted); }

.simulator-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:20px;color:#a8b6bf;font-size:12px}
.simulator-controls button{padding:8px 13px;border:1px solid #526774;border-radius:8px;background:#182b37;color:#eaf2f7;cursor:pointer}
.simulator-controls button:hover{border-color:#d5b56d}
.simulator-controls button:focus-visible{outline:2px solid #d5b56d;outline-offset:3px}

#simulator-status{min-height:18px;margin-top:10px;color:#b9c6cf;font-size:12px}

/* Layout fixes (2026-11-13) --------------------------------------------- */
/* Music card sits on a light surface; the dark theme set --text to ivory, hiding the track title. */
.music-card { color: #1d2125; }
.music-card .mc-body b { color: #1d2125; }
.music-card .mc-body small { color: #6f747a; }
.music-card .mc-ctrls { color: #4a4f55; }
/* Processor units: one size and one inner padding for all four; the logo and status light sit
   at the same place. Each model keeps its own detail (Pro tone, Server port strip, Custom ∞). */
.proc-unit, .proc-unit.pro, .proc-unit.server, .proc-unit.custom { height: 104px; margin-top: 0; box-sizing: border-box; }
.proc-unit::before, .proc-unit.custom::before { left: 20px; top: 34px; transform: none; line-height: 1; }
.proc-unit span { right: 20px; top: 34px; margin-top: 0; }
.proc-unit.server::after { left: 20px; right: 52px; bottom: 22px; }
.proc-unit.custom::after { left: 20px; bottom: 16px; }
/* Phone row: size the figures, not the phones, so percentage widths resolve against the row. */
@media (max-width: 900px) {
  .phone-row .device-fig { flex: 0 1 30%; min-width: 0; }
  .phone-row .device-fig:nth-child(2) { flex-basis: 33%; }
  .phone-row .phone.mini.i18pro, .phone-row .phone.mini.i18promax { width: 100%; }
}
@media (max-width: 560px) {
  .phone-row .device-fig:nth-child(2) { flex: 0 1 68%; max-width: 260px; }
}

/* Device screen fit (2026-11-13) ----------------------------------------- */
/* Phones: reserve the iPhone home-indicator zone (34 of 874 pt) so the app's bottom
   menu is not clipped by the rounded screen corners, and draw the indicator. */
.phone-screen.shot > .app-live-viewport { bottom: 3.9%; }
.phone-screen.shot > img.app-screenshot { top: 6.4% !important; bottom: auto !important; height: 89.7% !important; }
.phone-screen.shot::after { content: ""; position: absolute; z-index: 3; left: 50%; bottom: 1.3%; width: 36%; height: 4px;
  transform: translateX(-50%); border-radius: 4px; background: #15171a; opacity: .82; pointer-events: none; }
/* Hero: the iPad no longer fills the whole column, so the phone overlaps only its sidebar edge. */
@media (min-width: 901px) {
  .hero-devices .ipad { width: 88%; max-width: 560px; right: 0; top: 24px; }
  .hero-devices .phone.i18pro { width: 31%; max-width: 196px; left: -16px; bottom: 0; }
  .hero-devices .watch { right: -10px; bottom: -24px; }
}
/* Hero on tablets/phones: iPad full width, phone overlapping its lower-left corner, watch clear on the right. */
@media (max-width: 900px) {
  .hero-devices { padding-bottom: 44%; }
  .hero-devices .phone.i18pro { width: 34%; max-width: 200px; left: 3%; right: auto; bottom: 0; }
  .hero-devices .watch { width: 25%; max-width: 132px; right: 5%; bottom: 6%; }
}
@media (max-width: 560px) {
  .hero-devices { padding-bottom: 50%; }
  .hero-devices .phone.i18pro { width: 40%; left: 2%; }
  .hero-devices .watch { width: 116px; right: 3%; bottom: 4%; }
}
/* Watch header: keep room name and time on one line at small watch sizes. */
.w-top { gap: 4px; white-space: nowrap; }
.w-top b { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) { .w-top { font-size: 7px !important; } }

/* Cinema & Music: real app screens (Apple TV on iPad, Music on phone) instead of a mock-up. */
.media-visual { height: 500px; }
.media-ipad { position: absolute; left: auto; right: 0; top: 10px; width: min(560px, 92%); transform: none !important; animation: none !important; }
.media-phone { position: absolute; left: 0; right: auto; bottom: 0; width: 31%; max-width: 190px; aspect-ratio: 390 / 874; transform: none !important; animation: none !important; z-index: 2; }
@media (max-width: 900px) {
  .media-visual { height: auto; padding-bottom: 42%; }
  .media-ipad { position: relative; top: 0; width: 100%; }
  .media-phone { left: 3%; width: 34%; }
}
