/* Fraunces, for headlines. Served from this site (see public/fonts/README.txt); the page shows its text in the
   fallback at once and swaps when the font arrives. */
@font-face { font-family: "Fraunces"; src: url(/fonts/fraunces.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/fonts/fraunces-italic.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
:root {
  --black: #0a0908;
  --room: #0e0d0b;      /* the dark of a screening room, slightly warm */
  --desk: #1f1c17;
  --panel: #28241d;
  --line: rgba(240, 232, 216, .12);
  --text: #f0e8d8;
  --dim: rgba(240, 232, 216, .78);
  --amber: #e2b36b;     /* tungsten practical light */
  --red: #e5533d;       /* tally light */
  --sans: "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
  --serif: "Fraunces", ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--room); color: var(--text); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 30; background: var(--amber); color: var(--black); padding: 10px 16px; border-radius: 4px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.mark { display: inline-flex; align-items: center; gap: 3px; height: 16px; transform: skewX(-14deg); }
.mark i { display: block; width: 4px; background: var(--amber); }
.mark i:nth-child(1) { height: 100%; } .mark i:nth-child(2) { height: 70%; } .mark i:nth-child(3) { height: 40%; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border: 0; border-radius: 4px; background: var(--amber); color: var(--black); font: 600 15px/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.button:hover { background: #f1c988; transform: translateY(-1px); }
.button:disabled { opacity: .6; cursor: default; transform: none; }
.button.small { min-height: 38px; padding: 0 16px; font-size: 13px; }

/* Top bar */
.top { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 12px clamp(16px, 4vw, 40px); transition: background .3s ease; }
.scrolled .top { background: rgba(14, 13, 11, .94); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 14px/1 var(--sans); letter-spacing: .22em; }

/* Hero: the film, framed like a viewfinder */
.hero { position: relative; min-height: 100svh; padding: 104px 0 84px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: var(--black); }
.hero-copy { position: relative; z-index: 2; padding: 0 16px; }
.hero h1 { font: 700 clamp(40px, 11.5vw, 168px)/1 var(--sans); letter-spacing: .14em; margin-right: -.14em; }
.tagline { margin-top: clamp(14px, 2.2vw, 26px); font: 400 clamp(24px, 3.6vw, 44px)/1.15 var(--serif); }
.tagline span { color: var(--amber); }
.what { margin-top: 14px; text-wrap: balance; font: 400 clamp(15px, 1.5vw, 19px)/1.4 var(--sans); color: rgba(240, 232, 216, .92); }
.hero .button { margin-top: clamp(26px, 3.6vw, 40px); }
.scroll-cue { position: absolute; z-index: 2; bottom: 22px; left: 50%; transform: translateX(-50%); font: 500 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--dim); white-space: nowrap; }
.scroll-cue:hover { color: var(--text); }

/* The studio: the Mac app, drawn at its design size (--dw by --dh) and scaled to fit by the script. */
.demo { padding: 0 clamp(10px, 3vw, 40px); background: var(--room); }
.demo.scrolly { height: 400vh; }
.demo-pin { max-width: min(1720px, 100vw - 2 * clamp(10px, 3vw, 40px)); margin: 0 auto; padding: 72px 0 24px; }
.demo.scrolly .demo-pin { position: sticky; top: 0; height: 100svh; padding: 70px 0 10px; display: flex; flex-direction: column; justify-content: center; }
.demo-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 12px; flex-wrap: wrap; }
.demo-head h2 { font: 400 clamp(20px, 2.2vw, 28px)/1.2 var(--serif); }

.desk-fit { --dw: 1400; --dh: 850; position: relative; margin: 0 auto; overflow: hidden; border-radius: 10px; box-shadow: 0 22px 50px rgba(0, 0, 0, .55); }
.desk { position: absolute; top: 0; left: 0; width: calc(var(--dw) * 1px); height: calc(var(--dh) * 1px); transform-origin: 0 0; display: flex; flex-direction: column; background: #aeb4bb; color: #1d1d1f; font: 13px/1.4 -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Helvetica Neue", sans-serif; contain: layout paint; }
.desk [hidden] { display: none !important; }
.desk p, .desk h3, .desk h4, .desk dl, .desk dd, .desk ol, .desk figure { margin: 0; }
.outline { padding: 0; }
.desk b { font-weight: 600; }
.desk code, .desk figcaption, .mac-shot span, .mac-log code, .meta { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.menubar { flex: 0 0 28px; display: flex; align-items: center; gap: 20px; padding: 0 20px; background: rgba(255, 255, 255, .78); }
.menubar b { font-weight: 700; }

.mac { --ink: #1d1d1f; --quiet: #5c5c5c; --line: #cfcfcc; --soft: #dcdcd9; --red: #b3261a;
  position: relative; flex: 1 1 auto; min-height: 0; margin: 20px 36px 24px; display: flex; flex-direction: column; overflow: hidden; background: #f6f6f5; border-radius: 12px; box-shadow: 0 28px 60px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .22); }
.mac-quiet { color: var(--quiet); }
.mac-red { color: var(--red); font-weight: 600; font-size: 14px; }
.desk .small { font-size: 11px; }
.split { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.end { margin-left: auto; }
.working { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: mac-working 1.6s ease-in-out infinite; }
.working.pale { display: inline-block; width: 7px; height: 7px; background: #ff8a7a; }
@keyframes mac-working { 50% { opacity: .3; } }

.mac-toolbar { flex: 0 0 52px; display: flex; align-items: center; gap: 14px; padding: 0 14px 0 18px; background: #e9e9e7; border-bottom: 1px solid var(--line); white-space: nowrap; }
.lights { display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; border: .5px solid rgba(0, 0, 0, .15); background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; } .lights i:nth-child(3) { background: #28c840; }
.mac-icon { width: 32px; height: 28px; margin-left: 8px; display: grid; place-items: center; }
.mac-title { display: flex; flex-direction: column; line-height: 1.25; margin-left: 96px; }
.mac-title b { font-weight: 700; font-size: 14px; }
.mac-title span { font-size: 11px; color: var(--quiet); }
.mac-title + * { margin-left: 6px; }
.mac-toolbar-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.mac-button { height: 28px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #fff; border: 1px solid #c4c4c1; border-radius: 6px; white-space: nowrap; }
.mac-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.mac-wide { width: 100%; height: 30px; justify-content: space-between; }
.mac-wide.push { margin-top: auto; height: 32px; justify-content: center; }
.mac-segment { display: flex; padding: 2px; background: #d9d9d6; border-radius: 7px; }
.mac-segment span { height: 24px; padding: 0 12px; display: flex; align-items: center; border-radius: 5px; white-space: nowrap; }
.mac-segment .on { background: #fff; font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.mac-search { width: 250px; height: 28px; padding: 0 10px; display: flex; align-items: center; background: #fff; border: 1px solid #c4c4c1; border-radius: 6px; color: #8a8a87; }
.mac-pill { height: 28px; padding: 0 12px; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #c4c4c1; border-radius: 14px; }

.mac-body { flex: 1 1 auto; min-height: 0; display: flex; }
.mac-sidebar { flex: 0 0 248px; display: flex; flex-direction: column; padding: 12px 10px; background: #e4e4e2; border-right: 1px solid var(--line); }
.mac-sidebar h3 { padding: 4px 8px; font-size: 11px; font-weight: 600; color: var(--quiet); }
.mac-sidebar h3.gap { padding-top: 16px; }
.mac-row { height: 28px; padding: 0 8px; display: flex; align-items: center; gap: 8px; border-radius: 6px; white-space: nowrap; color: var(--ink); }
.mac-row svg { flex: none; color: #4a4a4a; }
.mac-row > span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.mac-row small { font-size: 13px; color: var(--quiet); }
.mac-row.cut { margin-left: 17px; }
.mac-row.sel { background: var(--ink); color: #fff; font-weight: 600; }
.mac-row.sel small, .mac-row.sel svg { color: #fff; }
.mac-sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.mac-sidebar-foot .small { padding: 0 8px; }

.mac-main { flex: 1 1 auto; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.mac-main.lib { gap: 8px; padding: 18px 20px; background: #fff; }
.desk h4 { font-size: 11px; font-weight: 600; color: var(--quiet); }
.film-card { display: flex; align-items: center; gap: 16px; padding: 12px; margin-bottom: 10px; background: #f6f6f5; border: 1px solid var(--soft); border-radius: 10px; }
.film-card-blank { width: 144px; height: 108px; border-radius: 4px; background: repeating-linear-gradient(135deg, #ececea 0 8px, #f6f6f5 8px 16px); border: 1px solid var(--soft); }
.film-card-text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; }
.film-card-text b { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.film-card .mac-button { height: 30px; padding: 0 16px; }
.lib-head { display: flex; align-items: baseline; justify-content: space-between; }
.clip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 12px; }
.clip-grid figure { display: flex; flex-direction: column; gap: 5px; }
.clip-grid img, .clip-grid .more div { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.clip-grid figcaption { display: flex; justify-content: space-between; font-size: 11px; }
.clip-grid figcaption span:last-child { color: var(--quiet); }
.clip-grid .more div { display: grid; place-items: center; background: #ececea; font-size: 15px; font-weight: 600; color: #4a4a4a; }
.clip-grid .plain { font-family: inherit; color: var(--quiet); }

/* The footage view's add panel, and a pop-up button, as in the app */
.mac-drop { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 16px 18px; margin-bottom: 10px; background: #f6f6f5; border: 1px solid var(--soft); border-radius: 12px; }
.mac-drop > div { display: flex; flex-direction: column; gap: 4px; max-width: 62ch; }
.mac-drop .h { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.mac-popup::after { content: ""; width: 7px; height: 7px; margin-left: 4px; border: solid #4a4a4a; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); }
.shoot-info h3 { font-size: 15px; }
.stack { display: flex; flex-direction: column; gap: 8px; }
.mac-wide.centre { justify-content: center; height: 34px; }
.mac-wide.push, .push { margin-top: auto; }
.mac-aside { flex: 0 0 336px; min-height: 0; display: flex; flex-direction: column; background: #f6f6f5; border-left: 1px solid var(--line); }
.mac-aside h3, .mac-aside .h { font-size: 15px; font-weight: 700; }
.mac-aside.shoot-info { flex-basis: 336px; gap: 14px; padding: 16px; }
.shoot-info dl { display: grid; grid-template-columns: 110px minmax(0, 1fr); row-gap: 6px; }
.shoot-info dt { color: var(--quiet); }
.watched { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid var(--soft); }
.mac-meter { height: 6px; background: #d9d9d6; border-radius: 3px; overflow: hidden; }
.mac-meter div { height: 6px; background: var(--ink); border-radius: 3px; }
.mac-meter.third div { width: 35%; }

.mac-well { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 18px; background: #5f5f5d; container-type: size; }
.mac-well > img { max-width: 100%; max-height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.frame { position: relative; flex: none; width: min(100cqw, 100cqh * 4 / 3); aspect-ratio: 4 / 3; background: #000; }
.frame > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mac-transport { flex: 0 0 46px; display: flex; align-items: center; gap: 12px; padding: 0 16px; background: #ececea; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); white-space: nowrap; }
.mac-play { width: 30px; height: 30px; display: grid; place-items: center; background: var(--ink); border-radius: 50%; }
.mac-timecode { font-size: 16px; font-weight: 600; min-width: 8ch; }
.mac-strip { flex: 0 0 150px; display: flex; flex-direction: column; gap: 8px; padding: 10px 16px 14px; }
.mac-strip-head { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--quiet); }
.mac-strip-row { flex: 1 1 auto; min-height: 0; display: flex; gap: 4px; }
.mac-shot { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; background: #e4e4e2; border-radius: 5px; overflow: hidden; outline: 2.5px solid transparent; outline-offset: 1px; }
.mac-shot img { width: 100%; flex: 1 1 auto; min-height: 0; object-fit: cover; }
.mac-shot span { display: flex; justify-content: space-between; gap: 4px; padding: 4px 6px; font-size: 11px; white-space: nowrap; }
.mac-shot b, .mac-shot i { font-weight: 400; font-style: normal; }
.mac-shot.sel { background: var(--ink); color: #fff; outline-color: var(--ink); }
.g621 { flex-grow: 6.21; } .g658 { flex-grow: 6.58; } .g329 { flex-grow: 3.29; } .g383 { flex-grow: 3.83; }
.mac-pending { flex: 10.08 1 0; min-width: 0; display: grid; place-items: center; border: 1.5px dashed #b9b9b6; border-radius: 5px; color: var(--quiet); }

.work .block { padding: 14px 16px; border-bottom: 1px solid var(--soft); display: flex; flex-direction: column; gap: 8px; }
.outline { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.outline li { display: flex; gap: 8px; color: var(--quiet); }
.outline svg { flex: none; margin-top: 4px; }
.outline i { flex: 0 0 12px; height: 12px; margin-top: 3px; border-radius: 50%; border: 1.5px solid #8a8a87; }
.outline .now { color: var(--ink); font-weight: 600; }
.outline .now i { border: 3px solid var(--red); }
.pad { padding: 12px 16px 4px; }
.mac-log { flex: 1 1 auto; min-height: 0; list-style: none; padding: 0 16px; display: flex; flex-direction: column; }
.mac-log li { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--soft); }
.mac-log li:last-child { border-bottom: 0; }
.mac-log code { flex: 0 0 40px; font-size: 11px; color: var(--quiet); padding-top: 2px; }
.mac-log .now, .mac-log .now code { font-weight: 600; color: var(--ink); }

.mac-tabs { display: flex; gap: 2px; padding: 8px 10px; background: #ececea; border-bottom: 1px solid var(--soft); }
.mac-tabs span { flex: 1 1 0; height: 26px; display: grid; place-items: center; border-radius: 6px; }
.mac-tabs .on { background: #fff; font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.notes { flex: 1 1 auto; min-height: 0; overflow: hidden; padding: 4px 16px 0; display: flex; flex-direction: column; gap: 6px; }
.notes article { padding: 4px 0; display: flex; flex-direction: column; gap: 6px; }
.meta { font-size: 11px; color: var(--quiet); }
.reply { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; color: var(--quiet); }
.reply::before { content: "› "; color: var(--red); }
.mac-proposal { display: flex; flex-direction: column; gap: 8px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.actions { display: flex; gap: 8px; }
.mac-compose { flex: none; padding: 12px 16px 14px; border-top: 1px solid var(--soft); display: flex; flex-direction: column; gap: 8px; }
.mac-compose .label { font-size: 11px; font-weight: 600; color: var(--quiet); }
.mac-textarea { min-height: 66px; padding: 8px 10px; background: #fff; color: var(--red); border: 1px solid #c4c4c1; border-radius: 6px; font-size: 14px; line-height: 1.4; }
.mac-textarea .ph { color: #8a8a87; }
.mac-textarea.has-text .ph { display: none; }
.mac-textarea.brief { min-height: 76px; color: var(--ink); font-size: 15px; box-shadow: 0 0 0 3px rgba(29, 29, 31, .18); }
.caret { display: inline-block; width: 1.5px; height: 1.1em; margin: 0 1px -2px; background: currentColor; opacity: 0; }
.desk[data-stage="0"] .brief .caret, .desk[data-stage="1"] .mac-compose .caret { opacity: 1; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mac-status { flex: 0 0 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 14px; background: #e9e9e7; border-top: 1px solid var(--line); font-size: 11px; color: #4a4a4a; white-space: nowrap; overflow: hidden; }

.mac-scrim { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: rgba(20, 20, 20, .34); }
.mac-sheet { width: min(740px, 100% - 32px); padding: 20px 28px; display: flex; flex-direction: column; gap: 14px; background: #f6f6f5; border-radius: 14px; box-shadow: 0 14px 34px rgba(0, 0, 0, .38), 0 0 0 1px rgba(0, 0, 0, .2); }
.mac-sheet h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.mac-form { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 14px; row-gap: 11px; align-items: start; }
.mac-form > span { padding-top: 5px; text-align: right; color: #4a4a4a; }
.mac-form > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mac-form > .inline { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.mac-form small { font-size: 11px; }
.mac-banner { padding: 10px 14px; background: #ececea; border-radius: 8px; }
.sheet-foot { display: flex; align-items: center; gap: 10px; }
.sheet-foot .mac-button { height: 30px; padding: 0 16px; }
.grow { flex: 1 1 auto; }

/* Phones: the same app in a narrow window. The sidebar and the side panels of the shoot fold away; the film's notes sit under the picture. */
.desk-fit.compact { --dw: 520; --dh: 860; }
.compact .menubar { gap: 14px; padding: 0 12px; }
.compact .menubar span:nth-child(n+6):not(.clock) { display: none; }
.compact .mac { margin: 12px 12px 14px; }
.compact .mac-sidebar, .compact .mac-icon, .compact .mac-toolbar .mac-segment, .compact .mac-search, .compact .t-extra, .compact .mac-aside.shoot-info { display: none; }
.compact .mac-title { margin-left: 8px; }
.compact .mac-body { flex-direction: column; }
.compact .mac-aside { flex: 0 0 auto; border-left: 0; border-top: 1px solid var(--line); }
.compact .mac-aside.work .block, .compact .mac-tabs { display: none; }
.compact .mac-strip { flex-basis: 104px; }
.compact .clip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compact .film-card-blank { width: 96px; height: 72px; }
.compact .mac-form { grid-template-columns: 1fr; row-gap: 6px; }
.compact .mac-form > span { text-align: left; padding-top: 4px; }
.compact .mac-sheet { padding: 16px; gap: 10px; }
.compact .mac-status span:last-child { display: none; }
.compact .mac-textarea { min-height: 48px; }
.compact .mac-log li:nth-child(-n+2) { display: none; }

.wrap { width: min(1040px, 100% - 32px); margin: 0 auto; }
.wrap.narrow { width: min(720px, 100% - 32px); }

/* Waitlist */
.join { position: relative; }
.join > * { position: relative; }
.join-sub { margin-top: 16px; font-size: 18px; color: rgba(240, 232, 216, .85); }
form { margin-top: 36px; }
.fields { display: grid; grid-template-columns: 1.25fr 1fr auto; gap: 8px; }
.fields input, .fields select { min-width: 0; height: 50px; padding: 0 16px; border-radius: 4px; border: 1px solid rgba(240, 232, 216, .4); background: rgba(16, 15, 14, .82); color: var(--text); font: 400 16px var(--sans); appearance: none; -webkit-appearance: none; }
.fields select { padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; text-overflow: ellipsis; }
.fields select.empty { color: rgba(240, 232, 216, .55); }
.fields select option { color: #15141a; }
.fields input::placeholder { color: rgba(240, 232, 216, .55); }
.fields input:focus-visible, .fields select:focus-visible { outline: none; border-color: var(--amber); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: inline-flex; align-items: flex-start; gap: 10px; margin-top: 18px; font-size: 14px; color: rgba(240, 232, 216, .85); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--amber); flex: none; }
.form-status { min-height: 24px; margin-top: 14px; font-size: 15px; color: var(--amber); }
.form-status.error { color: #ff9c8a; }
.privacy-note { margin-top: 6px; font-size: 14px; color: rgba(240, 232, 216, .82); }
footer { padding: 22px clamp(16px, 4vw, 40px) 28px; background: rgba(10, 9, 8, .78); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--dim); }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

.motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.motion .reveal.in { opacity: 1; transform: none; }

/* ---- The glass look: one still picture behind the whole page; the studio rises over it; sections sit on it. ---- */
/* One still picture sits behind the intro and the studio, fixed: the film's closing shot behind ribbed glass. No video. */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: #1a2038 url(/media/hero-glass.jpg) left center / cover no-repeat; }
.demo { background: transparent; }

/* The intro: the film as soft moving colour, the name, one line, one button, and the studio peeking over the fold. */
.hero { min-height: 68svh; padding: 110px 0 44px; background: transparent; overflow: visible; }
.scroll-cue { bottom: 8px; color: rgba(255, 255, 255, .85); }
/* Clear over the intro; a dark backing once the page moves, so the logo reads on every section. */
.scrolled .top { background: rgba(14, 12, 26, .78); border-bottom-color: rgba(255, 255, 255, .12); }
@keyframes intro { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero h1, .tagline, .what, .hero .button, .scroll-cue { animation: intro .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero h1 { animation-delay: .1s; } .tagline { animation-delay: .3s; } .what { animation-delay: .42s; } .hero .button { animation-delay: .55s; } .scroll-cue { animation: fade 1s 1.1s both; }
.demo-pin { padding-top: 0; }
.demo.scrolly .demo-pin { padding-top: 64px; }
.demo-head { order: 2; margin: 12px 0 0; }
.demo-head { position: relative; justify-content: center; text-align: center; }

/* The Mac screen */
/* A display: a dark bezel round a plain light desktop, the way a Mac looks with no wallpaper set. */
/* Shadows are kept small and nothing here is faded or permanently promoted: large blurs, see-through layers and
   standing layer hints were what made scrolling heavy. */
.desk-fit { border-radius: 12px; box-shadow: 0 0 0 9px #0c0c0e, 0 0 0 10px rgba(255, 255, 255, .22), 0 20px 40px rgba(12, 10, 24, .5); transform-origin: 50% 0; }
.desk-fit.compact { box-shadow: 0 0 0 6px #0c0c0e, 0 0 0 7px rgba(255, 255, 255, .22), 0 14px 30px rgba(12, 10, 24, .5); }
.desk { background: linear-gradient(180deg, #e3e6eb, #cdd2da); }
.menubar { background: rgba(255, 255, 255, .82); }
.menubar .clock { margin-left: auto; }
.mac { box-shadow: 0 10px 24px rgba(12, 10, 24, .3), 0 0 0 1px rgba(0, 0, 0, .25); }

/* Things pop in as each stage arrives. */
@keyframes pop { 0% { opacity: 0; transform: scale(.9) translateY(14px); } 60% { opacity: 1; transform: scale(1.02); } 100% { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.mac-scrim:not([hidden]) { animation: fade .25s ease both; }
.mac-scrim:not([hidden]) .mac-sheet { animation: pop .5s cubic-bezier(.2, .9, .3, 1) both; }
.notes article:not([hidden]), .notes > .reply:not([hidden]) { animation: rise .45s cubic-bezier(.2, .9, .3, 1) both; }
.notes article .reply { animation: rise .45s .25s cubic-bezier(.2, .9, .3, 1) both; }
.mac-row:not([hidden]) { animation: rise .35s ease both; }
.mac-toolbar .mac-segment:not([hidden]), .mac-toolbar-end:not([hidden]) { animation: fade .35s ease both; }
.frame > *:not([hidden]) { animation: fade .5s ease both; }
.mac-shot { transition: flex-grow .6s cubic-bezier(.6, 0, .2, 1), background .2s ease; }
.clip-grid figure { animation: pop .5s cubic-bezier(.2, .9, .3, 1) both; }
.clip-grid figure:nth-child(2) { animation-delay: .05s; } .clip-grid figure:nth-child(3) { animation-delay: .1s; } .clip-grid figure:nth-child(4) { animation-delay: .15s; }
.clip-grid figure:nth-child(5) { animation-delay: .2s; } .clip-grid figure:nth-child(6) { animation-delay: .25s; } .clip-grid figure:nth-child(7) { animation-delay: .3s; }

/* Waitlist: short and centred, on the same glass picture as the intro, with a soft shade so the words read. */
.join { padding: clamp(64px, 8vw, 104px) 0 0; background: transparent; }
.join .wrap { padding-bottom: clamp(56px, 7vw, 88px); text-align: center; }
.join h2 { margin-top: 14px; font-size: clamp(34px, 4.6vw, 60px); }
.join-sub { margin-top: 12px; color: #fff; }
.join form { margin-top: 28px; }
.join .fields input, .join .fields select { background: rgba(18, 16, 30, .72); border-color: rgba(255, 255, 255, .5); }
.join .consent { margin-top: 16px; color: #fff; }
.join .form-status { min-height: 20px; margin-top: 10px; }
.join .privacy-note { margin-top: 2px; color: rgba(255, 255, 255, .8); }
.join footer { background: rgba(14, 12, 26, .6); color: rgba(255, 255, 255, .78); }

.join { border-top: 1px solid rgba(255, 255, 255, .14); }

/* Waitlist popup: every "Join the waitlist" button opens it in place, so nobody has to scroll past the studio. */
.join-pop { width: min(520px, 100vw - 32px); padding: 30px 28px 24px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 20px; background: rgba(22, 20, 36, .97); color: var(--text); text-align: center; box-shadow: 0 16px 40px rgba(8, 6, 20, .5); }
.join-pop::backdrop { background: rgba(14, 12, 26, .62); }
.join-pop[open] { animation: pop .4s cubic-bezier(.2, .9, .3, 1) both; }
.join-pop h2 { margin: 12px 0 0; font: 400 clamp(28px, 4vw, 38px)/1.08 var(--serif); letter-spacing: -.01em; }
.join-pop-sub { margin-top: 10px; color: rgba(255, 255, 255, .86); }
.join-pop form { margin-top: 22px; }
.join-pop .fields { grid-template-columns: 1fr; }
.join-pop .fields input, .join-pop .fields select { background: rgba(10, 9, 20, .7); border-color: rgba(255, 255, 255, .45); }
.join-pop .consent { margin-top: 14px; text-align: left; }
.join-pop .privacy-note { color: rgba(255, 255, 255, .72); }
.join-pop-close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: rgba(255, 255, 255, .8); font: 400 24px/1 var(--sans); cursor: pointer; }
.join-pop-close:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---- The lower half: one statement, three plain lines, a signed note, the form. No small labels, no cards. ---- */

.scroll-cue { font: 400 14px/1 var(--sans); letter-spacing: 0; text-transform: none; }
.demo-head { margin-top: 14px; }

/* The statement */
.say { position: relative; overflow-x: clip; padding: clamp(96px, 14vw, 200px) 0 clamp(72px, 9vw, 130px); }
.say h2 { margin: 0 clamp(18px, 6vw, 96px); font: 400 clamp(44px, 8.6vw, 136px)/.98 var(--serif); letter-spacing: -.03em; }


/* Three plain lines, no boxes */
.three { list-style: none; margin: clamp(56px, 8vw, 120px) clamp(18px, 6vw, 96px) 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 48px); counter-reset: step; }
.three li { counter-increment: step; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .5); font: 400 clamp(20px, 2.1vw, 30px)/1.2 var(--serif); }
.three li::before { content: counter(step); display: block; margin-bottom: 10px; font: 400 14px/1 var(--sans); opacity: .75; }

/* A note from the person building it */
.letter { width: min(560px, 100% - 36px); margin: clamp(80px, 11vw, 170px) clamp(18px, 6vw, 96px) 0 auto; }
.letter p { margin: 0; font: 400 clamp(19px, 1.7vw, 23px)/1.5 var(--serif); }
.letter .sig { margin-top: 22px; font: italic 400 clamp(26px, 2.6vw, 36px)/1 var(--serif); }

/* The waitlist: the same directness. No shade, bigger words. */
.join { border-top: 0; }
.join h2 { font: 400 clamp(40px, 7vw, 104px)/1 var(--serif); letter-spacing: -.03em; }
.join-sub { font: 400 clamp(19px, 1.8vw, 24px)/1.35 var(--serif); }

@media (max-width: 700px) {
  .three { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .fields { grid-template-columns: 1fr; }
  .demo-head h2 { font-size: 18px; }
}
/* Very short screens (a phone on its side): the title steps down so nothing collides. */
@media (max-height: 520px) {
  .hero h1 { font-size: clamp(40px, 9vw, 90px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
.compact .mac-popup { display: none; }
