/* =========================================================
   Ethics Security — site styles
   Palette: Electric Blue #0224FC · Signal Orange #FF8100 · Black · White
   ========================================================= */
:root {
  --blue: #0224FC;
  --blue-bright: #4D66FF;   /* readable blue for text on dark */
  --blue-deep: #01128A;
  --orange: #FF8100;
  --orange-soft: #FFA54D;
  --black: #000000;
  --ink: #07080D;
  --ink-2: #0E1018;
  --ink-3: #161926;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.22);
  --white: #FFFFFF;
  --text: #ECEEF5;
  --muted: #A3A8BA;
  --paper: #F6F6F2;
  --paper-ink: #0B0C12;

  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--orange); color: var(--black); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  color: var(--white);
  font-weight: 800;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 62ch; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section--tight { padding: clamp(60px, 7vw, 96px) 0; }
.section--paper { background: var(--paper); color: var(--paper-ink); }
.section--paper h2, .section--paper h3 { color: var(--paper-ink); }
.section--paper .lead, .section--paper .muted { color: #4A4E5E; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--paper .eyebrow { color: var(--blue); }

.accent-blue { color: var(--blue-bright); }
.accent-orange { color: var(--orange); }
.grad-text {
  background: linear-gradient(100deg, var(--white) 0%, var(--white) 35%, var(--orange) 70%, var(--orange-soft) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Skip link ---------- */
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 1000; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* ---------- Page loader curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 999; background: var(--black);
  display: grid; place-items: center;
  transition: opacity .7s var(--ease), visibility .7s;
}
.curtain img { width: 64px; animation: curtain-pulse 1.1s var(--ease) infinite alternate; }
@keyframes curtain-pulse { from { opacity: .4; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
body.is-loaded .curtain { opacity: 0; visibility: hidden; }
.seen .curtain { display: none; }
.seen body.is-leaving .curtain { display: grid; }
body.is-leaving .curtain { opacity: 1; visibility: visible; transition-duration: .35s; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue), var(--orange)); z-index: 200; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  transition: background .4s var(--ease), border-color .4s var(--ease), height .4s var(--ease), transform .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(7, 8, 13, .78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
  height: 64px;
}
.header.is-hidden { transform: translateY(-100%); }
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 36px; width: auto; transition: transform .6s var(--ease-out); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand-word { font-family: var(--font-display); font-weight: 800; letter-spacing: .14em; font-size: 1rem; line-height: 1; color: var(--white); }
.brand-word small { display: block; font-weight: 500; letter-spacing: .42em; font-size: .56rem; margin-top: 5px; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 8px 14px; font-size: .93rem; font-weight: 500; color: var(--muted);
  border-radius: 999px; transition: color .25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { margin-left: 10px; }
.nav .btn::after { display: none; }
.nav a.btn--orange, .nav a.btn--orange:hover, .nav a.btn--orange[aria-current] { color: var(--black); }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; background: transparent; border: 1px solid var(--line-strong); color: var(--white); cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .4s var(--ease-out), opacity .3s; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 100px var(--gutter) 40px; gap: 4px;
    background: #000;
    clip-path: circle(0% at calc(100% - 40px) 38px);
    transition: clip-path .7s var(--ease-out);
    height: 100dvh; overflow-y: auto;
  }
  body.menu-open .nav { clip-path: circle(150% at calc(100% - 40px) 38px); }
  .nav a { font-family: var(--font-display); font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 800; color: var(--white); padding: 6px 0;
    opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .6s var(--ease-out), color .25s; }
  .nav a::after { left: 0; right: auto; width: 40px; }
  body.menu-open .nav a { opacity: 1; transform: none; }
  body.menu-open .nav a:nth-child(2) { transition-delay: .05s; }
  body.menu-open .nav a:nth-child(3) { transition-delay: .1s; }
  body.menu-open .nav a:nth-child(4) { transition-delay: .15s; }
  body.menu-open .nav a:nth-child(5) { transition-delay: .2s; }
  body.menu-open .nav a:nth-child(6) { transition-delay: .25s; }
  body.menu-open .nav a:nth-child(7) { transition-delay: .3s; }
  .nav .btn { margin: 24px 0 0; font-size: 1rem; padding: 14px 26px; font-family: var(--font-display); }
  body.menu-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; background: transparent; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue); --fg: var(--white);
  position: relative; display: inline-flex; align-items: center; gap: .6em;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--hover, var(--orange));
  transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { --fg: var(--hover-fg, var(--black)); box-shadow: 0 14px 40px -12px rgba(255,129,0,.55); color: var(--hover-fg, var(--black)); }
.btn .arrow { transition: transform .4s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--orange { --bg: var(--orange); --fg: var(--black); --hover: var(--white); --hover-fg: var(--black); }
.btn--orange:hover { box-shadow: 0 14px 40px -12px rgba(255,255,255,.4); }
.btn--ghost { --bg: transparent; --fg: var(--white); box-shadow: inset 0 0 0 1.5px var(--line-strong); --hover: var(--white); --hover-fg: var(--black); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--white), 0 14px 40px -14px rgba(255,255,255,.35); }
.btn--sm { padding: 10px 18px; font-size: .86rem; }
.section--paper .btn--ghost { --fg: var(--paper-ink); box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.2); --hover: var(--paper-ink); --hover-fg: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-display); font-weight: 700; color: var(--orange); }
.link-arrow span { transition: transform .4s var(--ease-out); }
.link-arrow:hover span { transform: translateX(5px); }
.section--paper .link-arrow { color: var(--blue); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 60px) 0 clamp(56px, 8vw, 100px);
  overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: -6% 0 0; z-index: -2; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%;
  animation: kenburns 24s var(--ease) infinite alternate; }
@keyframes kenburns { from { transform: scale(1.06) translate3d(0,0,0); } to { transform: scale(1.16) translate3d(-2%, -1%, 0); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 60% at 85% 10%, rgba(2,36,252,.35), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 35%, rgba(7,8,13,.92) 82%, var(--ink) 100%),
    linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.1) 70%);
}
.hero h1 { max-width: 14ch; }
.hero .lead { color: #D4D7E3; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__meta div { min-width: 140px; }
.hero__meta strong { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--white); line-height: 1; }
.hero__meta > div > span { font-size: .85rem; color: var(--muted); }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 40px; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; }
.scroll-cue::after { content: ""; width: 1px; height: 60px; background: linear-gradient(var(--orange), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 720px) { .scroll-cue { display: none; } }

/* Split words animation */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 55ms + 150ms); }
.split.is-in .w > span { transform: none; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(70px, 10vw, 130px)) 0 clamp(50px, 7vw, 90px); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 80% at 90% 0%, rgba(2,36,252,.32), transparent 60%), radial-gradient(40% 60% at 0% 100%, rgba(255,129,0,.14), transparent 60%); }
.page-hero h1 { max-width: 18ch; }
.page-hero--image { min-height: 70svh; display: flex; align-items: flex-end; }
.page-hero--image .page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero--image .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--image::before { background: linear-gradient(180deg, rgba(0,0,0,.6), rgba(7,8,13,.6) 50%, var(--ink)), radial-gradient(60% 80% at 90% 0%, rgba(2,36,252,.35), transparent 60%); }

/* Geometric motif (from logo) */
.motif { position: absolute; pointer-events: none; z-index: -1; opacity: .9; }
.motif svg { width: 100%; height: auto; }
.motif .dot { animation: float 6s ease-in-out infinite; transform-origin: center; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--scale { transform: scale(.94); }
.reveal--clip { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-out); }
.reveal--clip.is-in { clip-path: inset(0 0 0 0); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--black); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 2.4vw, 1.9rem); letter-spacing: -.01em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.4); display: inline-flex; align-items: center; gap: 48px; }
.marquee__track span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.marquee__track span:nth-child(3n+2) { color: var(--white); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split-layout--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split-layout { grid-template-columns: 1fr; } .split-layout--rev > :first-child { order: 0; } }

.card {
  position: relative; padding: clamp(26px, 3vw, 36px); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), border-color .4s var(--ease), background .4s;
  overflow: hidden; isolation: isolate;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s var(--ease);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(2,36,252,.28), transparent 60%);
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }
.card__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(2,36,252,.16); color: var(--blue-bright); border: 1px solid rgba(77,102,255,.3); }
.card__icon svg { width: 26px; height: 26px; }
.card--orange .card__icon { background: rgba(255,129,0,.12); color: var(--orange); border-color: rgba(255,129,0,.3); }
.card p { color: var(--muted); margin: 0; }
.card .num { position: absolute; top: 22px; right: 26px; font-family: var(--font-display); font-weight: 800; font-size: .8rem; color: rgba(255,255,255,.25); letter-spacing: .1em; }

.section--paper .card { background: var(--white); border-color: rgba(0,0,0,.08); }
.section--paper .card p { color: #4A4E5E; }
.section--paper .card::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,129,0,.14), transparent 60%); }

/* Image frames */
.frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.frame:hover img { transform: scale(1.04); }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--sq { aspect-ratio: 1; }
.frame-stack { position: relative; }
.frame-stack .frame--float { position: absolute; width: 46%; right: -6%; bottom: -10%; border: 6px solid var(--ink); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
@media (max-width: 900px) { .frame-stack { margin: 24px 0 60px; } .frame-stack .frame--float { right: 4%; } .motif { opacity: .45; } }
.badge-float { position: absolute; left: -18px; top: 28px; background: var(--orange); color: var(--black); font-family: var(--font-display); font-weight: 800;
  padding: 10px 16px; border-radius: 999px; font-size: .82rem; letter-spacing: .04em; box-shadow: 0 12px 30px -10px rgba(255,129,0,.7); animation: float 6s ease-in-out infinite; }
@media (max-width: 600px) { .badge-float { left: 10px; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.stats > div { background: var(--ink); padding: clamp(24px, 3vw, 36px); }
.stats strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--white); margin-bottom: 10px; }
.stats strong em { font-style: normal; color: var(--orange); }
.stats > div > span { color: var(--muted); font-size: .92rem; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Books ---------- */
.book-showcase { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(24px, 4vw, 48px); }
@media (max-width: 800px) { .book-showcase { grid-template-columns: 1fr; } }
.book {
  position: relative; border-radius: calc(var(--radius) + 6px); padding: clamp(28px, 4vw, 48px);
  display: grid; grid-template-rows: auto 1fr; gap: 28px; overflow: hidden; isolation: isolate;
  background: var(--ink-2); border: 1px solid var(--line);
}
.book::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 50% 20%, var(--glow, rgba(2,36,252,.35)), transparent 70%); transition: opacity .6s; }
.book--zara { --glow: rgba(255,129,0,.28); }
.book__cover { display: grid; place-items: center; perspective: 1200px; min-height: 360px; }
.book__cover img { max-height: 420px; width: auto; filter: drop-shadow(0 40px 50px rgba(0,0,0,.6)); transition: transform .9s var(--ease-out); transform-style: preserve-3d; }
.book__cover--flat img { border-radius: 4px 10px 10px 4px; box-shadow: inset 4px 0 8px rgba(255,255,255,.08); }
.book:hover .book__cover img { transform: rotateY(-14deg) rotateX(4deg) translateY(-8px); }
.book__tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; font-family: var(--font-display); }
.book h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: .3em; }
.book .sub { color: var(--muted); font-style: italic; margin-bottom: 1em; }
.book p { color: #C5C9D6; }
.book .btn-row { margin-top: 22px; }

/* Feature book (home) */
.book-feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
@media (max-width: 900px) { .book-feature { grid-template-columns: 1fr; } }
.book-stack { position: relative; height: clamp(380px, 46vw, 560px); perspective: 1400px; }
.book-stack img { position: absolute; filter: drop-shadow(0 40px 50px rgba(0,0,0,.55)); transition: transform 1s var(--ease-out); }
.book-stack .b1 { height: 86%; left: 4%; top: 6%; transform: rotate(-6deg); z-index: 1; border-radius: 3px 8px 8px 3px; }
.book-stack .b2 { height: 82%; right: 2%; bottom: 0; transform: rotate(5deg); z-index: 2; }
.book-stack:hover .b1 { transform: rotate(-9deg) translate(-12px, -10px); }
.book-stack:hover .b2 { transform: rotate(8deg) translate(12px, -6px); }

/* ---------- Speaker band ---------- */
.speaker-band { position: relative; overflow: hidden; isolation: isolate; background: var(--black); }
.speaker-band__video { position: absolute; inset: 0; z-index: -2; opacity: .35; }
.speaker-band__video video { width: 100%; height: 100%; object-fit: cover; }
.speaker-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.7) 50%, rgba(0,0,0,.35) 100%); }
.swts-logo { width: min(420px, 90%); margin-bottom: 26px; }
.tm { font-size: .55em; vertical-align: super; }

.topic-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.topic-list li { display: flex; gap: 22px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease-out), background .4s; }
.topic-list li:hover { padding-left: 14px; background: linear-gradient(90deg, rgba(255,129,0,.08), transparent); }
.topic-list .n { font-family: var(--font-display); font-weight: 800; color: var(--orange); font-size: .85rem; min-width: 30px; }
.topic-list h3 { margin: 0 0 4px; font-size: 1.2rem; }
.topic-list p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Engagements timeline */
.timeline { position: relative; display: grid; gap: 0; }
.timeline__item { display: grid; grid-template-columns: 150px 1fr; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.timeline__item .when { font-family: var(--font-display); font-weight: 700; color: var(--muted); font-size: .9rem; }
.timeline__item h3 { margin-bottom: 4px; font-size: 1.2rem; }
.timeline__item p { margin: 0; color: var(--muted); }
.pill { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--orange); color: #000; margin-left: 10px; vertical-align: middle; font-family: var(--font-display); }
.pill--blue { background: var(--blue); color: #fff; }
@media (max-width: 640px) { .timeline__item { grid-template-columns: 1fr; gap: 6px; } }

/* Gallery */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; border-radius: 14px; overflow: hidden; position: relative; cursor: zoom-in; background: var(--ink-3); }
.gallery img { width: 100%; height: auto; transition: transform 1.2s var(--ease-out), filter .6s; }
.gallery figure:hover img { transform: scale(1.05); filter: brightness(.75); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; font-size: .85rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(0,0,0,.85)); transform: translateY(100%); transition: transform .5s var(--ease-out); }
.gallery figure:hover figcaption, .gallery figure:focus-visible figcaption { transform: none; }

.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 84vh; max-width: min(1400px, 100%); width: auto; border-radius: 12px; transform: scale(.94); transition: transform .5s var(--ease-out); }
.lightbox.is-open img { transform: none; }
.lightbox p { text-align: center; color: var(--muted); margin: 14px 0 0; }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); border: 1px solid var(--line-strong); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.3rem; transition: background .3s; }
.lightbox button:hover { background: var(--orange); color: #000; }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Video player */
.video-card { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; border: 1px solid var(--line); }
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-card .play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.7)); border: 0; cursor: pointer; color: #fff; transition: opacity .4s; }
.video-card .play .pbtn { width: 86px; height: 86px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; color: #000; box-shadow: 0 0 0 0 rgba(255,129,0,.6); animation: ring 2.2s var(--ease) infinite; transition: transform .4s var(--ease-out); }
.video-card .play:hover .pbtn { transform: scale(1.08); }
.video-card .play svg { width: 30px; height: 30px; margin-left: 4px; }
.video-card .caption { position: absolute; left: 22px; bottom: 18px; right: 22px; font-weight: 600; font-size: .95rem; pointer-events: none; text-align: left; }
.video-card.is-playing .play { opacity: 0; pointer-events: none; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255,129,0,.55); } 80%, 100% { box-shadow: 0 0 0 26px rgba(255,129,0,0); } }

/* ---------- Founders ---------- */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; padding: clamp(28px, 4vw, 48px); border-radius: calc(var(--radius) + 6px); background: var(--ink-2); border: 1px solid var(--line); }
.founder + .founder { margin-top: 28px; }
.founder__photo { position: relative; }
.founder__photo .frame { aspect-ratio: 1; border-radius: 50%; border: 3px solid transparent; background: linear-gradient(var(--ink-2), var(--ink-2)) padding-box, linear-gradient(135deg, var(--blue), var(--orange)) border-box; }
.founder__photo .frame img { border-radius: 50%; }
.founder__role { font-family: var(--font-display); font-weight: 700; color: var(--orange); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.founder h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .2em; }
.founder .tagline { color: var(--blue-bright); font-weight: 600; margin-bottom: 1.2em; }
.founder p { color: #C5C9D6; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.chips span { font-size: .8rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); }
.li-btn { display: inline-flex; align-items: center; gap: 10px; }
.li-btn svg { width: 18px; height: 18px; }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; } .founder__photo { max-width: 240px; } }

/* Values */
.value { padding: 30px 0; border-top: 1px solid rgba(0,0,0,.12); display: grid; grid-template-columns: 80px 1fr; gap: 20px; }
.value .letter { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--blue); }
.value h3 { margin-bottom: 6px; }
.value p { margin: 0; color: #4A4E5E; }

/* ---------- Blog ---------- */
.post-card { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: calc(var(--radius) + 4px); overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); transition: transform .5s var(--ease-out), border-color .4s; }
.post-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.post-card .frame { border-radius: 0; min-height: 300px; }
.post-card__body { padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.post-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .82rem; color: var(--muted); margin-bottom: 14px; align-items: center; }
.post-meta .cat { color: var(--orange); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-display); font-size: .72rem; }
.post-card h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.post-card p { color: var(--muted); }
@media (max-width: 820px) { .post-card { grid-template-columns: 1fr; } .post-card .frame { min-height: 220px; } }

.frame > .cover-art { position: absolute; inset: 0; }
.post-hero-art { aspect-ratio: 21 / 9; min-height: 220px; }
.cover-art { width: 100%; height: 100%; min-height: inherit; display: grid; place-items: center; position: relative; overflow: hidden;
  background: radial-gradient(60% 80% at 20% 20%, rgba(2,36,252,.85), transparent 70%), radial-gradient(60% 70% at 90% 90%, rgba(255,129,0,.7), transparent 70%), #05060B; }
.cover-art svg { width: 46%; max-width: 220px; opacity: .95; transition: transform 1.2s var(--ease-out); }
.post-card:hover .cover-art svg { transform: scale(1.06) rotate(-3deg); }

.article { max-width: 760px; margin: 0 auto; }
.article p, .article li { font-size: 1.12rem; line-height: 1.8; color: #D3D6E0; }
.article h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.8em; }
.article ul { padding-left: 0; list-style: none; margin: 0 0 1.4em; display: grid; gap: 10px; }
.article ul li { position: relative; padding-left: 30px; }
.article ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.article blockquote { margin: 2em 0; padding: 26px 30px; border-left: 4px solid var(--blue); background: rgba(2,36,252,.08); border-radius: 0 14px 14px 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.4; color: var(--white); }
.article .callout { padding: 26px 30px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line); margin: 2em 0; }
.article .callout h3 { margin-bottom: .6em; }
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 600px) { .checklist { grid-template-columns: 1fr; } }
.article-back { display: inline-flex; gap: 8px; color: var(--muted); font-weight: 600; margin-bottom: 30px; transition: color .3s; }
.article-back:hover { color: var(--orange); }
.share { display: flex; gap: 10px; align-items: center; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); flex-wrap: wrap; }

/* ---------- Podcast ---------- */
.podcast { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px); padding: clamp(36px, 6vw, 80px);
  background: radial-gradient(70% 120% at 100% 0%, rgba(2,36,252,.7), transparent 60%), radial-gradient(60% 100% at 0% 100%, rgba(255,129,0,.35), transparent 60%), #05060B;
  border: 1px solid var(--line); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .podcast { grid-template-columns: 1fr; } }
.podcast .soon { display: inline-flex; gap: 10px; align-items: center; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid var(--line-strong); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-family: var(--font-display); margin-bottom: 20px; }
.podcast .soon i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .2; } }
.wave { display: flex; align-items: center; justify-content: center; gap: 6px; height: 180px; }
.wave span { width: 8px; border-radius: 8px; background: linear-gradient(var(--orange), var(--blue-bright)); height: 20%; animation: wave 1.3s ease-in-out infinite; animation-delay: calc(var(--i) * -0.11s); }
@keyframes wave { 0%, 100% { height: 14%; } 50% { height: var(--h, 80%); } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, var(--blue) 0%, var(--blue-deep) 55%, #000 100%); }
.cta-band::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -200px; z-index: -1; background: radial-gradient(circle, rgba(255,129,0,.55), transparent 65%); animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-120px, 120px); } }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 56ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 30px; }
.cta-band .btn { --bg: var(--white); --fg: var(--black); --hover: var(--orange); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 18px; padding: clamp(26px, 4vw, 44px); border-radius: calc(var(--radius) + 4px); background: var(--ink-2); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { position: relative; display: grid; gap: 8px; }
.field label { font-size: .82rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03);
  color: var(--white); font: inherit; font-size: 1rem; transition: border-color .3s, background .3s, box-shadow .3s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23FF8100' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field select option { background: var(--ink-2); color: var(--white); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-bright); background: rgba(2,36,252,.08); box-shadow: 0 0 0 4px rgba(2,36,252,.18); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #ff5a5a; }
.speaking-fields { display: grid; gap: 18px; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .7s var(--ease-out), opacity .5s var(--ease), margin .5s; margin-top: -18px; }
.speaking-fields.is-open { max-height: 600px; opacity: 1; margin-top: 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--orange); width: 18px; height: 18px; flex: none; }
.consent a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px !important; }
.form-status { display: none; padding: 16px 18px; border-radius: 12px; font-weight: 600; }
.form-status.ok { display: block; background: rgba(46, 204, 113, .12); border: 1px solid rgba(46,204,113,.4); color: #8CF0B4; }
.form-status.err { display: block; background: rgba(255, 90, 90, .1); border: 1px solid rgba(255,90,90,.4); color: #FFB0B0; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.contact-points { display: grid; gap: 14px; margin-top: 30px; }
.contact-point { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease-out); }
.contact-point:hover { border-color: var(--orange); transform: translateX(6px); }
.contact-point .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,129,0,.12); color: var(--orange); flex: none; }
.contact-point .ic svg { width: 20px; height: 20px; }
.contact-point small { display: block; color: var(--muted); font-size: .8rem; }
.contact-point strong { font-weight: 600; word-break: break-word; }

/* ---------- Legal ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.45rem; margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal p, .legal li { color: #C9CCD8; font-size: 1rem; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .5em; }
.legal a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.legal .updated { color: var(--muted); font-size: .9rem; }
.toc { position: sticky; top: 100px; display: grid; gap: 4px; font-size: .9rem; }
.toc a { color: var(--muted); padding: 6px 0 6px 14px; border-left: 2px solid var(--line); transition: color .3s, border-color .3s; }
.toc a:hover, .toc a.is-active { color: var(--white); border-color: var(--orange); }
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 60px; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } .toc { display: none; } }

/* ---------- Footer ---------- */
.footer { background: var(--black); border-top: 1px solid var(--line); padding: 80px 0 34px; position: relative; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--text); transition: color .3s; }
.footer ul a:hover { color: var(--orange); }
.footer__about { color: var(--muted); max-width: 38ch; font-size: .95rem; }
.footer__logo { height: 64px; width: auto; margin-bottom: 18px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: background .3s, border-color .3s, transform .4s var(--ease-out); }
.socials a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer__bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--orange); }
.footer__giant { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 17vw, 15rem); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08); margin-top: 50px; white-space: nowrap; user-select: none; text-align: center; }

/* Back to top */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer; background: var(--orange); color: #000;
  display: grid; place-items: center; opacity: 0; transform: translateY(20px) scale(.8); transition: opacity .4s, transform .5s var(--ease-out); box-shadow: 0 10px 30px -10px rgba(255,129,0,.7); }
.to-top.is-visible { opacity: 1; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* Utilities */
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; } .mb-3 { margin-bottom: 40px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 60px); }
.head-row h2 { margin: 0; max-width: 18ch; }
.note { font-size: .85rem; color: var(--muted); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal--clip { opacity: 1; transform: none; clip-path: none; }
  .split .w > span { transform: none; }
}

/* =========================================================
   Logo world (home hero)
   ========================================================= */
.hero--logo { background: radial-gradient(70% 70% at 75% 35%, rgba(2,36,252,.35), transparent 65%), radial-gradient(40% 40% at 72% 18%, rgba(255,129,0,.18), transparent 70%), #03040A; }
.hero--logo::before { background: linear-gradient(90deg, rgba(3,4,10,.92) 0%, rgba(3,4,10,.55) 45%, rgba(3,4,10,0) 75%), linear-gradient(180deg, transparent 70%, var(--ink) 100%); }
.logo-world { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.logo-world .net, .robo-world .net { position: absolute; inset: 0; width: 100%; height: 100%; }
.lw-sky { position: absolute; left: 0; right: 0; bottom: 18%; height: 34%; opacity: .55; }
.lw-sky svg, .rw-sky svg { width: 100%; height: 100%; display: block; }
.lw-grid { position: absolute; left: -50%; right: -50%; bottom: -2%; height: 34%;
  background-image: linear-gradient(rgba(77,102,255,.45) 1px, transparent 1px), linear-gradient(90deg, rgba(77,102,255,.45) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(420px) rotateX(68deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 85%); mask-image: linear-gradient(to top, #000 0%, transparent 85%);
  animation: gridmove 2.6s linear infinite; }
@keyframes gridmove { to { background-position: 0 64px, 0 0; } }
.lw-mark { position: absolute; right: 7%; top: 50%; width: min(34vw, 470px); translate: 0 -54%; }
.lw-svg { width: 100%; height: auto; overflow: visible; }
.lw-orb { animation: orbfloat 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.lw-rings { animation: orbfloat 5s ease-in-out infinite; }
.lw-rings ellipse:first-child { animation: dash 14s linear infinite; }
.lw-rings ellipse:last-child { animation: dash 22s linear infinite reverse; }
.lw-beam { animation: beam 2.4s ease-in-out infinite; }
@keyframes orbfloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes dash { to { stroke-dashoffset: -400; } }
@keyframes beam { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
@media (max-width: 900px) {
  .lw-mark { right: 50%; translate: 50% 0; top: 5%; width: min(56vw, 260px); opacity: .4; }
  .hero--logo::before { background: linear-gradient(180deg, rgba(3,4,10,.35) 0%, rgba(3,4,10,.75) 55%, var(--ink) 100%); }
}

/* =========================================================
   Bento (community in action)
   ========================================================= */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 16vw, 230px); grid-auto-flow: dense; gap: 14px; }
.bento__item { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: var(--ink-3); cursor: zoom-in; isolation: isolate; }
.bento__item--video { cursor: default; }
.bento__item.c2 { grid-column: span 2; } .bento__item.r2 { grid-row: span 2; }
.bento__item img, .bento__item video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; }
.bento__item:hover img { transform: scale(1.06); filter: brightness(.8); }
.bento__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; font-size: .82rem; font-weight: 600; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.85)); display: flex; align-items: center; gap: 8px; }
.bento__item::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); pointer-events: none; transition: box-shadow .4s; }
.bento__item:hover::after { box-shadow: inset 0 0 0 2px var(--orange); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: blink 1.4s ease-in-out infinite; flex: none; }
@media (max-width: 760px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .bento__item.c2 { grid-column: span 2; }
}

/* =========================================================
   Robotic world (about hero)
   ========================================================= */
.robo-hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; background: radial-gradient(80% 60% at 50% 30%, rgba(2,36,252,.35), transparent 70%), #02030A; padding-top: calc(var(--header-h) + 20px); }
.robo-hero::before { background: linear-gradient(180deg, transparent 55%, rgba(7,8,13,.85) 80%, var(--ink) 100%); }
.robo-world { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.rw-sky { position: absolute; left: -3%; right: -3%; }
.rw-sky--far { bottom: 26%; height: 46%; }
.rw-sky--near { bottom: 18%; height: 30%; }
.robo-world .lw-grid { height: 26%; }
.rw-scan { position: absolute; left: 0; right: 0; height: 30%; top: -30%; background: linear-gradient(180deg, transparent, rgba(77,102,255,.12) 60%, rgba(77,102,255,.35) 99%, transparent); animation: scan 7s linear infinite; mix-blend-mode: screen; }
@keyframes scan { to { top: 110%; } }
.robo-stage { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; justify-items: center; gap: clamp(10px, 4vw, 60px);
  width: min(1100px, 100%); margin: 0 auto; padding: 10px var(--gutter) 30px; flex: 1; }
.rw-links { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.rw-links path { fill: none; stroke: #4D66FF; stroke-width: 2; stroke-dasharray: 6 12; opacity: .8; animation: dash 6s linear infinite; vector-effect: non-scaling-stroke; }
.rw-links path.alt { stroke: #FF8100; animation-duration: 9s; animation-direction: reverse; opacity: .6; }
.holo { margin: 0; display: grid; justify-items: center; gap: 0; width: clamp(130px, 22vw, 290px); animation: holofloat 6s ease-in-out infinite; }
.holo--orange { animation-delay: -3s; }
@keyframes holofloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.holo__frame { --c: #4D66FF; position: relative; width: 100%; aspect-ratio: 1 / 1.08; padding: 4px;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); background: linear-gradient(160deg, #fff, var(--c) 40%, rgba(0,0,0,.2)); filter: drop-shadow(0 0 30px var(--c)); }
.holo--orange .holo__frame { --c: #FF8100; }
.holo__frame img { width: 100%; height: 100%; object-fit: cover; clip-path: inherit; display: block; }
.holo__frame::after { content: ""; position: absolute; inset: 4px; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.07) 0 2px, transparent 2px 5px), linear-gradient(180deg, transparent 0%, rgba(255,255,255,.25) 50%, transparent 52%);
  background-size: 100% 100%, 100% 260%; animation: holoscan 4s linear infinite; mix-blend-mode: screen; pointer-events: none; }
@keyframes holoscan { from { background-position: 0 0, 0 120%; } to { background-position: 0 0, 0 -160%; } }
.holo__base { width: 80%; height: 46px; margin-top: -6px; position: relative;
  background: radial-gradient(50% 50% at 50% 50%, var(--c, #4D66FF), transparent 70%); opacity: .7; }
.holo--blue .holo__base { --c: rgba(77,102,255,.9); } .holo--orange .holo__base { --c: rgba(255,129,0,.9); }
.holo figcaption { margin-top: 2px; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: clamp(.82rem, 1.4vw, 1.05rem); color: #fff; letter-spacing: .02em;
  padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); }
.holo figcaption small { display: block; font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--orange); font-weight: 700; }
.robo-core { width: clamp(70px, 11vw, 150px); }
.robo-hero > .container { position: relative; }
@media (max-width: 640px) {
  .robo-stage { gap: 8px; }
  .holo figcaption { padding: 4px 10px; }
  .rw-sky--far { bottom: 30%; } .rw-sky--near { bottom: 22%; }
}
