@view-transition { navigation: auto; }

:root {
  --bg: #08090b;
  --ink: #efebe4;
  --mute: #96928b;
  --line: rgba(239, 235, 228, .09);
  --gold: #e9b96e;
  --teal: #62d6cb;
  --violet: #8b7cff;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
::selection { background: var(--gold); color: #111; }
a { color: inherit; }
img { display: block; }
main { position: relative; }

/* ---------- ambient layers ---------- */
.aurora { position: fixed; inset: -20vmax; z-index: -3; pointer-events: none; filter: blur(90px); opacity: .5; }
.aurora i { position: absolute; width: 55vmax; height: 55vmax; border-radius: 50%; mix-blend-mode: screen;
  animation: drift 30s var(--ease-io) infinite alternate; will-change: transform; }
.aurora i:nth-child(1) { left: 12%; top: 2%; background: radial-gradient(circle, rgba(233, 185, 110, .34), transparent 62%); }
.aurora i:nth-child(2) { right: 4%; top: 32%; background: radial-gradient(circle, rgba(98, 214, 203, .24), transparent 62%);
  animation-duration: 36s; animation-delay: -9s; }
.aurora i:nth-child(3) { left: 32%; bottom: -8%; background: radial-gradient(circle, rgba(139, 124, 255, .18), transparent 62%);
  animation-duration: 42s; animation-delay: -18s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(8vmax, -6vmax, 0) scale(1.15); }
  100% { transform: translate3d(-6vmax, 5vmax, 0) scale(.95); }
}
#flow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; opacity: .9; }
.grain { position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 60; view-transition-name: top; transition: transform .7s var(--ease); }
.top.hide { transform: translateY(-120%); }
.bar { margin: 14px auto 0; max-width: var(--max); width: calc(100% - 28px); display: flex; align-items: center; gap: 16px;
  padding: 8px 8px 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(12, 13, 16, .5); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 18px;
  letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 8px; transition: transform .8s var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.08); }
nav { margin-left: auto; display: flex; align-items: center; gap: 2px; position: relative; }
nav .l { position: relative; z-index: 1; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 14px;
  color: var(--mute); transition: color .4s var(--ease); }
nav .l:hover, nav .l[aria-current] { color: var(--ink); }
nav .pill { position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: 999px; background: rgba(255, 255, 255, .08);
  opacity: 0; transition: transform .6s var(--ease), width .6s var(--ease), opacity .4s; pointer-events: none; }
nav .btn { margin-left: 8px; }
@media (max-width: 560px) {
  .top .brand span { display: none; }
  nav .l { padding: 8px 10px; }
}

/* ---------- buttons ---------- */
.mag { --x: 0px; --y: 0px; transform: translate3d(var(--x), var(--y), 0); transition: transform .6s var(--ease), box-shadow .6s var(--ease), background .4s, color .4s, border-color .4s; }
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px;
  background: var(--ink); color: #0b0b0c; text-decoration: none; font-weight: 600; font-size: 15px; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(233, 185, 110, .9) 50%, transparent 75%);
  transform: translateX(-130%); transition: transform 1s var(--ease); }
.btn:hover::after { transform: translateX(130%); }
.btn:hover { box-shadow: 0 14px 44px -12px rgba(233, 185, 110, .65); }
.btn svg { transition: transform .6s var(--ease); }
.btn:hover svg, .ghost:hover svg { transform: translateX(4px); }
.btn.sm { padding: 9px 16px; font-size: 13px; }
.ghost { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line);
  text-decoration: none; font-size: 15px; color: var(--ink); background: rgba(255, 255, 255, .02); }
.ghost:hover { border-color: rgba(239, 235, 228, .35); background: rgba(255, 255, 255, .05); }
.ghost svg { transition: transform .6s var(--ease); }

/* ---------- type ---------- */
.kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0; font-size: 12px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--mute); }
.kicker::before { content: ""; width: 30px; height: 1px; background: linear-gradient(90deg, var(--gold), var(--teal)); }
.display { margin: 22px 0 26px; font-family: var(--serif); font-weight: 300; font-size: clamp(54px, 12.5vw, 196px);
  line-height: .9; letter-spacing: -.05em; font-variation-settings: "opsz" 144, "SOFT" 60; }
.display.sm { font-size: clamp(64px, 14vw, 200px); }
.wd { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; transition: font-variation-settings .5s var(--ease); }
.display em, .endcard em { font-style: italic; }
.display em .ch, .endcard em .ch {
  background: linear-gradient(90deg, var(--gold), #f6dcab 45%, var(--teal));
  background-size: calc(var(--n) * 100%) 100%;
  background-position: calc(var(--j) / (var(--n) - 1) * 100%) 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.js .ch { opacity: 0; transform: translate3d(0, .55em, 0) rotate(7deg); filter: blur(14px);
  animation: rise 1.4s var(--ease) forwards; animation-delay: calc(var(--i) * 42ms + 120ms); }
.js .rv .ch { animation-play-state: paused; }
.js .rv.in .ch { animation-play-state: running; }
@keyframes rise { to { opacity: 1; transform: none; filter: blur(0); } }
.tag { max-width: 620px; margin: 0 auto; font-size: clamp(17px, 1.6vw, 20px); color: #c8c3bb; }
.js .tag .w { display: inline-block; opacity: 0; transform: translate3d(0, 14px, 0); filter: blur(6px);
  animation: rise 1.1s var(--ease) forwards; animation-delay: calc(var(--b) + var(--i) * 26ms); }
.js .in-load { opacity: 0; transform: translate3d(0, 18px, 0); animation: rise 1.2s var(--ease) forwards; animation-delay: .5s; }
.js .actions.in-load { animation-delay: 1.5s; }
.js .chips.in-load, .js .subtitle.in-load { animation-delay: .7s; }
.js .meta.in-load { animation-delay: .9s; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 130px 20px 110px; }
.hero-inner { will-change: transform, opacity; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.cue { position: absolute; left: 50%; bottom: 34px; width: 1px; height: 64px; background: var(--line); overflow: hidden; }
.cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: linear-gradient(var(--gold), var(--teal));
  animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { to { top: 110%; } }

/* ---------- sections + cards ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 130px 24px; }
.section.tight { padding-top: 30px; padding-bottom: 60px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 44px; }
.section-head h2 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(42px, 6.4vw, 92px);
  line-height: .95; letter-spacing: -.04em; }
.section .kicker { margin-bottom: 22px; }
.cards { display: grid; gap: 14px; }
.card { --mx: 50%; --my: 50%; position: relative; display: grid; grid-template-columns: 64px 1fr auto; gap: 26px;
  align-items: center; padding: 32px; border-radius: 24px; border: 1px solid var(--line); background: rgba(255, 255, 255, .018);
  text-decoration: none; overflow: hidden; isolation: isolate;
  transition: transform .8s var(--ease), border-color .6s var(--ease), background .6s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .6s var(--ease);
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(233, 185, 110, .13), transparent 42%); }
.card[data-cat="Agentic Workspaces"]::before { background: radial-gradient(520px circle at var(--mx) var(--my), rgba(98, 214, 203, .13), transparent 42%); }
.card:hover::before { opacity: 1; }
.card:hover { border-color: rgba(239, 235, 228, .2); background: rgba(255, 255, 255, .03); transform: translate3d(0, -4px, 0); }
.card[hidden] { display: none; }
.card .no { align-self: start; padding-top: 6px; font-family: var(--serif); font-size: 15px; color: var(--mute); font-variant-numeric: tabular-nums; }
.card h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(23px, 2.7vw, 34px); line-height: 1.12;
  letter-spacing: -.025em; width: fit-content; }
.card .body p { margin: 0; color: var(--mute); max-width: 60ch; }
.card .meta { margin-top: 16px; }
.arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center;
  transition: transform .8s var(--ease), background .5s var(--ease), color .5s, border-color .5s; }
.card:hover .arrow { background: var(--ink); color: #0b0b0c; border-color: var(--ink); transform: rotate(-45deg); }
.meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--mute); }
.meta.center { justify-content: center; margin-top: 26px; }
.tagc { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--gold); }
.tagc[data-c="Agentic Workspaces"] { color: var(--teal); }
@media (max-width: 680px) {
  .card { grid-template-columns: 1fr; padding: 24px; gap: 0; }
  .card .no, .card .arrow { display: none; }
  .section { padding: 90px 18px; }
}

/* ---------- statement (scroll-lit words) ---------- */
.statement { max-width: 1000px; margin: 0 auto; padding: 40px 24px 150px; }
.lit { margin: 26px 0 40px; font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 4.2vw, 56px); line-height: 1.18;
  letter-spacing: -.025em; }
.js .lit .sw { color: rgba(239, 235, 228, .14); transition: color .5s var(--ease); }
.js .lit .sw.on { color: var(--ink); }

/* ---------- blog head + chips ---------- */
.page-head { max-width: var(--max); margin: 0 auto; padding: 170px 24px 30px; }
.page-head .display { margin: 18px 0 34px; }
.chips { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.chip { position: relative; z-index: 1; padding: 9px 16px; border: 0; border-radius: 999px; background: none; color: var(--mute);
  font: 500 14px var(--sans); cursor: pointer; transition: color .45s var(--ease); }
.chip.on, .chip:hover { color: var(--ink); }
.chip.on { color: #0b0b0c; }
.chip-pill { position: absolute; top: 5px; left: 0; height: calc(100% - 10px); width: 0; border-radius: 999px; background: var(--ink);
  transition: transform .7s var(--ease), width .7s var(--ease); }
.no-js-pill .chip.on { background: var(--ink); }

/* ---------- article ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 70; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold), var(--teal)); pointer-events: none; }
body:not(.reading) .progress { display: none; }
.article-head { max-width: 980px; margin: 0 auto; padding: 180px 24px 30px; text-align: center; }
.article-head h1 { margin: 22px auto 24px; font-family: var(--serif); font-weight: 300; font-size: clamp(42px, 6.6vw, 94px);
  line-height: 1.02; letter-spacing: -.04em; width: fit-content; max-width: 100%; text-wrap: balance;
  font-variation-settings: "opsz" 144; }
.js .article-head h1 { animation: headin 1.3s var(--ease) both .15s; }
@keyframes headin { from { opacity: 0; transform: translate3d(0, 30px, 0); filter: blur(10px); } }
.subtitle { max-width: 640px; margin: 0 auto; font-size: clamp(18px, 2vw, 22px); color: #b9b4ab; text-wrap: balance; }
.prose { max-width: 700px; margin: 0 auto; padding: 50px 24px 30px; font-family: var(--serif); font-size: 20px; line-height: 1.74;
  font-weight: 350; font-variation-settings: "opsz" 16; color: #e3dfd8; }
.prose > p:first-child { font-size: 23px; line-height: 1.6; color: var(--ink); }
.prose p { margin: 0 0 1.35em; }
.prose h2, .prose h3 { margin: 2.1em 0 .6em; font-weight: 400; line-height: 1.15; letter-spacing: -.025em; color: var(--ink);
  font-variation-settings: "opsz" 72; }
.prose h2 { font-size: clamp(28px, 3.4vw, 38px); }
.prose h3 { font-size: 26px; }
.prose strong { font-weight: 600; color: #fff; }
.prose a { color: var(--ink); text-decoration: none; background: linear-gradient(90deg, var(--gold), var(--teal)) 0 100% / 100% 1px no-repeat;
  transition: background-size .6s var(--ease), color .4s; padding-bottom: 1px; }
.prose a:hover { background-size: 100% 100%; color: #0b0b0c; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.35em; }
.prose li { margin: .45em 0; }
.prose li::marker { color: var(--gold); }
.prose blockquote { margin: 1.8em 0; padding-left: 24px; border-left: 2px solid var(--gold); font-style: italic; color: #d6d1c8; }
.prose figure { margin: 2.4em -48px; }
.prose img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); }
.video { position: relative; aspect-ratio: 16 / 9; margin: 2.4em -48px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 800px) { .prose figure, .video { margin-inline: 0; } .prose { font-size: 19px; } .prose > p:first-child { font-size: 21px; } }
.origin { margin-top: 3em !important; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 15px; }

/* ---------- end card ---------- */
.endcard { position: relative; max-width: 760px; margin: 40px auto 140px; padding: 64px 28px; border-radius: 28px; text-align: center;
  border: 1px solid var(--line); overflow: hidden; isolation: isolate; width: calc(100% - 36px); }
.endcard .glow { position: absolute; inset: -40%; z-index: -1; opacity: .7;
  background: conic-gradient(from 0deg, rgba(233, 185, 110, .22), rgba(98, 214, 203, .14), rgba(139, 124, 255, .12), rgba(233, 185, 110, .22));
  filter: blur(60px); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.endcard h2 { margin: 18px 0 30px; font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 8vw, 104px); line-height: .95; letter-spacing: -.045em; }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translate3d(0, 46px, 0); filter: blur(8px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; filter: none; }
.js .card.rv.in { transition: opacity 1.2s var(--ease) var(--d, 0ms), transform .8s var(--ease), filter 1.2s var(--ease) var(--d, 0ms),
  border-color .6s var(--ease), background .6s var(--ease); }
.js .prose > .pr { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .prose > .pr.in { opacity: 1; transform: none; }

/* ---------- footer ---------- */
footer { position: relative; padding: 34px 24px; border-top: 1px solid var(--line); overflow: hidden; }
.foot { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 13px; color: var(--mute); }
.foot p { margin: 0; }
.foot a { text-decoration: none; color: var(--ink); }

/* ---------- cursor ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none; border-radius: 50%; opacity: 0;
  mix-blend-mode: difference; will-change: transform; }
.cursor { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid #fff;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .4s, opacity .4s; }
.cursor.hov { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: #fff; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; transition: opacity .4s; }
.has-cursor .cursor, .has-cursor .cursor-dot { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ---------- page transitions ---------- */
::view-transition-old(root) { animation: vt-out .55s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .9s var(--ease) both; }
::view-transition-group(*) { animation-duration: .9s; animation-timing-function: var(--ease); }
html[data-vt="filter"]::view-transition-old(root), html[data-vt="filter"]::view-transition-new(root) { animation: none; }
@keyframes vt-out { to { opacity: 0; transform: translate3d(0, -28px, 0) scale(.985); filter: blur(8px); } }
@keyframes vt-in { from { opacity: 0; transform: translate3d(0, 46px, 0); filter: blur(10px); } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .ch, .js .tag .w, .js .in-load, .js .rv, .js .prose > .pr { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .lit .sw { color: var(--ink); }
  #flow, .cursor, .cursor-dot { display: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ---------- small screens ---------- */
@media (max-width: 560px) {
  .kicker { gap: 8px; font-size: 10px; letter-spacing: .18em; white-space: nowrap; }
  .kicker::before { width: 18px; }
  .display { font-size: 16.5vw; }
  .chips { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { padding: 8px 12px; font-size: 13px; white-space: nowrap; }
  .page-head { padding-top: 140px; }
  .article-head { padding-top: 140px; }
}
.foot .brand { font-size: 15px; color: var(--ink); }
.foot .brand img { width: 24px; height: 24px; border-radius: 6px; }
