/* ==========================================================================
   PRYME X AI — Liquid Glass Design System
   Colours: white · black · deep blue.  Change brand colours here only.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blue: #081B2C;          /* deep blue — brand accent */
  --blue-2: #1E3A56;        /* lighter blue for glows */
  --ink: #0A0C16;           /* black */
  --ink-2: #3A3F4E;
  --muted: #6B7183;
  --bg: #F5F6F8;            /* white background */
  --white: #FFFFFF;
  --line: rgba(10, 12, 22, .10);
  --line-2: rgba(10, 12, 22, .18);
  --glass: rgba(255, 255, 255, .52);
  --glass-strong: rgba(255, 255, 255, .72);
  --glass-border: rgba(255, 255, 255, .95);
  --shadow: 0 1px 1px rgba(10,12,22,.04), 0 12px 30px -12px rgba(10,20,70,.16), 0 40px 80px -40px rgba(10,20,70,.22);
  --radius: 28px;
  --radius-s: 16px;
  --pad: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  font-family: var(--font); font-stretch: 100%; font-weight: 400;
  color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.6; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--blue); color: #fff; }

/* ---------- ambient background (gives the glass something to refract) ---------- */
.ambient { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.ambient::before { /* dot grid */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(10,12,22,.13) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 100%);
}
.ambient i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 26s var(--ease) infinite alternate; }
.ambient i:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: -10vw; background: radial-gradient(circle, rgba(8,27,44,.22), transparent 65%); }
.ambient i:nth-child(2) { width: 40vw; height: 40vw; right: -10vw; top: 30vh; background: radial-gradient(circle, rgba(10,12,22,.14), transparent 65%); animation-duration: 32s; }
.ambient i:nth-child(3) { width: 36vw; height: 36vw; left: 30vw; bottom: -18vw; background: radial-gradient(circle, rgba(30,58,86,.18), transparent 65%); animation-duration: 38s; }
@keyframes drift { to { transform: translate3d(8vw, 6vh, 0) scale(1.15); } }

/* ---------- typography: one family, two widths ---------- */
.h1, .h2, .h3, .title-lg, .big-quote { overflow-wrap: break-word; hyphens: manual; min-width: 0; }
.mega, .h1, .h2, .h3, .wide {
  font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: .92;
}
.mega { font-size: clamp(54px, 13.2vw, 230px); letter-spacing: -.035em; line-height: .82; }
.h1 { font-size: clamp(28px, 7vw, 112px); }
.h2 { font-size: clamp(30px, 4.6vw, 72px); }
.h2.fit { font-size: clamp(26px, 3vw, 50px); }
.h3 { font-size: clamp(18px, 1.7vw, 24px); letter-spacing: -.005em; line-height: 1.1; }
.lead { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.title-lg { font-size: clamp(26px, 3vw, 44px); font-weight: 500; line-height: 1.12; letter-spacing: -.02em; }
.label {
  font-size: 11px; font-weight: 600; font-stretch: 110%; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.label b { color: var(--ink); font-weight: 700; }
.blue { color: var(--blue); }
.muted { color: var(--muted); }
p + p { margin-top: 1em; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
section { position: relative; }
.section { padding: clamp(80px, 12vw, 170px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head .label { margin-bottom: 18px; display: block; }
.rule { height: 1px; background: var(--line); border: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- liquid glass ---------- */
.glass {
  position: relative; isolation: isolate;
  background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,255,255,.38));
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid var(--glass-border); border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,1), inset 0 -1px 0 rgba(10,12,22,.05), inset 0 0 24px rgba(255,255,255,.35), var(--shadow);
}
.glass::before { /* specular rim */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: -1;
  background: linear-gradient(140deg, rgba(255,255,255,1), rgba(255,255,255,.1) 35%, rgba(8,27,44,.18) 70%, rgba(255,255,255,.9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.glass::after { /* moving glare (driven by --gx / --gy) */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.6), transparent 45%);
  mix-blend-mode: soft-light;
}
.glass:hover::after { opacity: 1; }
.liquid-on .glass.liquid { -webkit-backdrop-filter: blur(14px) saturate(180%) url(#liquid); backdrop-filter: blur(14px) saturate(180%) url(#liquid); }
.glass-dark {
  background: linear-gradient(135deg, rgba(10,12,22,.72), rgba(10,12,22,.42));
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255,255,255,.18); color: #fff; border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 30px 60px -30px rgba(0,0,0,.5);
}
[data-tilt] { transform-style: preserve-3d; transition: transform .5s var(--ease); will-change: transform; }
.card { padding: clamp(22px, 2.4vw, 34px); }

/* ---------- buttons ---------- */
.btn {
  --h: 52px; position: relative; display: inline-flex; align-items: center; gap: 14px; height: var(--h); padding: 0 26px;
  border-radius: 999px; font-size: 13px; font-weight: 700; font-stretch: 112%; letter-spacing: .1em; text-transform: uppercase;
  transition: transform .35s var(--ease), background .35s, color .35s, box-shadow .35s; overflow: hidden; white-space: nowrap;
}
.btn .arr { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; transition: transform .4s var(--ease); }
.btn:hover .arr { transform: rotate(-45deg); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -10px rgba(8,27,44,.7), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-primary .arr { background: rgba(255,255,255,.18); }
.btn-primary:hover { background: #1E3A56; box-shadow: 0 10px 30px -10px rgba(10,12,22,.6); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink .arr { background: rgba(255,255,255,.14); }
.btn-ink:hover { background: var(--blue); }
.btn-glass { background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.95); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.btn-glass .arr { background: var(--ink); color: #fff; }
.btn-glass:hover { background: #fff; }
.btn-line { border: 1px solid var(--line-2); }
.btn-line:hover { border-color: var(--ink); }
.btn:active { transform: scale(.97); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* corner-bracket link (AbsolX style) */
.bracket { position: relative; display: inline-flex; align-items: center; gap: 28px; padding: 14px 18px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.bracket::before, .bracket::after { content: ""; position: absolute; width: 8px; height: 8px; border: 1px solid var(--ink); transition: all .35s var(--ease); }
.bracket::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.bracket::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.bracket:hover::before, .bracket:hover::after { width: 100%; height: 100%; border-color: var(--blue); }
.bracket:hover { color: var(--blue); }

/* ---------- navigation ---------- */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 24px), 1240px); height: 64px; padding: 0 10px 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; border-radius: 999px;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.nav.hide { transform: translate(-50%, -120%); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.brand span { font-size: 15px; font-weight: 800; font-stretch: 125%; letter-spacing: -.01em; white-space: nowrap; }
.brand span em { font-style: normal; color: var(--blue); }
.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a {
  position: relative; display: block; padding: 9px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; font-stretch: 110%;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); transition: color .3s, background .3s;
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.7); }
.nav-links a.active { color: #fff; background: var(--ink); }
.nav .btn { --h: 44px; padding: 0 8px 0 20px; font-size: 11px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; place-items: center; }
.burger span { display: block; width: 16px; height: 1.5px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor; }
.mnav {
  position: fixed; z-index: 49; inset: 0; padding: 100px 24px 30px; display: flex; flex-direction: column; gap: 6px;
  background: rgba(245,246,248,.82); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.mnav.open { opacity: 1; visibility: visible; }
.mnav a { font-size: clamp(30px, 9vw, 48px); font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.1; padding: 6px 0; border-bottom: 1px solid var(--line); transform: translateY(20px); opacity: 0; transition: all .5s var(--ease); }
.mnav.open a { transform: none; opacity: 1; }
.mnav a.active { color: var(--blue); }

/* ---------- scope cursor ---------- */
.scope, .scope-x { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; will-change: transform; }
.scope { width: 64px; height: 64px; margin: -32px 0 0 -32px; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s; }
.scope svg { width: 100%; height: 100%; overflow: visible; }
.scope .ring { animation: spin 9s linear infinite; transform-origin: 50% 50%; }
.scope-x { width: 18px; height: 18px; margin: -9px 0 0 -9px; }
.scope-x svg { width: 100%; height: 100%; }
.scope.hot { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
.scope.hot .ring circle { stroke: var(--blue); }
.scope.down { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
.has-scope, .has-scope * { cursor: none !important; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- hero (shared) ---------- */
.hero { position: relative; min-height: 100svh; padding: 110px 0 40px; overflow: hidden; display: flex; flex-direction: column; }
.hero .stage { position: absolute; inset: 0; z-index: 1; }
.hero .stage canvas { width: 100% !important; height: 100% !important; }
.hero .mega { position: relative; z-index: 0; text-align: center; white-space: nowrap; color: var(--ink); }
.hero .over { position: relative; z-index: 2; }
.hero-meta { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: 26px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.hero-meta > * { pointer-events: auto; }
.crumbs { position: relative; z-index: 3; display: flex; justify-content: space-between; margin-bottom: 18px; }
.scroll-cue { display: inline-flex; gap: 10px; align-items: center; }
.scroll-cue i { width: 1px; height: 26px; background: var(--ink); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -100%; width: 1px; height: 100%; background: var(--blue); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
.side-tag { position: absolute; z-index: 3; left: calc(var(--pad) - 4px); top: 50%; writing-mode: vertical-rl; transform: rotate(180deg) translateY(50%); }
.hero-card { position: absolute; z-index: 3; max-width: 380px; }
.hero-card .title-lg { font-size: clamp(22px, 2vw, 30px); margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(8,27,44,.5); animation: ping 2s infinite; flex-shrink: 0; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(8,27,44,0); } 100% { box-shadow: 0 0 0 0 rgba(8,27,44,0); } }

/* ---------- home hero: real Colombo photo banner ---------- */
.home-hero { padding: 12px; min-height: 100svh; }
.banner {
  position: relative; flex: 1; min-height: calc(100svh - 24px); border-radius: 34px; overflow: hidden; isolation: isolate;
  background: #1b1f2a; box-shadow: 0 40px 80px -40px rgba(10,20,70,.45);
}
.banner .photo {
  position: absolute; inset: -4%; z-index: -2;
  background-image: var(--hero-img, url("https://images.unsplash.com/photo-1561426802-392f5b6290cf?q=80&w=2400&auto=format&fit=crop"));
  background-size: cover; background-position: 50% 45%;
  animation: kenburns 28s ease-in-out infinite alternate; will-change: transform;
}
@keyframes kenburns { from { transform: scale(1) translate3d(0,0,0); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(5,8,25,.82) 0%, rgba(5,8,25,.45) 42%, rgba(5,8,25,.05) 70%), linear-gradient(0deg, rgba(5,8,25,.65), transparent 40%); }
.banner .stage { z-index: 1; }
.banner-inner { position: relative; z-index: 2; height: 100%; min-height: calc(100svh - 24px); padding: 120px clamp(22px, 5vw, 72px) 34px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; pointer-events: none; }
.banner-inner > * { pointer-events: auto; }
.banner .h1 { max-width: 12ch; margin: 22px 0 22px; font-size: clamp(30px, 6.4vw, 100px); }
.banner-inner > .chip { align-self: flex-start; }
.banner .h1 .blue { color: #A9BED3; }
.banner .lead { color: rgba(255,255,255,.82); margin-bottom: 30px; }
.banner .label { color: rgba(255,255,255,.7); }
.banner .chip { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 42px; padding: 22px 8px; }
.stats > div { text-align: center; padding: 6px 10px; border-left: 1px solid rgba(255,255,255,.16); }
.stats > div:first-child { border-left: 0; }
.stats .num { font-size: clamp(28px, 3.4vw, 48px); font-weight: 800; font-stretch: 125%; letter-spacing: -.03em; line-height: 1; }
.stats .num sup { color: #A9BED3; font-size: .6em; vertical-align: top; }
.stats .label { margin-top: 10px; display: block; }
.banner .loc { position: absolute; z-index: 2; right: clamp(22px, 5vw, 72px); top: 120px; text-align: right; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: 30px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 70px; width: max-content; animation: marq 40s linear infinite; }
.marquee-track span { font-size: 18px; font-weight: 700; font-stretch: 125%; text-transform: uppercase; color: #9aa0ae; letter-spacing: -.01em; white-space: nowrap; display: flex; align-items: center; gap: 70px; }
.marquee-track span::after { content: "✕"; font-size: 11px; color: var(--blue); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- cards & lists ---------- */
.svc { display: flex; flex-direction: column; min-height: 300px; }
.svc .idx { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; }
.svc .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: #fff; margin: 34px 0 22px; }
.svc .ico svg { width: 24px; height: 24px; }
.svc h3 { margin-bottom: 10px; }
.svc p { color: var(--muted); font-size: 15px; }
.svc.feature { background: var(--ink); color: #fff; }
.svc.feature p { color: rgba(255,255,255,.7); }
.svc.feature .ico { background: var(--blue); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tags span { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); }
.svc.feature .tags span { border-color: rgba(255,255,255,.25); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filters button { padding: 10px 16px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line-2); transition: all .3s; }
.filters button.on, .filters button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.svc.out { display: none; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.big-quote { font-size: clamp(24px, 2.6vw, 38px); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }

.step { display: grid; grid-template-columns: 80px 1fr 1.2fr; gap: 20px; padding: 30px 0; border-top: 1px solid var(--line); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .n { font-size: 14px; font-weight: 700; color: var(--blue); font-stretch: 125%; }
.step p { color: var(--muted); }

/* research boxes */
.rbox { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 420px; overflow: hidden; padding: 0; }
.rbox .rtext { padding: clamp(26px, 3.4vw, 50px); display: flex; flex-direction: column; }
.rbox .rtext .h2 { font-size: clamp(28px, 3.4vw, 52px); margin: 18px 0 18px; }
.rbox .rtext p { color: var(--ink-2); max-width: 46ch; }
.rbox .rvis { position: relative; min-height: 320px; background: linear-gradient(160deg, #eef0f5, #dfe3ec); border-left: 1px solid rgba(255,255,255,.9); overflow: hidden; }
.rbox .rvis svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.status.dev { background: rgba(8,27,44,.08); color: var(--blue); }
.status.soon { background: var(--ink); color: #fff; }
.spec { margin-top: auto; padding-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.spec div { border-top: 1px solid var(--line-2); padding-top: 12px; }
.spec b { display: block; font-size: 20px; font-stretch: 125%; font-weight: 800; letter-spacing: -.02em; }
.progress { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-top: 22px; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--blue-2)); border-radius: inherit; transition: width 1.8s var(--ease); }
.in .progress i { width: var(--p); }

/* ---------- world map ---------- */
.map { position: relative; padding: clamp(18px, 3vw, 44px); }
.map-frame { position: relative; aspect-ratio: 1000 / 394; }
.map-frame > img { width: 100%; height: 100%; opacity: .95; }
.pin { position: absolute; transform: translate(-50%, -50%); }
.pin .core { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--blue); position: relative; }
.pin .core::before, .pin .core::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 1px solid var(--blue); animation: pulse 2.6s var(--ease) infinite; }
.pin .core::after { animation-delay: 1.3s; }
.pin.soon .core { background: #fff; box-shadow: 0 0 0 1px var(--ink); }
.pin.soon .core::before, .pin.soon .core::after { border-color: var(--ink); opacity: .5; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4.2); opacity: 0; } }
.pin .tag { position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translateX(-50%); white-space: nowrap; text-align: center; padding: 7px 11px; border-radius: 10px; }
.pin .tag b { display: block; font-size: 11px; font-weight: 800; font-stretch: 125%; letter-spacing: .06em; text-transform: uppercase; }
.pin .tag small { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pin.below .tag { bottom: auto; top: calc(100% + 12px); }
.pin.left .tag { left: auto; right: 0; transform: none; }
.map-svg-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.map-svg-lines path { fill: none; stroke: var(--blue); stroke-width: 1.4; stroke-dasharray: 4 6; animation: dash 18s linear infinite; vector-effect: non-scaling-stroke; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.map-legend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding-top: 22px; margin-top: 18px; border-top: 1px solid var(--line); }
.map-legend ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.map-legend li { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.map-legend li i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.map-legend li.soon i { background: transparent; border: 1px solid var(--ink); }
.map-legend li small { color: var(--muted); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- founder ---------- */
.founder { display: grid; grid-template-columns: 340px 1fr; gap: clamp(30px, 6vw, 100px); }
.founder .photo { aspect-ratio: 5 / 6; border-radius: 22px; overflow: hidden; filter: grayscale(.2) contrast(1.04); transition: filter .6s; }
.founder .photo:hover { filter: grayscale(0); }
.founder .photo img { width: 100%; height: 100%; object-fit: cover; }
.founder .letter p { font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); }
.founder .letter p.strong { color: var(--ink); font-weight: 600; }
.signature { width: min(300px, 70%); margin: 40px 0 10px; }
.sig-draw { clip-path: inset(0 100% 0 0); transition: clip-path 2.4s var(--ease) .2s; }
.in .sig-draw, .sig-draw.in { clip-path: inset(0 0 0 0); }
.quals { list-style: none; margin-top: 24px; }
.quals li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.quals li::before { content: "✕"; color: var(--blue); font-size: 10px; margin-top: 4px; }

/* ---------- heritage / x-ray ---------- */
.xray { position: relative; height: min(110vh, 1100px); border-radius: 34px; overflow: hidden; background: radial-gradient(ellipse at 50% 35%, #0d1a5c 0%, #04082a 45%, #00011C 100%); color: #cfe0ff; }
.xray .stage { position: absolute; inset: 0; }
.xray::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); }
.xray .anno { position: absolute; z-index: 2; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(190,210,255,.75); font-weight: 600; }
.xray .anno b { display: block; color: #fff; font-size: 13px; letter-spacing: .1em; }
.xray .mega { position: absolute; z-index: 0; left: 0; right: 0; top: 7%; text-align: center; color: rgba(140,170,255,.12); }
.model-card { position: relative; height: 560px; overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.model-card .stage { position: absolute; inset: 0; }
.model-card .meta { position: relative; z-index: 2; margin-top: auto; padding: 24px; display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; background: linear-gradient(0deg, rgba(255,255,255,.85), transparent); }
.model-card .top { position: relative; z-index: 2; padding: 22px 24px; display: flex; justify-content: space-between; }

/* ---------- news ---------- */
.news-item { display: grid; grid-template-columns: 160px 1fr 1.2fr auto; gap: 30px; align-items: center; padding: 30px 0; border-top: 1px solid var(--line); transition: padding .4s var(--ease); }
.news-item:last-child { border-bottom: 1px solid var(--line); }
.news-item:hover { padding-left: 16px; }
.news-item p { color: var(--muted); font-size: 15px; }
.news-item .go { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all .35s; }
.news-item:hover .go { background: var(--blue); color: #fff; border-color: var(--blue); transform: rotate(-45deg); }
.news-feature { display: grid; grid-template-columns: 1.2fr 1fr; overflow: hidden; padding: 0; }
.news-feature .vis { min-height: 380px; position: relative; background: #0b0f2a; overflow: hidden; }
.news-feature .txt { padding: clamp(26px, 3.4vw, 50px); display: flex; flex-direction: column; gap: 16px; }

/* ---------- social ---------- */
.soc { display: flex; flex-direction: column; justify-content: space-between; min-height: 230px; transition: transform .5s var(--ease); }
.soc .top { display: flex; justify-content: space-between; align-items: flex-start; }
.soc .logo { width: 56px; height: 56px; border-radius: 18px; background: var(--ink); color: #fff; display: grid; place-items: center; transition: background .35s; }
.soc .logo svg { width: 26px; height: 26px; }
.soc:hover .logo { background: var(--blue); }
.soc h3 { margin-top: 30px; }
.soc .handle { color: var(--muted); font-size: 14px; margin-top: 4px; word-break: break-all; }
.review { display: flex; flex-direction: column; gap: 18px; }
.review blockquote { font-size: 17px; line-height: 1.5; letter-spacing: -.01em; }
.review .who { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.review .av { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; font-stretch: 125%; }
.stars { color: var(--blue); letter-spacing: 3px; font-size: 13px; }

/* ---------- join us ---------- */
.join-hero .mega { margin-top: 4vh; }
.join-word { position: absolute; z-index: 2; left: 0; right: 0; bottom: 18%; text-align: center; pointer-events: none; }
.join-word span { display: inline-block; font-size: clamp(40px, 9vw, 150px); font-weight: 900; font-stretch: 125%; letter-spacing: -.03em; color: var(--blue); opacity: 0; transform: translateY(60px) rotateX(-90deg); transition: transform .9s var(--ease), opacity .6s; transform-origin: 50% 100%; }
.join-word.show span { opacity: 1; transform: none; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; }
.contact-line { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.contact-line:last-child { border-bottom: 1px solid var(--line); }
.contact-line b { font-size: clamp(17px, 1.6vw, 22px); font-weight: 700; letter-spacing: -.01em; }
form .field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
form input, form select, form textarea {
  font: inherit; font-size: 15px; color: var(--ink); width: 100%; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.7); outline: none; transition: border .3s, box-shadow .3s;
}
form input:focus, form select:focus, form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(8,27,44,.1); }
form textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.role { display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); }
.role:last-child { border-bottom: 1px solid var(--line); }

/* ---------- CTA + footer ---------- */
.cta { text-align: center; padding: clamp(50px, 8vw, 110px) var(--pad); overflow: hidden; }
.cta .h1 { margin: 20px auto 26px; max-width: 14ch; }
.cta .lead { margin: 0 auto 34px; }
.cta .btn-row { justify-content: center; }
footer { padding: 70px 0 30px; overflow: hidden; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.foot h4 { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.foot ul { list-style: none; display: grid; gap: 10px; }
.foot a { font-size: 14px; font-weight: 500; transition: color .3s; }
.foot a:hover { color: var(--blue); }
.foot p { color: var(--muted); font-size: 14px; max-width: 36ch; margin-top: 16px; }
.foot-mega { font-size: clamp(36px, 10.4vw, 140px); font-weight: 900; font-stretch: 125%; letter-spacing: -.045em; line-height: .8; text-transform: uppercase; text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, var(--ink) 30%, rgba(10,12,22,.08)); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 20px 0 10px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }

/* ---------- reveal / motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
.split-line { display: block; overflow: hidden; }
.split-line > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.in .split-line > span, .split-line.in > span { transform: none; }

.loader { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; overflow: hidden; }
.loader .ld-panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--bg); transition: transform 1.1s cubic-bezier(.76,0,.24,1); }
.loader .ld-top { top: 0; } .loader .ld-bot { bottom: 0; }
.loader .ld-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(10,12,22,.14) 1px, transparent 1.2px); background-size: 22px 22px; mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 60%); transition: opacity .5s; }
.loader .ld-corner { position: absolute; transition: opacity .4s; }
.loader .tl { left: 28px; top: 26px; } .loader .tr { right: 28px; top: 26px; } .loader .bl { left: 28px; bottom: 26px; } .loader .br { right: 28px; bottom: 26px; }
.loader .ld-center { position: relative; display: flex; flex-direction: column; align-items: center; gap: 26px; transition: opacity .45s, transform .8s var(--ease); }
.loader .ld-mark { position: relative; width: 200px; height: 200px; display: grid; place-items: center; }
.loader .ld-mark img { width: 84px; height: 84px; object-fit: contain; animation: ldPulse 2.4s ease-in-out infinite; }
.loader .ld-ring, .loader .ld-spin { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader .ld-ring { transform: rotate(-90deg); }
.loader .ld-track { fill: none; stroke: rgba(10,12,22,.08); stroke-width: 2; }
.loader .ld-prog { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 578; stroke-dashoffset: 578; transition: stroke-dashoffset .25s linear; }
.loader .ld-ticks line { stroke: rgba(10,12,22,.35); stroke-width: 1; }
.loader .ld-spin { animation: spin 2.6s linear infinite; }
.loader .ld-word { display: flex; font-size: 28px; font-weight: 800; font-stretch: 125%; letter-spacing: .14em; }
.loader .ld-word span { display: inline-block; opacity: 0; transform: translateY(18px); filter: blur(6px); animation: ldIn .8s var(--ease) forwards; }
.loader .ld-word .sp { width: .4em; }
.loader .ld-word .x { color: var(--blue); }
.loader .ld-bar { width: 220px; height: 2px; background: rgba(10,12,22,.08); border-radius: 2px; overflow: hidden; }
.loader .ld-bar i { display: block; height: 100%; width: 0; background: var(--blue); transition: width .25s linear; }
.loader .ld-pct { display: flex; align-items: baseline; gap: 4px; }
.loader .ld-pct b { font-size: 13px; font-weight: 700; font-stretch: 125%; letter-spacing: .18em; font-variant-numeric: tabular-nums; }
.loader.done .ld-center { opacity: 0; transform: scale(.92); }
.loader.done .ld-grid, .loader.done .ld-corner { opacity: 0; }
.loader.done .ld-top { transform: translateY(-101%); transition-delay: .25s; }
.loader.done .ld-bot { transform: translateY(101%); transition-delay: .25s; }
@keyframes ldIn { to { opacity: 1; transform: none; filter: none; } }
@keyframes ldPulse { 50% { transform: scale(.94); } }
@media (max-width: 560px) { .loader .ld-word { font-size: 22px; } .loader .tr, .loader .bl { display: none; } }
.page-fade { position: fixed; inset: 0; z-index: 9998; background: var(--bg); pointer-events: none; opacity: 0; transition: opacity .45s var(--ease); }
.page-fade.on { opacity: 1; }

/* edit mode */
.edit-bar { position: fixed; z-index: 10001; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 8px; align-items: center; padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .06em; box-shadow: 0 20px 50px -10px rgba(0,0,0,.4); }
.edit-bar button { padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 12px; font-weight: 700; }
.edit-bar button.p { background: var(--blue); }
.editing [data-e] { outline: 1px dashed rgba(8,27,44,.5); outline-offset: 3px; cursor: text !important; }
.editing [data-e]:focus { outline: 2px solid var(--blue); }
.editing img[data-ei], .editing [data-ebg] { outline: 2px dashed #ff3b6b; cursor: pointer !important; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .burger { display: grid; }
  .nav .btn { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .news-item { grid-template-columns: 120px 1fr auto; }
  .news-item p { display: none; }
}
@media (max-width: 860px) {
  .section-head, .split, .founder, .contact-grid, .rbox, .news-feature { grid-template-columns: 1fr; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .rbox .rvis { border-left: 0; border-top: 1px solid rgba(255,255,255,.9); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .stats > div:nth-child(3) { border-left: 0; }
  .hero-card { position: relative; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; max-width: none; margin: 0 var(--pad); }
  .step { grid-template-columns: 50px 1fr; }
  .step p { grid-column: 2; }
  .founder .photo { max-width: 340px; }
  .side-tag { display: none; }
  .model-card { height: 480px; }
  .pin .tag { display: none; }
  .banner .loc { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .role { grid-template-columns: 1fr auto; }
  .role .label { display: none; }
}
@media (max-width: 560px) {
  .hero .mega { white-space: normal; font-size: 13.6vw !important; line-height: .9; }
  .banner .stage { opacity: .45; }
  .cta .h1 { font-size: 8.4vw; }
  .h2 { font-size: clamp(26px, 7.4vw, 72px); }
  .grid-4 { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr auto; gap: 10px; }
  .news-item .label:first-child { grid-column: 1 / -1; }
  .brand span { font-size: 13px; }
  .spec { grid-template-columns: 1fr 1fr; }
}
@media (hover: none), (pointer: coarse) { .scope, .scope-x { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}

/* ---------- hand-drawn study (paper) ---------- */
.sketch { position: relative; height: min(110vh, 1100px); border-radius: 34px; overflow: hidden; color: #2a2a30;
  background: #f3efe6; box-shadow: inset 0 0 0 1px rgba(60,50,30,.12), 0 40px 80px -50px rgba(40,30,10,.35); }
.sketch .stage { position: absolute; inset: 0; }
.sketch::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .4 0 0 0 0 .32 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"); }
.sketch::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(40,35,25,.25); border-radius: 22px; pointer-events: none; z-index: 2; }
.sketch .anno { position: absolute; z-index: 3; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(40,35,25,.6); font-weight: 600; }
.sketch .anno b { display: block; color: #1d1c22; font-size: 13px; letter-spacing: .1em; }
.sketch .mega { position: absolute; z-index: 0; left: 0; right: 0; bottom: 5%; text-align: center; color: rgba(40,35,25,.07); }

/* ---------- King Ravana 3D painting panel ---------- */
.painting { position: relative; height: min(110vh, 1100px); border-radius: 34px; overflow: hidden; color: #f3dcc0;
  background: radial-gradient(ellipse at 50% 40%, #2a1206 0%, #120703 60%, #0b0402 100%); box-shadow: 0 40px 80px -40px rgba(40,10,0,.55); }
.painting .stage { position: absolute; inset: 0; }
.painting .anno { position: absolute; z-index: 3; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(243,220,192,.65); font-weight: 600; }
.painting .anno b { display: block; color: #fff; font-size: 13px; letter-spacing: .1em; }
.painting .mega { position: absolute; z-index: 0; left: 0; right: 0; bottom: 5%; text-align: center; color: rgba(255,170,90,.06); }
.hero .stage[data-ravana3d] { left: auto; right: var(--pad); top: 150px; bottom: 64px; width: min(42vw, 600px); border-radius: 30px; overflow: hidden; z-index: 1;
  background: radial-gradient(ellipse at 50% 40%, #2a1206 0%, #120703 65%, #0b0402 100%); box-shadow: 0 40px 80px -40px rgba(40,10,0,.6); }
.model-card .stage[data-ravana3d] { bottom: 170px; border-radius: 28px 28px 0 0; overflow: hidden; background: radial-gradient(ellipse at 50% 40%, #2a1206 0%, #120703 70%); }
@media (max-width: 860px) { .hero .stage[data-ravana3d] { left: var(--pad); right: var(--pad); width: auto; top: 280px; bottom: 90px; opacity: .9; } }

/* ---------- Heritage collection: framed art prints ---------- */
.print-card { position: relative; display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,1) inset, 0 30px 60px -30px rgba(20,10,0,.35), 0 2px 6px rgba(10,12,22,.06); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.print-card:hover { transform: translateY(-6px); box-shadow: 0 50px 80px -40px rgba(20,10,0,.45), 0 2px 6px rgba(10,12,22,.06); }
.print-art { position: relative; aspect-ratio: 4 / 5; margin: 12px 12px 0; border-radius: 18px; overflow: hidden; background: radial-gradient(ellipse at 50% 40%, #2a1206, #0d0503 75%); }
.print-art .stage { position: absolute; inset: 0; }
.print-frame { position: absolute; inset: 12px; border: 1px solid rgba(255,225,180,.35); border-radius: 10px; pointer-events: none; z-index: 2;
  box-shadow: inset 0 0 0 4px rgba(0,0,0,.18), inset 0 0 60px rgba(0,0,0,.45); }
.print-plate, .print-hint { position: absolute; z-index: 3; color: rgba(255,232,200,.85) !important; font-size: 10px; }
.print-plate { left: 26px; top: 24px; } .print-hint { right: 26px; bottom: 22px; opacity: .7; }
.print-meta { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.print-meta .h3 { margin-top: 8px; }
.print-meta p.muted { font-size: 14px; margin-top: 8px; }
.print-meta .credit { margin-top: 10px; font-size: 9px; letter-spacing: .16em; }
