/* Homepage. Shared tokens and primitives first, then one block per section. */

:root {
  --bg: #0D0D0C;
  --fg: #EDEBE6;
  --soft: #C9C5BD;
  --muted: #9A968F;
  --dim: #8F8B84;
  --faint: #5E5B56;
  --card: #1D1D1B;
  --card-2: #222220;
  --card-3: #232321;
  --card-4: #262623;
  --green: #B8D4B0;
  --gold: #E3C77A;
  --mono: 'Geist Mono', monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: max(24px, calc((100% - 1180px) / 2));
}

body { color: var(--fg); font-family: 'Geist', sans-serif; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
i, em { font-style: normal; }
b { font-weight: 600; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
[hidden] { display: none !important; }
.dim { color: var(--dim); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; background: var(--c, var(--green)); }

.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.title { font-weight: 500; font-size: clamp(32px, 3.6vw, 56px); line-height: .98; letter-spacing: -.045em; }
.lead { font-size: 18px; line-height: 1.6; color: var(--soft); text-wrap: pretty; }

/* Every button shares one hover: a small lift and a brighter fill or border. */
.button, .tab { transition: transform .4s var(--ease), background .3s, border-color .3s, color .3s; }
.button:hover, .tab:hover { transform: translateY(-2px); }
.button { display: flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; background: var(--fg); color: var(--bg); font-weight: 600; font-size: 14px; }
.button:hover { background: #FFF; color: var(--bg); }
.button--small { padding: 10px 18px; }
.button__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bg); }
.button--ghost { background: none; color: var(--fg); font-weight: 500; border: 1px solid rgba(237, 235, 230, .22); }
.button--ghost:hover { background: rgba(237, 235, 230, .05); color: var(--fg); border-color: rgba(237, 235, 230, .6); }

/* Reveal on scroll: hidden only when JS is there to show it again. */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease) var(--delay, 0s), transform 1s var(--ease) var(--delay, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Page-wide layers */
.grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.glow { position: fixed; left: 0; top: 0; z-index: 1; width: 700px; height: 700px; margin: -350px 0 0 -350px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(237, 235, 230, .07) 0%, rgba(237, 235, 230, 0) 62%); transform: translate(50vw, 40vh); transition: transform .8s var(--ease); }
@media (hover: none) { .glow { display: none; } }

/* Scaled illustrations: a fixed-size canvas scaled to its container's width (see initFit in main.js). */
.canvas { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: scale(var(--scale, 1)); }

/* Header */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px var(--gutter); border-bottom: 1px solid transparent; transition: background .4s, border-color .4s; }
.nav.is-scrolled { background: rgba(13, 13, 12, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: rgba(237, 235, 230, .08); }
.logo { display: flex; align-items: baseline; gap: 10px; }
.logo__mark { font-weight: 600; font-size: 24px; letter-spacing: -.04em; }
.logo__name { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav__links { display: flex; gap: 4px; padding: 5px; border: 1px solid rgba(237, 235, 230, .1); border-radius: 999px; background: rgba(22, 22, 20, .6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav__links a { padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--soft); transition: background .3s, color .3s; }
.nav__links a:hover { background: rgba(237, 235, 230, .08); color: #FFF; }
@media (max-width: 860px) { .nav__links { display: none; } }

/* Hero */
.hero { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 48px clamp(24px, 3vw, 56px); padding: clamp(100px, 13vh, 136px) max(24px, calc((100% - 1140px) / 2)) 0; }
.hero__copy { flex: 1.2 1 480px; min-width: 0; }
.eyebrow--live { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(28px, 4vw, 44px); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.hero__title { font-weight: 500; font-size: clamp(40px, 4.8vw, 72px); line-height: .94; letter-spacing: -.05em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .07em; }
.hero__title .line > span { display: block; animation: line-up 1.3s var(--ease) .15s both; }
.hero__title .line:nth-child(2) > span { animation-delay: .27s; }
.hero__title .line:nth-child(3) > span { animation-delay: .39s; }
.hero__body { display: flex; flex-direction: column; gap: 28px; margin-top: clamp(28px, 3vw, 44px); }
.hero__body > div:first-child { max-width: 540px; }
.hero__body .lead { margin-bottom: 20px; }
.rotator { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.rotator__window { display: inline-block; overflow: hidden; height: 1.6em; line-height: 1.6em; }
.rotator__window > span { display: inline-block; color: var(--fg); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions .button span { font-size: 15px; }
.hero__art { flex: 1 1 420px; min-width: min(100%, 420px); max-width: 620px; }
.fit { position: relative; width: 100%; aspect-ratio: 680 / 640; }
.canvas--hero { width: 680px; height: 640px; }
.hero__halo { position: absolute; left: 90px; top: 60px; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(237, 235, 230, .09), rgba(237, 235, 230, 0) 65%); }
.hero .phone { top: 86px; z-index: 1; width: 250px; height: 528px; box-shadow: 0 40px 80px rgba(0, 0, 0, .6); --r: 42px; --r-in: 34px; --pad: 16px; --gap: 10px; }
.phone--left { left: 24px; rotate: -9deg; }
.phone--right { left: 406px; rotate: 9deg; }
.hero .phone--center { left: 215px; top: 40px; z-index: 2; }

/* Marquee */
.marquee { position: relative; z-index: 2; margin-top: clamp(90px, 11vw, 140px); padding: 26px 0; overflow: hidden; border-block: 1px solid rgba(237, 235, 230, .08); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee ul { display: flex; }
.marquee li { display: flex; align-items: center; gap: 40px; padding-right: 40px; font-size: clamp(24px, 2.6vw, 40px); letter-spacing: -.03em; color: var(--soft); white-space: nowrap; }
.marquee li::after { content: ''; width: 10px; height: 10px; rotate: 45deg; background: var(--faint); }

/* Sections */
.section { position: relative; z-index: 2; padding: clamp(64px, 8vw, 112px) var(--gutter) 0; }
.section__head { display: flex; flex-direction: column; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.lead--wide { max-width: 560px; }

/* Services: example tabs */
.examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 2px 0; }
.examples__label { margin-right: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tab { display: flex; align-items: center; gap: 7px; padding: 7px 14px 7px 11px; border: 1px solid rgba(237, 235, 230, .16); border-radius: 999px; font-size: 12.5px; white-space: nowrap; }
.tab:hover { border-color: rgba(237, 235, 230, .5); }
.tab[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.tab svg { width: 15px; height: 15px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tab:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

/* Services: stage with browser, phone and AI note */
.stage { position: relative; width: 100%; max-width: 1440px; margin-top: 28px; aspect-ratio: 1320 / 810; }
.canvas--stage { width: 1320px; height: 760px; }
.browser { position: absolute; left: 0; top: 0; width: 66%; height: 92%; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #161614; border: 1px solid rgba(237, 235, 230, .09); box-shadow: 0 40px 80px rgba(0, 0, 0, .5); }
.browser__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(237, 235, 230, .07); }
.browser__lights { display: flex; gap: 7px; margin-right: 4px; }
.browser__lights i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.browser__lights i:nth-child(2) { background: #FEBC2E; }
.browser__lights i:nth-child(3) { background: #28C840; }
.browser__url { margin-left: 12px; padding: 5px 14px; border-radius: 999px; background: #1F1F1D; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.browser__views { position: relative; flex: 1; min-height: 0; }

/* Only the active example is visible; the rest fade out, then stop painting. */
.screen, .phone--stage .phone__view { opacity: 0; visibility: hidden; transition: opacity .7s, transform 1s var(--ease), visibility 0s .7s; }
.screen { transform: scale(.97) translateY(14px); }
.phone--stage .phone__view { transform: translateY(16px) scale(.97); }
.screen.is-active, .phone--stage .phone__view.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.screen { position: absolute; inset: 0; display: flex; flex-direction: column; gap: clamp(12px, 1.6vw, 18px); padding: clamp(16px, 2vw, 26px); overflow: hidden; }
.screen--coffee { gap: clamp(16px, 2.4vw, 32px); padding: clamp(18px, 2.4vw, 34px) clamp(18px, 3vw, 44px); }
.screen--fashion { gap: 16px; padding: clamp(18px, 2.4vw, 30px); }
.screen--estate { gap: 14px; }
.screen--coaching { gap: clamp(14px, 2vw, 24px); padding: clamp(16px, 2vw, 26px) clamp(18px, 3vw, 40px); }
.screen--admin { flex-direction: row; gap: 0; padding: 0; }

/* Mock website primitives */
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-nav--baseline { align-items: baseline; flex-wrap: wrap; gap: 12px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 18px; letter-spacing: -.02em; white-space: nowrap; }
.brand svg { width: 24px; height: 24px; flex-shrink: 0; }
.site-nav__links { display: flex; gap: clamp(10px, 2vw, 22px); font-size: 13px; color: var(--muted); }
.site-nav__btn { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(237, 235, 230, .2); font-size: 12px; white-space: nowrap; }
.site-nav__btn--solid { border: 0; background: var(--fg); color: var(--bg); font-weight: 600; }
.mono-note { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kicker--soft { color: var(--soft); }
.headline { font-weight: 500; line-height: .98; letter-spacing: -.04em; }
.copy { line-height: 1.55; color: var(--soft); max-width: 380px; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }
.btn { padding: 11px 20px; border-radius: 999px; font-size: 13px; }
.btns--compact .btn { padding: clamp(8px, .8vw, 11px) clamp(14px, 1.4vw, 20px); }
.btn--solid { background: var(--fg); color: var(--bg); font-weight: 600; }
.btn--ghost { border: 1px solid rgba(237, 235, 230, .2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 6px 12px; border-radius: 999px; font-size: 12px; white-space: nowrap; color: var(--soft); border: 1px solid rgba(237, 235, 230, .16); }
.chip.is-on { border: 0; background: var(--fg); color: var(--bg); }
.chip--glass { color: var(--fg); background: rgba(20, 19, 18, .6); border-color: rgba(237, 235, 230, .2); }
.badge { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 10px; font-weight: 600; }
.badge--dark { background: rgba(13, 13, 12, .7); color: var(--fg); }
.avatar { border-radius: 50%; flex-shrink: 0; }
.split { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); }
.split--center { align-items: center; overflow: hidden; }
.split__copy { display: flex; flex-direction: column; justify-content: center; gap: clamp(12px, 1.6vw, 22px); min-width: 0; }
.split__copy--tight { gap: clamp(7px, 1.1vw, 16px); max-height: 100%; overflow: hidden; }
.split__copy--hospital { gap: clamp(8px, 1.3vw, 16px); }
.stack { display: flex; flex-direction: column; gap: 8px; min-width: 0; }

/* Coffee */
.screen--coffee .headline { font-size: clamp(24px, 3vw, 44px); }
.screen--coffee .copy { font-size: clamp(12px, 1.1vw, 15px); }
.coffee-shot { position: relative; overflow: hidden; border-radius: 18px; background: linear-gradient(160deg, #3A3833, #22211F); }
.coffee-shot__bag { position: absolute; left: 10%; top: 8%; width: 80%; height: 86%; overflow: visible; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .5)); }
.coffee-shot__price { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(13, 13, 12, .7); font-size: 11px; }

/* Fashion */
.catalogue { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(100px, 12vw, 160px), 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.product { display: flex; flex-direction: column; gap: 8px; }
.product__tile { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; border-radius: 12px; background: #1F1F1D; }
.product__tile::before { content: ''; position: absolute; left: 20%; right: 20%; bottom: 5%; height: 6%; border-radius: 50%; background: rgba(0, 0, 0, .35); filter: blur(4px); }
.product__tile svg { position: absolute; left: 10%; top: 8%; width: 80%; height: 84%; overflow: visible; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .45)); }
.product__info { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }
.product__info span + span { color: var(--muted); }

/* Restaurant and travel banners */
.banner { position: relative; flex: 1; min-height: 0; overflow: hidden; border-radius: 20px; }
.banner--restaurant { background: radial-gradient(ellipse at 72% 50%, #3A2A1E 0%, #211A15 45%, #141312 100%); }
.banner__dish { position: absolute; right: 1.5%; top: 13%; width: 46%; height: 64%; object-fit: contain; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .55)); }
.banner__fade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 19, 18, .92) 0%, rgba(20, 19, 18, .55) 42%, rgba(20, 19, 18, 0) 62%); }
.banner__fade--up { background: linear-gradient(180deg, rgba(20, 19, 18, .1) 20%, rgba(20, 19, 18, .88) 100%); }
.banner__copy { position: absolute; left: 0; top: 0; bottom: 0; width: 50%; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; gap: clamp(10px, 1.4vw, 18px); padding: clamp(18px, 2.6vw, 36px); }
.banner__copy .headline { font-size: clamp(22px, 2.6vw, 40px); }
.banner__copy .copy { font-size: clamp(12px, 1vw, 14px); max-width: 340px; }
.banner__copy .btn--ghost { border-color: rgba(237, 235, 230, .25); }
.banner__tag { position: absolute; right: clamp(12px, 1.6vw, 20px); top: clamp(12px, 1.6vw, 20px); padding: 5px 11px; border-radius: 999px; background: rgba(20, 19, 18, .7); font-size: 11px; }
.banner__scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.chef { position: absolute; right: clamp(12px, 1.6vw, 20px); bottom: clamp(12px, 1.6vw, 20px); display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 999px; background: rgba(20, 19, 18, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(237, 235, 230, .12); }
.chef svg { width: clamp(48px, 4.6vw, 64px); height: clamp(48px, 4.6vw, 64px); flex-shrink: 0; border-radius: 50%; }
.chef b, .person b { display: block; font-size: 13px; }
.chef span { font-size: 11px; color: var(--muted); }
.trip-search { position: absolute; left: clamp(16px, 2.4vw, 32px); right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2vw, 26px); display: flex; flex-direction: column; gap: clamp(8px, 1.2vw, 14px); }
.trip-search .headline { font-size: clamp(20px, 2.4vw, 36px); }
.trip-search .chip.is-on { font-weight: 600; }
.search-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; max-width: 680px; padding: 5px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 12px; }
.search-bar span { flex: 1; min-width: 70px; padding: 6px 12px; }
.search-bar span + span { border-left: 1px solid rgba(13, 13, 12, .12); }
.search-bar i { display: block; font-size: 10px; opacity: .6; }
.search-bar b { padding: 12px 18px; border-radius: 999px; background: var(--bg); color: var(--fg); }
.deals { display: flex; gap: 10px; }
.deal { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 10px 12px; border-radius: 12px; background: var(--card); border: 1px solid rgba(237, 235, 230, .08); font-size: 12px; }
.deal span:first-of-type { font-size: 11px; color: var(--muted); }
.deal span:last-child { margin-top: 4px; }

/* Real estate */
.estate { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: clamp(12px, 2vw, 24px); }
.estate__main { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.estate__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; }
.estate__head span:first-child { font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; letter-spacing: -.03em; }
.estate .chip.is-on { font-weight: 400; }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.project { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.project__tile, .media--estate { position: relative; aspect-ratio: 4 / 3.3; overflow: hidden; border-radius: 12px; background: radial-gradient(ellipse at 50% 30%, #2E2D2A, #1A1A18); }
.project__tile svg { position: absolute; inset: 8% 6% 4%; width: 88%; height: 88%; }
.project__name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.project__place { margin-top: -3px; font-size: 11px; color: var(--muted); }
.project__price { display: flex; justify-content: space-between; gap: 6px; font-size: 11px; }
.project__price span:first-child { color: var(--soft); }
.lead-form { align-self: start; display: flex; flex-direction: column; gap: 8px; padding: clamp(12px, 1.4vw, 18px); border-radius: 16px; background: var(--card); border: 1px solid rgba(237, 235, 230, .08); }
.lead-form__title { font-size: clamp(15px, 1.4vw, 19px); letter-spacing: -.02em; }
.lead-form__note { font-size: 11px; line-height: 1.45; color: var(--muted); }
.field { padding: 8px 12px; border-radius: 10px; background: var(--card-3); font-size: 12px; }
.field i { display: block; font-size: 10px; color: var(--muted); }
.lead-form__btn { padding: 10px; border-radius: 999px; background: var(--fg); color: var(--bg); text-align: center; font-size: 12px; font-weight: 600; }
.lead-form__btn--ghost { background: none; color: var(--fg); font-weight: 400; border: 1px solid rgba(237, 235, 230, .2); }

/* Coaching */
.screen--coaching .headline { font-size: clamp(18px, 2.4vw, 36px); }
.screen--coaching .copy, .split__copy--hospital .copy { font-size: clamp(11px, 1vw, 14px); line-height: 1.5; }
.small-note { font-size: 11px; color: var(--muted); }
.toppers { display: flex; flex-wrap: wrap; gap: 6px; }
.toppers span { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--card); font-size: 11px; font-weight: 600; }
.toppers svg { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; }
.course { display: flex; align-items: center; gap: 12px; padding: clamp(10px, 1.2vw, 14px); border-radius: 14px; background: var(--card); border: 1px solid rgba(237, 235, 230, .08); }
.course.is-on { background: var(--fg); color: var(--bg); border: 0; }
.course > p:first-child { flex: 1; min-width: 0; }
.course b { display: block; font-weight: 400; font-size: clamp(14px, 1.4vw, 18px); letter-spacing: -.02em; }
.course > p:first-child span { display: block; margin-top: 3px; font-size: 11px; opacity: .7; }
.course__start { text-align: right; font-size: 11px; }
.course__start span { display: block; opacity: .7; }
.course__start b { font-size: 11px; font-weight: 600; letter-spacing: 0; }

/* Hospital */
.split__copy--hospital .headline { font-size: clamp(20px, 2.4vw, 36px); }
.doctor-search { display: flex; align-items: center; gap: 6px; max-width: 420px; padding: 5px 5px 5px 14px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 12px; }
.doctor-search span { flex: 1; opacity: .55; }
.doctor-search b, .search-bar b { font-weight: 600; }
.doctor-search b { padding: 9px 16px; border-radius: 999px; background: var(--bg); color: var(--fg); }
.doctor { display: flex; align-items: center; gap: 12px; padding: clamp(10px, 1.1vw, 14px); border-radius: 14px; background: var(--card); border: 1px solid rgba(237, 235, 230, .06); }
.doctor.is-on { background: var(--card-3); border-color: rgba(237, 235, 230, .14); }
.doctor .avatar { width: clamp(36px, 3.4vw, 48px); height: clamp(36px, 3.4vw, 48px); }
.doctor p { flex: 1; min-width: 0; font-size: 11px; }
.doctor b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doctor span { display: block; color: var(--muted); }
.doctor em { display: block; margin-top: 3px; color: var(--green); }
.doctor__book { padding: 7px 12px; border-radius: 999px; font-size: 11px; font-weight: 600; border: 1px solid rgba(237, 235, 230, .2); }
.doctor.is-on .doctor__book { border: 0; background: var(--fg); color: var(--bg); }

/* Grocery */
.delivering { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--soft); }
.grocery-search { padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid rgba(237, 235, 230, .08); font-size: 12px; color: var(--muted); }
.categories { display: flex; gap: clamp(10px, 2vw, 22px); }
.categories p { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 11px; color: var(--soft); }
.categories span { display: flex; align-items: center; justify-content: center; width: clamp(34px, 3.4vw, 46px); height: clamp(34px, 3.4vw, 46px); border-radius: 50%; background: var(--card-3); }
.categories svg { width: 64%; height: 64%; }
.shelf-head { display: flex; align-items: baseline; justify-content: space-between; }
.shelf-head span:first-child { font-size: clamp(16px, 1.7vw, 22px); letter-spacing: -.02em; }
.shelf-head span:last-child { font-size: 11px; color: var(--muted); }
.shelf { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(6px, 1vw, 12px); }
.item { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 8px; border-radius: 12px; background: var(--card); }
.item__tile { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / .8; border-radius: 9px; background: var(--card-4); }
.item__tile svg { width: 60%; height: 75%; }
.item__name { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item__price { display: flex; align-items: center; justify-content: space-between; gap: 4px; font-size: 12px; }
.item__price span { font-size: 11px; color: var(--muted); }
.item__add { padding: 5px 0; border-radius: 8px; text-align: center; font-size: 11px; font-weight: 600; border: 1px solid rgba(237, 235, 230, .2); }
.item__add.is-on { border: 0; background: var(--fg); color: var(--bg); }

/* Store admin */
.sidebar { display: flex; flex-direction: column; gap: 8px; width: clamp(110px, 16%, 190px); padding: 20px 16px; border-right: 1px solid rgba(237, 235, 230, .07); }
.sidebar__brand { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-weight: 600; font-size: 16px; }
.sidebar__brand svg { width: 24px; height: 24px; flex-shrink: 0; }
.sidebar__link { padding: 9px 10px; font-size: 13px; color: var(--muted); }
.sidebar__link.is-on { border-radius: 9px; background: var(--card-4); color: var(--fg); }
.dashboard { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: clamp(18px, 2.4vw, 32px); }
.dashboard__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.dashboard__head span:first-child { font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: -.02em; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat { padding: 16px; border-radius: 14px; background: var(--card); }
.stat span { display: block; margin-bottom: 8px; font-size: 12px; color: var(--muted); }
.stat b { font-weight: 400; font-size: clamp(18px, 1.8vw, 24px); }
.chart { flex: 1; min-height: 0; display: flex; align-items: flex-end; gap: clamp(4px, 1vw, 12px); padding: 18px; border-radius: 14px; background: var(--card); }
.chart i { flex: 1; border-radius: 6px 6px 2px 2px; background: #3A3936; }
.chart i:nth-child(n + 11) { background: var(--faint); }
.chart i:last-child { background: var(--fg); }

/* Phones */
.phone { position: absolute; box-sizing: border-box; padding: 9px; border-radius: var(--r); background: #0A0A09; border: 1px solid rgba(237, 235, 230, .14); }
.phone__screen { position: relative; box-sizing: border-box; height: 100%; display: flex; flex-direction: column; gap: var(--gap); padding: var(--pad); overflow: hidden; border-radius: var(--r-in); background: #181816; }
.phone__status { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 600; }
.phone__notch { width: 60px; height: 16px; border-radius: 999px; background: #0A0A09; }
.phone__views { position: relative; flex: 1; min-height: 0; }
.phone__view { position: absolute; inset: 0; display: flex; flex-direction: column; gap: var(--gap); font-size: 12px; }
.phone--stage { right: clamp(16px, 3vw, 48px); bottom: 0; width: clamp(200px, 22vw, 300px); aspect-ratio: 9 / 19; rotate: 6deg; transform-origin: 50% 60%; box-shadow: 0 50px 90px rgba(0, 0, 0, .6); --r: clamp(30px, 3.4vw, 46px); --r-in: clamp(22px, 2.8vw, 38px); --pad: clamp(12px, 1.3vw, 18px); --gap: clamp(8px, .9vw, 12px); }

.view-head { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--soft); }
.view-head svg { width: 20px; height: 20px; flex-shrink: 0; }
.view-label { margin-top: 6px; font-size: 11px; color: var(--muted); }
.view-label--flat { margin-top: 0; }
.view-title { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.05; letter-spacing: -.02em; }
.view-top { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.view-top span:first-child { color: var(--muted); }
.pill { padding: 4px 10px; border-radius: 999px; background: var(--card-4); }
.card-light { padding: clamp(10px, 1.1vw, 14px); border-radius: 16px; background: var(--fg); color: var(--bg); }
.card-light__note { margin-top: 10px; font-weight: 600; }
.card-light__label { font-size: 11px; opacity: .7; }
.card-light__value { font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; }
.track { display: flex; justify-content: space-between; font-size: 11px; opacity: .7; }
.progress { margin-top: 8px; height: 4px; border-radius: 4px; background: rgba(13, 13, 12, .15); }
.progress i { display: block; height: 100%; border-radius: 4px; background: var(--bg); }
.mini-chart { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin-top: 8px; }
.mini-chart i { flex: 1; border-radius: 3px; background: rgba(13, 13, 12, .25); }
.mini-chart i:last-child { background: var(--bg); }
.person { display: flex; align-items: center; gap: 10px; }
.person .avatar { width: 34px; height: 34px; }
.person span { font-size: 11px; opacity: .65; }
.appointment { display: flex; justify-content: space-between; margin-top: 10px; }
.appointment b { font-weight: 700; }
.row { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 12px; background: var(--card-2); }
.row--wide { gap: 10px; }
.row--note { padding: 8px 10px; font-size: 11px; line-height: 1.3; }
.row--item { padding: 6px 8px; }
.row__icon { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; background: #2E2D2A; }
.row__icon svg { width: 80%; height: 80%; }
.row__label { flex: 1; }
.row__meta { font-size: 11px; color: var(--muted); }
.cta { margin-top: auto; padding: 12px; border-radius: 999px; background: var(--fg); color: var(--bg); text-align: center; font-size: 13px; font-weight: 600; }
.pay { margin-top: auto; display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 999px; background: var(--card-4); }
.pay span { color: var(--muted); }
.ticket { overflow: hidden; border-radius: 16px; background: var(--fg); color: var(--bg); }
.ticket__route { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; }
.ticket__route b { display: block; font-size: 22px; }
.ticket__route span { font-size: 10px; opacity: .6; }
.ticket__route p:last-child { text-align: right; }
.ticket__route .ticket__plane { font-size: 14px; opacity: 1; }
.ticket__meta { display: flex; justify-content: space-between; padding: 8px 14px; border-top: 1px dashed rgba(13, 13, 12, .25); font-size: 11px; }
.ticket__meta i { opacity: .6; }
.media { position: relative; flex: 1; min-height: 0; overflow: hidden; border-radius: 18px; background: linear-gradient(170deg, #2E2D2A, #1F1F1D); }
.media--estate { aspect-ratio: auto; border-radius: 18px; }
.media__bag { position: absolute; left: 16%; top: 10%; width: 68%; height: 80%; overflow: visible; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .5)); }
.media__shirt { position: absolute; left: 10%; top: 8%; width: 80%; height: 84%; overflow: visible; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .45)); }
.media__tower { position: absolute; inset: 8%; width: 84%; height: 84%; }
.media__like { position: absolute; right: 10px; top: 10px; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(13, 13, 12, .6); font-size: 13px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.price-row span { font-size: clamp(15px, 1.5vw, 20px); letter-spacing: -.02em; }
.price-row b { font-size: 14px; }
.price-row--stack { display: block; }
.price-row--stack small { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); }
.options { display: flex; gap: 5px; }
.options span { flex: 1; padding: 6px 0; border-radius: 9px; text-align: center; font-size: 10px; border: 1px solid rgba(237, 235, 230, .16); }
.options .is-on { border: 0; background: var(--fg); color: var(--bg); }
.variants { display: flex; gap: 6px; }
.swatch { width: 20px; height: 20px; border-radius: 50%; transition: box-shadow .4s; }
.swatch.is-on { box-shadow: 0 0 0 2px #181816, 0 0 0 3px var(--fg); }
.sizes { display: flex; gap: 4px; margin-left: auto; font-size: 11px; }
.sizes span { padding: 3px 8px; border-radius: 6px; border: 1px solid rgba(237, 235, 230, .18); }
.sizes .is-on { border: 0; background: var(--fg); color: var(--bg); }
.toast { position: absolute; left: 12px; right: 12px; top: 30px; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: var(--fg); color: var(--bg); font-size: 12px; font-weight: 600; opacity: 0; }
.toast::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--bg); }
.days { display: flex; gap: 5px; }
.days span { flex: 1; padding: 6px 0; border-radius: 10px; text-align: center; font-weight: 600; background: var(--card-4); }
.days i { display: block; font-size: 10px; font-weight: 400; opacity: .7; }
.days .is-on { background: var(--fg); color: var(--bg); }
.guests { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--card-2); }
.guests > span:first-child { color: var(--muted); }
.guests > span:last-child { display: flex; gap: 12px; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.slots span { padding: 7px 0; border-radius: 9px; text-align: center; font-size: 10px; border: 1px solid rgba(237, 235, 230, .16); }
.slots .is-off { border-color: rgba(237, 235, 230, .08); color: var(--faint); }
.slots .is-on { border: 0; background: var(--fg); color: var(--bg); }
.from { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 12px; background: var(--card-2); }
.from span { color: var(--muted); }
.visit { display: flex; gap: 6px; }
.visit span { padding: 11px 14px; border-radius: 999px; border: 1px solid rgba(237, 235, 230, .2); }
.visit span:first-child { flex: 1; padding: 11px 0; border: 0; background: var(--fg); color: var(--bg); text-align: center; font-weight: 600; }
.ask { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 999px; background: var(--card-4); font-size: 11px; color: var(--muted); }

/* AI note floating over the stage */
.ai-float { position: absolute; left: clamp(12px, 34%, 480px); bottom: clamp(-20px, -1vw, 0px); width: min(340px, 70%); padding: 18px 20px; border-radius: 20px; background: rgba(29, 29, 27, .88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(237, 235, 230, .12); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); animation: bob 3.2s ease-in-out infinite alternate; }
.ai-float__label { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ai-float__label .dot { width: 6px; height: 6px; }
.ai-float__msg { min-height: 3em; font-size: 15px; line-height: 1.5; }

/* AI section */
.ai { position: relative; z-index: 2; margin: clamp(64px, 8vw, 112px) max(12px, calc((100% - 1260px) / 2)) 0; padding: clamp(40px, 5vw, 72px) clamp(20px, 3.4vw, 40px); overflow: hidden; border-radius: 28px; background: #161614; border: 1px solid rgba(237, 235, 230, .07); }
.ai__orb { position: absolute; right: -15%; top: -35%; width: 75vw; max-width: 980px; aspect-ratio: 1; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 35% 35%, rgba(237, 235, 230, .07), rgba(237, 235, 230, 0) 60%); animation: spin 30s linear infinite; }
.ai__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: center; gap: 48px 72px; }
.ai__title { margin-bottom: 28px; font-weight: 500; font-size: clamp(26px, 2.8vw, 42px); line-height: 1.06; letter-spacing: -.045em; text-wrap: pretty; }
.ai__list { border-top: 1px solid rgba(237, 235, 230, .12); }
.ai-item { padding: clamp(16px, 1.6vw, 22px) 0; border-bottom: 1px solid rgba(237, 235, 230, .12); cursor: pointer; }
.ai-item__group { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(237, 235, 230, .2); font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.ai-item__group--spaced { margin-top: 18px; }
.ai-item__group .dot { width: 6px; height: 6px; }
.ai-item__toggle { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; }
.ai-item__toggle:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
.ai-item__n { width: 24px; flex-shrink: 0; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.ai-item__title { flex: 1; min-width: 0; font-weight: 500; font-size: clamp(22px, 2vw, 30px); line-height: 1.1; letter-spacing: -.03em; color: #6E6A64; transition: transform .7s var(--ease), color .5s; }
.ai-item__icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(237, 235, 230, .2); font-size: 15px; transition: transform .6s var(--ease), background .4s, color .4s; }
.ai-item__body { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .8s var(--ease), opacity .6s; }
.ai-item__body p { overflow: hidden; min-height: 0; max-width: 460px; padding-left: 40px; font-size: 16px; line-height: 1.6; color: var(--soft); text-wrap: pretty; }
.ai-item__body p::before { content: ''; display: block; height: 12px; }
.ai-item.is-open .ai-item__title { transform: translateX(10px); color: var(--fg); }
.ai-item.is-open .ai-item__icon { transform: rotate(45deg); background: var(--fg); color: var(--bg); }
.ai-item.is-open .ai-item__body { grid-template-rows: 1fr; opacity: 1; }

/* AI demo windows */
.ai-win { overflow: hidden; border-radius: 24px; background: #0F0F0E; border: 1px solid rgba(237, 235, 230, .1); box-shadow: 0 40px 90px rgba(0, 0, 0, .5); animation: pop .6s var(--ease) both; }
.ai-win [data-step] { animation: pop .6s var(--ease) both; }
.ai-win__head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid rgba(237, 235, 230, .08); }
.ai-win__head b { display: block; font-size: 14px; }
.ai-win__head span { font-size: 12px; color: var(--muted); }
.ai-win__avatar { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); border: 1px solid rgba(237, 235, 230, .25); }
.ai-win__avatar svg { width: 22px; height: 22px; }
.ai-win__avatar--light { background: var(--fg); border: 0; }
.ai-win__avatar--doc { border-radius: 10px; background: var(--fg); border: 0; }
.ai-win__avatar--doc svg { width: 18px; height: 18px; }
.ai-win__beat { width: 10px; height: 10px; border-radius: 50%; background: var(--bg); animation: beat 1.6s ease-in-out infinite; }
.ai-win__chat { box-sizing: border-box; height: 380px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 20px; overflow: hidden; }
.ai-win__chat--roomy { gap: 12px; padding: 22px; }
.ai-win__chat--top { justify-content: flex-start; gap: 12px; padding: 22px; }
.ai-win__chat--apps { flex: 3 1 280px; min-width: 0; }
.ai-win__split { display: flex; flex-wrap: wrap; }
.ai-win__input { box-sizing: border-box; display: flex; align-items: center; gap: 10px; min-height: 52px; margin: 0 16px 16px; padding: 0 16px; border-radius: 999px; background: var(--card); font-size: 13px; color: var(--muted); }
.ai-win__input > span:first-child { flex: 1; }
.ai-win__send { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--fg); color: var(--bg); font-size: 14px; }
.ai-win__input--drop { justify-content: space-between; padding: 0 6px 0 16px; }
.ai-win__input--drop b { padding: 9px 16px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 12px; }
.is-done { background: var(--green) !important; color: var(--bg); }

.msg { max-width: 82%; padding: 12px 16px; border-radius: 18px; font-size: 14px; line-height: 1.5; }
.msg--me { align-self: flex-end; background: var(--fg); color: var(--bg); }
.msg--bot { align-self: flex-start; background: var(--card); }
.msg--wide { max-width: 86%; }
.msg--wider { max-width: 88%; }
.uc { display: contents; }
.tool { align-self: flex-start; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid rgba(237, 235, 230, .12); font-size: 12px; color: var(--soft); }
.tool__dot { width: 18px; height: 18px; border-radius: 6px; }
.uc .tool__dot { animation: throb .9s ease-in-out infinite; }

.apps { flex: 1 1 150px; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; padding: 16px 14px; border-right: 1px solid rgba(237, 235, 230, .08); }
.apps__label { flex: 1 1 100%; margin-bottom: 4px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.app { flex: 1 1 140px; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; border: 1px solid rgba(237, 235, 230, .08); text-align: left; transition: background .5s, border-color .5s; }
.app svg { width: 24px; height: 24px; flex-shrink: 0; }
.app > span { min-width: 0; }
.app b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__status { display: flex; align-items: center; gap: 5px; font-size: 10px; color: var(--muted); }
.app__status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--faint); }
.app.is-using { background: var(--card-3); border-color: rgba(237, 235, 230, .22); }
.app.is-using .app__status::before { background: var(--green); }
.app--add { border-style: dashed; border-color: rgba(237, 235, 230, .22); font-size: 12px; color: var(--soft); cursor: default; }
.app--add span { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px; border: 1px solid rgba(237, 235, 230, .3); font-size: 14px; }

.order { align-self: flex-start; width: 100%; max-width: 330px; overflow: hidden; border-radius: 16px; background: #1A1A18; border: 1px solid rgba(237, 235, 230, .12); font-size: 12px; }
.order__head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid rgba(237, 235, 230, .08); }
.order__head svg { width: 18px; height: 18px; flex-shrink: 0; }
.order__head b { font-size: 13px; }
.order__head span { margin-left: auto; font-size: 11px; color: var(--muted); }
.order__body { display: flex; flex-direction: column; gap: 8px; padding: 10px 14px; }
.order__body--row { flex-direction: row; align-items: center; gap: 12px; }
.order__line { display: flex; align-items: center; gap: 8px; }
.order__line span:first-child { flex: 1; }
.order__line i { color: var(--muted); }
.order__line span:last-child { width: 54px; text-align: right; }
.order__thumb { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 64px; height: 64px; border-radius: 10px; background: var(--card-3); }
.order__thumb svg { width: 76%; height: 84%; overflow: visible; }
.order__product { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.order__title { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.order__title--stack { display: block; }
.order__title--stack span { display: block; font-size: 11px; color: var(--muted); }
.order__sub { font-size: 11px; color: var(--muted); }
.order__options { display: flex; gap: 5px; }
.order__options span { flex: 1; padding: 6px 0; border-radius: 8px; text-align: center; font-size: 11px; border: 1px solid rgba(237, 235, 230, .16); }
.order__options .is-on { border: 0; background: var(--fg); color: var(--bg); font-weight: 600; }
.order__options--slots { gap: 6px; }
.order__options--slots span { padding: 7px 0; border-radius: 9px; }
.order__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-top: 1px solid rgba(237, 235, 230, .08); }
.order__foot span { color: var(--soft); }
.order__foot b { padding: 8px 14px; border-radius: 999px; background: var(--fg); color: var(--bg); transition: background .4s, color .4s; }
.flight { display: flex; align-items: center; gap: 10px; font-size: 10px; color: var(--muted); }
.flight b { display: block; font-size: 15px; color: var(--fg); }
.flight span:last-child { text-align: right; }
.flight i { flex: 1; display: flex; align-items: center; gap: 4px; }
.flight i::before, .flight i::after { content: ''; flex: 1; height: 1px; background: rgba(237, 235, 230, .25); }
.order__detail { display: flex; justify-content: space-between; gap: 8px; }
.order__detail span:first-child { color: var(--muted); }

.matches { display: flex; gap: 8px; }
.match { flex: 1; min-width: 0; overflow: hidden; border-radius: 14px; background: #1A1A18; border: 1px solid rgba(237, 235, 230, .1); }
.match.is-best { border-color: rgba(237, 235, 230, .4); }
.match__img { position: relative; display: flex; align-items: center; justify-content: center; height: 96px; background: var(--card-3); }
.match__img svg { width: 62%; height: 78%; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .4)); }
.match__img span { position: absolute; top: 6px; left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 9px; font-weight: 700; }
.match__info { padding: 8px 10px; font-size: 11px; }
.match__info b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.match__info > span { display: flex; justify-content: space-between; margin-top: 2px; }
.match__info em { color: var(--green); }

.file { align-self: flex-start; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 14px; background: var(--card); border: 1px dashed rgba(237, 235, 230, .22); font-size: 13px; }
.file small { display: block; font-size: 11px; color: var(--muted); }
.file__icon { box-sizing: border-box; display: flex; flex-direction: column; gap: 3px; width: 28px; height: 36px; padding: 7px 5px; border-radius: 4px; background: var(--fg); }
.file__icon i { height: 2px; background: var(--muted); }
.file__icon i:nth-child(2) { width: 70%; }
.status { align-self: flex-start; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--soft); }
.fields { padding: 6px 18px; border-radius: 16px; background: #1A1A18; border: 1px solid rgba(237, 235, 230, .1); }
.fields p { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(237, 235, 230, .07); font-size: 14px; }
.fields span:first-child { color: var(--muted); }

/* About */
.about { max-width: 980px; font-size: clamp(22px, 2.4vw, 36px); line-height: 1.16; letter-spacing: -.035em; text-wrap: pretty; }

/* Footer */
.footer { position: relative; z-index: 2; margin-top: clamp(64px, 8vw, 112px); padding: clamp(48px, 6vw, 80px) var(--gutter) 0; border-top: 1px solid rgba(237, 235, 230, .1); display: flow-root; overflow: clip; }
.footer__title { margin-bottom: clamp(36px, 5vw, 64px); }
.contacts { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 36px clamp(40px, 7vw, 120px); padding-bottom: clamp(40px, 5vw, 64px); }
.contact { display: flex; flex-direction: column; gap: 14px; }
.contact span { font-size: 13px; color: var(--muted); }
.contact a { align-self: flex-start; max-width: 100%; padding-bottom: 8px; border-bottom: 1px solid rgba(237, 235, 230, .25); font-size: clamp(19px, 2.4vw, 36px); letter-spacing: -.025em; white-space: nowrap; transition: border-color .3s, padding .5s var(--ease); }
.contact a:hover { border-color: var(--fg); padding-right: 24px; }
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 20px 40px; padding: 24px 0; border-top: 1px solid rgba(237, 235, 230, .08); font-size: 13px; line-height: 1.6; color: var(--muted); }
.footer__id { flex: 1 1 280px; min-width: 0; max-width: 560px; display: flex; flex-direction: column; gap: 4px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__links a { color: var(--muted); }
.footer__links a:hover { color: #FFF; }
.wordmark { margin-bottom: -.06em; font-weight: 600; font-size: clamp(96px, 26vw, 380px); line-height: .72; letter-spacing: -.07em; color: #1A1A18; text-align: center; white-space: nowrap; user-select: none; pointer-events: none; }

@keyframes pulse { 50% { transform: scale(1.8); opacity: .35; } }
@keyframes line-up { from { transform: translateY(110%) rotate(3deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes bob { to { translate: 0 -14px; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes beat { from, to { transform: scale(.6); } 50% { transform: scale(1.1); } }
@keyframes throb { 50% { transform: scale(.8); } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }

/* Scroll-linked effects, where supported: the about text lights up word by word,
   the stage phone drifts and the footer wordmark rises. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .about span { display: inline-block; animation: word linear both; animation-timeline: view(); animation-range: cover 18% cover 48%; }
    .stage { view-timeline: --stage block; }
    .phone--stage { animation: drift linear both; animation-timeline: --stage; animation-range: cover 0% cover 100%; }
    .wordmark { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  }
  @keyframes word { from { opacity: .18; } }
  @keyframes drift { from { translate: 0 40px; rotate: 4.4deg; } to { translate: 0 -50px; rotate: 8deg; } }
  @keyframes rise { from { translate: 0 30%; } 60% { color: #1A1A18; } 60.1%, to { color: #22221F; } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
