/* 101studio landing, variant v6: one fixed, clean screen. White paper, the usual top bar (logo left, login right), one huge lowercase headline, red only on the logo star and the CTA. Inter only. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-cyrillic-ext-400-normal.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-latin-ext-400-normal.woff2") format("woff2"); 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; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/inter-cyrillic-ext-500-normal.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/inter-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/inter-latin-ext-500-normal.woff2") format("woff2"); 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; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


:root {
  --paper: #ffffff;
  --ink: #0a0a0a;
  --mute: #4f4f4f;
  --dim: #5c5c5c;
  --red: #e70024;
  --red-hover: #c4001e;
  --sans: "Manrope", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --edge: 56px;            /* page gutter */
  --brand-w: 150px;        /* logo column; the headline starts after it */
  --gap: 44px;
  --tap: 44px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* one screen: the page never scrolls, only the background moves */
html, body { height: 100%; overflow: hidden; overscroll-behavior: none; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.5;
  font-feature-settings: "tnum" 1, "zero" 1;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg[hidden] { position: absolute; width: 0; height: 0; overflow: hidden; }
h1, p, ol { margin: 0; }
ol { padding: 0; list-style: none; }
a:focus-visible { outline: 1px solid rgba(10, 10, 10, .35); outline-offset: 3px; }
a:focus:not(:focus-visible) { outline: none; }

.hero {
  position: relative; height: 100vh; height: 100dvh; overflow: hidden; isolation: isolate;
}
.glass { position: absolute; inset: 0; z-index: -1; background: var(--paper); }
.wire { position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  -webkit-mask-image: linear-gradient(#000 74%, transparent 97%); mask-image: linear-gradient(#000 74%, transparent 97%); }

.top { display: contents; }
.brand {
  position: absolute; left: var(--edge); top: 50%; width: var(--brand-w);
  transform: translateY(-50%); display: block; padding: 10px 0;
}
.brand img { width: 100%; }
.nav { position: absolute; top: 22px; right: var(--edge); display: flex; flex-direction: column; align-items: flex-end; }
.nav a { font-size: 13px; line-height: 1; color: var(--ink); padding: 6px 0; transition: color .3s var(--ease); }
.nav a:hover { color: var(--red-hover); }

.edge {
  position: absolute; font-size: 10px; line-height: 1; color: var(--mute);
  writing-mode: vertical-rl; white-space: nowrap;
}
.edge-lt { left: 22px; top: 28px; transform: rotate(180deg); }
.edge-lb { left: 22px; bottom: 28px; transform: rotate(180deg); }
.edge-r  { right: 22px; top: 50%; translate: 0 -50%; display: flex; gap: 22px; }

.stage {
  position: absolute; top: 50%; translate: 0 -50%;
  left: calc(var(--edge) + var(--brand-w) + var(--gap)); right: var(--edge);
  transform: translate3d(calc(var(--px, 0) * -14px), calc(var(--py, 0) * -8px), 0); will-change: transform;
}
.headline {
  position: relative; font-weight: 500;
  /* one line from 1080px up, sized by the free width and kept in proportion on short screens */
  font-size: clamp(56px, min(calc((100vw - 330px) / 8.3), 17vh), 150px);
  line-height: .92; letter-spacing: -0.055em; white-space: nowrap; color: var(--ink);
}
.headline .w { display: inline-block; overflow: hidden; padding: 0 .04em .26em 0; margin: 0 -.04em -.26em 0; vertical-align: top; }
.headline .w > span { display: inline-block; }
.headline .sub {
  display: block; margin-top: 36px;
  font-size: 15px; line-height: 1.4; letter-spacing: 0; color: var(--ink); font-weight: 400;
}

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: var(--tap); padding: 0 20px 0 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.pill .i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pill-red { background: var(--red); color: #fff; }
.pill-red:hover { background: var(--red-hover); }
/* the pill sits under the end of the headline, on the row of the small line, clear of the descenders */
.stage .pill { position: absolute; right: 0; top: calc(100% - 33px); }

/* bottom row: services in compact form, copyright */
.base {
  position: absolute; bottom: 26px;
  left: calc(var(--edge) + var(--brand-w) + var(--gap)); right: var(--edge);
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
}
.svc { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 13px; line-height: 1.4; color: var(--ink); }
.svc li { white-space: nowrap; }
.svc .num { color: var(--dim); margin-right: 8px; }
.meta { font-size: 12px; line-height: 1.4; color: var(--mute); white-space: nowrap; }
.meta-geo { display: none; }

/* ---------- motion ---------- */
.js .headline .w > span { transform: translateY(140%); }
.js .rise { opacity: 0; }
.js.ready .headline .w > span { transform: none; transition: transform 1.5s var(--ease) .15s; }
.js.ready .headline .w:nth-child(2) > span { transition-delay: .25s; }
.js.ready .headline .w:nth-child(3) > span { transition-delay: .35s; }
.js.ready .rise { opacity: 1; transition: opacity 1.4s linear .7s; }
.js.ready .stage .pill { transition-delay: 1s; }

@media (prefers-reduced-motion: reduce) {
  .js .headline .w > span { transform: none; }
  .js .rise { opacity: 1; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- below 1080: one column, headline stacks ---------- */
@media (max-width: 1079px) {
  :root { --edge: 40px; }
  .hero { display: flex; flex-direction: column; padding: 26px var(--edge) 24px; }
  .top { display: flex; align-items: center; justify-content: space-between; }
  .brand { position: static; transform: none; width: 124px; padding: 11px 0; margin: -11px 0; }
  .nav { position: static; }
  .nav a { min-height: var(--tap); display: flex; align-items: center; font-size: 14px; padding: 0; }
  .edge { display: none; }
  .stage { position: relative; top: auto; left: auto; right: auto; translate: none; margin: auto 0; padding: 24px 0; }
  .headline { font-size: clamp(44px, min(13vw, 10.5vh), 124px); white-space: normal; line-height: .95; }
  .headline .w { display: block; }
  .headline .sub { margin-top: clamp(14px, 3vh, 26px); }
  .stage .pill { position: static; margin-top: clamp(14px, 2.6vh, 22px); }
  .base { position: static; flex-direction: column; align-items: stretch; gap: clamp(12px, 2.4vh, 20px); }
  .svc { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px 20px; }
  .meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; font-size: 11px; }
  .meta-geo { display: inline; }
}

@media (max-width: 640px) {
  :root { --edge: 20px; }
  .hero { padding: 14px var(--edge) calc(16px + env(safe-area-inset-bottom)); }
  .brand { width: 112px; }
  .headline { font-size: clamp(40px, min(16vw, 9vh), 76px); }
  .svc { grid-template-columns: 1fr 1fr; font-size: 12.5px; }
  .meta { flex-direction: column; gap: 2px; }
}
/* very short landscape phones: drop the line under the headline before anything clips */
@media (max-height: 460px) and (max-width: 1079px) {
  .headline .sub { display: none; }
  .headline { font-size: clamp(32px, 11vh, 60px); }
  .stage { padding: 8px 0; }
  .svc { grid-template-columns: repeat(5, auto); }
}

.pill-dark { background: var(--ink); color: #fff; }
.pill-dark:hover { background: #2a2a2a; }
.nav a.pill { color: #fff; min-height: var(--tap); padding: 0 20px 0 18px; font-size: 14px; display: inline-flex; }
.nav a.pill:hover { color: #fff; }

/* ---------- 1080 and up: top bar, headline across the page, button under it ---------- */
@media (min-width: 1080px) {
  .hero { display: flex; flex-direction: column; padding: 26px var(--edge) 28px; }
  .top { display: flex; align-items: center; justify-content: space-between; }
  .brand { position: static; transform: none; width: 136px; padding: 11px 0; margin: -11px 0; }
  .nav { position: static; }
  .stage { position: relative; top: auto; left: auto; right: auto; translate: none; transform: none; margin: auto 0; width: fit-content; max-width: 100%; }
  .stage { --hf: clamp(56px, min(calc((100vw - 2 * var(--edge)) / 8.35), 19vh), 190px); }   /* sized for the longest changing word, "we create websites." */
  .headline { font-size: var(--hf); margin-left: -.045em; }
  .headline .sub { margin: 46px 0 0 .035em; font-size: 16px; }
  /* the portal button sits under the last word, on the row of the small line, clear of the descenders */
  .stage .pill { position: absolute; right: calc(var(--hf) * 1.5); top: calc(var(--hf) * .843 - 15px); margin: 0; }
  .base { position: static; }
  .meta-geo { display: inline; margin-right: 28px; }
}

/* ---------- top bar after the horizonx.so header: small logo, one rounded group of items in the centre, a compact black button.
   Hover on an item: a faint grey pill fades in and the letters roll up one after another (v6.js splits the text). ---------- */
.menu { display: none; }
@media (min-width: 1080px) {
  :root { --edge: 40px; }
  .hero { padding-top: 22px; }
  .top { position: relative; min-height: 40px; }
  .brand { width: 120px; }
  .menu {
    display: inline-flex; align-items: center; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    margin: 0; padding: 3px; list-style: none; white-space: nowrap;
    border: 1px solid rgba(10, 10, 10, .1); border-radius: 48px;
  }
  .menu li { display: flex; }
  .menu a {
    display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 8px 13px; border-radius: 999px;
    font-size: 13px; line-height: 16px; font-weight: 500; letter-spacing: -0.02em;
    color: rgba(10, 10, 10, .72);
    transition: color .18s ease-out, background-color .18s ease-out;
  }
  .menu a:hover, .menu a:focus-visible, .menu a[aria-expanded="true"] { color: var(--ink); background-color: rgba(10, 10, 10, .05); }
  .menu .chev { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: .5; transition: transform .35s var(--ease); }
  .menu a[aria-expanded="true"] .chev { transform: rotate(180deg); }
  .menu .ch { display: inline-block; position: relative; overflow: hidden; vertical-align: top; line-height: inherit; }
  .menu .ch > span { display: block; padding: 1px 0; transition: transform .45s var(--ease); transition-delay: calc(var(--i) * 14ms); }
  .menu .ch > .b { position: absolute; top: 100%; left: 0; }
  .menu a:hover .ch > span, .menu a:focus-visible .ch > span { transform: translateY(-100%); }
  .nav a.pill { min-height: 35px; min-width: 100px; justify-content: center; padding: 8px 16px; font-size: 13px; letter-spacing: -0.02em; border-radius: 48px; }
  .nav a.pill .i { display: none; }
}
@media (prefers-reduced-motion: reduce) { .menu a:hover .ch > span, .menu a:focus-visible .ch > span { transform: none; } }

/* ---------- intro: cursors that put the page together (intro.js) ---------- */
.headline { font-kerning: none; }           /* the intro splits the headline into letters; no kerning keeps both states identical */
.headline .l { display: inline-block; }
.intro-layer { position: fixed; inset: 0; z-index: 50; pointer-events: none; overflow: hidden; }
.intro-cursor { position: absolute; left: 0; top: 0; color: var(--ink); will-change: translate; }
.intro-cursor svg { display: block; transform-origin: 2px 2px; filter: drop-shadow(0 2px 3px rgba(10, 10, 10, .22)); }
.intro-cursor span {
  position: absolute; left: 15px; top: 20px; padding: 5px 9px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 11.5px; line-height: 1; font-weight: 500; white-space: nowrap;
  box-shadow: 0 2px 6px rgba(10, 10, 10, .16);
}
.intro-cursor.is-red { color: var(--red); }
.intro-cursor.is-red span { background: var(--red); }
.intro-sel { position: absolute; border: 1px solid var(--red); border-radius: 2px; background: rgba(231, 0, 36, .035); }
.intro-sel i { position: absolute; width: 6px; height: 6px; background: #fff; border: 1px solid var(--red); border-radius: 1px; }
.intro-sel i:nth-child(1) { left: -4px; top: -4px; }
.intro-sel i:nth-child(2) { right: -4px; top: -4px; }
.intro-sel i:nth-child(3) { left: -4px; bottom: -4px; }
.intro-sel i:nth-child(4) { right: -4px; bottom: -4px; }
.instant *, .instant *::before, .instant *::after { transition: none !important; }

/* ---------- portal button (H4D3S chose 05C, 2026-11-22): smoked dark glass over the headline, a light in the
   reference colours (warm orange, the studio red, a cool blue) travelling round its rim, and the same light glowing
   softly through the glass from inside, following the rim. ---------- */
@property --rim { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
/* without @property the angle cannot ease: var(--rim, 0deg) keeps the rim still and whole instead of blinking */
.pill-red {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 54px; padding: 0 28px 0 22px; gap: 12px; font-size: 15px; color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 55%), rgba(10, 10, 14, .7);
  -webkit-backdrop-filter: blur(8px) saturate(160%); backdrop-filter: blur(8px) saturate(160%);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
  box-shadow:
    0 22px 44px -20px rgba(10, 10, 10, .5),
    inset 0 1px 0 rgba(255, 255, 255, .42), inset 0 10px 16px -10px rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(255, 255, 255, .1);
  transition: translate .5s var(--ease), box-shadow .5s var(--ease);
  animation: rim-spin 4s linear infinite;
}
/* the rim light, cut to a thin ring */
.pill-red::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; padding: 1.6px; pointer-events: none;
  background: conic-gradient(from var(--rim, 0deg), transparent 0 55%, #ff7a45 68%, #e70024 78%, #4d7cff 92%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* the same light seen softly through the glass */
.pill-red::after {
  content: ""; position: absolute; inset: -12px; z-index: -1; pointer-events: none;
  background: conic-gradient(from var(--rim, 0deg), transparent 0 55%, #ff7a45 68%, #e70024 78%, #4d7cff 92%, transparent 100%);
  filter: blur(14px); opacity: .45;
  /* Safari on iPhone does not clip a blurred layer to the rounded pill, and showed it as a square at the left edge */
  -webkit-clip-path: inset(12px round 999px); clip-path: inset(12px round 999px);
}
.pill-red > * { position: relative; z-index: 2; }
@keyframes rim-spin { to { --rim: 360deg; } }
.pill-red:hover {
  translate: 0 -2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 55%), rgba(10, 10, 14, .74);
  box-shadow:
    0 28px 52px -20px rgba(10, 10, 10, .56),
    inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 10px 16px -10px rgba(255, 255, 255, .26), inset 0 -1px 0 rgba(255, 255, 255, .12);
}
.pill-red .i { width: 20px; height: 20px; overflow: visible; }
.pill-red .i-arrow { animation: arrow-in 2.8s var(--ease) infinite; }
.pill-red:hover .i-arrow { animation-duration: 1.1s; }
@keyframes arrow-in {
  0%, 52%, 100% { transform: translateX(0); opacity: 1; }
  68% { transform: translateX(5px); opacity: 0; }
  69% { transform: translateX(-7px); opacity: 0; }
  88% { transform: translateX(0); opacity: 1; }
}
/* on phones the button sits in the flow; it must stay a positioning box so the rim and the liquid stay on it */
@media (max-width: 1079px) { .stage .pill-red { position: relative; top: auto; right: auto; left: auto; } }
@media (prefers-reduced-motion: reduce) { .pill-red, .pill-red .i-arrow { animation: none; } }


/* ---------- Tools menu after H4D3S's reference (the horizonx.so Tools panel): a rail of tools with 4POLLO's 3D pictures (icons3d/), a title
   and one line, one large black card beside a numbered list whose rows carry a 3D picture, and a footer with quiet chips,
   a text link and a black button. It flies down 8px and fades in over .24s; the stage steps up 4px when the tool changes. ---------- */
.mega, .mega-scrim { display: none; }
.ti { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 1080px) {
  .top { z-index: 30; }
  .mega-scrim {
    display: block; position: absolute; inset: 0; z-index: 18; background: rgba(255, 255, 255, .72);
    opacity: 0; pointer-events: none; transition: opacity .24s ease-out;
  }
  .mega-scrim.open { opacity: 1; }
  .mega {
    display: flex; flex-direction: column; position: absolute; left: 50%; top: 72px; z-index: 20;
    width: min(1080px, calc(100% - 7rem)); translate: -50% 0;
    padding: 12px; background: #fff; border-radius: 24px; box-shadow: 0 16px 56px rgba(23, 23, 23, .16);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease-out, transform .2s ease-out, visibility 0s linear .2s;
  }
  .mega.open { opacity: 1; visibility: visible; transform: none; transition: opacity .24s ease-out, transform .24s cubic-bezier(.33, 1, .68, 1), visibility 0s; }
  .mega-grid { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 12px; }
  .mega-rail { display: flex; flex-direction: column; gap: 4px; padding: 4px; }
  .mega-item { display: flex; align-items: center; gap: 10px; padding: 4px 14px 4px 6px; border-radius: 12px; color: var(--ink); transition: background-color .18s ease-out; }
  .t3d { display: block; flex: none; object-fit: contain; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .18)) drop-shadow(0 3px 6px rgba(0, 0, 0, .08)); }
  .mega-item .t3d { width: 36px; height: 36px; margin-right: -9px; }
  .mega-item .lb { font-size: 13px; line-height: 1.2; font-weight: 500; letter-spacing: -0.03em; color: rgba(23, 23, 23, .68); transition: color .18s ease-out; }
  .mega-item.is-on { background-color: #efeeeb; }
  .mega-item.is-on .lb { color: var(--ink); }
  .mega-stage { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 6px 4px 0 0; }
  .mega-head { padding-left: 4px; }
  .mega-title { font-size: 22px; line-height: 1.1; font-weight: 600; letter-spacing: -0.045em; color: var(--ink); }
  .mega-copy { margin-top: 4px; font-size: 14px; line-height: 1.4; letter-spacing: -0.02em; color: rgba(23, 23, 23, .68); }
  .mega-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; }
  .mega-body.solo { grid-template-columns: minmax(0, 1fr); }
  .mega-body.swap { animation: mega-swap .24s ease-out; }
  .mega-spot {
    position: relative; min-height: 372px; border-radius: 16px; background: #0a0a0a; color: #fff; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
  }
  .mega-chip {
    position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .94);
    font-size: 12px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); box-shadow: 0 2px 8px rgba(23, 23, 23, .12);
  }
  .mega-spot-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 18px 16px; display: flex; flex-direction: column; gap: 2px; }
  .mega-spot-title { font-size: 19px; line-height: 1.2; font-weight: 600; letter-spacing: -0.04em; color: #fff; }
  .mega-spot-copy { font-size: 13px; line-height: 1.3; letter-spacing: -0.01em; color: rgba(255, 255, 255, .78); }
  .mega-list { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
  .mega-row { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 6px 8px 6px 6px; border-radius: 12px; transition: background-color .18s ease-out; }
  .mega-row:first-child, .mega-row:hover { background-color: #f5f4f2; }
  .mega-list:hover .mega-row:first-child:not(:hover) { background-color: transparent; }
  .mega-row .rk { flex: none; width: 20px; text-align: right; font-size: 12px; font-weight: 500; color: rgba(23, 23, 23, .68); font-variant-numeric: tabular-nums; }
  .mega-row .tile { flex: none; width: 48px; height: 48px; margin-right: -8px; display: grid; place-items: center; }
  .mega-row .tile .t3d { width: 44px; height: 44px; }
  .mega-row .tx { display: flex; flex-direction: column; min-width: 0; }
  .mega-row .rt { font-size: 13px; line-height: 1.25; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mega-row .rm { margin-top: 2px; font-size: 12px; line-height: 1.25; letter-spacing: -0.01em; color: rgba(23, 23, 23, .68); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mega-foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 12px 6px 2px 14px; border-top: 1px solid rgba(23, 23, 23, .07); }
  .mega-jumps { display: flex; align-items: center; gap: 6px; margin-right: auto; min-width: 0; }
  .mega-jumps-l { margin-right: 4px; font-size: 13px; letter-spacing: -0.02em; color: rgba(23, 23, 23, .68); }
  .mega-jump { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(23, 23, 23, .12); transition: background-color .18s ease-out; }
  .mega-jump:hover { background-color: #f5f4f2; }
  .mega-ghost, .mega-cta { padding: 9px 16px; border-radius: 999px; font-size: 13px; line-height: 1.3; font-weight: 500; letter-spacing: -0.03em; white-space: nowrap; transition: background-color .18s ease-out; }
  .mega-ghost { color: var(--ink); }
  .mega-ghost:hover { background-color: #f5f4f2; }
  .mega-cta { display: inline-flex; align-items: center; gap: 8px; color: #fff; background-color: #171717; }
  .mega-cta:hover { background-color: #2b2b2b; }
  .mega-cta .ti { width: 15px; height: 15px; }
}
@keyframes mega-swap { from { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .mega, .mega.open, .mega-scrim { transition: none; } .mega-body.swap { animation: none; } }

/* ---------- Manrope (variable, 200 to 800). One family for the whole page; Inter stays only as a fallback. ---------- */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/manrope-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/manrope-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- text order in the hero: a small line that says what the studio is, the headline, then one calm paragraph.
   The portal button sits on the headline and covers a little of its last word, like a label laid on top. ---------- */
.headline { letter-spacing: -0.06em; }
.eyebrow { font-size: 15px; line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); margin-bottom: clamp(14px, 2.4vh, 22px); }
.lead-t { display: inline-block; }
.lead { max-width: 33em; margin-top: clamp(18px, 3.4vh, 34px); font-size: 16px; line-height: 1.6; letter-spacing: -0.005em; color: #454545; }
.hl { position: relative; }
.stage .pill { z-index: 2; }
@media (min-width: 1080px) {
  .hl { width: fit-content; max-width: 100%; }
  .eyebrow { margin-left: .1em; }
  .lead { margin-left: .1em; font-size: 17px; }
}
@media (max-width: 1079px) {
  .stage { display: flex; flex-direction: column; align-items: flex-start; }
  .hl { display: contents; }
  .eyebrow { order: 1; }
  .headline { order: 2; }
  .lead { order: 3; }
  .stage .pill { order: 4; margin-top: clamp(16px, 3vh, 26px); }
}
@media (max-width: 640px) { .lead { font-size: 15px; line-height: 1.55; } .eyebrow { font-size: 14px; } }
@media (max-height: 700px) and (max-width: 1079px) { .lead { display: none; } }

/* ---------- background: the person behind white frosted glass (glass.mp4). It fades in once it can play. ---------- */
.glass { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #fff; }
.glass-video { width: 100%; height: 100%; object-fit: cover; object-position: 70% 42%; display: block; opacity: 0; transition: opacity 2.2s linear; }
.bg-on .glass-video { opacity: 1; }
/* phones and tablets: the picture is mirrored so the dark hand lands to the right of the headline, never under the text */
@media (max-width: 1079px) { .glass-video { object-position: 62% 30%; transform: scaleX(-1); } }

/* ---------- phone and tablet top bar, after the horizonx.so phone header ---------- */
.burger, .m-menu, .m-scrim { display: none; }
@media (max-width: 1079px) {
  .top { position: relative; z-index: 30; }
  .top .nav { display: flex; flex-direction: row; align-items: center; gap: 10px; }
  .top .nav a.pill { min-height: 44px; padding: 0 16px; font-size: 13px; font-weight: 600; letter-spacing: -0.02em; }
  .top .nav a.pill .i { display: none; }
  .burger {
    display: block; position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
    background: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .burger span { position: absolute; left: 13px; top: 21.25px; width: 18px; height: 1.5px; border-radius: 2px; background: #fff; transition: transform .32s var(--ease), opacity .2s linear; }
  .burger span:nth-child(1) { transform: translateY(-6px); }
  .burger span:nth-child(3) { transform: translateY(6px); }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

  .m-scrim {
    display: block; position: absolute; inset: 0; z-index: 22; background: rgba(255, 255, 255, .6);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    opacity: 0; pointer-events: none; transition: opacity .24s ease-out;
  }
  .m-scrim.open { opacity: 1; pointer-events: auto; }
  .m-menu {
    display: flex; flex-direction: column; gap: 8px; position: absolute; left: 16px; right: 16px; top: 84px; z-index: 25;
    max-height: calc(100% - 100px); overflow-x: hidden; overflow-y: auto; padding: 16px; background: #fff; border-radius: 30px; box-shadow: 0 16px 56px rgba(23, 23, 23, .16);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease-out, transform .2s ease-out, visibility 0s linear .2s;
  }
  .m-menu.open { opacity: 1; visibility: visible; transform: none; transition: opacity .24s ease-out, transform .24s cubic-bezier(.33, 1, .68, 1), visibility 0s; }
  .m-link {
    display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 20px; border: 0; border-radius: 16px;
    background: none; color: var(--ink); font: inherit; font-size: 15px; line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; text-align: left; cursor: pointer;
  }
  .m-link:active { background: #f5f4f2; }
  .m-link .chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
  .m-more[aria-expanded="true"] .chev { transform: rotate(180deg); }
  .m-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); margin: -8px 0 0; }
  .m-sub > div { overflow: hidden; min-height: 0; }
  .m-sub.open { grid-template-rows: 1fr; margin: 0; }
  /* Tools on the phone: kind chips, then preview cards that drift slowly to the left (they stop while touched) */
  .m-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 12px; margin: 0 -4px; scrollbar-width: none; }
  .m-chips::-webkit-scrollbar { display: none; }
  .m-chip { flex: none; height: 40px; padding: 0 18px; border: 1px solid rgba(23, 23, 23, .12); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; letter-spacing: -0.02em; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
  .m-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
  .m-row { display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .m-row::-webkit-scrollbar { display: none; }
  .m-card { position: relative; flex: none; width: 232px; display: flex; flex-direction: column; color: var(--ink); }
  .m-card-pic { position: relative; height: 172px; border-radius: 16px; overflow: hidden; background: #0a0a0a; display: grid; place-items: center; }
  .m-card-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; opacity: 0; transition: opacity .5s linear; }
  .m-card-pic img.ok { opacity: 1; }
  .m-card-n { position: absolute; z-index: 1; margin: 10px 0 0 10px; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .94); font-size: 12px; font-weight: 600; line-height: 1.3; box-shadow: 0 2px 8px rgba(23, 23, 23, .12); }
  .m-card-t { margin-top: 10px; font-size: 15px; font-weight: 600; letter-spacing: -0.03em; }
  .m-card-k { margin-top: 2px; font-size: 13px; color: rgba(23, 23, 23, .6); }
  .m-explore { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; margin-top: 14px; border-radius: 999px; background: #f2f1ef; color: var(--ink); font-size: 14px; font-weight: 500; letter-spacing: -0.02em; }
  .m-explore .ti { width: 16px; height: 16px; }
  .m-actions { display: flex; gap: 8px; margin-top: 8px; }
  .m-actions a { flex: 1; display: flex; align-items: center; justify-content: center; height: 52px; border-radius: 48px; background: #171717; color: #fff; font-size: 13px; font-weight: 500; letter-spacing: -0.02em; }
}
@media (max-width: 640px) { .m-menu { top: 70px; } }
@media (prefers-reduced-motion: reduce) { .glass-video, .m-menu, .m-menu.open, .m-scrim, .m-sub, .burger span { transition: none; } }



/* ---------- the last word of the headline changes: its letters roll (v6.js); the word keeps the widest width ---------- */
.headline .w-swap { display: inline-block; vertical-align: top; text-align: left; white-space: nowrap; }
.headline .w-swap .rl { display: inline-block; will-change: transform; }

/* ---------- Tools cards: each tool's own screen recording (media/tools/, made with the tool in its demo mode).
   v6.js loads a recording the first time its card is shown and plays it only while the card is in view;
   with reduced motion the first frame stays. Chat and Data are not built yet, so they show their 3D icon. ---------- */
.mega-media { position: absolute; inset: 0; }
.tm-slot { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .35s linear; }
.tm-slot.is-on { opacity: 1; }
.tm-vid { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; background: #0a0a0a; }
.tm-ico { display: block; width: 152px; height: 152px; margin-bottom: 40px; object-fit: contain; }
.mega-chip, .mega-spot-cap { z-index: 1; }
/* the name sits on the recording: a soft shade from below keeps it readable */
.mega-spot:has(.tm-slot.is-on .tm-vid) .mega-spot-cap { background: linear-gradient(rgba(10, 10, 10, 0), rgba(10, 10, 10, .5) 48%, rgba(10, 10, 10, .74)); }
.m-card-pic .tm-vid { border-radius: inherit; }
.m-card-pic img.tm-ico { position: static; width: 88px; height: 88px; margin: 0; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .tm-slot { transition: none; } }

/* Privacy and Terms next to the copyright line (home) */
.meta-legal { display: inline-flex; gap: 14px; margin-left: 24px; }
.meta-legal a { color: var(--mute); transition: color .25s ease-out; }
.meta-legal a:hover { color: var(--ink); }
@media (pointer: coarse) { .meta-legal a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; } }
@media (max-width: 1079px) { .meta-legal { margin-left: 0; } }
