/* ==========================================================================
   Teleris Group — styles
   ========================================================================== */

:root {
  --bg: #07070a;
  --bg-2: #0e0e13;
  --bg-3: #16161d;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.18);
  --text: #f4f3f0;
  --muted: #a3a2ab;
  --dim: #5c5b64;

  --paper: #efeee9;
  --paper-2: #f8f7f3;
  --ink: #0b0b0e;
  --ink-muted: #5e5d64;
  --paper-line: rgba(11, 11, 14, 0.1);

  --c1: #6ee7ff;
  --c2: #a78bfa;
  --c3: #f472b6;
  --c4: #fbbf77;
  --iris: linear-gradient(100deg, var(--c1) 0%, var(--c2) 36%, var(--c3) 68%, var(--c4) 100%);
  --iris-conic: conic-gradient(from 210deg, var(--c1), var(--c2), var(--c3), var(--c4), var(--c1));

  --f-sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(96px, 13vw, 184px);
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--c2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--c1); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--text); color: var(--ink); font-weight: 500;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

/* ---------- Primitives ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 400; }
.muted { color: var(--muted); }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.iris-text {
  background: var(--iris);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: 0.08em; margin-right: -0.08em;
}

.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.label span {
  display: inline-grid; place-items: center;
  min-width: 34px; height: 24px; padding: 0 8px;
  border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--text); letter-spacing: 0.04em;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--iris-conic); }
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--c2); opacity: 0;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }

.h2 {
  font-size: clamp(40px, 5.8vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin-top: 24px;
}
.h2 .serif { font-size: 1.06em; letter-spacing: -0.02em; }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px;
  border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--light { background: var(--text); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(255,255,255,.02); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255,255,255,.3); }
.btn:active { transform: scale(.98); }

.arrow { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover .arrow, .link:hover .arrow, .role:hover .arrow, .cta__mail:hover .arrow, .app--cta:hover .arrow { transform: translateX(4px); }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }

.chip {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: 999px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  align-self: flex-start; width: max-content;
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags li {
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Brand mark ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.mark {
  position: relative; width: 28px; height: 28px; border-radius: 50%;
  background: var(--iris-conic);
  -webkit-mask: radial-gradient(circle, transparent 34%, #000 36%);
          mask: radial-gradient(circle, transparent 34%, #000 36%);
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.brand__name { font-size: 21px; font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.brand__name span { font-weight: 400; color: var(--muted); margin-left: 5px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 7, 10, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; height: 76px; gap: 32px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 15px; color: var(--muted);
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--c2);
}
.burger { display: none; width: 44px; height: 44px; margin-left: auto; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px 0 32px;
  background: rgba(7, 7, 10, 0.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  opacity: 0; transition: opacity .4s var(--ease);
}
.menu.is-open { opacity: 1; }
.menu[hidden] { display: none; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(32px, 9vw, 48px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.1;
}
.menu__links .mono { color: var(--dim); font-size: 12px; }
.menu__foot a { color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__iris, .hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__fallback { display: none; }
.no-webgl .hero__iris { display: none; }
.no-webgl .hero__fallback { display: block; }
.hero__fallback::before {
  content: ""; position: absolute;
  width: min(62vh, 44vw); aspect-ratio: 1; right: 10%; top: 12%;
  border-radius: 50%;
  background: var(--iris-conic);
  -webkit-mask: radial-gradient(circle, transparent 32%, #000 34%, #000 62%, transparent 71%);
          mask: radial-gradient(circle, transparent 32%, #000 34%, #000 62%, transparent 71%);
  filter: blur(2px) saturate(1.1);
  opacity: .85;
  animation: spin 40s linear infinite;
}
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7,7,10,.55) 0%, rgba(7,7,10,0) 18%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7,7,10,.7) 22%, rgba(7,7,10,0) 55%);
}
.hero__content { padding-top: 140px; padding-bottom: 40px; }
.hero__eyebrow { opacity: 0; animation: fade 1s var(--ease) .15s forwards; }
.hero__title {
  margin-top: 28px;
  font-size: clamp(54px, 10.4vw, 168px);
  line-height: 0.9;
  letter-spacing: -0.055em;
  font-weight: 500;
}
.hero__title .line { display: block; overflow: hidden; padding: 0.02em 0 0.08em; margin-bottom: -0.08em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.25s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .serif { font-size: 1.04em; letter-spacing: -0.03em; }
.hero__row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  margin-top: 40px;
  opacity: 0; animation: fade 1.2s var(--ease) .5s forwards;
}
.hero__lead { max-width: 30ch; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; color: var(--muted); letter-spacing: -0.01em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; padding-bottom: 28px;
  color: var(--dim);
  opacity: 0; animation: fade 1.2s var(--ease) .8s forwards;
}
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; }
.hero__scroll i { position: relative; width: 1px; height: 28px; background: var(--line-2); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--text); animation: drip 2s var(--ease-io) infinite; }
@keyframes drip { to { top: 100%; } }
@keyframes rise { to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Ticker ---------- */
.ticker {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 22px 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 48s linear infinite; }
.ticker span { font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -0.02em; color: var(--muted); white-space: nowrap; }
.ticker i { width: 8px; height: 8px; border-radius: 50%; background: var(--iris-conic); flex: none; }
@keyframes marquee { to { transform: translateX(calc(-50% - 18px)); } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head__aside { max-width: 38ch; font-size: 18px; line-height: 1.5; }

/* About */
.manifesto {
  margin-top: 40px;
  font-size: clamp(28px, 3.9vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 450;
  max-width: 1180px;
}
.manifesto .w { color: var(--dim); transition: color .5s var(--ease); }
.manifesto .w.is-lit { color: var(--text); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: clamp(64px, 8vw, 120px); }
.pillar { border-top: 1px solid var(--line-2); padding-top: 24px; }
.pillar__k { color: var(--text); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.pillar__k::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--iris-conic); }
.pillar p:last-child { color: var(--muted); max-width: 36ch; }

/* Services */
.services { border-top: 1px solid var(--line); }
.services__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.services__head { position: sticky; top: 120px; }
.services__intro { margin-top: 28px; max-width: 32ch; font-size: 18px; }
.svc-list { border-bottom: 1px solid var(--line); }
.svc {
  position: relative;
  display: grid; grid-template-columns: 64px 1fr; gap: 16px;
  padding: 40px 0; border-top: 1px solid var(--line);
}
.svc::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0;
  background: var(--iris); transition: width .9s var(--ease);
}
.svc:hover::before { width: 100%; }
.svc__num { color: var(--dim); padding-top: 12px; transition: color .4s var(--ease); }
.svc:hover .svc__num { color: var(--c2); }
.svc h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 500; }
.svc p { margin-top: 14px; color: var(--muted); max-width: 52ch; }

/* Stats */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(36px, 5vw, 64px) clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-size: clamp(56px, 7vw, 112px); line-height: .9; letter-spacing: -0.06em; font-weight: 400;
  background: var(--iris); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat__num small { font-size: .32em; letter-spacing: -0.02em; margin-left: .2em; }
.stat__cap { margin-top: 20px; color: var(--muted); font-size: 15px; max-width: 24ch; }

/* Apps */
.apps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.app {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  min-height: 480px;
  border-radius: var(--r-xl);
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  --mx: 50%; --my: 50%;
}
.app::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(167, 139, 250, 0.16), transparent 45%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.app::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.55), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .5s var(--ease);
}
.app:hover::before, .app:hover::after { opacity: 1; }
.app__media { position: relative; flex: 1; display: grid; place-items: center; min-height: 240px; padding: 12px; }
.app__media img {
  width: min(78%, 340px); height: auto;
  mix-blend-mode: screen;
  transition: transform 1.1s var(--ease);
}
.app:hover .app__media img { transform: scale(1.06) rotate(-4deg) translateY(-6px); }
.app__body { padding: 0 32px 32px; }
.app h3 { margin-top: 18px; font-size: clamp(28px, 2.4vw, 36px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 500; }
.app p { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.5; max-width: 40ch; }
.app .app__tech { margin-top: 20px; color: var(--dim); font-size: 11px; }

.app--xl { grid-column: span 2; flex-direction: row; min-height: 520px; }
.app--xl .app__body { display: flex; flex-direction: column; justify-content: flex-end; flex: 1 1 46%; padding: 40px; }
.app--xl .app__media { flex: 1 1 54%; }
.app--xl .app__media img { width: min(88%, 440px); }
.app--xl h3 { font-size: clamp(34px, 3.6vw, 56px); }

.app--cta {
  background: transparent;
  border: 1px dashed var(--line-2);
  justify-content: space-between;
  transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
.app--cta:hover { border-color: transparent; background: var(--bg-2); }
.app--cta .app__body { padding-top: 32px; }
.app--cta h3 { font-size: clamp(34px, 3.4vw, 52px); }
.app--cta .link { margin-top: 24px; color: var(--text); }
.app__plus {
  position: relative; margin: 32px 32px 0; width: 64px; height: 64px; border-radius: 50%;
  background: var(--iris-conic);
  transition: transform .8s var(--ease);
}
.app__plus::before, .app__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 2px; margin: -1px 0 0 -11px; background: var(--ink); border-radius: 2px; }
.app__plus::after { transform: rotate(90deg); }
.app--cta:hover .app__plus { transform: rotate(90deg); }

/* Approach */
.approach { border-top: 1px solid var(--line); }
.loop { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.loop::before, .loop::after {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px;
}
.loop::before { background: var(--line-2); }
.loop::after { background: var(--iris); transform-origin: left; transform: scaleX(0); transition: transform 2.2s var(--ease-io) .2s; }
.loop.is-in::after { transform: scaleX(1); }
.loop__step { position: relative; padding-top: 48px; }
.loop__node {
  position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-2);
  transition: background .6s var(--ease), border-color .6s var(--ease), box-shadow .6s var(--ease);
}
.loop.is-in .loop__node { background: var(--text); border-color: var(--text); box-shadow: 0 0 0 6px rgba(167,139,250,.14); }
.loop.is-in .loop__step:nth-child(1) .loop__node { transition-delay: .2s; }
.loop.is-in .loop__step:nth-child(2) .loop__node { transition-delay: .8s; }
.loop.is-in .loop__step:nth-child(3) .loop__node { transition-delay: 1.4s; }
.loop.is-in .loop__step:nth-child(4) .loop__node { transition-delay: 2s; }
.loop__idx { color: var(--dim); }
.loop__step h3 { margin-top: 12px; font-size: clamp(28px, 2.6vw, 40px); letter-spacing: -0.04em; font-weight: 500; line-height: 1.05; }
.loop__step p { margin-top: 14px; color: var(--muted); font-size: 16px; max-width: 32ch; }

/* Publishing (light) */
.publishing {
  margin: 0 clamp(8px, 1vw, 16px);
  border-radius: clamp(28px, 3vw, 48px);
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}
.publishing::before {
  content: ""; position: absolute; right: -10%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: var(--iris-conic); filter: blur(120px); opacity: .28; pointer-events: none;
}
.publishing .wrap { position: relative; }
.publishing .label { color: var(--ink-muted); }
.publishing .label span { border-color: var(--paper-line); color: var(--ink); }
.publishing .section-head__aside { color: var(--ink-muted); }
.publishing ::selection { background: var(--ink); color: var(--paper); }
.pub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pub {
  display: flex; flex-direction: column;
  padding: 36px; min-height: 380px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--paper-line);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), background-color .6s var(--ease);
}
.pub:hover { transform: translateY(-6px); background: #fff; box-shadow: 0 30px 60px -30px rgba(11, 11, 14, 0.25); }
.pub__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); position: relative;
}
.pub__icon::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; padding: 2px; background: var(--iris-conic); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.pub__icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pub h3 { margin-top: auto; padding-top: 48px; font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -0.04em; font-weight: 500; line-height: 1.05; }
.pub p { margin-top: 14px; color: var(--ink-muted); }
.pub .link { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--paper-line); justify-content: space-between; }

/* Careers */
.careers__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: start; }
.careers__intro > .muted { margin-top: 28px; max-width: 42ch; font-size: 18px; }
.values { margin-top: 48px; display: grid; gap: 20px; }
.values li { position: relative; padding-left: 28px; color: var(--muted); max-width: 46ch; }
.values li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--iris-conic); }
.values b { color: var(--text); font-weight: 500; }
.roles { padding-top: 8px; }
.roles__title { color: var(--dim); padding-bottom: 16px; }
.role {
  position: relative;
  display: grid; grid-template-columns: 1fr auto 20px; align-items: center; gap: 20px;
  padding: 26px 0; border-top: 1px solid var(--line);
  transition: padding .5s var(--ease);
}
.role:last-of-type { border-bottom: 1px solid var(--line); }
.role::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(167,139,250,.1), transparent 70%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.role:hover { padding-left: 16px; }
.role:hover::before { opacity: 1; }
.role__name { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.03em; font-weight: 500; }
.role__meta { color: var(--dim); font-size: 11px; }
.roles__note { margin-top: 28px; color: var(--muted); font-size: 15px; }
.roles__note a { color: var(--text); border-bottom: 1px solid var(--line-2); transition: border-color .3s var(--ease); }
.roles__note a:hover { border-color: var(--text); }

/* Contact CTA */
.cta { position: relative; padding: clamp(120px, 16vw, 220px) 0; overflow: hidden; text-align: center; isolation: isolate; }
.cta__ring {
  position: absolute; left: 50%; top: 50%; z-index: -1;
  width: min(90vw, 980px); aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%;
  background: var(--iris-conic);
  -webkit-mask: radial-gradient(circle, transparent 57%, #000 58.5%, #000 60%, transparent 61.5%);
          mask: radial-gradient(circle, transparent 57%, #000 58.5%, #000 60%, transparent 61.5%);
  opacity: .75;
  animation: spin 30s linear infinite;
}
.cta__ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; filter: blur(24px); }
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__title {
  margin-top: 28px;
  font-size: clamp(56px, 11vw, 176px); line-height: .9; letter-spacing: -0.055em; font-weight: 500;
}
.cta__title .serif { font-size: 1.04em; }
.cta__mail {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 48px; padding: 18px 30px;
  border-radius: 999px; background: var(--text); color: var(--ink);
  font-size: clamp(18px, 2vw, 24px); font-weight: 500; letter-spacing: -0.02em;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.cta__mail:hover { background: #fff; }
.cta__mail .arrow { width: 22px; height: 22px; }
.cta__cols { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 56px; margin-top: 56px; }
.cta__cols p { display: flex; flex-direction: column; gap: 6px; }
.cta__cols .mono { color: var(--dim); }
.cta__cols a { color: var(--muted); transition: color .3s var(--ease); }
.cta__cols a:hover { color: var(--text); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-top: 64px; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__brand .muted { margin-top: 16px; }
.footer__nav { display: flex; gap: clamp(48px, 8vw, 120px); }
.footer__nav div { display: flex; flex-direction: column; gap: 10px; }
.footer__nav .mono { color: var(--dim); margin-bottom: 6px; }
.footer__nav a { color: var(--muted); transition: color .3s var(--ease); }
.footer__nav a:hover { color: var(--text); }
.footer__word {
  margin-top: clamp(40px, 6vw, 80px);
  font-size: clamp(120px, 29vw, 460px);
  font-weight: 600; letter-spacing: -0.075em; line-height: .74;
  text-align: center;
  background: linear-gradient(180deg, rgba(244,243,240,.14) 0%, rgba(244,243,240,0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
  margin-bottom: -0.05em;
}
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--line); color: var(--dim); position: relative; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
  .services__grid { grid-template-columns: 1fr; }
  .services__head { position: static; }
  .apps__grid { grid-template-columns: 1fr 1fr; }
  .app--xl { grid-column: span 2; }
  .loop { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .loop::before, .loop::after { display: none; }
  .loop__step { padding-top: 36px; border-top: 1px solid var(--line-2); }
  .loop__node { top: -8px; }
  .pub-grid { grid-template-columns: 1fr; }
  .pub { min-height: 0; }
  .pub h3 { padding-top: 36px; }
  .careers__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__inner { height: 64px; }
  .hero__content { padding-top: 45svh; padding-bottom: 20px; }
  .hero__row { flex-direction: column; align-items: flex-start; gap: 28px; margin-top: 28px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__foot { display: none; }
  .hero__shade { background: linear-gradient(0deg, var(--bg) 0%, rgba(7,7,10,.85) 38%, rgba(7,7,10,0) 62%); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .pillars { grid-template-columns: 1fr; gap: 32px; }
  .svc { grid-template-columns: 1fr; gap: 8px; padding: 32px 0; }
  .svc__num { padding-top: 0; }
  .stat { padding: 32px 0 32px 16px; }
  .stat:nth-child(odd) { padding-left: 0; padding-right: 12px; }
  .stat__num { font-size: clamp(44px, 13vw, 64px); }
  .stat__cap { font-size: 14px; margin-top: 14px; }
  .apps__grid { grid-template-columns: 1fr; }
  .app, .app--xl { grid-column: auto; flex-direction: column; min-height: 0; }
  .app--xl .app__body { padding: 0 28px 28px; order: 2; }
  .app--xl .app__media { order: 1; }
  .app__body { padding: 0 28px 28px; }
  .app__media { min-height: 0; padding: 20px 20px 0; }
  .app__media img, .app--xl .app__media img { width: min(70%, 300px); }
  .app--cta .app__plus { margin: 28px 28px 0; }
  .loop { grid-template-columns: 1fr; }
  .pub { padding: 28px; }
  .role { grid-template-columns: 1fr 20px; gap: 4px 16px; padding: 22px 0; }
  .role__meta { grid-row: 2; }
  .role .arrow { grid-row: 1 / span 2; grid-column: 2; }
  .cta__mail { padding: 16px 24px; }
  .cta__ring { width: 130vw; opacity: .5; }
  .footer__bottom { flex-direction: column; }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .ticker__track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
}
