/* aistudio.works: one look for every page, the look of pals.works (the Orbai Framer template the founder
   bought). A soft grey canvas (#f5f5f5), Satoshi for headings and Inter for text, section titles faded by a
   gradient, black and pillow buttons, the pill nav, the ripple behind the hero and the footer with its sphere
   masked away, things that come in as they scroll into view, a sentence revealed word by word and a
   progressive blur along the bottom of the screen. Kept clean on purpose: no cards inside cards; sections are
   type, pictures, plain columns and hairline rows. Light only. The emoji are Microsoft's Fluent 3D emoji
   (MIT); the tool icons and phone screens are the app's own. */

@font-face { font-family: "Satoshi"; src: url("/media/site/fonts/Satoshi-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/media/site/fonts/Satoshi-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/media/site/fonts/Satoshi-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/media/site/fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/media/site/fonts/Inter-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/media/site/fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --font: "Inter", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --head: "Satoshi", "Inter", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;

  --bg: #f5f5f5;
  --white: #fff;
  --ink: #000;
  --ink-2: rgba(0, 0, 0, 0.8);
  --ink-3: rgba(0, 0, 0, 0.55);
  --ink-4: rgba(0, 0, 0, 0.28);
  --line: rgba(0, 0, 0, 0.1);
  --chip: rgba(0, 0, 0, 0.06);
  --live: #22a55a;

  /* the template's shadows: a little lift for a pill, a dark pillow under the black button and a grey pillow
     under the light one */
  --sh-pill: 0 0.7px 0.7px -0.54px rgba(0, 0, 0, 0.1), 0 1.8px 1.8px -1.08px rgba(0, 0, 0, 0.09), 0 3.6px 3.6px -1.63px rgba(0, 0, 0, 0.09), 0 6.9px 6.9px -2.17px rgba(0, 0, 0, 0.09), 0 13.6px 13.6px -2.71px rgba(0, 0, 0, 0.07), 0 30px 30px -3.25px rgba(0, 0, 0, 0.03);
  --sh-card: 0 0.7px 0.7px -0.67px rgba(0, 0, 0, 0.08), 0 1.8px 1.8px -1.33px rgba(0, 0, 0, 0.08), 0 3.6px 3.6px -2px rgba(0, 0, 0, 0.07), 0 6.9px 6.9px -2.67px rgba(0, 0, 0, 0.07), 0 13.6px 13.6px -3.33px rgba(0, 0, 0, 0.05), 0 30px 30px -4px rgba(0, 0, 0, 0.02);
  --sh-ink: 0 0.6px 1.1px -1.25px rgba(61, 61, 61, 0.72), 0 2.3px 4.1px -2.5px rgba(61, 61, 61, 0.64), 0 10px 18px -3.75px rgba(61, 61, 61, 0.25), 0 0.7px 0.7px -0.58px rgba(0, 0, 0, 0.35);
  --sh-light: 0 0.7px 0.7px -0.58px rgba(158, 158, 158, 0.69), 0 1.8px 1.8px -1.17px rgba(158, 158, 158, 0.68), 0 3.6px 3.6px -1.75px rgba(158, 158, 158, 0.65), 0 6.9px 6.9px -2.33px rgba(158, 158, 158, 0.61), 0 13.6px 13.6px -2.92px rgba(158, 158, 158, 0.5), 0 30px 30px -3.5px rgba(158, 158, 158, 0.25);
  --sh-photo: 0 2px 4px rgba(0, 0, 0, 0.06), 0 12px 28px -6px rgba(0, 0, 0, 0.18);

  --wrap: 1120px;
  --read: 800px;
  --doc: 46rem;
  --gutter: 20px;
  --nav-h: 74px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/24px var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.read { width: min(100% - 2 * var(--gutter), var(--read)); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 99;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--white); text-decoration: none; font-size: 15px;
}
.skip:focus { top: 12px; }

/* the app icon: the dark glass tile with the record circle and the play triangle */
.icon { flex: none; width: 30px; height: 30px; border-radius: 23%; }
/* the mark alone, drawn in the ink colour */
.mark { width: auto; height: 100%; aspect-ratio: 668 / 662; fill: currentColor; }

/* a link's arrow */
.arw { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 26px; border: 0; border-radius: 999px;
  font: 500 14px/1 var(--font); letter-spacing: 0; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s;
}
.btn .arw { width: 16px; height: 16px; }
.btn-ink { background: var(--ink); color: var(--white); box-shadow: var(--sh-ink); }
.btn-ink:hover { background: #151515; transform: translateY(-1px); }
.btn-light { background: var(--bg); color: var(--ink); box-shadow: var(--sh-light); }
.btn-light:hover { transform: translateY(-1px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 13.5px; }
.btn:disabled { opacity: 0.55; cursor: progress; transform: none; }
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.btns.left { justify-content: flex-start; }

/* ---------- the nav ---------- */

.nav { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--nav-h); background: rgba(245, 245, 245, 0.2); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.nav-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(100% - 2 * var(--gutter), 1350px); height: 100%; margin-inline: auto; }
.nav-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.nav-logo .icon { width: 30px; height: 30px; box-shadow: var(--sh-pill); }
.nav-logo span { font: 700 19px/1 var(--head); letter-spacing: -0.02em; white-space: nowrap; }
.nav-links { position: absolute; left: 50%; top: 50%; display: flex; gap: 2px; padding: 2px; border-radius: 999px; background: rgba(255, 255, 255, 0.55); box-shadow: var(--sh-card); transform: translate(-50%, -50%); }
.nav-links a { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color 0.2s, box-shadow 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--white); box-shadow: var(--sh-pill); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-right .btn { height: 40px; padding: 0 18px; font-size: 13.5px; }
.nav-toggle { display: none; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav-toggle .ic-close, .nav.open .nav-toggle .ic-menu { display: none; }
.nav.open .nav-toggle .ic-close { display: block; }
.nav-links .nav-m { display: none; }
@media (max-width: 1060px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: calc(var(--nav-h) - 8px); z-index: 61;
    display: none; flex-direction: column; gap: 2px; padding: 8px; border-radius: 24px; transform: none;
    background: rgba(245, 245, 245, 0.98); box-shadow: var(--sh-card);
  }
  .nav-links a { height: 44px; }
  .nav.open .nav-links { display: flex; animation: drop 0.25s var(--ease); }
  html:not(.js) .nav-links { position: static; display: flex; flex-direction: row; flex-wrap: wrap; padding: 0; background: none; box-shadow: none; }
  html:not(.js) .nav-in { flex-wrap: wrap; height: auto; padding: 10px 0; }
  html:not(.js) .nav { height: auto; }
  html:not(.js) .nav-toggle { display: none; }
  .nav-links .nav-m { display: inline-flex; }
}
@media (max-width: 560px) {
  :root { --nav-h: 64px; }
  .nav-right { gap: 4px; }
  .nav-right .btn-ink { display: none; }
  .nav-right .btn { height: 36px; padding: 0 14px; font-size: 13px; }
  .nav-logo span { font-size: 18px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- the hero ---------- */

.hero { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 100svh; padding: calc(var(--nav-h) + 40px) var(--gutter) 64px; overflow: hidden; }
/* behind the hero and the footer: the template's ripple, inverted the way the template does it, with its
   sphere hidden under a pool of the canvas colour so only the rings around it remain. On phones the rings
   would not fit, so the video stays off and only the pool of light shows. */
.hero-bg, .foot-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 50% 52%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 70%); }
.bg-video { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.69) grayscale(1) invert(1); }
.hero-bg::after, .foot-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 24% 36% at 50% 58%, var(--bg) 58%, rgba(245, 245, 245, 0) 100%),
    linear-gradient(180deg, rgba(245, 245, 245, 0.35) 0%, rgba(245, 245, 245, 0) 26%, rgba(245, 245, 245, 0) 64%, var(--bg) 100%);
}
.foot-bg::after {
  background:
    radial-gradient(ellipse 24% 36% at 50% 58%, var(--bg) 58%, rgba(245, 245, 245, 0) 100%),
    linear-gradient(180deg, var(--bg) 0%, rgba(245, 245, 245, 0) 34%, rgba(245, 245, 245, 0) 70%, rgba(245, 245, 245, 0.7) 100%);
}
@media (max-width: 700px) { .bg-video { display: none; } }
.hero-in { width: min(100%, 980px); text-align: center; }
.hero-logo { display: flex; justify-content: center; color: var(--ink); }
.hero-logo .mark { height: clamp(72px, 7.5vw, 100px); }
.hero-logo .icon { width: clamp(84px, 8vw, 112px); height: auto; aspect-ratio: 1; box-shadow: var(--sh-photo); }
.hero-title {
  max-width: 12em; margin: 36px auto 0;
  font: 500 clamp(2.5rem, 1.2rem + 4.4vw, 4.75rem)/1.22 var(--head); letter-spacing: -0.025em; text-wrap: balance;
}
.hero-title.wide { max-width: 14em; }
.chip {
  display: inline; padding: 0.02em 0.3em 0.08em 0.14em; margin-inline: 0.03em;
  border-radius: 999px; background: var(--white); box-shadow: var(--sh-pill); white-space: nowrap;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.ce { display: inline-block; width: auto; height: 0.86em; margin-right: 0.08em; vertical-align: -0.1em; transform: rotate(-6deg); transition: transform 0.4s var(--ease); }
.chip:nth-of-type(2) .ce { transform: rotate(6deg); }
.chip:hover .ce { transform: rotate(0) scale(1.08); }
.hero-sub { max-width: 34em; margin: 26px auto 0; color: var(--ink-2); font-size: 17px; text-wrap: balance; }
.hero .btns { margin-top: 32px; }
.rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--ink-3); font-size: 14px; }
.stars { color: #f5a623; letter-spacing: 1px; font-size: 15px; }

/* ---------- sections ---------- */

.sec { padding-top: clamp(104px, 10vw, 148px); }
.sec-head { display: grid; justify-items: center; gap: 14px; width: min(100% - 2 * var(--gutter), 700px); margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.h2 {
  font: 500 clamp(2.125rem, 1.4rem + 2.6vw, 3.5rem)/1.2 var(--head); letter-spacing: -0.01em; text-wrap: balance;
  background: linear-gradient(0deg, #000 34%, #fff 124%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.sub { max-width: 540px; color: var(--ink-2); font-size: 16px; line-height: 24px; text-wrap: balance; }
.t3 { font: 500 21px/1.25 var(--head); letter-spacing: -0.01em; text-wrap: balance; }
.tx { margin-top: 8px; color: var(--ink-2); text-wrap: pretty; }
.muted { color: var(--ink-3); }
.note { width: min(100% - 2 * var(--gutter), var(--read)); margin: 36px auto 0; color: var(--ink-3); font-size: 14px; text-align: center; text-wrap: balance; }
.note a { color: var(--ink); }
.path { padding: 1px 6px; border-radius: 7px; background: var(--chip); color: var(--ink); font-size: 0.94em; }

/* one sentence, revealed word by word */
.quote { width: min(100% - 2 * var(--gutter), 780px); margin-inline: auto; text-align: center; font: 500 clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem)/1.4 var(--head); letter-spacing: -0.01em; text-wrap: balance; }
.quote-by { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 32px; color: var(--ink-3); font-size: 15px; }
.quote-by .icon { width: 36px; height: 36px; box-shadow: var(--sh-pill); }
.avatar { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--white); box-shadow: var(--sh-pill); color: var(--ink); }
.avatar .mark { height: 18px; }
/* the words: the ones that have come wear ink; the ones ahead wait soft and dim */
.rv .w { display: inline-block; color: rgba(0, 0, 0, 0.22); filter: blur(3px); transition: color 0.5s var(--ease), filter 0.5s var(--ease); }
.rv .w.on { color: var(--ink); filter: blur(0); }

/* plain columns: an emoji, a title, a line */
.who { margin-top: clamp(72px, 8vw, 112px); }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 56px; }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 40px; }
.cols .em { width: 40px; height: 40px; margin-bottom: 18px; }
@media (max-width: 1000px) { .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; } }
@media (max-width: 860px) { .cols:not(.cols-4) { grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 520px; } }
@media (max-width: 560px) { .cols-4 { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }

/* ---------- home · the phones ---------- */

.stage { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: clamp(16px, 3vw, 40px); width: min(100% - 2 * var(--gutter), 980px); margin: clamp(8px, 2vw, 24px) auto 0; }
.phone { position: relative; z-index: 2; width: clamp(220px, 26vw, 300px); height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.16)); }
.stage .clip { width: clamp(150px, 17vw, 196px); margin-bottom: clamp(24px, 5vw, 64px); }
.stage .clip:first-child { transform: rotate(-4deg); }
.stage .clip:last-child { transform: rotate(4deg); }
@media (max-width: 640px) {
  .stage { gap: 0; }
  .stage .clip { position: absolute; z-index: 1; bottom: 14%; width: 30%; margin: 0; }
  .stage .clip figcaption { display: none; }
  .stage .clip video { border-radius: 16px; }
  .stage .clip:first-child { left: 2%; }
  .stage .clip:last-child { right: 2%; }
  .phone { width: 56%; }
}

/* a template clip or picture: rounded, with its name under it */
.clip { display: grid; gap: 10px; text-align: center; }
.clip video, .clip img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; background: #222; box-shadow: var(--sh-photo); }
.clip figcaption { color: var(--ink-3); font-size: 13.5px; }

/* ---------- home · templates ---------- */

.loops { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 760px) { .loops { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.loops-3 { width: min(100% - 2 * var(--gutter), 860px); margin-top: clamp(48px, 6vw, 72px); grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
@media (max-width: 520px) { .loops-3 { gap: 10px; } .loops-3 .clip video { border-radius: 16px; } .loops-3 .clip figcaption { font-size: 12.5px; } }

/* the pictures drift by in two rows, the second one the other way */
.mq { margin-top: clamp(40px, 5vw, 64px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq + .mq { margin-top: 20px; }
.mq-track { display: flex; width: max-content; animation: drift 70s linear infinite; }
.mq.rev .mq-track { animation-direction: reverse; animation-duration: 80s; }
.mq:hover .mq-track { animation-play-state: paused; }
.mq figure { display: grid; flex: none; gap: 10px; width: clamp(150px, 15vw, 196px); margin-right: 18px; }
.mq img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; box-shadow: var(--sh-pill); }
.mq figcaption { color: var(--ink-3); font-size: 13.5px; text-align: center; }
@keyframes drift { to { transform: translateX(-50%); } }
.sets { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: clamp(32px, 4vw, 48px); }
.set { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--white); box-shadow: var(--sh-pill); font-size: 14px; font-weight: 500; }
.set img { width: 20px; height: 20px; }

/* ---------- home · models: two plain lists ---------- */

.models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 56px; }
.models h3 { padding-bottom: 14px; color: var(--ink-3); font: 500 14px/1 var(--font); letter-spacing: 0.02em; }
.models li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 15px 2px; border-top: 1px solid var(--line); }
.models li:last-child { border-bottom: 1px solid var(--line); }
.models b { font: 500 18px/1.3 var(--head); letter-spacing: -0.01em; }
.models small { flex: none; color: var(--ink-3); font-size: 14px; }
@media (max-width: 760px) { .models { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* ---------- home · tools: the app's own icons, like a home screen ---------- */

.tools { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 36px 20px; }
.tool { display: grid; justify-items: center; gap: 12px; text-align: center; }
.tool img { width: 72px; height: 72px; border-radius: 23%; box-shadow: var(--sh-pill); transition: transform 0.35s var(--ease); }
.tool:hover img { transform: translateY(-3px) rotate(-3deg); }
.tool b { font: 500 16px/1.25 var(--head); letter-spacing: -0.01em; }
.tool span { margin-top: -6px; color: var(--ink-3); font-size: 13.5px; line-height: 1.4; }
@media (max-width: 860px) { .tools { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tool img { width: 64px; height: 64px; } }
.sub-h { margin: clamp(64px, 7vw, 96px) auto 32px; text-align: center; }

/* ---------- our apps: one row each, hairlines between ---------- */

.rows > li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.rows > li:last-child { border-bottom: 1px solid var(--line); }
.app-icon { width: 72px; height: 72px; border-radius: 22.5%; box-shadow: var(--sh-pill); }
.app-meta { margin-top: 6px; color: var(--ink-3); font-size: 14px; }
.soon { color: var(--ink-3); font-size: 14px; white-space: nowrap; }
@media (max-width: 600px) {
  .rows > li { grid-template-columns: 56px minmax(0, 1fr); gap: 4px 18px; align-items: start; }
  .app-icon { width: 56px; height: 56px; }
  .rows > li > :last-child { grid-column: 2; justify-self: start; margin-top: 14px; }
}

/* ---------- the team: the drawing, the office, the way in ---------- */

picture { display: block; }
.kids { width: min(100% - 2 * var(--gutter), 1040px); height: auto; margin-inline: auto; }
@media (max-width: 600px) { .kids { width: min(100% - 2 * var(--gutter), 420px); } }
.offices { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px clamp(36px, 7vw, 72px); margin-top: clamp(32px, 4vw, 48px); padding-inline: var(--gutter); }
.office { display: flex; align-items: center; gap: 16px; }
.office img { width: 44px; height: 44px; }
.office .t3 { font-size: 24px; }
.office .muted { font-size: 15px; }
@media (max-width: 420px) { .office { gap: 12px; } .office img { width: 36px; height: 36px; } .office .t3 { font-size: 21px; } }
.hire { width: min(100% - 2 * var(--gutter), 620px); margin: clamp(64px, 7vw, 96px) auto 0; padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line); text-align: center; }
.hire .t3 { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); }
.hire .tx { margin-top: 12px; }
.live { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--ink-3); font-size: 14px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px rgba(34, 165, 90, 0.16); }
.live.plan i { background: var(--ink-4); box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06); }

/* ---------- link rows: legal documents, journal entries, open roles ---------- */

.docs > li > a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 24px 4px; text-decoration: none; }
.docs > li { border-top: 1px solid var(--line); }
.docs > li:last-child { border-bottom: 1px solid var(--line); }
.docs .tx { margin-top: 4px; color: var(--ink-3); font-size: 15px; }
.docs .tx.dark { color: var(--ink-2); }
.docs .meta { margin-bottom: 8px; color: var(--ink-3); font-size: 13.5px; }
.docs .arw { width: 20px; height: 20px; color: var(--ink-3); transition: transform 0.25s var(--ease), color 0.2s; }
.docs a:hover .arw { color: var(--ink); transform: translate(2px, -2px); }
.docs a:hover .t3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--chip); color: var(--ink-2); font-size: 12.5px; font-weight: 500; }

/* ---------- three plain steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 56px; }
.step-n { display: block; margin-bottom: 14px; color: var(--ink-4); font: 500 40px/1 var(--head); letter-spacing: -0.02em; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; max-width: 520px; } }

/* ---------- questions ---------- */

.faq { margin-top: clamp(64px, 7vw, 96px); }
.faq.first { margin-top: 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); stroke: var(--ink); }
.faq summary:focus-visible { outline-offset: 2px; }
.faq details p { padding: 0 4px 22px; color: var(--ink-2); font-size: 15.5px; line-height: 24px; text-wrap: pretty; }
.faq details p a { color: var(--ink); overflow-wrap: anywhere; }

/* ---------- the Lab: one row per program ---------- */

.progs > li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px 40px; padding: 36px 0; border-top: 1px solid var(--line); }
.progs > li:last-child { border-bottom: 1px solid var(--line); }
.progs .step-n { margin: 0; }
.progs .live { margin: 12px 0 0; }
.progs .tx + .tx { margin-top: 12px; }
.focus { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.progs .plan-note { grid-column: 1 / -1; padding: 4px 0; color: var(--ink-3); font-size: 15px; }
@media (max-width: 700px) { .progs > li { grid-template-columns: minmax(0, 1fr); gap: 10px; } }

/* ---------- the long-form pages: legal, journal, roles ---------- */

.page { padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 72px)); }
.page-head { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; text-align: center; }
.crumb { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 22px; color: var(--ink-3); font-size: 14px; text-decoration: none; }
.crumb:hover { color: var(--ink); }
.crumb .arw { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.crumb:hover .arw { transform: translateX(-2px); }
.kicker { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; margin-bottom: 18px; color: var(--ink-3); font-size: 14px; }
.kicker .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-4); }
.page-title {
  font: 500 clamp(2.125rem, 1.4rem + 2.6vw, 3.5rem)/1.15 var(--head); letter-spacing: -0.015em; text-wrap: balance;
  background: linear-gradient(0deg, #000 45%, #777 130%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.lede { max-width: 36em; margin: 20px auto 0; color: var(--ink-2); font-size: 17px; line-height: 1.6; text-wrap: balance; }
.page-head .btns { margin-top: 28px; }

.doc { width: min(100% - 2 * var(--gutter), var(--doc)); margin: clamp(40px, 5vw, 64px) auto 0; }
.doc-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; width: min(100% - 2 * var(--gutter), var(--doc)); margin: clamp(40px, 5vw, 64px) auto 0; }
.doc-layout .doc { width: auto; min-width: 0; margin: 0; }
.toc { border-radius: 20px; background: var(--white); box-shadow: var(--sh-card); font-size: 15px; }
.toc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 0 22px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: translateY(-2px) rotate(45deg); transition: transform 0.25s var(--ease); }
.toc[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.toc ol { display: grid; gap: 2px; padding: 0 22px 18px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 8px; padding: 5px 0; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.toc a::before { content: counter(toc) "."; flex: none; min-width: 1.4em; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
@media (min-width: 760px) { .toc ol { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
@media (min-width: 1180px) {
  .doc-layout { grid-template-columns: 240px minmax(0, var(--doc)); justify-content: center; gap: 72px; width: min(100% - 2 * var(--gutter), 1160px); }
  .toc-nav { position: sticky; top: calc(var(--nav-h) + 16px); align-self: start; max-height: calc(100vh - var(--nav-h) - 32px); overflow: auto; }
  .toc { background: none; box-shadow: none; }
  .toc summary { min-height: 0; padding: 4px 0 10px; font-size: 13px; color: var(--ink-3); cursor: default; }
  .toc summary::after { display: none; }
  .toc ol { grid-template-columns: 1fr; padding: 0; }
  .toc a { font-size: 14px; }
  .doc-head { display: grid; grid-template-columns: 240px minmax(0, var(--doc)); justify-content: center; column-gap: 72px; width: min(100% - 2 * var(--gutter), 1160px); text-align: left; }
  .doc-head > * { grid-column: 2; }
  .doc-head .kicker { justify-content: flex-start; }
}

.prose { font-size: 1.0625rem; line-height: 1.7; color: var(--ink-2); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 2.4em; color: var(--ink); font: 500 1.6rem/1.25 var(--head); letter-spacing: -0.01em; text-wrap: balance; scroll-margin-top: calc(var(--nav-h) + 16px); }
.prose h3 { margin-top: 1.9em; color: var(--ink); font: 600 1.125rem/1.35 var(--font); letter-spacing: -0.01em; scroll-margin-top: calc(var(--nav-h) + 16px); }
.prose > :first-child { margin-top: 0; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose ul, .prose ol:not(.toc ol) { padding-left: 1.25em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose ul ul { margin-top: 0.4em; list-style: circle; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--ink-4); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: italic; }
.prose a { color: var(--ink); overflow-wrap: anywhere; }
.prose a.btn { text-decoration: none; overflow-wrap: normal; }
.prose a.btn-ink { color: var(--white); }
.prose cite { display: block; margin-top: 12px; color: var(--ink-3); font: 400 14px/1.4 var(--font); font-style: normal; }
.prose code { padding: 1px 6px; border-radius: 6px; background: var(--chip); font-size: 0.9em; }
.prose blockquote { padding: 4px 0 4px 22px; border-left: 2px solid var(--ink); color: var(--ink); font: 500 1.2rem/1.5 var(--head); letter-spacing: -0.005em; }
.prose blockquote p + p { margin-top: 0.6em; }
.prose hr { height: 1px; margin: 2.4em 0; border: 0; background: var(--line); }
.tbl { overflow-x: auto; margin-inline: -4px; padding-inline: 4px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.94rem; line-height: 1.5; }
.prose th, .prose td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; border-bottom-color: rgba(0, 0, 0, 0.18); }
.prose td:first-child { color: var(--ink); }

/* a call to action inside a story: one soft panel, nothing nested in it */
.callout { padding: 26px 28px; border-radius: 22px; background: var(--white); box-shadow: var(--sh-card); color: var(--ink-2); }
.prose .callout { margin-block: 2em; }
.callout-k { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--ink-3); font-size: 13.5px; font-weight: 500; }
.callout-k img { width: 20px; height: 20px; }
.callout p + p { margin-top: 0.6em; }
.callout .btns { margin-top: 18px; }
.callout ul { margin-top: 0.8em; }

/* the role facts under a role's title */
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }

/* ---------- the application form ---------- */

.apply { width: min(100% - 2 * var(--gutter), var(--doc)); margin: clamp(72px, 8vw, 104px) auto 0; padding-top: clamp(48px, 6vw, 64px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 16px); }
.apply-h { font: 500 clamp(1.75rem, 1.3rem + 1.4vw, 2.375rem)/1.2 var(--head); letter-spacing: -0.015em; }
.apply-sub { margin-top: 10px; color: var(--ink-3); }
.apply-form { display: grid; gap: 18px; margin-top: 32px; }
.f-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 640px) { .f-grid { grid-template-columns: minmax(0, 1fr); } }
.f { display: grid; gap: 8px; min-width: 0; }
.f > span { color: var(--ink-2); font-size: 14px; font-weight: 500; }
.f small { margin-left: 6px; color: var(--ink-3); font-weight: 400; }
.f input, .f textarea {
  width: 100%; min-width: 0; padding: 13px 16px; border: 1px solid transparent; border-radius: 14px;
  background: var(--white); box-shadow: var(--sh-pill); font-size: 15px; line-height: 1.4; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.f textarea { resize: vertical; min-height: 128px; }
.f input::placeholder, .f textarea::placeholder { color: var(--ink-4); }
.f input:focus, .f textarea:focus { border-color: var(--ink); }
.f-file { position: relative; }
.f-file input[type="file"] { position: absolute; inset: auto 0 0; width: 100%; height: 50px; opacity: 0; cursor: pointer; }
.f-filebox { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 50px; padding: 0 6px 0 16px; border-radius: 14px; background: var(--white); box-shadow: var(--sh-pill); font-size: 15px; pointer-events: none; }
.f-filename { overflow: hidden; color: var(--ink-3); text-overflow: ellipsis; white-space: nowrap; }
.f-filebtn { flex: none; display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 500; }
.f-file:focus-within .f-filebox { outline: 2px solid var(--ink); outline-offset: 2px; }
.f-check { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; cursor: pointer; }
.f-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #000; }
.f-check a { color: var(--ink); }
.f-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.f-status { color: var(--ink-3); font-size: 14.5px; }
.f-status.err { color: #c62828; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.apply-done { margin-top: 32px; padding: 32px; border-radius: 22px; background: var(--white); box-shadow: var(--sh-card); text-align: center; }
.apply-done .t3 { margin-top: 6px; font-size: 26px; }
.apply-done p { margin-top: 10px; color: var(--ink-2); }

/* ---------- the footer: the hero again, quieter ---------- */

.foot { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 680px; margin-top: clamp(104px, 10vw, 148px); padding: 96px var(--gutter) 72px; overflow: hidden; text-align: center; }
.foot-in { width: min(100%, 760px); }
.foot-logo { display: flex; justify-content: center; color: var(--ink); }
.foot-logo .mark { height: clamp(60px, 6.5vw, 84px); }
.foot-logo .icon { width: clamp(68px, 6.5vw, 88px); height: auto; aspect-ratio: 1; box-shadow: var(--sh-photo); }
.foot-h { margin-top: 26px; font: 500 clamp(1.75rem, 1.2rem + 2vw, 2.75rem)/1.2 var(--head); letter-spacing: -0.02em; text-wrap: balance; }
.foot-line { max-width: 30em; margin: 14px auto 0; color: var(--ink-2); text-wrap: balance; }
.foot .btns { margin-top: 28px; }
.addr { display: grid; gap: 4px; margin-top: 32px; color: var(--ink-3); font-size: 14px; font-style: normal; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 28px; margin-top: 36px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; text-underline-offset: 4px; }
.foot-copy { margin-top: 24px; color: var(--ink-2); font-size: 14px; }

/* ---------- the blur along the bottom of the screen: eight layers, each twice as soft, each masked to its band ---------- */

.blur-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: 100px; pointer-events: none; }
.blur-bottom i { position: absolute; inset: 0; }
.blur-bottom i:nth-child(1) { z-index: 1; -webkit-backdrop-filter: blur(0.055px); backdrop-filter: blur(0.055px); -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0) 0%, #000 12.5%, #000 25%, rgba(0, 0, 0, 0) 37.5%); mask-image: linear-gradient(rgba(0, 0, 0, 0) 0%, #000 12.5%, #000 25%, rgba(0, 0, 0, 0) 37.5%); }
.blur-bottom i:nth-child(2) { z-index: 2; -webkit-backdrop-filter: blur(0.11px); backdrop-filter: blur(0.11px); -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0) 12.5%, #000 25%, #000 37.5%, rgba(0, 0, 0, 0) 50%); mask-image: linear-gradient(rgba(0, 0, 0, 0) 12.5%, #000 25%, #000 37.5%, rgba(0, 0, 0, 0) 50%); }
.blur-bottom i:nth-child(3) { z-index: 3; -webkit-backdrop-filter: blur(0.22px); backdrop-filter: blur(0.22px); -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0) 25%, #000 37.5%, #000 50%, rgba(0, 0, 0, 0) 62.5%); mask-image: linear-gradient(rgba(0, 0, 0, 0) 25%, #000 37.5%, #000 50%, rgba(0, 0, 0, 0) 62.5%); }
.blur-bottom i:nth-child(4) { z-index: 4; -webkit-backdrop-filter: blur(0.44px); backdrop-filter: blur(0.44px); -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0) 37.5%, #000 50%, #000 62.5%, rgba(0, 0, 0, 0) 75%); mask-image: linear-gradient(rgba(0, 0, 0, 0) 37.5%, #000 50%, #000 62.5%, rgba(0, 0, 0, 0) 75%); }
.blur-bottom i:nth-child(5) { z-index: 5; -webkit-backdrop-filter: blur(0.875px); backdrop-filter: blur(0.875px); -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0) 50%, #000 62.5%, #000 75%, rgba(0, 0, 0, 0) 87.5%); mask-image: linear-gradient(rgba(0, 0, 0, 0) 50%, #000 62.5%, #000 75%, rgba(0, 0, 0, 0) 87.5%); }
.blur-bottom i:nth-child(6) { z-index: 6; -webkit-backdrop-filter: blur(1.75px); backdrop-filter: blur(1.75px); -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0) 62.5%, #000 75%, #000 87.5%, rgba(0, 0, 0, 0) 100%); mask-image: linear-gradient(rgba(0, 0, 0, 0) 62.5%, #000 75%, #000 87.5%, rgba(0, 0, 0, 0) 100%); }
.blur-bottom i:nth-child(7) { z-index: 7; -webkit-backdrop-filter: blur(3.5px); backdrop-filter: blur(3.5px); -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0) 75%, #000 87.5%, #000 100%); mask-image: linear-gradient(rgba(0, 0, 0, 0) 75%, #000 87.5%, #000 100%); }
.blur-bottom i:nth-child(8) { z-index: 8; -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0) 87.5%, #000 100%); mask-image: linear-gradient(rgba(0, 0, 0, 0) 87.5%, #000 100%); }

/* ---------- motion: things come up as they scroll into view ---------- */

.js [data-ap] { opacity: 0; transform: translateY(56px); transition: opacity 0.8s var(--ease), transform 1s var(--ease); will-change: transform, opacity; }
.js [data-ap="fade"] { transform: none; }
.js [data-ap].in { opacity: 1; transform: none; }
.js .stage .clip[data-ap].in:first-child { transform: rotate(-4deg); }
.js .stage .clip[data-ap].in:last-child { transform: rotate(4deg); }
.stagger > :nth-child(2) { transition-delay: 0.1s; }
.stagger > :nth-child(3) { transition-delay: 0.2s; }
.stagger > :nth-child(4) { transition-delay: 0.3s; }
.stagger > :nth-child(5) { transition-delay: 0.4s; }

/* ---------- print and motion preferences ---------- */

@media print {
  .js [data-ap] { opacity: 1; transform: none; }
  .rv .w { color: var(--ink); filter: none; }
  .nav, .blur-bottom, .bg-video, .foot-bg, .toc-nav { display: none; }
  .page { padding-top: 0; }
  .page-title, .h2 { background: none; color: var(--ink); -webkit-text-fill-color: currentColor; }
}
@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; }
  .js [data-ap] { opacity: 1; transform: none; }
  .rv .w { color: var(--ink); filter: none; }
  .mq { overflow-x: auto; }
}
