/* ==========================================================================
   Majestic Games: "Majestic OS" design. No external resources, fonts are self-hosted.
   The home page opens on a macOS-like desktop, the rest of the site is styled like an Apple product page.
   ========================================================================== */

/* ---------- Fonts ---------- */
/* Apple devices use their system font (SF Pro); everyone else gets Inter. Arabic uses Noto Sans Arabic,
   Japanese and Chinese use the visitor's system fonts. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/inter-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/inter-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/inter-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-cyrillic-ext-400-normal.woff2) format("woff2"); unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-cyrillic-ext-500-normal.woff2) format("woff2"); unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-cyrillic-ext-600-normal.woff2) format("woff2"); unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/inter-cyrillic-ext-700-normal.woff2) format("woff2"); unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: "Noto Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/noto-sans-arabic-arabic-400-normal.woff2) format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0898-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: "Noto Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/noto-sans-arabic-arabic-500-normal.woff2) format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0898-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: "Noto Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/noto-sans-arabic-arabic-600-normal.woff2) format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0898-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }

/* ---------- Tokens ---------- */
:root {
  --ink: #0a090c;            /* page ground */
  --ink-2: #131117;          /* raised surfaces */
  --ink-3: #1b1820;
  --glass: rgba(28, 24, 32, .62);
  --glass-strong: rgba(30, 26, 34, .88);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .17);
  --fg: #f5f3f7;
  --fg-2: #c9c4cf;
  --muted: #8f8996;
  --dim: #3a3540;
  --crimson: #e5135f;        /* Majestic accent */
  --rose: #ff5c95;
  --violet: #8b4dff;
  --menu-h: 30px;
  --wrap: 1120px;
  --gutter: max(16px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.2, .9, .25, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Noto Sans Arabic", "Segoe UI", system-ui, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--menu-h) + 24px); background: var(--ink); }
body { margin: 0; min-height: 100vh; background: var(--ink); color: var(--fg); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
em { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--crimson); color: #fff; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
.i { width: 1em; height: 1em; flex: none; }
.b { font-weight: 700; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 2000; padding: 10px 16px; border-radius: 10px; background: var(--crimson); color: #fff; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 1001; background: rgba(12, 10, 14, .85); }

/* ---------- Type & primitives ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.kicker { font-size: 14px; font-weight: 600; color: var(--rose); letter-spacing: .01em; margin-bottom: 16px; }
.kicker--muted { color: var(--muted); font-weight: 500; }
.h1 { font-size: clamp(44px, 7vw, 96px); line-height: 1; font-weight: 700; letter-spacing: -.045em; text-wrap: balance; }
.h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.04; font-weight: 700; letter-spacing: -.042em; text-wrap: balance; }
.h1 .accent, .h2 .accent, .cta__title .accent, .desk-hero__title .accent {
  background: linear-gradient(100deg, #ff9cc0 0%, var(--rose) 30%, var(--crimson) 62%, #ff86b2 100%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 7s ease-in-out infinite alternate;
}
@keyframes sheen { to { background-position: 100% 0; } }
.sub { margin-top: 18px; max-width: 620px; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.45; color: var(--fg-2); letter-spacing: -.01em; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--rose); font-weight: 500; font-size: 17px; }
.link .i { transition: transform .3s var(--ease); }
.link:hover .i { transform: translateX(4px); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; color: var(--rose); background: rgba(229, 19, 95, .15); border: 1px solid rgba(229, 19, 95, .35); }
.ph { display: grid; place-items: center; width: 100%; height: 100%; font-size: 28px; font-weight: 700; color: #fff; background: linear-gradient(145deg, var(--rose), var(--crimson)); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 99px; font-size: 14px; font-weight: 600; white-space: nowrap; background: rgba(255, 255, 255, .1); border: 1px solid var(--line-2); transition: background-color .2s, transform .35s var(--spring), border-color .2s; }
.btn:hover { background: rgba(255, 255, 255, .17); }
.btn:active { transform: scale(.96); }
.btn .i { width: 16px; height: 16px; }
.btn--primary { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.btn--primary:hover { background: #f72a73; border-color: #f72a73; }
.btn--glass { background: rgba(255, 255, 255, .08); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.btn--lg { height: 50px; padding: 0 26px; font-size: 16px; }
.btn--sm { height: 30px; padding: 0 14px; font-size: 13px; }

/* ---------- Menu bar ---------- */
.menubar {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 1000; height: var(--menu-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-left: max(10px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px));
  background: rgba(16, 13, 18, .6); backdrop-filter: blur(30px) saturate(1.8); -webkit-backdrop-filter: blur(30px) saturate(1.8);
  border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 13px; user-select: none; -webkit-user-select: none;
}
.menubar__left, .menubar__right { display: flex; align-items: center; gap: 2px; min-width: 0; }
.menubar__right { gap: 12px; color: var(--fg-2); flex: none; }
.menubar__logo { width: 30px; height: 24px; display: grid; place-items: center; border-radius: 5px; color: var(--rose); }
.menubar__logo .i { width: 16px; height: 16px; }
.menubar__logo:hover { background: rgba(255, 255, 255, .12); }
.menubar__item { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 5px; color: var(--fg-2); white-space: nowrap; }
.menubar__item:hover, .menubar__item[aria-expanded="true"], .menubar__item.is-current { background: rgba(255, 255, 255, .12); color: #fff; }
.menubar__brand { font-weight: 700; color: #fff; }
.menubar__lang { height: 20px; padding: 0 6px; border: 1px solid var(--line-2); border-radius: 4px; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--fg-2); }
.menubar__lang:hover, .menubar__lang[aria-expanded="true"] { background: rgba(255, 255, 255, .12); color: #fff; }
.menubar__wifi .i { width: 15px; height: 15px; }
.menubar__clock { font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu { position: relative; }
.menu__drop {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 1010; min-width: 230px; padding: 5px; display: grid;
  background: var(--glass-strong); backdrop-filter: blur(40px) saturate(1.8); -webkit-backdrop-filter: blur(40px) saturate(1.8);
  border: 1px solid var(--line-2); border-radius: 10px; box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
}
.menu--end .menu__drop { left: auto; right: 0; min-width: 190px; }
.menu__drop a { display: flex; justify-content: space-between; gap: 24px; padding: 5px 10px; border-radius: 5px; font-size: 13px; color: var(--fg); }
.menu__drop a:hover, .menu__drop a:focus-visible { background: var(--crimson); color: #fff; outline: none; }
.menu__drop a small { color: var(--muted); }
.menu__drop a:hover small { color: rgba(255, 255, 255, .8); }
.menu__drop a[aria-current="true"] { color: var(--rose); }
.menu__drop a[aria-current="true"]:hover { color: #fff; }
.menu__drop hr { border: 0; height: 1px; background: var(--line); margin: 5px 8px; }
.m-only { display: none !important; }

/* ---------- Desktop (first screen of the home page) ---------- */
.desktop { position: relative; z-index: 2; height: max(720px, 100svh); overflow: hidden; isolation: isolate; }
.wallpaper { position: absolute; inset: 0; z-index: -2; background: radial-gradient(120% 90% at 50% 120%, #3a0c22 0%, #12080e 55%, #08070a 100%); }
.wallpaper canvas, .wallpaper img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wallpaper::after {
  content: ""; position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.wallpaper--img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 9, 12, .25), rgba(10, 9, 12, .55)); }

/* centred in the band between the top row of widgets and the dock */
.desk-hero { position: absolute; left: 50%; top: calc(50% + 70px); z-index: 1; width: min(900px, 92vw); transform: translate(-50%, -50%); text-align: center; pointer-events: none; }
.desk-hero a, .desk-hero button { pointer-events: auto; }
.desk-hero__eyebrow { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; color: var(--fg-2); animation: rise .9s var(--ease) both .1s; }
.desk-hero__eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 12px var(--rose); }
.desk-hero__title {
  margin-top: 16px; margin-bottom: -.14em; padding-bottom: .14em; font-size: clamp(40px, min(6.4vw, 9.6vh), 104px); line-height: .98; font-weight: 700; letter-spacing: -.045em; text-wrap: balance;
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, .62)); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rise 1s var(--ease) both .18s;
}
.desk-hero__sub { margin: 20px auto 0; max-width: 560px; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.5; color: var(--fg-2); letter-spacing: -.01em; animation: rise 1s var(--ease) both .3s; }
.desk-hero__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; animation: rise 1s var(--ease) both .42s; }
.desk-hero__hint { margin-top: 24px; font-size: 12px; color: var(--muted); animation: rise 1s var(--ease) both .55s; }
.desk-hero__hint kbd { font: 600 11px var(--font); padding: 2px 6px; border: 1px solid var(--line-2); border-radius: 5px; color: var(--fg-2); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* Widgets */
.widgets { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.widget {
  position: absolute; pointer-events: auto; border-radius: 22px; padding: 16px;
  background: var(--glass); backdrop-filter: blur(28px) saturate(1.7); -webkit-backdrop-filter: blur(28px) saturate(1.7);
  border: 1px solid var(--line); box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
  cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none;
  transition: box-shadow .3s, scale .35s var(--spring);
  animation: pop .8s var(--spring) both; animation-delay: calc(var(--i, 0) * 80ms + .3s);
}
@keyframes pop { from { opacity: 0; scale: .86; translate: 0 14px; } }
.widget.is-dragging { cursor: grabbing; scale: 1.04; box-shadow: 0 30px 70px -10px rgba(0, 0, 0, .75); }
.w-label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

.w-clock { left: 3%; top: calc(var(--menu-h) + 26px); width: 168px; height: 168px; padding: 12px; display: grid; place-items: center; }
/* the face keeps its own square, so a stretched widget (phone grid next to a tall note) never makes it oval */
.clock { position: relative; width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fdfcfe, #e7e2ea); box-shadow: inset 0 -6px 14px rgba(0, 0, 0, .12); }
.clock__tick { position: absolute; left: 50%; top: 5%; width: 2px; height: 7%; margin-left: -1px; border-radius: 2px; background: #2a2430; transform-origin: 50% 642%; }
.clock__tick--minor { width: 1px; height: 3.5%; margin-left: -.5px; background: #a29ca8; transform-origin: 50% 1285%; }
.clock__num { position: absolute; font: 600 13px var(--font); color: #1d1820; transform: translate(-50%, -50%); }
.clock__city { position: absolute; left: 0; right: 0; top: 64%; text-align: center; font: 600 10px var(--font); color: #6d6672; letter-spacing: .05em; text-transform: uppercase; }
.hand { position: absolute; left: 50%; bottom: 50%; transform-origin: 50% 100%; border-radius: 4px; background: #1d1820; }
.hand--h { width: 5px; height: 26%; margin-left: -2.5px; }
.hand--m { width: 3.5px; height: 37%; margin-left: -1.75px; }
.hand--s { width: 1.5px; height: 42%; margin-left: -.75px; background: var(--crimson); }
.clock__pin { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--crimson); border: 2px solid #fff; }

.w-stats { left: calc(3% + 184px); top: calc(var(--menu-h) + 26px); width: 340px; }
.w-stats__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.w-stats__cell { padding: 12px 10px; border-radius: 14px; background: rgba(255, 255, 255, .05); min-width: 0; }
.w-stats__cell .b { display: block; font-size: 30px; line-height: 1; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.w-stats__cell:first-child .b { color: var(--rose); }
.w-stats__cell span:not(.b) { display: block; margin-top: 6px; font-size: 11px; line-height: 1.25; color: var(--fg-2); overflow-wrap: anywhere; }

.w-player { left: 3%; bottom: 112px; width: 340px; display: grid; grid-template-columns: 76px 1fr; gap: 12px 14px; align-items: center; }
.w-player__art { width: 76px; height: 76px; border-radius: 14px; overflow: hidden; background: radial-gradient(circle at 50% 35%, #7b2453, #250b19); box-shadow: 0 8px 20px rgba(0, 0, 0, .4); }
.w-player__art img { width: 100%; height: 100%; object-fit: cover; }
.w-player__info { min-width: 0; }
.w-player__name { margin-top: 4px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-player__tag { margin-top: 2px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-player__bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.w-player__bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--crimson), var(--rose)); animation: progress 12s linear infinite; }
@keyframes progress { to { width: 100%; } }
.w-player__ctrl { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: -2px; }
.w-player__ctrl button { color: var(--fg); opacity: .85; }
.w-player__ctrl button:hover { opacity: 1; }
.w-player__ctrl .i { width: 16px; height: 16px; }
.w-player__play { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #111; transition: transform .3s var(--spring); }
.w-player__play:hover { transform: scale(1.1); }

.w-note {
  right: 3%; top: calc(var(--menu-h) + 40px); width: 210px; padding: 16px 16px 18px; border-radius: 6px; rotate: -3deg;
  background: linear-gradient(180deg, #ff6b9d, #e5135f); color: #fff; border: 0; box-shadow: 0 16px 40px -10px rgba(229, 19, 95, .55); font-size: 14px; line-height: 1.4;
}
.has-icons .w-note { right: calc(3% + 120px); }
.w-note.is-dragging { rotate: 0deg; }
.w-note .b { display: block; font-size: 17px; letter-spacing: -.01em; margin-bottom: 6px; }
.w-note small { display: block; margin-top: 10px; opacity: .85; font-size: 11px; overflow-wrap: anywhere; }

.w-partners { right: 2.5%; bottom: 112px; width: 300px; }
.w-partners__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.w-partners__logo { height: 54px; display: grid; place-items: center; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.w-partners__logo img { max-height: 24px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .8; transition: filter .3s, opacity .3s; }
.w-partners__logo:hover img { filter: none; opacity: 1; }
.w-partners__more { font-size: 12px; color: var(--muted); }
.w-partners__more:hover { color: #fff; background: rgba(255, 255, 255, .1); }

/* Desktop folder icons */
.dicons { position: absolute; right: max(18px, env(safe-area-inset-right, 0px)); top: calc(var(--menu-h) + 22px); z-index: 4; display: grid; gap: 12px; }
.dicon { width: 96px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 4px; border-radius: 8px; text-align: center; }
.dicon:hover { background: rgba(255, 255, 255, .06); }
.dicon:focus-visible .dicon__name, .dicon.is-selected .dicon__name { background: var(--crimson); color: #fff; }
.dicon__name { padding: 1px 6px; border-radius: 4px; font-size: 12px; font-weight: 500; line-height: 1.3; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.folder { position: relative; width: 62px; height: 48px; }
.folder::before { content: ""; position: absolute; left: 2px; top: 0; width: 24px; height: 10px; border-radius: 4px 4px 0 0; background: #c40f52; }
.folder::after { content: ""; position: absolute; inset: 6px 0 0; border-radius: 4px 4px 6px 6px; background: linear-gradient(180deg, #ff6b9d, #e5135f 70%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 6px 14px rgba(0, 0, 0, .35); }
.folder img { position: absolute; z-index: 1; width: 30px; left: 50%; top: 58%; transform: translate(-50%, -50%); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.doc-ico { width: 44px; height: 54px; display: grid; place-items: center; border-radius: 4px 14px 4px 4px; background: linear-gradient(160deg, #fff, #e9e5ec); box-shadow: 0 6px 14px rgba(0, 0, 0, .35); font-weight: 700; font-size: 22px; color: var(--crimson); }

/* Notification */
.notify {
  position: absolute; right: max(14px, env(safe-area-inset-right, 0px)); top: calc(var(--menu-h) + 12px); z-index: 850; width: 350px;
  display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 12px 14px; border-radius: 18px; cursor: pointer;
  background: var(--glass-strong); backdrop-filter: blur(40px) saturate(1.8); -webkit-backdrop-filter: blur(40px) saturate(1.8);
  border: 1px solid var(--line-2); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6);
  transform: translateX(calc(100% + 40px)); transition: transform .7s var(--spring); font-size: 13px;
}
.notify.is-shown { transform: none; }
.notify__ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: linear-gradient(145deg, #ff6b9d, #e5135f); }
.notify__ico .i { width: 22px; height: 22px; }
.notify .b { display: block; padding-right: 40px; }
.notify__text { display: block; margin-top: 2px; color: var(--fg-2); }
.notify__when { position: absolute; right: 14px; top: 12px; font-size: 11px; color: var(--muted); }

/* Windows */
.wins { position: absolute; inset: 0; z-index: 20; pointer-events: none; }
.win {
  position: absolute; left: calc(50% - min(var(--w), 100% - 24px) / 2); top: calc(var(--menu-h) + 60px);
  width: min(var(--w), 100% - 24px); height: min(var(--h), 100% - var(--menu-h) - 150px); min-width: 280px;
  display: flex; flex-direction: column; overflow: hidden; border-radius: 14px;
  background: var(--glass-strong); backdrop-filter: blur(40px) saturate(1.8); -webkit-backdrop-filter: blur(40px) saturate(1.8);
  border: 1px solid var(--line-2); box-shadow: 0 30px 80px -10px rgba(0, 0, 0, .7), 0 0 0 .5px rgba(0, 0, 0, .8);
  opacity: 0; transform: scale(.4); visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.win.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity .25s var(--ease), transform .55s var(--spring), visibility 0s; }
.win.is-zoomed { left: 12px !important; top: calc(var(--menu-h) + 12px) !important; width: calc(100% - 24px); height: calc(100% - var(--menu-h) - 112px); }
.win.is-animating { transition: opacity .25s var(--ease), transform .55s var(--spring), left .4s var(--ease), top .4s var(--ease), width .4s var(--ease), height .4s var(--ease); }
.win.is-dragging { transition: none; }
.win__bar { position: relative; flex: none; height: 40px; display: flex; align-items: center; justify-content: center; padding: 0 84px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; cursor: default; user-select: none; -webkit-user-select: none; touch-action: none; }
.win__title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win.is-inactive .win__bar { color: var(--muted); }
.win.is-inactive .lights i { background: #4a454f; }
.lights { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: flex; gap: 8px; }
.lights button { width: 12px; height: 12px; border-radius: 50%; position: relative; }
.lights button::before { content: ""; position: absolute; inset: -6px; }
.lights i { display: block; width: 12px; height: 12px; border-radius: 50%; }
.l-close i { background: #ff5f57; } .l-min i { background: #febc2e; } .l-zoom i { background: #28c840; }
.win__body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.win__status { flex: none; padding: 6px 14px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); text-align: center; }

.finder { display: grid; grid-template-columns: 180px 1fr; min-height: 100%; }
.finder__side { padding: 12px 8px; border-right: 1px solid var(--line); background: rgba(255, 255, 255, .02); display: grid; align-content: start; gap: 1px; }
.finder__side p { margin: 8px 8px 4px; font-size: 11px; font-weight: 600; color: var(--muted); }
.finder__side a { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 6px; font-size: 13px; color: var(--fg-2); }
.finder__side a::before { content: ""; width: 14px; height: 11px; flex: none; border-radius: 2px; background: var(--rose); }
.finder__side a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.finder__side a.is-on { background: rgba(255, 255, 255, .1); color: #fff; }
.finder__files { padding: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 16px 10px; align-content: start; }
.file { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 6px; border-radius: 10px; text-align: center; }
.file:hover { background: rgba(255, 255, 255, .06); }
.file__ico { width: 72px; height: 72px; border-radius: 18px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #4a2038, #160b12); box-shadow: 0 8px 18px rgba(0, 0, 0, .35); }
.file__ico img { width: 100%; height: 100%; object-fit: cover; }
.file .b { font-size: 13px; font-weight: 500; line-height: 1.3; }
.file small { font-size: 11px; color: var(--muted); }

.pwin__cover { position: relative; height: 220px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 30%, #5b1636, #1b0b14 70%); }
.pwin__cover img { width: 190px; height: 190px; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); animation: float 6s ease-in-out infinite alternate; }
.pwin__cover .ph { width: 120px; height: 120px; border-radius: 28px; }
@keyframes float { from { translate: 0 -6px; } to { translate: 0 8px; } }
.pwin__body { padding: 22px 24px 24px; }
.pwin__name { margin-top: 10px; font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: -.03em; }
.pwin__tag { margin-top: 4px; color: var(--rose); font-weight: 500; }
.pwin__text { margin-top: 14px; color: var(--fg-2); line-height: 1.6; font-size: 15px; }
.pwin__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

.partners-win { padding: 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.partners-win li > * { height: 90px; display: grid; place-items: center; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.partners-win a:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .07); }
.partners-win img { max-height: 36px; width: auto; }
.partners-win li > img { box-sizing: content-box; max-height: 36px; }

.aboutwin { display: grid; grid-template-columns: 140px 1fr; gap: 26px; padding: 28px 30px 24px; align-items: center; }
.aboutwin__mark { width: 140px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 32px; color: #fff; background: linear-gradient(145deg, #ff6b9d, #e5135f 55%, #8a0a39); box-shadow: 0 20px 40px -10px rgba(229, 19, 95, .6), inset 0 2px 0 rgba(255, 255, 255, .35); }
.aboutwin__mark .i { width: 64%; height: 64%; }
.aboutwin h2 { font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.aboutwin__ver { margin-top: 2px; font-size: 12px; color: var(--muted); }
.aboutwin dl { display: grid; gap: 6px; margin-top: 16px; font-size: 13px; }
.aboutwin dl div { display: grid; grid-template-columns: minmax(90px, auto) 1fr; gap: 14px; }
.aboutwin dt { color: var(--fg-2); font-weight: 600; text-align: end; }
.aboutwin dd { color: var(--fg-2); }
.aboutwin__acts { grid-column: 1 / -1; display: flex; justify-content: center; gap: 8px; }

.mailwin { display: flex; flex-direction: column; min-height: 100%; }
.mailwin__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.mailwin__row { display: grid; grid-template-columns: 76px 1fr; align-items: center; min-height: 42px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.mailwin input, .mailwin textarea { width: 100%; border: 0; outline: none; background: none; color: var(--fg); font: inherit; font-size: 14px; }
.mailwin input { padding: 10px 0; }
.mailwin textarea { flex: 1; min-height: 140px; padding: 14px; resize: none; line-height: 1.55; }
.mailwin__note { padding: 8px 14px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; justify-self: start; max-width: 100%; padding: 2px 4px 2px 10px; border-radius: 99px; background: rgba(229, 19, 95, .2); color: #ffd0e0; font-size: 13px; }
.chip__addr { user-select: all; -webkit-user-select: all; overflow-wrap: anywhere; }
.chip button { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; }
.chip button:hover { background: rgba(255, 255, 255, .15); }
.chip .i { width: 12px; height: 12px; }

/* Dock */
.dock-wrap { position: absolute; left: 0; right: 0; bottom: max(10px, env(safe-area-inset-bottom, 0px)); z-index: 800; display: flex; justify-content: center; pointer-events: none; }
.dock {
  pointer-events: auto; display: flex; align-items: flex-end; gap: 6px; height: 74px; padding: 9px 10px;
  background: rgba(30, 24, 34, .45); backdrop-filter: blur(30px) saturate(1.8); -webkit-backdrop-filter: blur(30px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .7);
  animation: dockin 1s var(--spring) both .15s;
}
@keyframes dockin { from { transform: translateY(130%); } }
.dock__sep { width: 1px; height: 46px; align-self: center; background: rgba(255, 255, 255, .18); margin: 0 4px; }
.app { position: relative; width: 54px; height: 54px; flex: none; transition: width .18s ease-out, height .18s ease-out; }
.app__ico { position: absolute; inset: 0; border-radius: 23%; overflow: hidden; box-shadow: 0 6px 14px rgba(0, 0, 0, .35); transition: transform .3s var(--spring); }
.app__ico > span { display: grid; place-items: center; width: 100%; height: 100%; }
.app__ico img { width: 100%; height: 100%; object-fit: cover; }
.app:active .app__ico { transform: scale(.9); }
.app.is-bouncing .app__ico { animation: bounce .7s var(--ease) 2; }
@keyframes bounce { 40% { transform: translateY(-22px); } 80% { transform: translateY(0); } }
.app__tip { position: absolute; left: 50%; bottom: calc(100% + 14px); transform: translateX(-50%); white-space: nowrap; padding: 4px 10px; border-radius: 7px; background: var(--glass-strong); border: 1px solid var(--line-2); font-size: 12px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .15s; }
.app:hover .app__tip, .app:focus-visible .app__tip { opacity: 1; }
.app__dot { position: absolute; left: 50%; bottom: -7px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: rgba(255, 255, 255, .85); opacity: 0; transition: opacity .3s; }
.app.is-running .app__dot { opacity: 1; }
.ico-finder { background: linear-gradient(180deg, #ff7aa8, #e5135f); color: #fff; }
.ico-finder .i { width: 62%; height: 62%; }
.ico-proj { background: radial-gradient(circle at 50% 35%, #7b2453, #250b19); }
.ico-mail { background: linear-gradient(180deg, #fdfcfe, #e2dde6); }
.ico-mail svg { width: 64%; }
.ico-about { background: linear-gradient(145deg, #2a1a24, #0f0a0e); color: var(--rose); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.ico-about .i { width: 56%; height: 56%; }
.ico-partners { background: linear-gradient(160deg, #3b3241, #17131a); }
.ico-partners svg { width: 70%; }
.ico-down { background: linear-gradient(180deg, #8b4dff, #4c1fb8); }
.ico-down svg { width: 60%; }

/* ---------- Sections below the desktop ---------- */
.sec { position: relative; padding-block: clamp(90px, 12vw, 170px); }
.sec--tight { padding-block: clamp(40px, 6vw, 80px); }
.shead { max-width: 820px; }
.shead--center { margin-inline: auto; text-align: center; }
.shead--center .sub { margin-inline: auto; }

/* About: statement that lights up word by word while scrolling */
.about__top { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.statement { font-size: clamp(34px, 5.4vw, 76px); line-height: 1.07; font-weight: 700; letter-spacing: -.045em; text-wrap: balance; max-width: 980px; }
.js .statement .w { color: var(--dim); transition: color .25s linear; }
.js .statement .w.is-lit { color: var(--fg); }
.js .statement .w.is-lit.is-hot, .statement .accent { color: var(--rose); }
.about__art { width: clamp(120px, 16vw, 220px); }
.about__text { margin-top: 32px; }
.facts { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.fact { min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 26px; border-radius: 28px; background: var(--ink-2); border: 1px solid var(--line); }
.fact .b { font-size: clamp(52px, 5vw, 68px); line-height: .9; font-weight: 700; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.fact > span:not(.b) { font-size: 15px; color: var(--fg-2); }
.fact--accent { background: linear-gradient(150deg, #ff4f8d, #e5135f 55%, #9b0b42); border-color: transparent; }
.fact--accent > span:not(.b) { color: rgba(255, 255, 255, .88); }
.fact--time { justify-content: space-between; background: linear-gradient(160deg, #19151c, #0e0c10); }
.fact--time .b { font-size: clamp(40px, 4vw, 52px); }
.fact__k { font-size: 13px; font-weight: 600; color: var(--muted); }
.fact--time > span:last-child:not(.b) { font-size: 13px; color: var(--muted); }

/* Projects bento */
.bento { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; }
.tile { position: relative; grid-column: span 2; }
.tile--big { grid-row: span 2; }
.tile--full { grid-column: 1 / -1; }
.tile__link {
  position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  padding: 28px; border-radius: 28px; border: 1px solid var(--line); isolation: isolate;
  background: radial-gradient(110% 120% at 100% 0%, #2f2738, #121014 70%); transition: border-color .3s, transform .6s var(--ease);
}
.tile--v0 .tile__link { background: radial-gradient(120% 90% at 80% 20%, #6b1a43, #1a0a13 65%); }
.tile--v2 .tile__link { background: radial-gradient(100% 120% at 100% 100%, #3a1430, #121014 70%); }
.tile--v3 .tile__link { background: radial-gradient(100% 120% at 0% 100%, #2a1650, #121014 70%); }
.tile__link:hover { border-color: rgba(255, 92, 149, .45); }
.tile__k { font-size: 13px; font-weight: 600; color: var(--muted); }
.tile__art { position: absolute; z-index: -1; right: 20px; top: 50%; width: 40%; max-width: 230px; transform: translateY(-50%); transition: transform .8s var(--ease); }
.tile__art img { width: 100%; height: auto; max-height: 190px; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); }
.tile--big .tile__art { right: -20px; top: 40px; width: 62%; max-width: 440px; transform: none; }
.tile--big .tile__art img { max-height: 420px; border-radius: 50%; }
.tile--full .tile__art { width: 30%; max-width: 280px; }
.tile__link:hover .tile__art { transform: translateY(-50%) scale(1.06) rotate(-2deg); }
.tile--big .tile__link:hover .tile__art { transform: scale(1.05) rotate(-2deg); }
.tile__body { max-width: 56%; display: grid; gap: 6px; }
.tile--big .tile__body { max-width: 48%; }
.tile__name { font-size: 28px; line-height: 1.08; font-weight: 700; letter-spacing: -.035em; }
.tile--big .tile__name { font-size: clamp(32px, 3.4vw, 44px); }
.tile__tag { font-size: 15px; color: var(--fg-2); }
.tile__go { position: absolute; right: 22px; bottom: 22px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .4s var(--ease); }
.tile__go .i { width: 18px; height: 18px; }
.tile__link:hover .tile__go, .tile__link:focus-visible .tile__go { opacity: 1; transform: none; }
.more { margin-top: 32px; text-align: center; }
.pagehead + .sec .bento { margin-top: 0; }

/* Partners */
.partners__card { padding: 30px 0 34px; border-radius: 28px; background: var(--ink-2); border: 1px solid var(--line); overflow: hidden; }
.partners__card .kicker { padding-inline: 30px; margin-bottom: 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee var(--duration, 40s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { height: 34px; width: auto; filter: grayscale(1) brightness(1.7); opacity: .7; transition: filter .3s, opacity .3s; }
.marquee a:hover img, .marquee li:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* Advantages */
.split { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.split__art { width: clamp(130px, 18vw, 240px); }
.cards { margin-top: 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { position: relative; overflow: hidden; padding: 30px; border-radius: 28px; background: var(--ink-2); border: 1px solid var(--line); transition: border-color .3s; }
.card::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity .4s; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(229, 19, 95, .16), transparent 60%); }
.card:hover { border-color: rgba(255, 92, 149, .35); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card__num { display: block; font-size: 15px; font-weight: 700; background: linear-gradient(135deg, var(--rose), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card__title { margin-top: 36px; font-size: 24px; line-height: 1.15; font-weight: 700; letter-spacing: -.03em; }
.card__text { margin-top: 10px; color: var(--fg-2); font-size: 16px; }

/* Team */
.team__grid { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.member a, .member > span { display: block; }
.member__photo { display: block; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--ink-3); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.member a:hover img { transform: scale(1.05); }
.member__initials { display: grid; place-items: center; height: 100%; font-size: 48px; font-weight: 700; color: var(--rose); }
.member__name { display: block; margin-top: 14px; font-size: 18px; font-weight: 600; }
.member__role { display: block; color: var(--muted); font-size: 14px; }

/* Text block */
.textblock .split { grid-template-columns: 1.1fr 1fr; align-items: start; }
.textblock--left .frame { order: -1; }
.frame { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); }
.frame img { width: 100%; }
.prose { color: var(--fg-2); font-size: 18px; line-height: 1.65; margin-top: 18px; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3 { color: var(--fg); font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; margin-top: 1.6em; }
.prose strong { color: var(--fg); }
.prose em { font-style: italic; }
.prose a { color: var(--rose); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-inline-start: 1.2em; }
.prose ol { list-style: decimal; padding-inline-start: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { padding-inline-start: 18px; border-inline-start: 3px solid var(--crimson); color: var(--fg); }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--ink-3); font-size: .9em; }

/* CTA */
.cta { overflow: hidden; text-align: center; }
.cta__glow { position: absolute; left: 50%; top: 55%; width: min(900px, 120vw); aspect-ratio: 2 / 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(229, 19, 95, .28), transparent); filter: blur(40px); pointer-events: none; }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta__title { font-size: clamp(44px, 7vw, 100px); line-height: 1; font-weight: 700; letter-spacing: -.05em; text-wrap: balance; max-width: 980px; }
.cta .sub { margin-inline: auto; }
.cta__acts { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 36px; }
.copychip { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; height: 50px; padding: 0 7px 0 20px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 16px; font-weight: 500; }
.copychip a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copychip button { height: 36px; padding: 0 14px; border-radius: 99px; background: rgba(255, 255, 255, .1); font-size: 13px; font-weight: 600; }
.copychip button:hover { background: rgba(255, 255, 255, .18); }

/* ---------- Inner pages ---------- */
.pagehead { position: relative; padding-top: calc(var(--menu-h) + clamp(60px, 9vw, 120px)); padding-bottom: clamp(30px, 4vw, 50px); overflow: hidden; }
.pagehead__glow { position: absolute; left: 50%; top: -30%; width: min(1100px, 140vw); aspect-ratio: 2 / 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(229, 19, 95, .25), rgba(139, 77, 255, .08) 60%, transparent); filter: blur(30px); pointer-events: none; z-index: -1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--fg); }
.crumbs [aria-current] { color: var(--fg-2); }

.phero { position: relative; padding-top: calc(var(--menu-h) + clamp(50px, 7vw, 90px)); overflow: hidden; isolation: isolate; }
.phero .crumbs { justify-content: center; }
.phero__head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.phero__head .h1 { margin-top: 18px; }
.phero__tagline { margin-top: 12px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.025em; background: linear-gradient(100deg, #ff9cc0, var(--rose), var(--crimson)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.phero__head .sub { margin-inline: auto; }
.phero__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.phero__acts:empty { display: none; }
.pmeta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.pmeta div { display: flex; gap: 8px; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; }
.pmeta dt { color: var(--muted); }
.pcover { position: relative; margin-top: clamp(40px, 6vw, 70px); border-radius: 32px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(80% 90% at 50% 40%, #5b1636, #160a11 70%); display: grid; place-items: center; min-height: 260px; }
.pcover img { width: 100%; max-height: 720px; object-fit: contain; transform: translateY(var(--parallax, 0)); }
.pbody__grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.pbody .prose { margin-top: 0; max-width: 720px; }
.shots__grid { margin-top: 10px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.shots__btn { display: block; width: 100%; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; }
.shots__btn img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--ease); }
.shots__btn:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 1500; display: grid; place-items: center; padding: 60px max(16px, 5vw); background: rgba(5, 4, 6, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.lightbox__img { max-width: 100%; max-height: 100%; border-radius: 14px; object-fit: contain; }
.lightbox__close, .lightbox__nav { position: absolute; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .2); }
.lightbox__close { top: max(14px, env(safe-area-inset-top, 0px)); right: 14px; }
.lightbox__nav--prev { left: 14px; } .lightbox__nav--next { right: 14px; }
.lightbox .i { width: 22px; height: 22px; }
.nextp { position: relative; display: flex; align-items: center; gap: 24px; padding: 26px 30px; border-radius: 28px; background: var(--ink-2); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s; }
.nextp:hover { border-color: rgba(255, 92, 149, .45); }
.nextp__art { width: 96px; flex: none; }
.nextp__art img { width: 100%; height: auto; }
.nextp__body { flex: 1; display: grid; gap: 4px; min-width: 0; }
.nextp__label { font-size: 13px; color: var(--muted); font-weight: 600; }
.nextp__name { font-size: clamp(28px, 4vw, 48px); line-height: 1.05; font-weight: 700; letter-spacing: -.04em; }
.nextp__arrow { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--crimson); transition: transform .4s var(--spring); }
.nextp:hover .nextp__arrow { transform: translateX(6px); }
.nextp__arrow .i { width: 22px; height: 22px; }

.pagehead--404 { min-height: 80vh; display: grid; place-items: center; }
.alert { width: min(380px, 100%); margin: 0 auto; padding: 26px 24px 22px; border-radius: 18px; text-align: center; background: var(--glass-strong); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -10px rgba(0, 0, 0, .7); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); animation: pop .7s var(--spring) both; }
.alert__ico { width: 64px; height: 64px; margin: 0 auto; display: grid; place-items: center; border-radius: 16px; color: #fff; background: linear-gradient(145deg, #ff6b9d, #e5135f); }
.alert__ico .i { width: 36px; height: 36px; }
.alert__code { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--rose); letter-spacing: .1em; }
.alert__title { margin-top: 4px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.alert__text { margin-top: 8px; font-size: 14px; color: var(--fg-2); }
.alert .btn { width: 100%; margin-top: 20px; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; margin-top: 40px; border-top: 1px solid var(--line); background: #0c0b0f; font-size: 13px; color: var(--muted); }
.footer .wrap { position: relative; z-index: 1; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; padding-top: 56px; }
.footer__brand { max-width: 380px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); }
.logo img { height: 34px; width: auto; }
.logo__mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: linear-gradient(145deg, #ff6b9d, #e5135f); }
.logo__mark .i { width: 18px; height: 18px; }
.logo__word { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.logo__badge { padding: 2px 6px; border-radius: 5px; background: var(--crimson); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.footer__tagline { margin-top: 14px; font-size: 14px; line-height: 1.55; }
.footer__mails { display: flex; flex-wrap: wrap; gap: 12px; }
.footer__mail { display: grid; gap: 2px; padding: 14px 18px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line); transition: border-color .3s; }
.footer__mail:hover { border-color: rgba(255, 92, 149, .45); }
.footer__mail small { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.footer__mail span { color: var(--fg); font-size: 15px; font-weight: 500; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 30px; padding-block: 44px; border-bottom: 1px solid var(--line); margin-top: 44px; border-top: 1px solid var(--line); }
.footer__h { margin-bottom: 12px; font-size: 13px; font-weight: 600; color: var(--fg); }
.footer__col li + li { margin-top: 8px; }
.footer__col a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.footer__col address, .footer__col p { line-height: 1.6; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px 30px; }
.footer__langs { display: flex; flex-wrap: wrap; gap: 4px; }
.footer__langs a { padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.footer__langs a:hover { color: var(--fg); background: rgba(255, 255, 255, .06); }
.footer__langs a[aria-current] { color: var(--fg); background: rgba(255, 255, 255, .1); }
.totop { display: inline-flex; align-items: center; gap: 6px; }
.totop:hover { color: var(--fg); }
.footer__mega { position: relative; height: clamp(70px, 14vw, 200px); overflow: hidden; pointer-events: none; }
.footer__mega span { position: absolute; left: 50%; top: 0; transform: translateX(-50%); font-size: clamp(110px, 22vw, 330px); line-height: .82; font-weight: 700; letter-spacing: -.06em; white-space: nowrap; background: linear-gradient(180deg, rgba(229, 19, 95, .32), rgba(229, 19, 95, 0) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
[data-float] { animation: float 6s ease-in-out infinite alternate; }

/* ---------- RTL ---------- */
[lang^="ar"] .desk-hero__title, [lang^="ar"] .h1, [lang^="ar"] .h2, [lang^="ar"] .statement, [lang^="ar"] .cta__title { line-height: 1.25; letter-spacing: 0; }
[lang^="ar"] .desk-hero__title { margin-bottom: -.3em; padding-bottom: .3em; }
[dir="rtl"] .tile__art { right: auto; left: 20px; }
[dir="rtl"] .tile--big .tile__art { left: -20px; }
[dir="rtl"] .tile__go { right: auto; left: 22px; }
[dir="rtl"] .link:hover .i, [dir="rtl"] .nextp:hover .nextp__arrow { transform: translateX(-4px); }
[dir="rtl"] .link .i, [dir="rtl"] .nextp__arrow .i, [dir="rtl"] .tile__go .i { scale: -1 1; }
[dir="rtl"] .lights { left: auto; right: 14px; }
[dir="rtl"] .finder__side { border-right: 0; border-left: 1px solid var(--line); }
[dir="rtl"] .notify .b { padding-right: 0; padding-left: 40px; }
[dir="rtl"] .notify__when { right: auto; left: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1365px) and (min-width: 1101px) {
  .w-player { width: 300px; }
  .w-partners { width: 270px; }
  .desk-hero__sub { max-width: 500px; }
}
@media (max-height: 880px) and (min-width: 1101px) {
  .desk-hero__hint { display: none; }
  .desk-hero__acts .btn--lg { height: 44px; }
}
/* A widget that would sit on the headline steps aside (site.js measures it; this is the no-JS fallback).
   Projects and partners stay one click away in the dock and the desktop folders. */
.widget.is-tucked { display: none; }
@media (min-width: 1101px) and (max-height: 799px), (min-width: 1101px) and (max-width: 1279px) and (max-height: 899px) {
  .no-js .w-player, .no-js .w-partners { display: none; }
}
@media (max-width: 1200px) {
  .desk-hero__hint { display: none; }
  .w-stats { width: 310px; }
}
/* Phones and tablets: the desktop turns into an iOS-like home screen */
@media (max-width: 1100px) {
  .d-only { display: none !important; }
  .m-only { display: flex !important; }
  .desktop {
    height: auto; min-height: 100svh; overflow: visible;
    padding: calc(var(--menu-h) + 26px + env(safe-area-inset-top, 0px)) var(--gutter) 120px;
  }
  .desk-hero { position: relative; left: auto; top: auto; transform: none; width: auto; padding: 8px 0 26px; }
  .desk-hero__eyebrow { font-size: 13px; }
  .widgets { position: relative; inset: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 720px; margin: 0 auto; }
  .widget { position: relative; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; width: auto; cursor: default; touch-action: auto; }
  .w-clock { order: 1; height: auto; aspect-ratio: 1; }
  .w-note { order: 2; rotate: 0deg; grid-column: span 2; }
  .w-stats { order: 3; grid-column: 1 / -1; }
  .w-player { order: 4; grid-column: 1 / -1; }
  .w-partners { order: 5; grid-column: 1 / -1; }
  .w-clock:only-child, .w-note:only-child { grid-column: 1 / -1; }
  .dicons, .notify { display: none; }
  .wins { position: fixed; inset: 0; z-index: 1100; }
  .win { position: absolute; left: 8px !important; right: 8px; top: calc(var(--menu-h) + 8px + env(safe-area-inset-top, 0px)) !important; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); width: auto !important; height: auto !important; min-width: 0; }
  .win__bar { touch-action: auto; }
  .lights .l-min, .lights .l-zoom { display: none; }
  .finder { grid-template-columns: 1fr; }
  .finder__side { display: none; }
  .aboutwin { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 24px 18px; }
  .aboutwin__mark { width: 110px; border-radius: 26px; }
  .aboutwin dl div { grid-template-columns: 1fr; gap: 0; }
  .aboutwin dt { text-align: center; }
  .dock-wrap { position: fixed; z-index: 1200; }
  .dock { gap: 12px; height: 76px; padding: 9px 14px; border-radius: 28px; }
  .app { width: 56px; height: 56px; }
  .dock .desk-only, .dock__sep { display: none; }
  .app__tip { display: none; }
  body.is-desktop-visible .dock-wrap { display: flex; }
  body:not(.is-desktop-visible) .dock-wrap { transform: translateY(140%); }
  .dock-wrap { transition: transform .5s var(--ease); }
  .about__top, .split { grid-template-columns: 1fr; }
  .about__art, .split__art { display: none; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; }
  .tile, .tile--big { grid-column: 1 / -1; }
  .tile--big { grid-row: span 2; }
  .tile--big .tile__body { max-width: 60%; }
  .tile__body { max-width: 64%; }
  .tile__art { width: 34%; }
  .tile--big .tile__art { width: 70%; right: -40px; }
  .cards { grid-template-columns: 1fr; }
  .textblock .split { grid-template-columns: 1fr; }
  .textblock--left .frame { order: 0; }
  .pbody__grid { grid-template-columns: 1fr; gap: 0; }
  .shots__grid { grid-template-columns: 1fr; }
  .footer__mails { width: 100%; }
}
@media (max-width: 600px) {
  .widgets { grid-template-columns: 1fr 1fr; }
  .w-note { grid-column: auto; }
  .menubar__item:not(.menubar__brand):not([data-open="mail"]) { display: none; }
  .w-stats__cell .b { font-size: 24px; }
  .w-player { grid-template-columns: 60px 1fr; }
  .w-player__art { width: 60px; height: 60px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { min-height: 150px; padding: 20px; border-radius: 22px; }
  .fact--time { grid-column: 1 / -1; }
  .tile__link { padding: 22px; border-radius: 24px; }
  .tile__name { font-size: 24px; }
  .copychip { font-size: 14px; }
  .nextp { padding: 20px; gap: 14px; }
  .nextp__art { width: 64px; }
  .card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
