/* Ada's site. Pearl paper, graphite ink, Ada's mint and amber; Fraunces for
   the voice (as in the film), Inter for the words (as in Ada), Courier Prime
   for the film's time stamps. */

@font-face { font-family: Fraunces; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/fonts/fraunces.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Fraunces; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/fonts/fraunces-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Fraunces; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url(/fonts/fraunces-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Fraunces; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url(/fonts/fraunces-italic-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/inter.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/inter-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Courier Prime"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/fonts/courier-prime-700.woff2) format("woff2"); }

:root {
  --pearl: #f4f0e8;
  --pearl-2: #ebe5da;
  --paper: #fdfbf7;
  --ink: #23211e;
  --ink-2: #55514a;
  --ink-3: #87827a;
  --mint: #83d9c8;
  --mint-ink: #1f7a69;
  --amber: #e9841a;
  --night: #16130f;
  --night-2: #221d18;
  --night-ink: #f1ebe1;
  --night-ink-2: #b9b0a3;
  --mark-floor: #e9e3d8;

  --serif: Fraunces, "Iowan Old Style", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --stamp: "Courier Prime", ui-monospace, "Courier New", monospace;

  --gutter: clamp(16px, 4.5vw, 40px);
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow-screen: 0 2px 4px rgba(35, 25, 15, .06), 0 24px 48px -16px rgba(35, 25, 15, .28), 0 60px 120px -40px rgba(35, 25, 15, .30);
  --shadow-paper: 0 1px 2px rgba(40, 28, 16, .12), 0 10px 24px -8px rgba(40, 28, 16, .28);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--pearl); color: var(--ink);
  font: 400 1.0625rem/1.55 var(--sans);
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
img, video, svg, picture { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, p, figure, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: rgba(131, 217, 200, .55); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.defs { position: absolute; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--pearl); font-weight: 600; text-decoration: none; transition: top .2s var(--ease); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Type */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; color: var(--ink); text-wrap: balance; }
h1 {
  font-size: clamp(2.9rem, 1rem + min(6.2vw, 9.4vh), 7rem); line-height: .97; letter-spacing: -.028em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
h1 em, h2 em, .closer em { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100; }
h2 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.4rem); line-height: 1.02; letter-spacing: -.022em; font-variation-settings: "opsz" 144, "SOFT" 30; }
h3 { font-size: clamp(1.65rem, 1.25rem + 1.4vw, 2.3rem); line-height: 1.08; letter-spacing: -.015em; font-variation-settings: "opsz" 96, "SOFT" 30; font-weight: 420; }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.125rem, 1.02rem + .45vw, 1.35rem); line-height: 1.5; color: var(--ink-2); max-width: 40em; }
.eyebrow { font: 600 .8125rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--mint-ink); margin-bottom: 18px; }
.section-head { max-width: 780px; margin-bottom: clamp(48px, 7vw, 96px); }
.section-head .lead { margin-top: 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: #fbf8f2; font: 600 .975rem/1 var(--sans); letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s var(--ease);
}
.btn:hover { background: #000; transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .45); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-small { height: 38px; padding: 0 16px; font-size: .875rem; }
.btn-quiet { background: rgba(35, 33, 30, .08); color: var(--ink); }
.btn-quiet:hover { background: rgba(35, 33, 30, .14); box-shadow: none; }
.btn[aria-busy="true"] span { opacity: 0; }
.btn[aria-busy="true"]::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: spin .7s linear infinite;
}
.btn { position: relative; }
.btn-quiet[aria-busy="true"]::after { border-color: rgba(35, 33, 30, .2); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(1turn); } }
.link { border: 0; background: none; padding: 0; cursor: pointer; color: var(--ink-2); text-decoration: underline; text-decoration-color: rgba(35, 33, 30, .25); text-underline-offset: 3px; }
.link:hover { color: var(--ink); text-decoration-color: currentColor; }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top); transition: background-color .3s, backdrop-filter .3s, box-shadow .3s; }
.nav-in { width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; height: 64px; display: flex; align-items: center; gap: 24px; }
.nav.solid { background: rgba(244, 240, 232, .78); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5); box-shadow: 0 1px 0 rgba(35, 33, 30, .05), 0 8px 24px -16px rgba(35, 25, 15, .25); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 1.375rem/1 var(--serif); letter-spacing: -.01em; font-variation-settings: "opsz" 48; }
.brand .mark { width: 26px; height: 26px; color: var(--ink); }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: .9rem; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* Hero */
.hero { padding-top: calc(64px + clamp(44px, 8vh, 104px)); text-align: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; }
.hero h1 { max-width: 11.5em; }
.hero .lead { margin-top: clamp(18px, 2.8vh, 28px); max-width: 37em; text-wrap: balance; }

/* The waitlist form: Ada's own prompt, ribbon first. */
.join { width: min(560px, 100%); margin-top: clamp(26px, 4vh, 40px); }
.field { position: relative; display: flex; align-items: center; height: 64px; padding: 8px 8px 8px 56px; border-radius: 999px; background: var(--paper);
  box-shadow: 0 1px 2px rgba(35, 25, 15, .07), 0 14px 36px -14px rgba(35, 25, 15, .26), inset 0 0 0 1px rgba(35, 33, 30, .06);
  transition: box-shadow .25s var(--ease); }
.field:focus-within { box-shadow: 0 1px 2px rgba(35, 25, 15, .07), 0 18px 40px -14px rgba(35, 25, 15, .32), inset 0 0 0 2px var(--ink); }
.field .mark { position: absolute; left: 20px; width: 24px; height: 24px; color: var(--ink); }
.field input[type="email"] { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font-size: 1.0625rem; padding: 0 12px 0 0; }
.field input::placeholder { color: var(--ink-3); }
.field .btn { flex: none; height: 48px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fine { margin-top: 14px; font-size: .875rem; color: var(--ink-3); }
.status { min-height: 0; font-size: .925rem; color: #a3360f; }
.status:not(:empty) { margin-top: 10px; }
.field.invalid { box-shadow: 0 1px 2px rgba(35, 25, 15, .07), 0 14px 36px -14px rgba(35, 25, 15, .26), inset 0 0 0 2px #c2410c; animation: nudge .35s var(--ease); }
@keyframes nudge { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@media (max-width: 520px) {
  .field { flex-direction: column; height: auto; border-radius: 26px; padding: 8px; gap: 8px; }
  .field .mark { top: 22px; }
  .field input[type="email"] { flex: none; width: 100%; height: 52px; padding-left: 48px; }
  .field .btn { width: 100%; height: 50px; border-radius: 19px; }
}

/* After joining */
.joined { width: min(560px, 100%); margin-top: clamp(26px, 4vh, 40px); text-align: left; padding: 26px 28px 22px; border-radius: 28px; background: var(--paper); box-shadow: 0 1px 2px rgba(35, 25, 15, .07), 0 18px 44px -18px rgba(35, 25, 15, .3); outline: none; animation: rise .6s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.joined-title { font: 450 1.75rem/1.1 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -.01em; display: flex; align-items: center; gap: 12px; }
.joined-title::before { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2323211e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.joined-text { margin-top: 8px; color: var(--ink-2); overflow-wrap: anywhere; }
.more { margin-top: 22px; padding-top: 20px; box-shadow: 0 -1px 0 rgba(35, 33, 30, .07); }
.more-q { display: block; font-size: .9375rem; font-weight: 600; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(35, 33, 30, .06); cursor: pointer; font-size: .9rem; font-weight: 500; transition: background-color .2s, color .2s, transform .2s var(--ease); }
.chip:hover { background: rgba(35, 33, 30, .1); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fbf8f2; }
.more-row { display: flex; gap: 8px; align-items: flex-end; }
.more-row textarea { flex: 1; min-height: 48px; resize: vertical; padding: 12px 14px; border: 0; border-radius: 16px; background: rgba(35, 33, 30, .05); outline: none; line-height: 1.4; font-size: .975rem; }
.more-row textarea:focus { box-shadow: inset 0 0 0 2px var(--ink); }
.more-done { font-weight: 500; color: var(--mint-ink); }
.joined-foot { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; font-size: .875rem; color: var(--ink-3); }

/* Screens: Ada as it runs, in a slim graphite bezel. */
.screen { position: relative; margin: 0; }
.bezel { --rim: clamp(5px, .7vw, 11px); --r: clamp(12px, 1.8vw, 22px); position: relative; border: var(--rim) solid #121110; border-radius: var(--r); background: #121110; box-shadow: var(--shadow-screen); }
.bezel > video, .bezel > picture:first-child img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(var(--r) - var(--rim)); background: #2a2622; }
.hero-stage { width: min(1240px, 100% - 2 * var(--gutter)); margin: clamp(36px, 5vh, 56px) auto 0; perspective: 2000px; }
.screen-hero { transform-origin: 50% 0; }
.screen figcaption, .screen-hero figcaption { margin-top: 22px; font-size: .9rem; color: var(--ink-3); }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .screen-hero .bezel { animation: settle linear both; animation-timeline: scroll(root block); animation-range: 0 70vh; transform-origin: 50% 100%; }
    @keyframes settle { from { transform: rotateX(12deg) scale(.94); } to { transform: none; } }
  }
}
.vid-toggle { position: absolute; right: 14px; bottom: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; cursor: pointer; opacity: 0; transition: opacity .25s;
  background: rgba(20, 18, 16, .45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 6h3v12H8zM13 6h3v12h-3z' fill='%23fff'/%3E%3C/svg%3E") center/18px no-repeat;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.vid-toggle.paused { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z' fill='%23fff'/%3E%3C/svg%3E"); }
.bezel:hover .vid-toggle, .tile-media:hover .vid-toggle, .vid-toggle:focus-visible, .vid-toggle.paused { opacity: 1; }
@media (hover: none) { .vid-toggle { opacity: .8; } }

/* The film */
.film { margin-top: clamp(96px, 14vw, 180px); padding: clamp(80px, 11vw, 140px) 0; background: var(--night); color: var(--night-ink); }
.film h2 { color: var(--night-ink); }
.film .eyebrow { color: var(--mint); }
.film .lead { color: var(--night-ink-2); margin-top: 20px; }
.film-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.player { position: relative; border-radius: clamp(14px, 2vw, 24px); overflow: hidden; background: #000; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .8); isolation: isolate; }
.player img, .player video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.player img { transition: transform 1.2s var(--ease), filter .6s; }
.player:hover img { transform: scale(1.02); }
.play { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; padding: clamp(18px, 3vw, 36px); border: 0; cursor: pointer; color: #fff;
  background: linear-gradient(to top, rgba(10, 8, 6, .55), rgba(10, 8, 6, 0) 45%); font: 600 1.0625rem/1 var(--sans); }
.play-dot { position: relative; width: clamp(56px, 6vw, 72px); height: clamp(56px, 6vw, 72px); border-radius: 50%; background: rgba(253, 251, 247, .92); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5); transition: transform .35s var(--ease); }
.play-dot::after { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--ink); }
.play:hover .play-dot { transform: scale(1.07); }
.play-row { display: flex; align-items: center; gap: 16px; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.play-time { font-weight: 500; opacity: .78; font-variant-numeric: tabular-nums; }

/* A day with Ada */
.day { padding: clamp(96px, 14vw, 180px) 0 clamp(64px, 9vw, 120px); }
.moment { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.moment + .moment { margin-top: clamp(96px, 14vw, 180px); }
.moment.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.moment.flip .moment-copy { order: 2; justify-self: end; }
.moment-copy { max-width: 440px; }
.moment-copy p:last-child { margin-top: 16px; color: var(--ink-2); font-size: 1.0625rem; }
.moment h3 { margin-top: 8px; }
.stamp { display: inline-block; font: 700 .8125rem/1 var(--stamp); letter-spacing: .04em; padding: 7px 10px 6px; background: #fbf6ea; color: #3a342c; box-shadow: var(--shadow-paper); transform: rotate(-1.5deg); }
.paper { width: min(240px, 62%); margin-bottom: 28px; padding: 9px 9px 30px; background: #fffdf8; box-shadow: var(--shadow-paper); }
.paper img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tilt-1 { transform: rotate(-3.5deg); } .tilt-2 { transform: rotate(2.5deg); } .tilt-3 { transform: rotate(-2deg); }
.tilt-4 { transform: rotate(3deg); } .tilt-5 { transform: rotate(-2.5deg); } .tilt-6 { transform: rotate(1.5deg); }
.moment-visual { position: relative; }

/* The island card, lifted out of the screen it's on (same spot, larger). */
.lift { position: absolute; z-index: 2; transform-origin: 50% 0; filter: drop-shadow(0 18px 26px rgba(35, 25, 15, .30)) drop-shadow(0 2px 3px rgba(35, 25, 15, .14)); will-change: transform; }
.lift img { width: 100%; height: auto; }
/* Boxes from tools/media.py, in % of the 5120x2880 capture. */
.lift-morning, .lift-contracts, .lift-voice { left: 35.918%; top: .868%; width: 28.125%; }
.lift-away { left: 26.172%; top: 12.5%; width: 16.406%; }
.js .lift { transition: transform 1.1s var(--ease) .15s; }
.lift-morning { --zoom: 2.1; --lift: -34%; }
.lift-contracts { --zoom: 2.1; --lift: -24%; }
.lift-voice { --zoom: 1.7; --lift: -14%; }
.lift-away { --zoom: 2.1; --lift: -30%; }
.js .moment.in .lift, html:not(.js) .lift { transform: translateY(var(--lift)) scale(var(--zoom)); }
@media (max-width: 959px) {
  .moment, .moment.flip { grid-template-columns: 1fr; gap: 32px; }
  .moment.flip .moment-copy { order: 0; justify-self: start; }
  .moment-copy { max-width: 560px; }
  .lift { position: relative; left: auto !important; top: auto !important; width: min(86%, 440px) !important; margin: -14% auto 0; transform: none !important; transition: none; }
  .lift-away { width: min(56%, 260px) !important; }
}

.closer { margin-top: clamp(112px, 15vw, 200px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.paper-wide { width: min(440px, 82%); }
.closer figcaption { margin-top: 36px; font: 400 clamp(1.9rem, 1.3rem + 2.4vw, 3.2rem)/1.1 var(--serif); letter-spacing: -.018em; font-variation-settings: "opsz" 144, "SOFT" 30; }

/* While you work: Ada's desktop beside yours, and the phone */
.alongside { padding: clamp(96px, 13vw, 170px) 0; background: var(--night); color: var(--night-ink); }
.alongside h2, .alongside h3 { color: var(--night-ink); }
.alongside .eyebrow { color: var(--mint); }
.alongside .lead { color: var(--night-ink-2); }
.desks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); margin: 0; }
.desk-screen { position: relative; aspect-ratio: 16 / 10; border-radius: clamp(14px, 1.6vw, 20px); overflow: hidden; background: #3a2f25; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8); }
.desk-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.win { position: absolute; height: auto; max-width: none; filter: drop-shadow(0 16px 26px rgba(20, 12, 4, .35)); }
.win-notes { left: 9%; top: 11%; width: 82%; }
.win-browser { left: 5%; top: 7%; width: 64%; }
.win-files { left: 31%; top: 33%; width: 64%; }
.desk-ada .desk-screen::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(22, 19, 15, .2); pointer-events: none; }
.buddy { position: absolute; z-index: 2; left: 58%; top: 58%; width: clamp(18px, 2.3vw, 30px); height: auto; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); }
.buddy-dark { fill: #d9740f; }
.buddy-lit { fill: #f5a54b; }
.buddy-rim { fill: none; stroke: #fff6e8; stroke-width: 1.3; stroke-linejoin: round; }
.js .desks .buddy { transform: translate(-300%, -380%); transition: transform 1.8s var(--ease) .6s; }
.js .desks.in .buddy { transform: none; }
.desk-label { margin-top: 14px; font-size: .95rem; color: var(--night-ink-2); }
.desk-label strong { color: var(--night-ink); font-weight: 600; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); margin-top: clamp(48px, 6vw, 72px); }
.facts h3 { font-size: 1.3rem; font-variation-settings: "opsz" 72; font-weight: 450; }
.facts p { margin-top: 8px; color: var(--night-ink-2); font-size: 1rem; }
.phone { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 88px); align-items: center; margin-top: clamp(96px, 13vw, 170px); }
.phone-visual { position: relative; padding-bottom: 9%; }
.phone-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: clamp(14px, 1.8vw, 22px); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8); }
.phone-card { position: absolute; left: -5%; bottom: 0; width: 74%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .45)); }
.phone-card img { width: 100%; height: auto; }
.phone-copy h3 { margin-top: 2px; font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); line-height: 1.04; letter-spacing: -.02em; font-variation-settings: "opsz" 144, "SOFT" 30; font-weight: 400; }
.phone-copy > p:not(.eyebrow) { margin-top: 18px; color: var(--night-ink-2); font-size: 1.125rem; }
.ticks { margin-top: 24px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--night-ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .22em; width: 18px; height: 18px; border-radius: 50%; background: rgba(131, 217, 200, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2383d9c8' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width: 900px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .phone { grid-template-columns: 1fr; }
  .phone-card { left: 4%; }
}
@media (max-width: 760px) { .desks { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* The whole computer */
.whole { padding: clamp(96px, 13vw, 170px) 0; background: var(--pearl-2); }
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.tile { position: relative; margin: 0; overflow: hidden; border-radius: clamp(20px, 2.4vw, 30px); background: var(--paper); display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(35, 25, 15, .05); }
.tile figcaption { padding: clamp(22px, 2.6vw, 34px) clamp(22px, 2.6vw, 34px) 0; color: var(--ink-2); font-size: 1rem; line-height: 1.5; max-width: 30em; }
.tile figcaption strong { display: block; margin-bottom: 4px; font: 450 1.4rem/1.15 var(--serif); font-variation-settings: "opsz" 72; color: var(--ink); letter-spacing: -.01em; }
.tile-search { grid-column: 1 / -1; }
.tile-search picture { padding: 26px clamp(22px, 2.6vw, 34px) clamp(22px, 2.6vw, 34px); }
.tile-search img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; box-shadow: 0 18px 40px -22px rgba(35, 25, 15, .45); }
.tile-dark { background: #141312; }
.tile-dark figcaption { color: rgba(255, 255, 255, .72); }
.tile-dark figcaption strong { color: #fff; }
.tile-media { position: relative; margin-top: auto; padding: 26px clamp(22px, 2.6vw, 34px) clamp(22px, 2.6vw, 34px); }
.tile-switch .tile-media { flex: 1; display: flex; min-height: 0; }
.tile-switch video { flex: 1; width: 100%; min-height: 240px; object-fit: cover; border-radius: 12px; }
.tile-switch .vid-toggle { right: calc(clamp(22px, 2.6vw, 34px) + 12px); bottom: calc(clamp(22px, 2.6vw, 34px) + 12px); }
.tile-window picture { margin-top: auto; padding: 28px 0 0 clamp(22px, 2.6vw, 34px); }
.tile-window img { width: 118%; max-width: none; filter: drop-shadow(0 18px 30px rgba(35, 25, 15, .22)); }
@media (max-width: 720px) {
  .bento { grid-template-columns: 1fr; }
  .tile-window img { width: 140%; }
}

.tile-art .art { flex: 1; display: grid; place-items: center; min-height: 230px; margin: 26px clamp(22px, 2.6vw, 34px) clamp(22px, 2.6vw, 34px); padding: 28px; border-radius: 14px; }
.tile-talk .art { background: radial-gradient(120% 120% at 30% 0%, #29405a, #111a23); }
.tile-talk img { width: 100%; max-width: 460px; height: auto; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .4)); }
.tile-widget .art { background: #cdb79c url(/img/desk-wall-900.webp) center / cover; }
.tile-widget img { width: 72%; max-width: 300px; height: auto; filter: drop-shadow(0 14px 24px rgba(60, 40, 20, .25)); }
.more { margin-top: clamp(80px, 10vw, 130px); }
.more-title { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); line-height: 1.05; letter-spacing: -.02em; font-variation-settings: "opsz" 144, "SOFT" 30; font-weight: 400; margin-bottom: clamp(28px, 4vw, 44px); }
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.more-grid li { padding: clamp(22px, 2.4vw, 30px); border-radius: clamp(18px, 2vw, 24px); background: var(--paper); box-shadow: 0 1px 2px rgba(35, 25, 15, .05); }
.more-grid h4 { margin: 0; font: 450 1.3rem/1.15 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -.01em; color: var(--ink); }
.more-grid p { margin-top: 8px; color: var(--ink-2); font-size: 1rem; }
@media (max-width: 900px) { .more-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .more-grid { grid-template-columns: 1fr; } }

/* Trust */
.trust { padding: clamp(96px, 13vw, 170px) 0; }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4.5vw, 56px) clamp(28px, 4vw, 56px); }
.points h3 { font-size: 1.45rem; font-variation-settings: "opsz" 72; font-weight: 450; }
.points p { margin-top: 10px; color: var(--ink-2); }
.points li { padding-top: 22px; position: relative; }
.points li::before { content: ""; position: absolute; top: 0; left: 0; width: 28px; height: 4px; border-radius: 2px; background: var(--mint); }
.points li:nth-child(3n+2)::before { background: var(--amber); }
.points li:nth-child(3n)::before { background: var(--ink); }
@media (max-width: 860px) { .points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .points { grid-template-columns: 1fr; } }

/* Why today */
.why { padding: clamp(96px, 13vw, 170px) 0; background: var(--night); color: var(--night-ink); }
.why-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 110px); align-items: center; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .85); }
.portrait { transform: rotate(-1.5deg); }
.portrait figcaption { margin-top: 18px; font-size: .8125rem; color: var(--night-ink-2); transform: rotate(1.5deg); }
.why .eyebrow { color: var(--mint); }
.why blockquote { margin: 0 0 32px; }
.why blockquote p { font: italic 400 clamp(2rem, 1.2rem + 3.2vw, 3.9rem)/1.06 var(--serif); letter-spacing: -.02em; font-variation-settings: "opsz" 144, "SOFT" 100; color: var(--night-ink); text-wrap: balance; }
.why blockquote footer { margin-top: 18px; font: 700 .8125rem/1.3 var(--stamp); letter-spacing: .04em; color: var(--night-ink-2); }
.why-copy > p { color: var(--night-ink-2); font-size: 1.125rem; max-width: 34em; }
.why-copy > p + p { margin-top: 16px; }
.why-copy em { color: var(--night-ink); }
@media (max-width: 860px) {
  .why-in { grid-template-columns: 1fr; }
  .portrait { width: min(380px, 78%); }
}

/* Final: the mark lands on a full-width band; the copy sits on its floor. */
.final { position: relative; padding: 0 0 clamp(96px, 12vw, 150px); background: var(--mark-floor); text-align: center; overflow: hidden; }
.mark-stage { position: relative; }
.mark-stage video { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 18%; background: var(--mark-floor); }
.mark-stage::after { content: ""; position: absolute; inset: auto 0 0; height: 34%; background: linear-gradient(rgba(233, 227, 216, 0), var(--mark-floor) 92%); pointer-events: none; }
.final-copy { margin-top: calc(-1 * clamp(24px, 4vw, 64px)); position: relative; display: flex; flex-direction: column; align-items: center; }
.final .lead { margin-top: 20px; max-width: 30em; }
@media (max-width: 720px) {
  .mark-stage video { aspect-ratio: 1 / 1; object-position: 50% 0; }
  .final-copy { margin-top: -8vw; }
}

/* Footer */
.foot { background: var(--mark-floor); padding: 0 0 calc(40px + env(safe-area-inset-bottom)); }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 28px; box-shadow: 0 -1px 0 rgba(35, 33, 30, .08); font-size: .875rem; color: var(--ink-3); }
.foot-in p { flex: 1; }
.foot nav { display: flex; gap: 20px; }
.foot nav a { text-decoration: none; color: var(--ink-2); }
.foot nav a:hover { color: var(--ink); }
.foot .brand { font-size: 1.15rem; }
.foot .brand .mark { width: 22px; height: 22px; }

/* Reveal on scroll (only once the script runs, never hiding content without it). */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .moment .paper { opacity: 0; }
.js .moment.in .paper { animation: drop .5s steps(5, end) .25s both; }
.js .moment.in .paper.tilt-1 { --r: -3.5deg; } .js .moment.in .paper.tilt-2 { --r: 2.5deg; } .js .moment.in .paper.tilt-3 { --r: -2deg; }
.js .moment.in .paper.tilt-4 { --r: 3deg; } .js .moment.in .paper.tilt-5 { --r: -2.5deg; }
@keyframes drop { from { opacity: 0; transform: translate(-10px, -26px) rotate(calc(var(--r) - 9deg)); } to { opacity: 1; transform: rotate(var(--r)); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .moment .paper { opacity: 1; }
}

/* Plain pages (privacy, 404) */
.plain { background: var(--pearl); }
.doc { max-width: 720px; padding: calc(64px + clamp(48px, 8vw, 96px)) 0 clamp(80px, 10vw, 120px); }
.doc h1 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4rem); line-height: 1.02; }
.doc .lead { margin-top: 20px; }
.doc h2 { font-size: 1.6rem; margin: 48px 0 12px; font-variation-settings: "opsz" 72; font-weight: 450; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 12px; }
.doc ul { display: grid; gap: 10px; padding-left: 1.2em; list-style: disc; }
.doc li::marker { color: var(--mint-ink); }
.doc-date { margin-top: 48px !important; font-size: .875rem; color: var(--ink-3) !important; }
.doc-404 { min-height: 70vh; }
.doc-404 .btn { margin-top: 32px; }
.foot-plain { background: var(--pearl); }
@media (max-width: 560px) {
  .foot-in p { order: 3; flex-basis: 100%; }
}
@media (max-width: 560px) { .tile-art .art { min-height: 0; padding: 36px 20px; } }
