/* TYRN.ON — Chromatic Intelligence
   Neutral in the environment. Expressive at the moment of intelligence.
   Tokens from the Brand Design Playbook 2026–2031, section 13. */
:root {
  --ty-ink: #0D0D12;
  --ty-ink-2: #16161D;
  --ty-ink-3: #20202A;
  --ty-canvas: #FAFAFC;
  --ty-canvas-2: #F0F0F4;
  --ty-titanium: #878895;
  --ty-blue: #4255FF;
  --ty-cyan: #28C4F4;
  --ty-violet: #9B52F5;
  --ty-spectrum: linear-gradient(100deg, #4255FF 0%, #28C4F4 48%, #9B52F5 100%);
  --ty-spectrum-light: linear-gradient(100deg, #3445D9 0%, #087DA8 48%, #7833C1 100%);
  --ty-font-display: "Inter", system-ui, sans-serif;
  --ty-font-body: "Inter", system-ui, sans-serif;
  --ty-font-mono: "Geist Mono", ui-monospace, monospace;
  --line-d: rgba(250, 250, 252, 0.12);
  --line-l: rgba(13, 13, 18, 0.12);
  --gutter: clamp(20px, 5vw, 96px);
  --section: clamp(88px, 11vw, 180px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --r: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ty-ink); color: var(--ty-canvas);
  font-family: var(--ty-font-body); font-size: clamp(16px, 1.1vw, 18px); line-height: 1.55;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--ty-cyan); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--ty-blue); color: #fff; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--ty-font-mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.label { color: var(--ty-titanium); margin: 0 0 28px; }
.mute { color: var(--ty-titanium); }
.note { color: var(--ty-titanium); margin: 40px 0 0; }

.h1 { font-family: var(--ty-font-display); font-size: clamp(34px, 5vw, 76px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 750; margin: 0; max-width: 18ch; }

/* Spectrum: the one expressive moment */
.spectrum-text { background: var(--ty-spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* Wordmark — monochrome; the dot is the optional spectrum signature */
.wordmark { font-family: var(--ty-font-display); font-weight: 850; letter-spacing: -0.04em; line-height: 1; display: inline-flex; align-items: baseline; }
.sdot { display: inline-block; width: .2em; height: .2em; border-radius: 50%; background: var(--ty-spectrum); margin: 0 .07em; align-self: baseline; transform: translateY(-.02em); }

/* ---------- Intro (signature moment, ≤ 1.6 s) ---------- */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--ty-ink); display: grid; place-items: center; }
.intro__line { position: absolute; left: 0; top: 50%; height: 2px; width: 100%; background: var(--ty-spectrum); transform: scaleX(0); transform-origin: left; }
.intro__mark { font-family: var(--ty-font-display); font-weight: 850; letter-spacing: -0.04em; font-size: clamp(40px, 8vw, 120px); display: inline-flex; align-items: baseline; opacity: 0; position: relative; }
.intro__mark .sdot { width: .2em; height: .2em; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; z-index: 90; left: 0; top: 0; pointer-events: none; }
.cursor span { display: block; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--ty-spectrum); transition: transform .25s var(--ease); }
.cursor.is-big span { transform: scale(5.2); opacity: .9; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Nav ---------- */
.nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 20px var(--gutter); transition: transform .5s var(--ease), background .4s, backdrop-filter .4s; }
.nav.is-solid { background: rgba(13,13,18,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.is-light { color: var(--ty-ink); }
.nav.is-light.is-solid { background: rgba(250,250,252,.8); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { font-size: 22px; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); font-size: 15px; font-weight: 500; }
.nav__links a:not(.nav__cta) { opacity: .75; transition: opacity .15s; }
.nav__links a:not(.nav__cta):hover { opacity: 1; }
.nav__cta { padding: 9px 18px; border-radius: 999px; background: var(--ty-canvas); color: var(--ty-ink); font-weight: 600; transition: background .18s; }
.nav.is-light .nav__cta { background: var(--ty-ink); color: var(--ty-canvas); }
@media (max-width: 760px) { .nav__links a:not(.nav__cta) { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 24px; border-radius: 999px; font-size: 15px; font-weight: 600; transition: background .18s var(--ease), color .18s, border-color .18s, transform .18s; }
.btn--light { background: var(--ty-canvas); color: var(--ty-ink); }
.btn--light:hover { background: #fff; transform: translateY(-1px); }
.btn--ghost { border: 1px solid rgba(250,250,252,.35); color: var(--ty-canvas); }
.btn--ghost:hover { border-color: var(--ty-canvas); }

/* ---------- Chroma: neutral until it matters ---------- */
/* Fotos und Filme durchgehend in Farbe (Entscheidung 02.10.2026, kein Monochrom-Start mehr) */
.chroma { filter: none; }

/* ---------- 01 Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,18,.55) 0%, rgba(13,13,18,.25) 35%, rgba(13,13,18,.92) 100%); }
.hero__inner { position: relative; z-index: 2; padding-bottom: clamp(64px, 10vh, 120px); }
.hero__kicker { color: rgba(250,250,252,.75); margin: 0 0 22px; }
.hero__h { margin: 0; font-family: var(--ty-font-display); font-weight: 800; font-size: clamp(56px, 10.4vw, 168px); line-height: .93; letter-spacing: -0.05em; }
.hero__h .line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.1em; }
.hero__h .line > span { display: inline-block; }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: clamp(28px, 4vh, 48px); }
.hero__lead { max-width: 46ch; margin: 0; font-size: clamp(19px, 1.6vw, 25px); line-height: 1.35; color: rgba(250,250,252,.88); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .hero__foot { flex-direction: column; align-items: flex-start; }
    .hero__inner { padding-bottom: 48px; }
}

/* ---------- 02 Problem ---------- */
.problem { background: var(--ty-canvas); color: var(--ty-ink); padding: var(--section) 0; }
.stmts { list-style: none; margin: 0; padding: 0; }
.stmt { display: grid; grid-template-columns: 1fr minmax(240px, 360px); gap: 32px; align-items: end; padding: clamp(22px, 3vw, 40px) 0; border-top: 1px solid var(--line-l); }
.stmt:last-child { border-bottom: 1px solid var(--line-l); }
.stmt__big { font-family: var(--ty-font-display); font-weight: 750; font-size: clamp(36px, 6.4vw, 104px); line-height: .98; letter-spacing: -0.045em; hyphens: manual; }
.stmt__small { color: #55566A; font-size: 17px; line-height: 1.5; padding-bottom: .5em; }
@media (max-width: 760px) { .stmt { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- 03 AI Core ---------- */
.core { background: var(--ty-ink); padding: var(--section) 0; position: relative; }
.core__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.core__steps { list-style: none; padding: 0; margin: clamp(32px, 5vh, 56px) 0 0; border-top: 1px solid var(--line-d); }
.cstep { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line-d); opacity: .38; transition: opacity .35s var(--ease); cursor: pointer; }
.cstep .mono { color: var(--ty-titanium); grid-row: span 2; padding-top: 6px; }
.cstep strong { font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.02em; font-weight: 700; }
.cstep em { font-style: normal; color: var(--ty-titanium); max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.cstep.is-active { opacity: 1; }
.cstep.is-active em { max-height: 4em; }
.cstep.is-active .mono { background: var(--ty-spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Architecture diagram — "The Intelligence" image world */
.arch { margin: 0; position: relative; }
.arch__cap { color: var(--ty-titanium); display: block; margin-bottom: 12px; font-size: 11px; }
.arch__models { margin-bottom: 18px; }
.arch__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-family: var(--ty-font-mono); font-size: 12px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-d); color: rgba(250,250,252,.7); transition: border-color .4s, color .4s, opacity .4s, transform .4s var(--ease); }
.chip.is-on { border-color: transparent; color: #fff; background: linear-gradient(var(--ty-ink-2), var(--ty-ink-2)) padding-box, var(--ty-spectrum) border-box; border: 1px solid transparent; }
.chip--swap { border-style: dashed; }
.arch__boundary { position: relative; border: 1px dashed rgba(250,250,252,.28); border-radius: 16px; padding: 22px 22px 22px 22px; display: grid; grid-template-columns: 1fr 64px; gap: 12px; }
.arch__cap--b { grid-column: 1 / -1; margin: 0 0 4px; }
.arch__stack { display: grid; gap: 10px; }
.layer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 18px; border-radius: 10px; background: var(--ty-ink-2); border: 1px solid var(--line-d); transition: background .5s var(--ease), border-color .5s, transform .5s var(--ease); }
.layer span { font-weight: 650; font-size: clamp(16px, 1.3vw, 19px); letter-spacing: -0.01em; }
.layer small { color: var(--ty-titanium); font-size: 11px; text-align: right; }
.layer.is-on { background: var(--ty-ink-3); border-color: rgba(40,196,244,.55); transform: translateX(-4px); }
.arch__rail { border-radius: 10px; background: var(--ty-ink-2); border: 1px solid var(--line-d); display: grid; place-items: center; transition: border-color .5s, background .5s; }
.arch__rail span { writing-mode: vertical-rl; transform: rotate(180deg); font-weight: 650; font-size: 13px; letter-spacing: .02em; white-space: nowrap; }
.arch[data-step="3"] .arch__rail { border-color: rgba(155,82,245,.7); background: var(--ty-ink-3); }
.arch[data-step="0"] .arch__boundary { border-color: rgba(66,85,255,.75); }
.arch__flow { position: absolute; left: calc(50% - 40px); top: 22px; bottom: 22px; width: 10px; height: calc(100% - 44px); pointer-events: none; overflow: visible; opacity: 0; transition: opacity .5s; }
.arch__flow line { stroke: url(#none); stroke: var(--ty-cyan); stroke-width: 1.2; stroke-dasharray: 2 6; vector-effect: non-scaling-stroke; animation: flow 1.4s linear infinite; }
.arch[data-step="1"] .arch__flow, .arch[data-step="2"] .arch__flow { opacity: .8; }
@keyframes flow { to { stroke-dashoffset: -16; } }
.arch__note { color: var(--ty-titanium); margin-top: 16px; font-size: 11px; text-transform: none; letter-spacing: .02em; }
@media (max-width: 960px) {
  .core__grid { grid-template-columns: 1fr; }
  .arch__boundary { grid-template-columns: 1fr 44px; padding: 16px; }
  .layer { padding: 14px; } .layer small { display: none; }
}

/* ---------- 04 Solutions ---------- */
.solutions { background: var(--ty-ink); padding: 0 0 var(--section); }
.sols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 72px); }
.sol { border: 1px solid var(--line-d); border-radius: var(--r); padding: 28px 28px 32px; min-height: 260px; display: flex; flex-direction: column; gap: 12px; background: var(--ty-ink-2); transition: border-color .25s, transform .25s var(--ease); }
.sol:hover { transform: translateY(-3px); border-color: rgba(250,250,252,.3); }
.sol h3 { margin: auto 0 0; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.025em; font-weight: 700; }
.sol p { margin: 0; color: rgba(250,250,252,.72); }
.sol__state { display: flex; align-items: center; gap: 10px; color: var(--ty-titanium) !important; }
.lamp { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ty-canvas); position: relative; overflow: hidden; display: inline-block; }
.sol[data-state="on"] .lamp { background: var(--ty-spectrum); border-color: transparent; }
.sol[data-state="half"] .lamp::after { content: ""; position: absolute; inset: 0 50% 0 0; background: var(--ty-canvas); }
@media (max-width: 860px) { .sols { grid-template-columns: 1fr; } .sol { min-height: 0; } }

/* ---------- 05 Agency (light editorial) ---------- */
.agency { background: var(--ty-canvas); color: var(--ty-ink); padding: var(--section) 0; position: relative; }
.agency__h { margin-bottom: clamp(40px, 5vw, 80px); }
.offer { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-l); }
.offer__row { display: grid; grid-template-columns: 80px 1fr minmax(260px, 420px); gap: 24px; align-items: center; padding: clamp(14px, 2vw, 26px) var(--gutter); border-bottom: 1px solid var(--line-l); transition: background .2s, color .2s; max-width: 1440px; margin: 0 auto; }
.offer__no { color: var(--ty-titanium); }
.offer__word { font-family: var(--ty-font-display); font-weight: 800; font-size: clamp(56px, 11vw, 176px); line-height: .95; letter-spacing: -0.055em; transition: transform .35s var(--ease); }
.offer__what { color: #55566A; font-size: 17px; }
.offer__row:hover .offer__word { transform: translateX(10px); background: var(--ty-spectrum-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.preview { position: fixed; z-index: 40; left: 0; top: 0; width: clamp(240px, 22vw, 360px); aspect-ratio: 4/3; pointer-events: none; border-radius: var(--r); overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.9); transition: opacity .25s var(--ease); }
.preview img { width: 100%; height: 100%; object-fit: cover; }
.preview.is-on { opacity: 1; }
@media (max-width: 760px) { .offer__row { grid-template-columns: 1fr; gap: 6px; } .offer__no { display: none; } .preview { display: none; } }

/* ---------- 06 Work — sticky stack ---------- */
.work { background: var(--ty-ink); padding: var(--section) 0 0; }
.work__head { margin-bottom: clamp(48px, 6vw, 96px); }
.stack { position: relative; }
.case { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: flex-end; background: var(--ty-ink); }
.case__media { position: absolute; inset: 0; }
.case__media video, .case__media img { width: 100%; height: 100%; object-fit: cover; }
.case::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,18,0) 30%, rgba(13,13,18,.92) 100%), linear-gradient(90deg, rgba(13,13,18,.6) 0%, rgba(13,13,18,0) 65%); pointer-events: none; }
.case__info { position: relative; z-index: 2; padding-bottom: clamp(36px, 7vh, 80px); }
.case__meta { color: rgba(250,250,252,.7); margin: 0 0 12px; }
.case__title { margin: 0; font-family: var(--ty-font-display); font-weight: 800; font-size: clamp(56px, 10vw, 156px); line-height: .9; letter-spacing: -0.055em; }
.case__line { max-width: 52ch; margin: 18px 0 0; font-size: clamp(17px, 1.4vw, 22px); color: rgba(250,250,252,.85); }
.kpis { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 56px); margin: 26px 0 0; }
.kpis dt { font-family: var(--ty-font-display); font-weight: 750; font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.kpis dd { margin: 6px 0 0; color: rgba(250,250,252,.6); font-size: 14px; }
.case__link { display: inline-block; margin-top: 26px; padding-bottom: 4px; border-bottom: 1px solid currentColor; }
.case.is-chroma .case__title { background: linear-gradient(90deg, #fff, #fff); -webkit-background-clip: text; background-clip: text; }

.more { padding-top: var(--section); padding-bottom: var(--section); }
.more__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-d); }
.more__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line-d); transition: padding .25s var(--ease), color .2s; }
.more__list li span:first-child { font-size: clamp(22px, 2.6vw, 38px); font-weight: 700; letter-spacing: -0.025em; }
.more__list li .mono { color: var(--ty-titanium); text-align: right; }
.more__list li[data-preview]:hover { padding-left: 14px; }
@media (max-width: 760px) { .more__list li { flex-direction: column; gap: 4px; } .more__list li .mono { text-align: left; } }

/* ---------- 07 About ---------- */
.about { background: var(--ty-canvas); color: var(--ty-ink); padding: var(--section) 0 clamp(56px, 6vw, 96px); }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(48px, 6vw, 96px); }
.num { border-top: 1px solid var(--ty-ink); padding-top: 18px; }
.num__v { display: block; font-family: var(--ty-font-display); font-weight: 750; font-size: clamp(48px, 6.4vw, 104px); letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.num__l { display: block; margin-top: 10px; color: #55566A; font-size: 15px; }
.logos { margin-top: clamp(64px, 8vw, 120px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: clamp(48px, 6vw, 96px); align-items: center; width: max-content; }
.marquee img { height: 34px; width: auto; filter: brightness(0); opacity: .7; transition: opacity .15s; }
.marquee img:hover { opacity: 1; }
@media (max-width: 860px) { .nums { grid-template-columns: 1fr 1fr; } }

/* ---------- 08 Contact ---------- */
.contact { background: var(--ty-ink); padding: var(--section) 0; }
.contact__h { font-family: var(--ty-font-display); font-weight: 800; font-size: clamp(44px, 7.4vw, 120px); line-height: .96; letter-spacing: -0.05em; margin: 0; max-width: 13ch; }
.entries { margin-top: clamp(48px, 6vw, 96px); border-top: 1px solid var(--line-d); }
.entry { display: grid; grid-template-columns: minmax(200px, 1fr) 1.2fr 48px; gap: 24px; align-items: center; padding: clamp(20px, 2.4vw, 32px) 0; border-bottom: 1px solid var(--line-d); transition: padding .25s var(--ease); }
.entry__t { font-size: clamp(24px, 2.8vw, 42px); font-weight: 700; letter-spacing: -0.03em; }
.entry__d { color: var(--ty-titanium); }
.entry__a { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; font-size: 20px; transition: background .2s, border-color .2s, transform .25s var(--ease); }
.entry:hover { padding-left: 12px; }
.entry:hover .entry__a { background: var(--ty-spectrum); border-color: transparent; transform: rotate(-45deg); }
.contact__direct { display: flex; flex-wrap: wrap; gap: 28px; margin: 40px 0 0; }
.contact__direct a { color: rgba(250,250,252,.8); }
.contact__direct a:hover { color: #fff; }
@media (max-width: 760px) { .entry { grid-template-columns: 1fr 44px; } .entry__d { grid-column: 1; } .entry__a { grid-row: 1 / span 2; grid-column: 2; width: 44px; height: 44px; } }

/* ---------- Footer (Apple-style: footnotes, sitemap, legal, region) ---------- */
.footer { background: var(--ty-ink); padding: clamp(56px, 6vw, 96px) 0 28px; border-top: 1px solid var(--line-d); font-size: 13px; color: var(--ty-titanium); }
.footer a { transition: color .15s; }
.footer a:hover { color: var(--ty-canvas); }
.footnotes { margin: 0 0 clamp(40px, 5vw, 64px); padding: 0 0 clamp(28px, 3vw, 40px) 1.4em; border-bottom: 1px solid var(--line-d); line-height: 1.6; }
.footnotes li { max-width: 90ch; }
.footnotes li { padding-left: .3em; margin-bottom: 6px; }
.footnotes li:target { color: var(--ty-canvas); }
.footer__map { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-bottom: clamp(40px, 5vw, 64px); }
.footer__map h3 { margin: 0 0 14px; color: var(--ty-canvas); font-size: 11px; }
.footer__map ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__brand { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line-d); }
.footer__mark { font-size: clamp(64px, 15vw, 240px); margin: 0; color: var(--ty-canvas); }
.footer__vision { margin: 0 0 .6em; font-size: clamp(18px, 1.5vw, 22px); color: var(--ty-canvas); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 28px; flex-wrap: wrap; padding-top: 20px; }
.footer__bottom p { margin: 0; }
.footer__love { color: var(--ty-canvas); }
.footer__region { display: inline-flex; align-items: center; gap: 8px; }
.footer__region [aria-current] { color: var(--ty-canvas); }
.footer__globe { width: 14px; height: 14px; border-radius: 50%; border: 1.2px solid currentColor; position: relative; }
.footer__globe::before { content: ""; position: absolute; inset: -1.2px 3px; border-radius: 50%; border: 1.2px solid currentColor; }
.footer__globe::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.2px solid currentColor; }
@media (max-width: 860px) { .footer__map { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__bottom { flex-direction: column; align-items: flex-start; } }

/* Footnote references (sup) — every number carries its source */
sup { font-size: .32em; vertical-align: super; line-height: 0; letter-spacing: 0; font-weight: 600; margin-left: .08em; }
.kpis sup { font-size: .36em; }
.fnref { color: var(--ty-titanium); padding: 0 .1em; }
.fnref:hover { color: currentColor; }

/* Language switch in the nav */
.nav__lang { font-family: var(--ty-font-mono); font-size: 12px; letter-spacing: .06em; padding: 6px 10px; border: 1px solid currentColor; border-radius: 999px; opacity: .75 !important; }
.nav__lang:hover { opacity: 1 !important; }
@media (max-width: 760px) { .nav__links a.nav__lang { display: inline-block; } }

/* Skip link */
.skip { position: fixed; z-index: 200; left: 16px; top: -60px; padding: 10px 16px; border-radius: 999px; background: var(--ty-canvas); color: var(--ty-ink); font-weight: 600; transition: top .2s; }
.skip:focus { top: 16px; }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(24px); }

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

/* =========== Merge 02.10.: best of the 01.10. evening version =========== */

/* Hero: the cursor is the light ("turn on"); scrolling switches the whole stage on */
.hero__dim {
  position: absolute; inset: 0; pointer-events: none; background: rgba(13,13,18,.42);
  -webkit-mask-image: radial-gradient(circle var(--r, 300px) at var(--mx, 70%) var(--my, 40%), transparent 0%, rgba(0,0,0,.35) 55%, #000 100%);
          mask-image: radial-gradient(circle var(--r, 300px) at var(--mx, 70%) var(--my, 40%), transparent 0%, rgba(0,0,0,.35) 55%, #000 100%);
}

/* Board: split-flap, Geist Mono, spectrum on the settled letters */
.board-sec { background: var(--ty-ink); min-height: 100svh; display: grid; align-items: center; padding: var(--section) 0; border-top: 1px solid var(--line-d); }
.board-sec__h { margin-bottom: clamp(40px, 7vh, 80px); }
.board-row { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.board { display: inline-flex; gap: .06em; font-size: clamp(36px, 7.4vw, 118px); }
.cell { position: relative; display: inline-grid; place-items: center; line-height: 1; width: .8em; height: 1.12em; border-radius: 6px; background: var(--ty-ink-2); border: 1px solid var(--line-d); font-family: var(--ty-font-mono); font-weight: 500; font-size: .9em; color: var(--ty-canvas); overflow: hidden; }
.cell > span { display: block; line-height: 1; text-box: trim-both cap alphabetic; }
.cell::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.55); }
.cell.flip { animation: flip .09s linear; }
@keyframes flip { 50% { transform: rotateX(-90deg); } }
.cell.is-final { background: var(--ty-ink-2); }
.cell.is-final span { background: var(--ty-spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cell.is-blank { color: transparent; }
.board-count { color: var(--ty-titanium); margin: 0 0 .8em; }
.board-n { color: var(--ty-canvas); }
.board-text { margin: 32px 0 0; font-size: clamp(20px, 2vw, 30px); letter-spacing: -0.015em; min-height: 1.4em; }
@media (max-width: 760px) { .board { font-size: 8.6vw; } }

/* Comparison */
.compare { background: var(--ty-ink); padding: 0 0 var(--section); }
.compare__lead { color: var(--ty-titanium); max-width: 52ch; margin: 20px 0 clamp(40px, 5vw, 72px); font-size: 18px; }
.cmp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cmp { border-top: 1px solid var(--line-d); padding-top: 22px; }
.cmp__bar { height: 8px; border-radius: 999px; background: var(--ty-ink-3); position: relative; overflow: hidden; margin-bottom: 24px; }
.cmp__bar::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--from) * 100%); width: calc((var(--to) - var(--from)) * 100% * var(--p, 1)); border-radius: 999px; background: rgba(250,250,252,.7); }
.cmp--us .cmp__bar::after { background: var(--ty-spectrum); }
.cmp h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -0.02em; }
.cmp .mono { color: var(--ty-titanium); margin: 0 0 12px; font-size: 11px; }
.cmp p:last-child { margin: 0; color: rgba(250,250,252,.72); font-size: 16px; }
.cmp--us p:last-child { color: var(--ty-canvas); }
@media (max-width: 960px) { .cmp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cmp-grid { grid-template-columns: 1fr; } }

/* Case details */
.case__more { margin-top: 18px; max-width: 60ch; }
.case__more summary { cursor: pointer; list-style: none; color: rgba(250,250,252,.8); display: inline-flex; gap: 8px; }
.case__more summary::-webkit-details-marker { display: none; }
.case__more summary::after { content: "+"; }
.case__more[open] summary::after { content: "–"; }
.case__more div { margin-top: 12px; padding: 16px 18px; border-radius: 12px; background: rgba(13,13,18,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.case__more p { margin: 0; font-size: 15px; color: rgba(250,250,252,.82); }
.case__more p + p { margin-top: 8px; }
.case__more strong { color: #fff; }

/* Audience */
.audience { background: var(--ty-canvas); color: var(--ty-ink); padding: var(--section) 0 0; }
.aud { list-style: none; margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; border-top: 1px solid var(--line-l); }
.aud__row { display: grid; grid-template-columns: 1fr 1.2fr 1.6fr; gap: 24px; align-items: baseline; padding: clamp(20px, 2.4vw, 32px) var(--gutter); border-bottom: 1px solid var(--line-l); transition: background .18s, color .18s; }
.aud__who { font-weight: 650; font-size: 18px; }
.aud__need { color: #55566A; }
.aud__answer { font-family: var(--ty-font-display); font-weight: 750; font-size: clamp(22px, 2.6vw, 40px); letter-spacing: -0.03em; line-height: 1.05; }
.aud__row:hover { background: var(--ty-ink); color: var(--ty-canvas); }
.aud__row:hover .aud__need { color: var(--ty-titanium); }
.aud__row:hover .aud__answer { background: var(--ty-spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 860px) { .aud__row { grid-template-columns: 1fr; gap: 6px; } }

.logos__note { color: #55566A; margin-top: clamp(56px, 7vw, 100px); margin-bottom: -24px; text-transform: none; letter-spacing: .02em; }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(120px, 14vw, 180px) 0 var(--section); }
.legal .wrap { max-width: 860px; }
.legal h1 { font-size: clamp(40px, 6vw, 80px); line-height: 1; letter-spacing: -0.045em; font-weight: 800; margin: 0 0 clamp(40px, 5vw, 64px); }
.legal h2 { font-size: 20px; letter-spacing: -0.01em; margin: 40px 0 10px; }
.legal p { margin: 0 0 12px; color: rgba(250,250,252,.82); }
.legal a { text-decoration: underline; text-underline-offset: 4px; }
.legal .back { display: inline-block; margin-bottom: 28px; color: var(--ty-titanium); text-decoration: none; }
.legal .nav { position: absolute; }

/* ---------- Footer sitemap v2: columns on desktop, accordions on mobile ---------- */
.fmap summary { list-style: none; color: var(--ty-canvas); font-size: 11px; margin: 0 0 16px; cursor: default; pointer-events: none; }
.fmap summary::-webkit-details-marker { display: none; }
.fmap ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14px; }
.fmap a { display: inline-block; }
.fmap__cta { color: var(--ty-canvas); font-weight: 600; }
.footer__top { color: var(--ty-titanium); }
.footer__bottom { font-size: 13px; }
@media (max-width: 860px) and (min-width: 601px) { .footer__map { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 600px) {
  .footer__map { display: block; padding-bottom: 32px; }
  .fmap { border-bottom: 1px solid var(--line-d); }
  .fmap summary { pointer-events: auto; cursor: pointer; margin: 0; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
  .fmap summary::after { content: "+"; font-size: 18px; color: var(--ty-titanium); transition: transform .25s var(--ease); }
  .fmap[open] summary::after { transform: rotate(45deg); }
  .fmap ul { padding: 0 0 18px; gap: 0; font-size: 16px; }
  .fmap li a, .fmap li span { display: block; padding: 10px 0; }
  .footer__mark { font-size: 19.5vw; }
  .footer__bottom { gap: 14px; }
}

/* ---------- Official TYRN.ON logo (SVG sprite assets/brand/tyrnon.svg) ---------- */
.logo { display: block; fill: currentColor; }
.nav__logo { display: inline-flex; align-items: center; color: inherit; }
.nav__logo .logo--word { height: 17px; width: auto; aspect-ratio: 419 / 59; }
.intro__mark .logo--box { height: clamp(48px, 9vw, 120px); width: auto; aspect-ratio: 479 / 116; color: var(--ty-canvas); }
.footer__mark { line-height: 0; }
.footer__mark .logo--box { width: clamp(240px, 52vw, 760px); height: auto; aspect-ratio: 479 / 116; color: var(--ty-canvas); }
@media (max-width: 600px) { .footer__mark .logo--box { width: 100%; max-width: 420px; } }
/* =========== Investor page (/investors) — reusable inv-* components =========== */
.inv { background: var(--ty-ink); }
.inv-eyebrow { color: var(--ty-titanium); margin: 0 0 24px; letter-spacing: .12em; }
.inv-h { max-width: 20ch; margin-bottom: clamp(32px, 4vw, 56px); }
.inv-sec { padding: var(--section) 0; position: relative; }
.inv-sec--light { background: var(--ty-canvas); color: var(--ty-ink); }
.inv-sec--dark { background: var(--ty-ink); color: var(--ty-canvas); border-top: 1px solid var(--line-d); }
.inv-copy { max-width: 62ch; }
.inv-copy p { margin: 0 0 1em; font-size: clamp(17px, 1.25vw, 20px); line-height: 1.6; }
.inv-sec--light .inv-copy p { color: #3C3D4E; }
.inv-sec--dark .inv-copy p { color: rgba(250,250,252,.78); }
.inv-copy--wide { max-width: 72ch; }
.inv-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 120px); align-items: start; }
.inv-statement { margin: 0; font-family: var(--ty-font-display); font-weight: 750; font-size: clamp(28px, 3.4vw, 54px); line-height: 1.05; letter-spacing: -0.035em; }
.inv-statement--center { text-align: center; margin: clamp(64px, 8vw, 120px) auto 0; max-width: 24ch; }
.spectrum-text--light { background-image: var(--ty-spectrum-light); }
.inv-note { color: #55566A; margin: 28px 0 0; text-transform: none; letter-spacing: .02em; max-width: 80ch; }
.inv-note--dark { color: var(--ty-titanium); }
.inv-link { display: inline-block; margin-top: 18px; padding-bottom: 3px; border-bottom: 1px solid currentColor; color: var(--ty-canvas); }
.inv-link--dark { color: var(--ty-ink); margin-top: 48px; }
.inv-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
@media (max-width: 900px) { .inv-split { grid-template-columns: 1fr; } }

/* Hero */
.inv-hero { min-height: 100svh; display: flex; align-items: center; padding: clamp(120px, 14vh, 160px) 0 clamp(64px, 8vh, 96px); background:
  radial-gradient(60% 50% at 78% 45%, rgba(66,85,255,.16), transparent 70%), var(--ty-ink); }
.inv-hero__grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(24px, 4vw, 72px); align-items: center; }
.inv-hero__h { margin: 0; font-family: var(--ty-font-display); font-weight: 800; font-size: clamp(42px, 7vw, 116px); line-height: .98; letter-spacing: -0.048em; max-width: 13ch; text-wrap: balance; }
.inv-hero__sub { margin: clamp(20px, 2.4vw, 32px) 0 0; font-size: clamp(20px, 1.9vw, 30px); line-height: 1.25; letter-spacing: -0.015em; font-weight: 600; max-width: 30ch; }
.inv-hero__body { margin-top: 24px; max-width: 58ch; }
.inv-hero__body p { margin: 0 0 .8em; color: rgba(250,250,252,.74); font-size: clamp(16px, 1.15vw, 18px); }
.inv-flow { margin: 0; }
.inv-flow svg { width: 100%; height: auto; overflow: visible; }
.inv-flow__paths path { fill: none; stroke: rgba(250,250,252,.22); stroke-width: 1.2; stroke-dasharray: 3 7; animation: inv-dash 2.4s linear infinite; }
.inv-flow__paths path:nth-child(2) { animation-duration: 2.9s; } .inv-flow__paths path:nth-child(3) { animation-duration: 2.2s; } .inv-flow__paths path:nth-child(4) { animation-duration: 3.1s; }
.inv-flow__out { stroke: url(#inv-sp) !important; stroke-width: 2 !important; stroke-dasharray: none !important; animation: none !important; }
.inv-flow__nodes circle { fill: var(--ty-ink); stroke: rgba(250,250,252,.6); stroke-width: 1.2; }
.inv-flow__nodes text { fill: var(--ty-titanium); font-size: 12px; font-family: var(--ty-font-mono); letter-spacing: .06em; text-transform: uppercase; }
.inv-flow__halo { fill: none; stroke: rgba(40,196,244,.35); stroke-width: 1; transform-origin: 320px 210px; animation: inv-pulse 3.2s var(--ease) infinite; }
.inv-flow__end { fill: var(--ty-violet); }
@keyframes inv-dash { to { stroke-dashoffset: -20; } }
@keyframes inv-pulse { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
@media (max-width: 900px) { .inv-hero__grid { grid-template-columns: 1fr; } .inv-flow { max-width: 420px; order: 2; } .inv-hero { min-height: 0; } }

/* Architecture (interactive, with text alternative in figcaption) */
.inv-arch { margin: clamp(48px, 6vw, 88px) 0 0; border: 1px solid var(--line-d); border-radius: 16px; padding: clamp(16px, 2.4vw, 32px); background: linear-gradient(180deg, var(--ty-ink-2), var(--ty-ink)); }
.inv-arch__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.inv-arch__vision { display: inline-flex; align-items: center; gap: 10px; color: var(--ty-titanium); margin: 0; }
.lamp--half { position: relative; }
.lamp--half::after { content: ""; position: absolute; inset: 0 50% 0 0; background: var(--ty-canvas); }
.inv-arch__toggle { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line-d); }
.inv-arch__toggle button { appearance: none; border: 0; background: none; color: var(--ty-titanium); padding: 10px 16px; border-radius: 999px; cursor: pointer; font-size: 11px; transition: background .25s, color .25s; }
.inv-arch__toggle button.is-on { background: var(--ty-canvas); color: var(--ty-ink); }
.inv-arch__stage { display: grid; grid-template-columns: 1fr 56px; gap: 12px; }
.inv-arch__stack { display: grid; gap: 10px; }
.inv-layer { border-radius: 12px; border: 1px solid var(--line-d); background: var(--ty-ink-2); padding: 16px 18px; transition: opacity .45s var(--ease), border-color .45s, transform .45s var(--ease), max-height .5s var(--ease), padding .5s var(--ease); overflow: hidden; max-height: 240px; }
.inv-layer__cap { display: block; color: var(--ty-titanium); font-size: 11px; margin-bottom: 12px; }
.inv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.inv-chips span { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-d); background: var(--ty-ink); }
.inv-chips .is-dashed { border-style: dashed; color: var(--ty-titanium); font-weight: 500; }
.inv-layer--os { border-color: rgba(40,196,244,.45); }
.inv-layer--core { border: 1px solid transparent; background: linear-gradient(var(--ty-ink-3), var(--ty-ink-3)) padding-box, var(--ty-spectrum) border-box; }
.inv-layer--core .inv-layer__cap { color: var(--ty-canvas); }
.inv-layer--models { background: transparent; border-style: dashed; }
.inv-layer--sys { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; border-width: 0; }
.inv-arch[data-mode="core"] .inv-layer--apps, .inv-arch[data-mode="core"] .inv-layer--os { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; border-width: 0; }
.inv-arch[data-mode="core"] .inv-layer--sys { max-height: 240px; padding: 16px 18px; opacity: 1; border-width: 1px; }
.inv-arch__rail { border-radius: 12px; border: 1px solid rgba(155,82,245,.55); background: var(--ty-ink-2); display: grid; place-items: center; }
.inv-arch__rail span { writing-mode: vertical-rl; transform: rotate(180deg); font-weight: 650; font-size: 13px; white-space: nowrap; }
.inv-arch__cap { margin-top: 20px; color: var(--ty-titanium); font-size: 14px; max-width: 80ch; }
.inv-arch__cap-core { display: none; }
.inv-arch[data-mode="core"] .inv-arch__cap-full { display: none; }
.inv-arch[data-mode="core"] .inv-arch__cap-core { display: inline; }
@media (max-width: 600px) { .inv-arch__stage { grid-template-columns: 1fr 40px; } .inv-chips span { font-size: 12px; padding: 6px 10px; } }

.inv-modules { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.inv-module { border: 1px solid var(--line-d); border-radius: 16px; padding: clamp(24px, 3vw, 40px); background: var(--ty-ink-2); }
.inv-module__k { color: var(--ty-titanium); margin: 0 0 18px; }
.inv-module h3 { margin: 0; font-size: clamp(28px, 2.8vw, 42px); letter-spacing: -0.03em; }
.inv-module__tag { margin: 8px 0 18px !important; font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; background: var(--ty-spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.inv-module p { margin: 0 0 .8em; color: rgba(250,250,252,.76); }
@media (max-width: 860px) { .inv-modules { grid-template-columns: 1fr; } }

/* Photos — original proportions, never cropped */
.inv-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(48px, 6vw, 88px); align-items: start; }
.inv-photo { margin: 0; }
.inv-photo--wide { grid-column: 1 / -1; }
.inv-photo img { width: 100%; height: auto; border-radius: var(--r); }
.inv-photo figcaption { color: #55566A; margin-top: 10px; text-transform: none; letter-spacing: .02em; }
@media (max-width: 700px) { .inv-photos { grid-template-columns: 1fr; } }

/* Growth loop */
.inv-split--loop { align-items: center; }
.inv-loop { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 520px; width: 100%; margin: 0 auto; }
.inv-loop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.inv-loop__track { fill: none; stroke: var(--line-d); stroke-width: 1.5; }
.inv-loop__arc { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 251.3 1005.3; stroke-dashoffset: 0; transition: stroke-dashoffset .8s var(--ease); }
.inv-loop[data-step="1"] .inv-loop__arc { stroke-dashoffset: -251.3; }
.inv-loop[data-step="2"] .inv-loop__arc { stroke-dashoffset: -502.6; }
.inv-loop[data-step="3"] .inv-loop__arc { stroke-dashoffset: -753.9; }
.inv-loop__center { text-align: center; display: grid; gap: 12px; justify-items: center; max-width: 52%; }
.inv-loop__center p { margin: 0; display: grid; gap: 4px; }
.inv-loop__center strong { font-size: clamp(16px, 1.5vw, 22px); letter-spacing: -0.01em; }
.inv-loop__center .mono { color: var(--ty-titanium); font-size: 10px; }
.inv-loop__center i { width: 1px; height: 28px; background: var(--ty-spectrum); }
.inv-loop__steps { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.inv-loop__steps li { position: absolute; width: 44%; display: grid; gap: 6px; }
.inv-loop__steps li:nth-child(1) { top: -2%; left: 50%; transform: translateX(-50%); text-align: center; justify-items: center; }
.inv-loop__steps li:nth-child(2) { right: -14%; top: 50%; transform: translateY(-50%); text-align: right; justify-items: end; }
.inv-loop__steps li:nth-child(3) { bottom: -2%; left: 50%; transform: translateX(-50%); text-align: center; justify-items: center; }
.inv-loop__steps li:nth-child(4) { left: -14%; top: 50%; transform: translateY(-50%); justify-items: start; }
.inv-loop__steps button { appearance: none; cursor: pointer; border: 1px solid var(--line-d); background: var(--ty-ink); color: var(--ty-titanium); border-radius: 999px; padding: 9px 16px; font-family: var(--ty-font-display); font-weight: 700; font-size: 14px; letter-spacing: .06em; display: inline-flex; gap: 10px; align-items: center; transition: color .3s, border-color .3s, background .3s; }
.inv-loop__steps button .mono { font-size: 10px; }
.inv-loop__steps button[aria-pressed="true"] { color: var(--ty-ink); background: var(--ty-canvas); border-color: var(--ty-canvas); }
.inv-loop__steps p { margin: 0; font-size: 13px; color: rgba(250,250,252,.7); max-height: 0; opacity: 0; overflow: hidden; transition: opacity .4s, max-height .4s; }
.inv-loop__steps li:has(button[aria-pressed="true"]) p { max-height: 6em; opacity: 1; }
@media (max-width: 1100px) {
  .inv-loop { aspect-ratio: auto; max-width: none; display: block; }
  .inv-loop__ring, .inv-loop__center { display: none; }
  .inv-loop__steps { position: static; display: grid; gap: 12px; border-left: 2px solid transparent; border-image: var(--ty-spectrum) 1; padding-left: 20px; }
  .inv-loop__steps li { position: static; width: auto; transform: none !important; text-align: left !important; justify-items: start !important; }
  .inv-loop__steps p { max-height: none; opacity: 1; }
}

/* Editorial project features */
.inv-features { display: grid; gap: clamp(56px, 7vw, 112px); margin-top: clamp(48px, 6vw, 96px); }
.inv-feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.inv-feature:nth-child(even) .inv-feature__media { order: 2; }
.inv-feature__media { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ty-ink); }
.inv-feature__media video { width: 100%; height: 100%; object-fit: cover; }
.inv-feature__meta { color: #55566A; margin: 0 0 12px; }
.inv-feature h3 { margin: 0 0 14px; font-size: clamp(40px, 5.6vw, 88px); line-height: .92; letter-spacing: -0.05em; font-weight: 800; }
.inv-feature p { margin: 0 0 .8em; color: #3C3D4E; max-width: 52ch; }
.inv-feature strong { color: var(--ty-ink); }
.inv-kpis { display: flex; flex-wrap: wrap; gap: 28px; margin: 20px 0 0; }
.inv-kpis dt { font-weight: 750; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.inv-kpis dd { margin: 6px 0 0; color: #55566A; font-size: 14px; }
@media (max-width: 900px) { .inv-feature { grid-template-columns: 1fr; } .inv-feature:nth-child(even) .inv-feature__media { order: 0; } }

/* Vision */
.inv-vision { padding: calc(var(--section) * 1.3) 0; background: radial-gradient(70% 60% at 50% 0%, rgba(155,82,245,.14), transparent 70%), var(--ty-ink); }
.inv-vision__h { margin: 0 0 clamp(40px, 5vw, 72px); font-family: var(--ty-font-display); font-weight: 800; font-size: clamp(56px, 11vw, 180px); line-height: .92; letter-spacing: -0.055em; }
.inv-vision .inv-statement { margin-top: clamp(48px, 6vw, 88px); }

/* Founders */
.inv-founders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(48px, 6vw, 88px); }
.inv-founder img { width: 100%; height: auto; border-radius: var(--r); filter: grayscale(1); }
.inv-founder h3 { margin: 18px 0 4px; font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.02em; }
.inv-founder .mono { color: #55566A; margin: 0 0 12px; }
.inv-placeholder { margin: 0; padding: 12px 14px; border: 1px dashed rgba(13,13,18,.3); border-radius: 10px; color: #55566A; font-size: 14px; }
@media (max-width: 860px) { .inv-founders { grid-template-columns: 1fr; max-width: 460px; } }

/* Connect */
.inv-connect__h { max-width: 16ch; margin-bottom: clamp(28px, 3vw, 48px); }

/* Reveal (only when JS is active and motion is allowed) */
.inv-anim .inv-rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.inv-anim .inv-rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .inv-flow__paths path, .inv-flow__halo { animation: none !important; } }
.inv-sec--light .inv-eyebrow { color: #5E5F70; }

/* ---------- Navigation v2: desktop links + mobile full-screen menu ---------- */
.nav__links a[aria-current="page"] { opacity: 1 !important; }
.nav__menu { display: none; appearance: none; border: 0; background: none; color: inherit; width: 44px; height: 44px; margin-right: -10px; cursor: pointer; position: relative; }
.nav__menu span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__menu span:first-child { top: 17px; } .nav__menu span:last-child { top: 25px; }
.menu-open .nav__menu span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .nav__menu span:last-child { top: 21px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 49; background: rgba(13,13,18,.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); opacity: 0; transition: opacity .3s var(--ease); overflow-y: auto; }
.menu.is-open { opacity: 1; }
.menu__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: 96px; padding-bottom: 40px; gap: 40px; }
.menu__main { list-style: none; margin: 0; padding: 0; }
.menu__main a { display: block; padding: 8px 0; font-family: var(--ty-font-display); font-weight: 750; font-size: clamp(32px, 9vw, 44px); letter-spacing: -0.035em; line-height: 1.1; color: var(--ty-canvas); transform: translateY(12px); opacity: 0; transition: transform .45s var(--ease), opacity .45s var(--ease); }
.menu.is-open .menu__main a { transform: none; opacity: 1; }
.menu.is-open .menu__main li:nth-child(2) a { transition-delay: .03s; } .menu.is-open .menu__main li:nth-child(3) a { transition-delay: .06s; }
.menu.is-open .menu__main li:nth-child(4) a { transition-delay: .09s; } .menu.is-open .menu__main li:nth-child(5) a { transition-delay: .12s; }
.menu.is-open .menu__main li:nth-child(6) a { transition-delay: .15s; } .menu.is-open .menu__main li:nth-child(7) a { transition-delay: .18s; }
.menu__main a[aria-current="page"] { background: var(--ty-spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.menu__meta { display: grid; gap: 18px; justify-items: start; }
.menu__meta p { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ty-titanium); text-transform: none; letter-spacing: .02em; font-size: 13px; }
.menu__meta a { color: rgba(250,250,252,.85); }
.menu__lang [aria-current] { color: var(--ty-canvas); }
.menu-open, .menu-open body { overflow: hidden; }
.menu-open .nav { color: var(--ty-canvas) !important; background: transparent !important; backdrop-filter: none !important; transform: none !important; }
.menu-open .nav__cta { visibility: hidden; }
@media (max-width: 760px) {
  .nav__menu { display: inline-block; }
  .nav__links { gap: 8px; }
  .nav__links a.nav__lang { display: none; }
}
@media (prefers-reduced-motion: reduce) { .menu, .menu__main a, .nav__menu span { transition: none !important; } }
.menu__meta a.btn--light { color: var(--ty-ink); }

/* =========== Investor page v2 (reduced, main-site patterns) =========== */
.inv-hero2 .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.inv-hero2__shade { background: linear-gradient(180deg, rgba(13,13,18,.6) 0%, rgba(13,13,18,.35) 35%, rgba(13,13,18,.94) 100%); }
.inv-hero2__h { margin: 0; font-family: var(--ty-font-display); font-weight: 800; font-size: clamp(44px, 7.6vw, 128px); line-height: .95; letter-spacing: -0.05em; max-width: 14ch; text-wrap: balance; }
.inv-h2 { max-width: 16ch; margin-bottom: clamp(40px, 5vw, 72px); }
.problem .inv-statement--center { margin-top: clamp(72px, 9vw, 140px); }
.inv-modules--top { margin: 0 0 16px; }
.inv-modules--top .inv-module h3 { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.08; }
.inv-modules--top .inv-module p:last-child { font-size: 17px; }
.inv-arch { margin-top: 16px; }

/* Two engines */
.inv-engines { display: grid; grid-template-columns: 1fr 120px 1fr; align-items: stretch; margin-bottom: clamp(56px, 7vw, 104px); }
.inv-engine { border: 1px solid var(--line-d); border-radius: 16px; padding: clamp(24px, 3vw, 40px); background: var(--ty-ink-2); }
.inv-engine .mono { color: var(--ty-titanium); margin: 0 0 40px; }
.inv-engine h3 { margin: 0 0 10px; font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.035em; line-height: 1; }
.inv-engine p:last-child { margin: 0; color: rgba(250,250,252,.74); font-size: 17px; }
.inv-engine--sw { border: 1px solid transparent; background: linear-gradient(var(--ty-ink-2), var(--ty-ink-2)) padding-box, var(--ty-spectrum) border-box; }
.inv-engines__link { display: grid; place-items: center; }
.inv-engines__link span { width: 100%; height: 2px; background: var(--ty-spectrum); position: relative; }
.inv-engines__link span::before, .inv-engines__link span::after { content: ""; position: absolute; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--ty-ink); border: 2px solid var(--ty-cyan); }
.inv-engines__link span::before { left: -6px; } .inv-engines__link span::after { right: -6px; border-color: var(--ty-violet); }
@media (max-width: 860px) { .inv-engines { grid-template-columns: 1fr; } .inv-engines__link { height: 56px; } .inv-engines__link span { width: 2px; height: 100%; } .inv-engines__link span::before { left: -5px; top: -6px; } .inv-engines__link span::after { left: -5px; right: auto; top: auto; bottom: -6px; } }

/* Split-flap growth loop */
.inv-flap .board-text { margin-top: 24px; }
.inv-flap__steps { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; border-top: 1px solid var(--line-d); }
.inv-flap__steps li { padding: 16px 0 0; display: grid; gap: 6px; font-weight: 650; color: var(--ty-titanium); transition: color .3s; cursor: pointer; }
.inv-flap__steps li .mono { font-size: 11px; }
.inv-flap__steps li em { font-style: normal; font-weight: 400; font-size: 14px; color: var(--ty-titanium); }
.inv-flap__steps li.is-on { color: var(--ty-canvas); box-shadow: inset 0 2px 0 0 var(--ty-cyan); }
@media (max-width: 760px) { .inv-flap__steps { grid-template-columns: 1fr 1fr; } }

/* Execution */
.inv-proof { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; padding-top: 40px; }
.inv-proof .inv-note { margin: 0; }
.inv-proof .inv-link { margin: 0; }
.inv-logos { margin-top: 56px; padding: 40px 0 clamp(64px, 8vw, 120px); background: var(--ty-ink); }
.inv-logos .marquee img { height: 28px; width: auto; filter: brightness(0) invert(1); opacity: .6; }
.inv-marquee { animation: inv-marq 60s linear infinite; }
@keyframes inv-marq { to { transform: translateX(-50%); } }

/* Ambition + connect */
.inv-vision__lead { max-width: 40ch; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.35; color: rgba(250,250,252,.82); margin: 0; letter-spacing: -0.01em; }
.inv-connect__lead { max-width: 44ch; font-size: clamp(18px, 1.5vw, 22px); color: rgba(250,250,252,.78); margin: 28px 0 0; }
.inv-connect__ctas { margin-top: 32px; }
@media (prefers-reduced-motion: reduce) { .inv-marquee { animation: none; } }
.problem .label, .agency .label, .audience .label, .about .label { color: #5E5F70; }

/* ---------- Glyph clipping fixes (03.10.2026) ----------
   Gradient text is only painted inside its box; tight tracking lets the last glyph overhang. */
.spectrum-text { padding-right: .09em; margin-right: -.09em; padding-bottom: .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* Hero lines clip for the reveal animation: leave room for descenders (y, g) and the final glyph */
.hero__h .line { padding-bottom: .26em; margin-bottom: -.2em; padding-right: .12em; }
/* "AI": A and I touched at display sizes */
.hero__h .line:first-child > span { letter-spacing: -0.035em; }

/* =========== TYRN.ON OS section (generated by tools/build-os.py) =========== */
.os { background: var(--ty-canvas-2); color: var(--ty-ink); padding: var(--section) 0; overflow: hidden; }
.os .label { color: #5E5F70; }
.os-bridge-in { margin: 0 0 18px; font-size: clamp(17px, 1.3vw, 20px); color: #55566A; max-width: 44ch; }
.os-title { max-width: 16ch; }
.os-intro { max-width: 60ch; margin: 24px 0 0; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: #3C3D4E; }
.os-nav { margin-top: clamp(40px, 5vw, 64px); }
.os-tabs { position: relative; display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(13,13,18,.06); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.os-tabs::-webkit-scrollbar { display: none; }
.os-tabs button { position: relative; z-index: 1; appearance: none; border: 0; background: none; cursor: pointer; min-height: 44px; padding: 0 20px; border-radius: 999px; font: 600 15px/1 var(--ty-font-body); color: #55566A; white-space: nowrap; transition: color .25s; }
.os-tabs button[aria-selected="true"] { color: var(--ty-canvas); }
.os-tabs button:focus-visible { outline: 2px solid var(--ty-blue); outline-offset: 2px; }
.os-tabs__ind { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--ty-ink); transition: transform .45s var(--ease), width .45s var(--ease); }
.os-viewport { margin-top: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.os-viewport::-webkit-scrollbar { display: none; }
.os-track { display: flex; }
.os-panel { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding: 8px var(--gutter) 24px; max-width: 1440px; box-sizing: border-box; }
@media (min-width: 1441px) { .os-panel { padding-left: calc((100vw - 1440px) / 2 + var(--gutter)); padding-right: calc((100vw - 1440px) / 2 + var(--gutter)); max-width: none; } }
.os-eyebrow { margin: 0 0 14px; color: #5E5F70; }
.os-h { margin: 0 0 18px; font-family: var(--ty-font-display); font-weight: 800; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.02; letter-spacing: -0.04em; }
.os-lead { font-weight: 600; color: var(--ty-ink) !important; }
.os-copy p { margin: 0 0 .9em; font-size: 16px; line-height: 1.6; color: #3C3D4E; max-width: 52ch; }
.os-features { color: #5E5F70 !important; font-size: 11px !important; line-height: 1.8 !important; margin-top: 18px !important; }
.os-support { font-weight: 600; color: var(--ty-ink) !important; }
.os-cta { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; border-bottom: 1.5px solid currentColor; }
.os-cta:hover { background: var(--ty-spectrum-light); -webkit-background-clip: text; background-clip: text; color: transparent; border-color: var(--ty-blue); }
.os-controls { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.os-arrow { appearance: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(13,13,18,.18); background: var(--ty-canvas); color: var(--ty-ink); font-size: 18px; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.os-arrow:hover { background: var(--ty-ink); color: var(--ty-canvas); }
.os-arrow:disabled { opacity: .35; cursor: default; background: var(--ty-canvas); color: var(--ty-ink); }
.os-count { margin: 0; color: #5E5F70; }
.os-count__n { color: var(--ty-ink); }

/* Product UI — one visual grammar for every system (labels + placeholder bars, no data) */
.os-ui { background: #111118; color: var(--ty-canvas); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(13,13,18,.45), 0 0 0 1px rgba(13,13,18,.08); aspect-ratio: 16 / 9.4; display: flex; flex-direction: column; font-family: var(--ty-font-body); }
.ui-top { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line-d); flex: none; }
.ui-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.ui-brand i { width: 8px; height: 8px; border-radius: 50%; background: var(--ty-spectrum); }
.ui-searchbar { flex: 1; max-width: 260px; margin-left: auto; height: 26px; border-radius: 8px; background: rgba(250,250,252,.06); font-size: 11px; color: var(--ty-titanium); display: flex; align-items: center; padding: 0 10px; }
.ui-avatar { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #2a2a36, #3a3a4a); }
.ui-body { flex: 1; display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, .62fr); gap: 12px; padding: 12px; min-height: 0; }
.ui-rail { display: grid; align-content: start; gap: 10px; padding-top: 4px; }
.ui-rail i { width: 20px; height: 20px; margin: 0 auto; border-radius: 6px; background: rgba(250,250,252,.08); }
.ui-rail i:first-child { background: var(--ty-spectrum); }
.ui-main, .ui-side { display: grid; gap: 12px; align-content: start; min-height: 0; overflow: hidden; }
.ui-card { background: #191922; border: 1px solid var(--line-d); border-radius: 12px; padding: 12px; display: grid; gap: 7px; align-content: start; }
.ui-card--ai { background: linear-gradient(#1c1c27, #1c1c27) padding-box, var(--ty-spectrum) border-box; border: 1px solid transparent; }
.ui-k { margin: 0 0 3px; font-family: var(--ty-font-mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ty-titanium); }
.ui-bar { display: block; height: 6px; width: var(--w); border-radius: 4px; background: rgba(250,250,252,.12); }
.ui-check, .ui-dot { display: block; height: 6px; width: var(--w); border-radius: 4px; background: rgba(250,250,252,.12); position: relative; margin-left: 16px; }
.ui-check::before { content: ""; position: absolute; left: -16px; top: -3px; width: 10px; height: 10px; border-radius: 3px; border: 1.5px solid rgba(250,250,252,.35); }
.ui-dot::before { content: ""; position: absolute; left: -15px; top: -1px; width: 8px; height: 8px; border-radius: 50%; background: var(--ty-cyan); }
.ui-spark { width: 16px; height: 16px; border-radius: 50%; background: var(--ty-spectrum); margin-bottom: 2px; }
.ui-kanban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ui-col { display: grid; gap: 7px; align-content: start; }
.ui-tile { background: #191922; border: 1px solid var(--line-d); border-radius: 9px; padding: 10px 9px; display: grid; gap: 6px; }
.ui-col:last-child .ui-tile { border-color: rgba(40,196,244,.45); }
.ui-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ui-kpi { display: grid; gap: 8px; justify-items: start; }
.ui-ring { --p: 50; --ring: var(--p); width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(var(--ty-cyan) calc(var(--ring) * 1%), rgba(250,250,252,.08) 0); -webkit-mask: radial-gradient(circle, transparent 56%, #000 57%); mask: radial-gradient(circle, transparent 56%, #000 57%); }
.ui-ring--big { width: 64px; height: 64px; background: conic-gradient(from 0deg, #4255FF, #28C4F4 calc(var(--ring) * .5%), #9B52F5 calc(var(--ring) * 1%), rgba(250,250,252,.08) 0); }
.ui-row { display: grid; grid-template-columns: 1fr 80px; gap: 10px; align-items: center; }
.ui-prog { display: block; height: 6px; border-radius: 4px; background: linear-gradient(90deg, var(--ty-blue), var(--ty-cyan)) 0 0 / var(--p) 100% no-repeat, rgba(250,250,252,.08); }
.ui-chart { display: flex; align-items: flex-end; gap: 5px; height: 70px; }
.ui-chart i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--ty-cyan), rgba(66,85,255,.6)); }
.ui-gantt { display: grid; gap: 8px; }
.ui-g { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 8px; font-size: 10px; color: var(--ty-titanium); }
.ui-g i { display: block; height: 10px; border-radius: 5px; margin-left: var(--s); width: var(--w); background: var(--ty-spectrum); }
.ui-card--live .ui-k::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: #2fd47a; box-shadow: 0 0 0 3px rgba(47,212,122,.2); vertical-align: 1px; }
.ui-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ui-slot { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: center; }
.ui-slot b { height: 14px; border-radius: 4px; background: rgba(155,82,245,.45); }
.ui-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ui-grid i { aspect-ratio: 1.6; border-radius: 6px; background: rgba(250,250,252,.07); border: 1px solid var(--line-d); }
.ui-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ui-grid--media i:nth-child(3n+1) { background: linear-gradient(135deg, rgba(66,85,255,.5), rgba(40,196,244,.3)); }
.ui-grid--media i:nth-child(3n+2) { background: linear-gradient(135deg, rgba(155,82,245,.45), rgba(66,85,255,.25)); }
.ui-search { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #191922; border: 1px solid rgba(40,196,244,.45); font-size: 13px; }
.ui-mag { width: 12px; height: 12px; border: 2px solid var(--ty-cyan); border-radius: 50%; flex: none; }
.ui-cite { display: flex; gap: 6px; margin: 4px 0 0; }
.ui-cite b, .ui-doc b { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; font: 600 10px/1 var(--ty-font-mono); background: rgba(66,85,255,.35); color: var(--ty-canvas); }
.ui-doc { display: grid; grid-template-columns: 18px 1fr; gap: 6px 10px; align-items: center; }
.ui-doc b { grid-row: span 2; }
.ui-perm { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 11px; color: var(--ty-titanium); }
.ui-lock { width: 10px; height: 8px; border-radius: 2px; background: var(--ty-titanium); position: relative; margin-top: 3px; }
.ui-lock::before { content: ""; position: absolute; left: 2px; top: -5px; width: 4px; height: 5px; border: 1.5px solid var(--ty-titanium); border-bottom: 0; border-radius: 3px 3px 0 0; }
.ui-cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.ui-cal > div { display: grid; gap: 5px; align-content: start; min-height: 80px; padding: 6px; border-radius: 8px; background: rgba(250,250,252,.03); }
.ui-chip { display: block; height: 14px; border-radius: 4px; }
.ui-chip--a { background: rgba(66,85,255,.55); } .ui-chip--b { background: rgba(40,196,244,.45); } .ui-chip--c { background: rgba(155,82,245,.5); }
.ui-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ui-flow div { display: grid; gap: 6px; }
.ui-flow b { height: 6px; border-radius: 3px; background: rgba(250,250,252,.1); }
.ui-flow div:nth-child(-n+2) b { background: var(--ty-spectrum); }
.ui-ready { display: flex; align-items: center; gap: 14px; }
.ui-ready > div { flex: 1; display: grid; gap: 7px; }
.ui-road { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 6px 4px; }
.ui-road::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; background: linear-gradient(90deg, var(--ty-blue), var(--ty-cyan)) 0 0 / 50% 100% no-repeat, rgba(250,250,252,.12); }
.ui-road span { position: relative; width: 12px; height: 12px; border-radius: 50%; background: #191922; border: 2px solid rgba(250,250,252,.25); }
.ui-road .is-done { background: var(--ty-blue); border-color: var(--ty-blue); }
.ui-road .is-now { border-color: var(--ty-cyan); box-shadow: 0 0 0 4px rgba(40,196,244,.2); }
.ui-todo { display: grid; grid-template-columns: 12px 1fr 18px; gap: 10px; align-items: center; }
.ui-todo b { width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid rgba(250,250,252,.3); }
.ui-todo.is-done b { background: var(--ty-cyan); border-color: var(--ty-cyan); }
.ui-todo em { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #2a2a36, #3a3a4a); }

/* Platform bridge */
.os-bridge { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: center; margin-top: clamp(80px, 10vw, 160px); padding-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line-l); }
.os-bridge__h { max-width: 14ch; margin-bottom: 24px; }
.os-bridge__text p:not(.label) { color: #3C3D4E; font-size: 17px; line-height: 1.6; max-width: 52ch; margin: 0 0 .8em; }
.os-arch { margin: 0; display: grid; gap: 8px; }
.os-arch__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.os-arch__row span { display: grid; place-items: center; min-height: 52px; padding: 8px; border-radius: 10px; background: var(--ty-canvas); border: 1px solid var(--line-l); font-weight: 650; font-size: 14px; text-align: center; }
.os-arch__layer { display: grid; place-items: center; min-height: 56px; border-radius: 10px; font-weight: 700; font-size: 15px; }
.os-arch__layer--os { background: var(--ty-ink); color: var(--ty-canvas); }
.os-arch__layer--core { color: var(--ty-canvas); background: var(--ty-spectrum); }
.os-arch__layer--base { background: transparent; border: 1px dashed rgba(13,13,18,.3); color: #3C3D4E; font: 500 12px/1.4 var(--ty-font-mono); letter-spacing: .04em; text-transform: uppercase; }

@media (max-width: 960px) {
  .os-panel { grid-template-columns: 1fr; align-items: start; row-gap: 0; }
  /* Mobil: Überschrift, dann gleich der Screen, danach der Text. */
  .os-copy { display: contents; }
  .os-copy > * { order: 3; }
  .os-eyebrow { order: 1; }
  .os-h, .os-visual { order: 2; }
  .os-visual { margin: 6px 0 28px; }
  .os-bridge { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .os-tabs { width: auto; }
  .os-tabs button { padding: 0 16px; font-size: 14px; }
  .os-arch__row { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .os-viewport { scroll-behavior: auto; } .os-tabs__ind { transition: none; } }
@media (max-width: 960px) and (min-width: 761px) { .offer__row { grid-template-columns: 60px 1fr; row-gap: 4px; } .offer__what { grid-column: 2; } }

/* ---------- TYRN.ON OS screens: icons + motion (03.10.2026) ---------- */
@property --ring { syntax: "<number>"; inherits: false; initial-value: 0; }
.ui-rail { gap: 8px; }
.ui-rail .ui-ico { display: grid; place-items: center; width: 28px; height: 28px; margin: 0 auto; border-radius: 8px; background: rgba(250,250,252,.06); color: var(--ty-titanium); }
.ui-rail .ui-ico svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ui-rail .ui-ico.is-on { background: var(--ty-spectrum); color: #fff; box-shadow: 0 6px 18px -6px rgba(66,85,255,.7); }
.ui-rail i:first-child:not(.is-on) { background: rgba(250,250,252,.06); }
.ui-kanban { position: relative; }
.ui-mover { position: absolute; left: 0; top: 22px; width: calc((100% - 24px) / 4); padding: 10px 9px; display: grid; gap: 6px; border-radius: 9px; background: #232333; border: 1px solid rgba(40,196,244,.7); box-shadow: 0 14px 30px -12px rgba(40,196,244,.45); opacity: 0; }
.ui-gantt { position: relative; }
.ui-now { position: absolute; top: -4px; bottom: -4px; left: 78px; width: 2px; border-radius: 2px; background: #2fd47a; box-shadow: 0 0 10px rgba(47,212,122,.7); opacity: 0; }
.ui-type { display: inline-block; white-space: nowrap; overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  /* intro: everything builds up when a screen becomes active */
  .os.is-live .os-panel.is-active .ui-bar,
  .os.is-live .os-panel.is-active .ui-check,
  .os.is-live .os-panel.is-active .ui-dot { animation: ui-grow .7s var(--ease) both; animation-delay: calc(var(--d, 0) * 45ms + 150ms); }
  .os.is-live .os-panel.is-active .ui-card,
  .os.is-live .os-panel.is-active .ui-tile,
  .os.is-live .os-panel.is-active .ui-search { animation: ui-rise .6s var(--ease) both; }
  .os.is-live .os-panel.is-active .ui-side .ui-card:nth-child(2) { animation-delay: .08s; }
  .os.is-live .os-panel.is-active .ui-side .ui-card:nth-child(3) { animation-delay: .16s; }
  .os.is-live .os-panel.is-active .ui-main > .ui-card:nth-child(2), .os.is-live .os-panel.is-active .ui-main > .ui-split { animation-delay: .1s; }
  .os.is-live .os-panel.is-active .ui-col:nth-child(2) .ui-tile { animation-delay: .06s; }
  .os.is-live .os-panel.is-active .ui-col:nth-child(3) .ui-tile { animation-delay: .12s; }
  .os.is-live .os-panel.is-active .ui-col:nth-child(4) .ui-tile { animation-delay: .18s; }
  .os.is-live .os-panel.is-active .ui-ring { animation: ui-ring 1.4s var(--ease) .3s both; }
  .os.is-live .os-panel.is-active .ui-chart i { animation: ui-bar-up .9s var(--ease) both; transform-origin: bottom; }
  .os.is-live .os-panel.is-active .ui-chart i:nth-child(n) { animation-delay: calc(.25s + var(--n, 0) * 60ms); }
  .ui-chart i:nth-child(1) { --n: 0 } .ui-chart i:nth-child(2) { --n: 1 } .ui-chart i:nth-child(3) { --n: 2 } .ui-chart i:nth-child(4) { --n: 3 }
  .ui-chart i:nth-child(5) { --n: 4 } .ui-chart i:nth-child(6) { --n: 5 } .ui-chart i:nth-child(7) { --n: 6 } .ui-chart i:nth-child(8) { --n: 7 }
  .os.is-live .os-panel.is-active .ui-prog { animation: ui-prog 1.1s var(--ease) .35s both; }
  .os.is-live .os-panel.is-active .ui-g i { animation: ui-grow-x .9s var(--ease) both; transform-origin: left; }
  .os.is-live .os-panel.is-active .ui-g:nth-child(2) i { animation-delay: .12s; } .os.is-live .os-panel.is-active .ui-g:nth-child(3) i { animation-delay: .24s; } .os.is-live .os-panel.is-active .ui-g:nth-child(4) i { animation-delay: .36s; }
  .os.is-live .os-panel.is-active .ui-chip, .os.is-live .os-panel.is-active .ui-grid i, .os.is-live .os-panel.is-active .ui-slot b { animation: ui-pop .5s var(--ease) both; animation-delay: .3s; }
  .os.is-live .os-panel.is-active .ui-cal > div:nth-child(2) .ui-chip { animation-delay: .38s; } .os.is-live .os-panel.is-active .ui-cal > div:nth-child(3) .ui-chip { animation-delay: .46s; }
  .os.is-live .os-panel.is-active .ui-cal > div:nth-child(4) .ui-chip { animation-delay: .54s; } .os.is-live .os-panel.is-active .ui-cal > div:nth-child(5) .ui-chip { animation-delay: .62s; }
  .os.is-live .os-panel.is-active .ui-todo.is-done b { animation: ui-pop .4s var(--ease) both; }
  .os.is-live .os-panel.is-active .ui-todo:nth-child(3) b { animation-delay: .5s; } .os.is-live .os-panel.is-active .ui-todo:nth-child(4) b { animation-delay: .7s; } .os.is-live .os-panel.is-active .ui-todo:nth-child(5) b { animation-delay: .9s; }
  .os.is-live .os-panel.is-active .ui-road::before { animation: ui-road 1.4s var(--ease) .3s both; }
  .os.is-live .os-panel.is-active .ui-cite b, .os.is-live .os-panel.is-active .ui-doc b { animation: ui-pop .4s var(--ease) both; animation-delay: 1.9s; }
  .os.is-live .os-panel.is-active .ui-rail .ui-ico.is-on { animation: ui-pop .5s var(--ease) both; }

  /* continuous, quiet motion */
  .os.is-live .os-panel.is-active .ui-card--ai .ui-bar { background: linear-gradient(90deg, rgba(250,250,252,.1) 0%, rgba(40,196,244,.45) 50%, rgba(250,250,252,.1) 100%) 0 0 / 220% 100%; animation: ui-grow .7s var(--ease) both, ui-shimmer 2.6s linear infinite; animation-delay: calc(var(--d, 0) * 45ms + 150ms), calc(var(--d, 0) * 120ms + 1s); }
  .os.is-live .os-panel.is-active .ui-spark { animation: ui-spark 2.4s ease-in-out infinite; }
  .os.is-live .os-panel.is-active .ui-mover { animation: ui-move 6.4s var(--ease) 1.2s infinite; }
  .os.is-live .os-panel.is-active .ui-now { animation: ui-now 7s linear .8s infinite; }
  .os.is-live .os-panel.is-active .ui-type { animation: ui-type 2.2s steps(48, end) .3s both; }
  .os.is-live .os-panel.is-active .ui-flow div:nth-child(3) b { background: linear-gradient(90deg, var(--ty-cyan), var(--ty-violet)) 0 0 / 0% 100% no-repeat, rgba(250,250,252,.1); animation: ui-flow 3.2s var(--ease) 1s infinite; }
  .os.is-live .os-panel.is-active .ui-road .is-now { animation: ui-ping 1.8s ease-out 1.4s infinite; }
  .os.is-live .os-panel.is-active .ui-chart i:last-child { animation: ui-bar-up .9s var(--ease) both, ui-breathe 3s ease-in-out 1.6s infinite; animation-delay: calc(.25s + 7 * 60ms), 1.6s; }
}
@keyframes ui-grow { from { width: 0; opacity: 0; } }
@keyframes ui-grow-x { from { transform: scaleX(0); } }
@keyframes ui-rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes ui-pop { from { opacity: 0; transform: scale(.6); } }
@keyframes ui-ring { from { --ring: 0; } }
@keyframes ui-bar-up { from { transform: scaleY(0); } }
@keyframes ui-prog { from { background-size: 0 100%, auto; } }
@keyframes ui-road { from { background-size: 0 100%; } }
@keyframes ui-shimmer { to { background-position: -220% 0; } }
@keyframes ui-spark { 50% { transform: scale(1.18); box-shadow: 0 0 14px rgba(40,196,244,.6); } }
@keyframes ui-move {
  0% { opacity: 0; transform: translateX(0) translateY(6px); }
  8%, 22% { opacity: 1; transform: translateX(0); }
  34%, 48% { opacity: 1; transform: translateX(calc(100% + 8px)); }
  60%, 74% { opacity: 1; transform: translateX(calc(200% + 16px)); }
  86%, 94% { opacity: 1; transform: translateX(calc(300% + 24px)); }
  100% { opacity: 0; transform: translateX(calc(300% + 24px)) translateY(-6px); }
}
@keyframes ui-now { 0% { left: 78px; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { left: calc(100% - 4px); opacity: 0; } }
@keyframes ui-type { from { max-width: 0; } to { max-width: 100%; } }
@keyframes ui-flow { 0% { background-size: 0 100%, auto; } 70%, 100% { background-size: 100% 100%, auto; } }
@keyframes ui-ping { 0% { box-shadow: 0 0 0 0 rgba(40,196,244,.55); } 100% { box-shadow: 0 0 0 10px rgba(40,196,244,0); } }
@keyframes ui-breathe { 50% { transform: scaleY(.88); } }

/* =========== Homepage restructure (03.10.2026) =========== */
.hero__mission { margin: 18px 0 0; color: rgba(250,250,252,.6); }

/* 01 Problem */
.problem__h { max-width: 18ch; }
.problem__lead { max-width: 62ch; margin: clamp(28px, 3vw, 44px) 0 clamp(40px, 5vw, 72px); }
.problem__lead p { margin: 0 0 .7em; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; color: #3C3D4E; }
.problem__lead p:first-child { color: var(--ty-ink); font-weight: 600; }
.problem__trans { margin: clamp(56px, 7vw, 104px) 0 0; font-family: var(--ty-font-display); font-weight: 800; font-size: clamp(32px, 4.4vw, 68px); line-height: 1; letter-spacing: -0.045em; }

/* 03 AI Core (short) */
.aic { background: var(--ty-ink); padding: var(--section) 0; }
.aic__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.aic__body { margin: 28px 0 0; max-width: 54ch; }
.aic__body p { margin: 0 0 .8em; color: rgba(250,250,252,.78); font-size: clamp(16px, 1.2vw, 19px); }
.aic-caps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); border-radius: 14px; overflow: hidden; }
.aic-cap { background: var(--ty-ink); padding: 20px 22px; display: grid; gap: 6px; align-content: start; }
.aic-cap .mono { color: var(--ty-titanium); font-size: 11px; }
.aic-cap h3 { margin: 0; font-size: 20px; letter-spacing: -0.02em; }
.aic-cap p { margin: 0; color: rgba(250,250,252,.72); font-size: 15px; line-height: 1.5; }
.aic-caps--3 { grid-template-columns: repeat(3, 1fr); }
.aic-caps--4 { grid-template-columns: repeat(4, 1fr); }
.aic__models { margin: 40px 0 28px; font-family: var(--ty-font-display); font-weight: 750; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.08; letter-spacing: -0.03em; }
.hub { position: relative; margin: 0; aspect-ratio: 600 / 420; width: 100%; }
.hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub__lines line { stroke: rgba(250,250,252,.18); stroke-width: 1.2; stroke-dasharray: 3 6; animation: inv-dash 2.6s linear infinite; }
.hub__ring { fill: none; stroke: url(#hub-sp); stroke-width: 1.5; opacity: .6; }
.hub__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 27%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle at 30% 25%, #2a2f6e, #12121c 70%); border: 1px solid transparent; background-clip: padding-box; box-shadow: 0 0 0 1.5px rgba(66,85,255,.6), 0 0 60px rgba(40,196,244,.25); }
.hub__core span { font-family: var(--ty-font-mono); font-size: 10px; letter-spacing: .1em; color: var(--ty-titanium); }
.hub__core strong { font-size: clamp(16px, 1.7vw, 24px); letter-spacing: -0.02em; }
.hub__nodes { list-style: none; margin: 0; padding: 0; }
.hub__node { position: absolute; transform: translate(-50%, -50%); }
.hub__node a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--ty-ink-2); border: 1px solid var(--line-d); font-size: 14px; font-weight: 600; white-space: nowrap; transition: border-color .2s, background .2s; }
.hub__node a:hover { border-color: var(--ty-cyan); background: var(--ty-ink-3); }
.hub__node--0 { left: 15%; top: 16.7%; } .hub__node--1 { left: 50%; top: 9.5%; } .hub__node--2 { left: 85%; top: 16.7%; }
.hub__node--3 { left: 15%; top: 83.3%; } .hub__node--4 { left: 50%; top: 90.5%; } .hub__node--5 { left: 85%; top: 83.3%; }
.hub__cap { position: absolute; left: 0; right: 0; bottom: -40px; text-align: center; color: var(--ty-titanium); }
@media (max-width: 960px) { .aic__grid { grid-template-columns: 1fr; } .hub { margin-bottom: 40px; } .aic-caps--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .aic-caps, .aic-caps--3, .aic-caps--4 { grid-template-columns: 1fr; } .hub__node a { font-size: 12px; padding: 0 10px; min-height: 32px; } }

/* 04 Services */
.agency__body { max-width: 56ch; margin: -12px 0 clamp(40px, 5vw, 72px); font-size: clamp(17px, 1.3vw, 20px); color: #3C3D4E; }
.offer__what { display: grid; gap: 6px; }
.offer__what strong { font-size: clamp(19px, 1.6vw, 24px); color: var(--ty-ink); letter-spacing: -0.015em; }
.offer__what .mono { color: #5E5F70; font-size: 11px; line-height: 1.7; }
.agency__close { margin: clamp(64px, 8vw, 120px) 0 0; font-family: var(--ty-font-display); font-weight: 800; font-size: clamp(36px, 5.6vw, 88px); line-height: .98; letter-spacing: -0.05em; }

/* 05 Work */
.work__all { padding-top: 40px; padding-bottom: var(--section); }

/* 06 Why */
.why { background: var(--ty-ink); padding: var(--section) 0; border-top: 1px solid var(--line-d); }
.why__body { max-width: 60ch; margin: 28px 0 0; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; color: rgba(250,250,252,.8); }
.why__list { list-style: none; margin: clamp(48px, 6vw, 88px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why__item { border-top: 2px solid transparent; border-image: var(--ty-spectrum) 1; padding-top: 22px; display: grid; gap: 10px; align-content: start; }
.why__item .mono { color: var(--ty-titanium); }
.why__item h3 { margin: 0; font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.025em; line-height: 1.1; }
.why__item p { margin: 0; color: rgba(250,250,252,.72); }
@media (max-width: 860px) { .why__list { grid-template-columns: 1fr; } }

/* 07 Company */
.company { background: var(--ty-canvas); color: var(--ty-ink); padding: var(--section) 0; }
.company .label { color: #5E5F70; }
.company__h { max-width: 16ch; }
.company__body { max-width: 62ch; margin: 28px 0 0; }
.company__body p { margin: 0 0 .8em; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: #3C3D4E; }
.founders { list-style: none; margin: clamp(48px, 6vw, 88px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.founder img { width: 100%; height: auto; border-radius: var(--r); filter: grayscale(1); }
.founder h3 { margin: 16px 0 4px; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.02em; }
.founder .mono { margin: 0; color: #5E5F70; }
.company__logos-label { margin: clamp(64px, 8vw, 112px) 0 24px; color: #5E5F70; }
.company__logos { list-style: none; margin: 0; padding: 28px 0 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 24px 32px; align-items: center; border-top: 1px solid var(--line-l); }
.company__logos img { max-height: 30px; max-width: 100%; width: auto; height: auto; margin: 0 auto; filter: brightness(0); opacity: .72; }
@media (max-width: 860px) { .founders { grid-template-columns: 1fr 1fr; } .company__logos { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .founders { grid-template-columns: 1fr; max-width: 360px; } .company__logos { grid-template-columns: repeat(3, 1fr); } }

/* 08 Contact */
.entry__cta { display: block; margin-top: 8px; color: rgba(250,250,252,.6); font-size: 11px; }

/* Subpages: /work/, /platform/ai-core/ */
.page-hero { background: var(--ty-ink); padding: clamp(140px, 18vh, 200px) 0 clamp(48px, 6vw, 88px); }
.page-hero__h { margin: 0; font-family: var(--ty-font-display); font-weight: 800; font-size: clamp(48px, 8vw, 128px); line-height: .95; letter-spacing: -0.05em; }
.page-hero__lead { max-width: 52ch; margin: 28px 0 0; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.4; color: rgba(250,250,252,.8); }
.work--page { padding-top: 0; }
.page-cta { margin-top: 32px; }

/* Footer: five columns */
.footer__map--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 960px) and (min-width: 601px) { .footer__map--5 { grid-template-columns: repeat(3, 1fr); row-gap: 40px; } }
.agency .offer__no { color: #5E5F70; }
.company__logos img[alt="rde"], .company__logos img[alt="Leapmotor"] { max-height: 46px; }

/* ---------- Company logo band (all logos, colour on hover) ---------- */
.lb { --gap: clamp(48px, 5vw, 88px); display: flex; overflow: hidden; margin: 0 calc(50% - 50vw); padding: 28px 0; border-top: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lb__track { list-style: none; margin: 0; padding: 0 calc(var(--gap) / 2); display: flex; align-items: center; gap: var(--gap); flex: none; animation: lb-run 55s linear infinite; }
.lb:hover .lb__track { animation-play-state: paused; }
.lb__item { position: relative; width: var(--w); height: var(--h); flex: none; }
.lb__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s var(--ease); }
.lb__m { filter: brightness(0); opacity: .62; }
.lb__c { opacity: 0; }
.lb__item:hover .lb__m { opacity: 0; }
.lb__item:hover .lb__c { opacity: 1; }
@keyframes lb-run { to { transform: translateX(-100%); } }
@media (max-width: 760px) { .lb__item { width: calc(var(--w) * .78); height: calc(var(--h) * .78); } }
@media (prefers-reduced-motion: reduce) { .lb { overflow-x: auto; } .lb__track { animation: none; } .lb__track[aria-hidden] { display: none; } }
/* touch devices: show colour by default (no hover) */
@media (hover: none) { .lb__m { opacity: 0; } .lb__c { opacity: 1; } }

/* ---------- OS screens: always the desktop layout, scaled to fit (03.10.2026) ----------
   The UI is laid out at a fixed design width (820px) and scaled with --z (set by os.js),
   so phones show exactly the desktop screen, animations included. */
.os-visual { position: relative; width: 100%; aspect-ratio: 16 / 9.4; }
.os-visual .os-ui { position: absolute; top: 0; left: 0; width: 820px; aspect-ratio: 16 / 9.4; transform-origin: 0 0; transform: scale(var(--z, 1)); }
.os-visual { --z: 1; }
@media (max-width: 600px) { .os-visual { margin-left: calc(var(--gutter) * -1); width: calc(100% + var(--gutter) * 2); } }

/* =========== TY — TYRN.ON business guide (launcher + chat) =========== */
.ty-launch { position: fixed; z-index: 60; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border: 1px solid rgba(250,250,252,.14); border-radius: 999px; background: rgba(17,17,24,.88); color: var(--ty-canvas); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 18px 40px -14px rgba(0,0,0,.55); cursor: pointer; font: inherit; text-align: left; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .45s var(--ease), transform .45s var(--ease), padding .3s var(--ease); }
.ty-launch.is-in { opacity: 1; transform: none; pointer-events: auto; }
.ty-launch.is-tucked { opacity: 0; transform: translateY(16px); pointer-events: none; }
.ty-open .ty-launch, .menu-open .ty-launch { opacity: 0; pointer-events: none; }
.ty-launch:hover { border-color: rgba(40,196,244,.6); }
.ty-launch:focus-visible { outline: 2px solid var(--ty-cyan); outline-offset: 3px; }
.ty-launch__av { position: relative; width: 44px; height: 44px; border-radius: 50%; flex: none; box-shadow: 0 4px 14px -4px rgba(66,85,255,.6); }
.ty-launch__txt { display: grid; line-height: 1.2; }
.ty-launch__txt strong { font-size: 15px; letter-spacing: -0.01em; }
.ty-launch__txt small { font-size: 12px; color: var(--ty-titanium); }
.ty-launch.is-compact { padding-right: 16px; }
@media (max-width: 600px) { .ty-launch { padding-right: 14px; gap: 9px; } .ty-launch__txt small { display: none; } }

.ty-panel { position: fixed; z-index: 70; right: 24px; bottom: 24px; width: min(472px, calc(100vw - 48px)); height: min(760px, 84vh); display: flex; flex-direction: column; background: #0F0F15; color: var(--ty-canvas); border: 1px solid rgba(250,250,252,.12); border-radius: 22px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.75), 0 0 0 1px rgba(66,85,255,.08); overflow: hidden; opacity: 0; transform: translateY(18px) scale(.98); transform-origin: bottom right; transition: opacity .26s var(--ease), transform .26s var(--ease); font-family: var(--ty-font-body); }
.ty-panel.is-open { opacity: 1; transform: none; }
@media (max-width: 700px) {
  .ty-panel { inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; border: 0; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); transform: translateY(24px); }
  .ty-open, .ty-open body { overflow: hidden; }
}
.ty-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; border-bottom: 1px solid var(--line-d); flex: none; }
.ty-head__txt { display: grid; line-height: 1.25; margin-right: auto; }
.ty-head__txt strong { font-size: 16px; letter-spacing: -0.01em; }
.ty-head__txt { min-width: 0; }
.ty-head__txt span { font-size: 12.5px; color: var(--ty-titanium); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ty-status { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--ty-font-mono); letter-spacing: .04em; color: var(--ty-titanium); margin-right: 4px; }
.ty-status > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ty-status i { width: 7px; height: 7px; border-radius: 50%; background: #2fd47a; box-shadow: 0 0 0 3px rgba(47,212,122,.18); }
.ty-status.is-off i { background: var(--ty-titanium); box-shadow: none; }
.ty-icon { appearance: none; width: 36px; height: 36px; border-radius: 10px; border: 0; background: transparent; color: var(--ty-titanium); display: grid; place-items: center; cursor: pointer; }
.ty-icon:hover { background: rgba(250,250,252,.06); color: var(--ty-canvas); }
.ty-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* avatar + states (idle breathing, thinking ring, speaking glow) */
.ty-av { position: relative; display: inline-block; width: 28px; height: 28px; border-radius: 50%; flex: none; }
.ty-av--head { width: 40px; height: 40px; }
.ty-av--head::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; background: conic-gradient(from 0deg, #4255FF, #28C4F4, #9B52F5, #4255FF); opacity: 0; transition: opacity .3s; }

/* TY: 3D-animated clips. The stage shows the poster until a clip plays, two videos crossfade. */
.ty-face { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; position: relative; }
.ty-stage { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; background: linear-gradient(135deg, #4255FF, #28C4F4); }
.ty-stage > img, .ty-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ty-stage video { opacity: 0; transition: opacity .25s ease; }
.ty-stage video.is-on { opacity: 1; }
.ty-hero { position: relative; display: block; width: 100%; aspect-ratio: 12 / 5; border-radius: 18px; overflow: hidden; margin-bottom: 10px; box-shadow: 0 18px 40px -22px rgba(66,85,255,.7); }
.ty-listen { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px 0 10px; border: 0; border-radius: 999px; background: rgba(13,13,18,.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #FAFAFC; font: 600 13px/1 var(--ty-font-body); cursor: pointer; transition: background .2s, transform .2s; }
.ty-listen:hover { background: rgba(13,13,18,.82); transform: translateY(-1px); }
.ty-listen svg, .ty-sound svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ty-sound .ty-sound__on { display: none; }
.ty-sound[aria-pressed="true"] { color: var(--ty-cyan); }
.ty-sound[aria-pressed="true"] .ty-sound__on { display: inline; }
.ty-sound[aria-pressed="true"] .ty-sound__off { display: none; }
/* head avatar: the same clip, zoomed onto TY's face */
.ty-av--head .ty-stage { border-radius: 50%; }
.ty-av--head .ty-stage > img, .ty-av--head .ty-stage video { width: 250%; height: auto; inset: auto; left: -75%; top: -3%; max-width: none; }
@keyframes ty-spin { to { transform: rotate(360deg); } }

.ty-cam { flex: none; position: relative; height: clamp(104px, 30vw, 136px); margin: 12px 14px 0; border-radius: 16px; overflow: hidden; animation: ty-cam-in .45s var(--ease) both; }
.ty-cam[hidden] { display: none; }
/* messages fade out softly under the stage instead of being cut */
.ty-panel.has-cam .ty-log { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 20px); mask-image: linear-gradient(to bottom, transparent 0, #000 20px); }
.ty-av--head video { display: none; } /* hero or stage carries the motion; the head stays a still */
.ty-cam .ty-stage > img, .ty-cam .ty-stage video { object-position: 50% 38%; }
/* a quiet "on air" hint while TY speaks with sound */
.ty-panel.has-voice .ty-cam::after { content: ""; position: absolute; right: 12px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: #2fd47a; box-shadow: 0 0 0 3px rgba(47,212,122,.25); opacity: .9; }
@keyframes ty-cam-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.ty-log { flex: 1; overflow-y: auto; padding: 22px 18px 12px; display: grid; align-content: start; gap: 16px; scroll-behavior: smooth; overscroll-behavior: contain; }
.ty-welcome { display: grid; justify-items: start; gap: 6px; padding: 8px 2px 4px; }
.ty-welcome__h { margin: 14px 0 0; font-size: 15px; color: var(--ty-titanium); }
.ty-welcome__q { margin: 0; font-family: var(--ty-font-display); font-weight: 750; font-size: 28px; line-height: 1.08; letter-spacing: -0.03em; }
.ty-welcome__p { margin: 6px 0 4px; color: rgba(250,250,252,.76); font-size: 15px; line-height: 1.55; }
.ty-msg { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.ty-msg.is-grouped { grid-template-columns: 1fr; padding-left: 40px; }
.ty-body { font-size: 15px; line-height: 1.6; color: rgba(250,250,252,.92); min-width: 0; overflow-wrap: anywhere; }
.ty-body p { margin: 0 0 .7em; } .ty-body p:last-child { margin-bottom: 0; }
.ty-body ul, .ty-body ol { margin: .2em 0 .7em; padding-left: 1.2em; } .ty-body li { margin: .25em 0; }
.ty-body strong { color: #fff; font-weight: 650; }
.ty-h { font-weight: 700; color: #fff; font-size: 16px; letter-spacing: -0.01em; }
.ty-msg--user { grid-template-columns: 1fr; justify-items: end; }
.ty-msg--user p { margin: 0; max-width: 85%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: rgba(250,250,252,.08); border: 1px solid rgba(250,250,252,.08); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.ty-thinking { display: inline-flex; align-items: center; gap: 10px; color: var(--ty-titanium); font-size: 14px; }
.ty-dots { display: inline-flex; gap: 4px; } .ty-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--ty-cyan); opacity: .35; }
@media (prefers-reduced-motion: no-preference) { .ty-dots i { animation: ty-dot 1.2s ease-in-out infinite; } .ty-dots i:nth-child(2) { animation-delay: .15s; } .ty-dots i:nth-child(3) { animation-delay: .3s; } }
@keyframes ty-dot { 40% { opacity: 1; transform: translateY(-2px); } }
.ty-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ty-direct { appearance: none; border: 0; background: none; padding: 12px 0 0; min-height: 44px; font: 600 14px/1.3 var(--ty-font-body); color: var(--ty-canvas); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(250,250,252,.35); cursor: pointer; }
.ty-direct:hover { text-decoration-color: var(--ty-cyan); }
.ty-chip { appearance: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(250,250,252,.16); background: transparent; color: var(--ty-canvas); font: 500 14px/1.2 var(--ty-font-body); cursor: pointer; text-align: left; transition: border-color .2s, background .2s; }
.ty-chip:hover { border-color: var(--ty-cyan); background: rgba(40,196,244,.08); }
.ty-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ty-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: rgba(40,196,244,.08); border: 1px solid rgba(40,196,244,.4); color: #9BE6FF; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s, border-color .2s; }
.ty-link:hover { background: rgba(40,196,244,.16); border-color: var(--ty-cyan); }
.ty-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ty-btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(250,250,252,.2); background: transparent; color: var(--ty-canvas); font: 600 14px/1 var(--ty-font-body); cursor: pointer; text-decoration: none; }
.ty-btn:hover { border-color: var(--ty-canvas); }
.ty-btn--primary { background: var(--ty-canvas); color: var(--ty-ink); border-color: var(--ty-canvas); }
.ty-btn--primary:hover { background: #fff; }
.ty-btn--quiet { border-color: transparent; color: rgba(250,250,252,.68); padding: 0 10px; }
.ty-btn--quiet:hover { border-color: transparent; color: var(--ty-canvas); text-decoration: underline; text-underline-offset: 4px; }
/* the moment that matters: request sent */
.ty-success { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; margin-top: 4px; padding: 14px 16px; border-radius: 16px; background: rgba(47,212,122,.08); border: 1px solid rgba(47,212,122,.32); }
.ty-success__i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #2fd47a; color: #0D0D12; font-weight: 800; font-size: 15px; }
.ty-form { display: grid; gap: 10px; margin-top: 14px; }
.ty-form label { display: grid; gap: 6px; font-size: 12.5px; color: var(--ty-titanium); }
.ty-form input:not([type=checkbox]) { height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(250,250,252,.16); background: rgba(250,250,252,.04); color: var(--ty-canvas); font: 15px var(--ty-font-body); }
.ty-form input:focus { outline: none; border-color: var(--ty-cyan); }
.ty-form .ty-consent { grid-template-columns: 20px 1fr; align-items: start; gap: 10px; font-size: 13px; line-height: 1.45; color: rgba(250,250,252,.78); }
.ty-form .ty-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ty-blue); }
.ty-form a, .ty-privacy a { color: var(--ty-canvas); text-decoration: underline; text-underline-offset: 3px; }
.ty-form.is-invalid input:invalid { border-color: #ff6b6b; }
.ty-form .ty-hint { margin: -4px 0 2px; font-size: 12px; color: rgba(250,250,252,.55); }
.ty-when { display: grid; gap: 8px; }
.ty-when__quick { display: flex; flex-wrap: wrap; gap: 6px; }
.ty-chip--s { min-height: 34px; padding: 0 12px; font-size: 13px; }
.ty-chip.is-on { border-color: var(--ty-cyan); background: rgba(40,196,244,.12); }
.ty-form .ty-notice { margin: 2px 0 0; font-size: 12px; line-height: 1.45; color: rgba(250,250,252,.6); }
.ty-form .ty-consent--optin { color: rgba(250,250,252,.62); font-size: 12.5px; }
.ty-nudge { display: block; appearance: none; border: 0; background: none; padding: 10px 0 0; min-height: 40px; font: 600 13.5px/1.3 var(--ty-font-body); color: var(--ty-cyan); cursor: pointer; text-align: left; }
.ty-nudge:hover { text-decoration: underline; text-underline-offset: 4px; }
.ty-form .ty-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ty-form .ty-err { margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(255,107,107,.1); border: 1px solid rgba(255,107,107,.35); font-size: 13px; line-height: 1.45; color: var(--ty-canvas); }
.ty-form .ty-err p { margin: 0; }
.ty-form .ty-err .ty-btn { margin-top: 10px; }
.ty-form button[disabled] { opacity: .6; cursor: progress; }
.ty-compose { position: relative; margin: 6px 14px 0; display: flex; align-items: flex-end; gap: 8px; padding: 8px 8px 8px 16px; border: 1px solid rgba(250,250,252,.14); border-radius: 18px; background: rgba(250,250,252,.04); flex: none; transition: border-color .2s; }
.ty-compose:focus-within { border-color: rgba(40,196,244,.6); }
.ty-compose textarea { flex: 1; resize: none; border: 0; background: transparent; color: var(--ty-canvas); font: 15px/1.5 var(--ty-font-body); padding: 7px 0; max-height: 160px; outline: none; }
.ty-compose textarea::placeholder { color: var(--ty-titanium); }
.ty-send { appearance: none; width: 38px; height: 38px; border-radius: 12px; border: 0; background: var(--ty-canvas); color: var(--ty-ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.ty-send:disabled { opacity: .4; cursor: default; }
.ty-send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ty-count { position: absolute; right: 56px; bottom: -18px; font-size: 11px; color: var(--ty-titanium); }
.ty-privacy { margin: 0; padding: 10px 18px 14px; font-size: 11.5px; line-height: 1.45; color: var(--ty-titanium); flex: none; }
.ty-panel .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .ty-launch, .ty-panel { transition: none; } .ty-log { scroll-behavior: auto; } }
@media (max-width: 420px) { .ty-status span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.ty-book { appearance: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(250,250,252,.18); background: transparent; color: var(--ty-canvas); font: 600 12.5px/1 var(--ty-font-body); cursor: pointer; }
.ty-book:hover { border-color: var(--ty-cyan); }
.ty-book svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 420px) { .ty-book span { display: none; } .ty-book { width: 36px; padding: 0; justify-content: center; } }
@media (max-width: 700px) {
  /* Welcome must fit one screen incl. the direct booking link. */
  .ty-hero { aspect-ratio: 2.6 / 1; border-radius: 14px; }
  .ty-welcome__p { display: none; }
  .ty-welcome { gap: 4px; padding-top: 2px; }
  .ty-chips { gap: 6px; margin-top: 10px; }
  .ty-chips button { min-height: 40px; }
}
/* double opt-in result page */
.optin .wrap { max-width: 640px; }
.optin [hidden] { display: none !important; }
.optin .btn { border: 0; cursor: pointer; font-family: var(--ty-font-body); }
.optin .optin__home { border: 1px solid rgba(250,250,252,.35); text-decoration: none; }
.optin .btn[disabled] { opacity: .6; cursor: progress; }
.optin__ty { display: block; width: 72px; height: 72px; border-radius: 50%; margin-bottom: 24px; box-shadow: 0 14px 30px -16px rgba(66,85,255,.6); }
.optin h1 { margin: 0 0 14px; }
.optin__lead { font-size: 18px; line-height: 1.55; max-width: 52ch; }
.optin__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.optin__revoke { appearance: none; border: 0; background: none; padding: 0; min-height: 44px; font: 500 14px/1.3 var(--ty-font-body); color: var(--ty-titanium); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* Safari shows its own play button when autoplay is blocked (Low Power Mode). The blocked video steps aside, its parent shows the poster; it returns once it plays. */
video.is-blocked { opacity: 0 !important; }
video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
video::-webkit-media-controls { display: none !important; }
video::-webkit-media-controls-panel { display: none !important; }
video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; }
video::-webkit-media-controls-overlay-enclosure { display: none !important; }
/* =========== Press page (/press) =========== */
.press-about { display: grid; gap: clamp(32px, 4vw, 56px); }
.press-copy { border-top: 1px solid var(--line-d); padding-top: 24px; }
.press-copy__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.press-copy__head h3 { margin: 0; font-size: 20px; letter-spacing: -0.02em; }
.press-copy__btn { flex: none; min-height: 36px; padding: 0 14px; border: 1px solid rgba(250,250,252,.35); border-radius: 999px; color: var(--ty-canvas); background: none; cursor: pointer; }
.press-copy__btn:hover { border-color: var(--ty-canvas); }
.press-facts { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); border-radius: 14px; overflow: hidden; }
.press-facts > div { background: var(--ty-ink); padding: 20px 22px; display: grid; gap: 8px; align-content: start; }
.press-facts dt { color: var(--ty-titanium); font-size: 11px; }
.press-facts dd { margin: 0; font-size: 17px; line-height: 1.45; }
.press-assets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.press-asset { border: 1px solid var(--line-d); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.press-asset__prev { display: grid; place-items: center; padding: 28px; min-height: 120px; }
.press-asset__prev img { max-width: 78%; max-height: 64px; width: auto; height: auto; }
.press-asset__prev--dark { background: #16161D; }
.press-asset__prev--light { background: var(--ty-canvas); }
.press-asset__prev--ty { flex: 1; padding: 0; background: #2B55D9; }
.press-asset__prev--ty img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.press-asset__meta { padding: 18px 20px 20px; border-top: 1px solid var(--line-d); margin-top: auto; }
.press-asset__meta h3 { margin: 0 0 10px; font-size: 18px; letter-spacing: -0.02em; }
.press-asset__meta p { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 14px; }
.press-asset__meta a { color: var(--ty-titanium); border-bottom: 1px solid transparent; }
.press-asset__meta a:hover { color: var(--ty-canvas); border-bottom-color: currentColor; }
@media (max-width: 960px) { .press-facts { grid-template-columns: 1fr 1fr; } .press-assets { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .press-facts, .press-assets { grid-template-columns: 1fr; } }
