/* Maurice AI, draft 06: the combo.
   Draft 01's calm layout and colours, 04's clean fonts, and pieces of 02, 03, 04 and 05.
   Brand colours copied from brand/colours.css. Use the variables, never the hex codes. */
/* Fonts served from our own site (downloaded from Google Fonts, SIL Open Font Licence). Latin only. */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; src: url("shared/fonts/bricolage-grotesque-normal-400-700.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: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url("shared/fonts/dm-mono-normal-400.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: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url("shared/fonts/dm-mono-normal-500.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: 'Figtree'; font-style: italic; font-weight: 400; font-display: swap; src: url("shared/fonts/figtree-italic-400.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: 'Figtree'; font-style: normal; font-weight: 400 600; font-display: swap; src: url("shared/fonts/figtree-normal-400-600.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: 'Newsreader'; font-style: italic; font-weight: 300 400; font-display: swap; src: url("shared/fonts/newsreader-italic-300-400.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: 'Newsreader'; font-style: normal; font-weight: 300 500; font-display: swap; src: url("shared/fonts/newsreader-normal-300-500.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; }

:root {
  --maurice-burgundy: #6A2420;
  --maurice-burgundy-deep: #46171A;
  --maurice-burgundy-soft: #8A3A31;
  --maurice-bone: #F1E6DA;
  --maurice-cream: #FAF5EE;
  --maurice-bone-shadow: #DDC8BA;
  --maurice-charcoal: #221C1A;
  --maurice-steel: #8C8986;

  /* Roles */
  --paper: var(--maurice-cream);
  --paper-2: var(--maurice-bone);
  --rule: var(--maurice-bone-shadow);
  --ink: var(--maurice-charcoal);
  --ink-soft: #5C504B;
  --ink-dim: #8A7C75;
  --accent: var(--maurice-burgundy);
  --night: #2B2422;           /* chef's bubble on the dark thread */
  --ok: #4D6B4A;

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;

  --gutter: 20px;
  --maxw: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --head-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--head-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--maurice-burgundy-soft); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .hero :focus-visible, .pilot :focus-visible, .venues :focus-visible, .shift :focus-visible { outline-color: var(--maurice-bone); }
p { text-wrap: pretty; }

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 60;
  background: var(--paper); color: var(--ink); padding: 12px 16px; font: 500 15px/1 var(--sans);
}
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Masthead: sits on the film, then stays at the top on a solid bar ---------- */
.masthead {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  color: var(--maurice-bone);
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.masthead.is-solid {
  background: rgba(250, 245, 238, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--ink); box-shadow: 0 1px 0 var(--rule);
}
.masthead.is-solid .wordmark { color: var(--accent); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; min-height: var(--head-h); gap: 24px; }
/* Wordmark W10 (brand/logo/wordmark): the logo m as the capital, "aur" and "ce" in
   Bricolage at the m's stroke weight, and the m's spatula turned upside down as the i. */
.wordmark {
  display: inline-flex; align-items: baseline;
  font-family: var(--display); font-size: 26px; font-weight: 550; letter-spacing: -.005em;
  font-variation-settings: "wdth" 90;
  text-decoration: none; color: inherit; line-height: 1; white-space: nowrap;
  padding: 10px 0;
}
.wordmark:hover { color: inherit; }
/* The m and the i are sized to the font's cap height and sit on the text baseline. */
.wordmark .maurice-mark { height: .72em; height: 1cap; width: auto; flex: none; display: block; margin-right: .035em; }
.wordmark .wordmark__i { height: .72em; height: 1cap; width: auto; flex: none; display: block; margin: 0 .01em; }
.nav { display: flex; align-items: center; gap: 26px; font: 500 15px/1 var(--sans); }
.nav a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.nav a:hover { color: inherit; text-decoration: underline; }
.nav .nav__secondary { display: none; }
.nav .nav__pilot { text-decoration: underline; text-decoration-thickness: 1px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border: 0; cursor: pointer;
  font: 600 16px/1 var(--sans); text-decoration: none; border-radius: 999px;
  background: var(--maurice-bone); color: var(--maurice-burgundy-deep);
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--maurice-cream); color: var(--maurice-burgundy); }
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--accent); color: var(--maurice-cream); }
.btn--ink:hover { background: var(--maurice-burgundy-deep); color: var(--maurice-cream); }
.textlink { font: 500 16px/1 var(--sans); display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Shared type ---------- */
.section { padding: 88px 0; }
.h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(34px, 8.6vw, 64px); line-height: 1.02; letter-spacing: -.03em;
  font-variation-settings: "wdth" 90, "opsz" 72;
  text-wrap: balance;
}
.body-copy { color: var(--ink-soft); max-width: 34em; }

/* ---------- Chat pieces (shared by the hero card and the demo) ---------- */
.bubble, .msg { border-radius: 18px; padding: 10px 14px; font-size: 15px; line-height: 1.45; max-width: 88%; }
.bubble--chef, .msg--chef { justify-self: end; margin-left: auto; background: var(--night); color: var(--maurice-bone); border-bottom-right-radius: 5px; }
.bubble--maurice, .msg--maurice { justify-self: start; background: var(--accent); color: var(--maurice-bone); border-bottom-left-radius: 5px; }
.msg time { display: block; margin-top: 4px; font-size: 11px; color: rgba(241,230,218,.6); text-align: right; font-variant-numeric: tabular-nums; }
.lines { margin-top: 8px; font-variant-numeric: tabular-nums; }
.lines li { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; border-top: 1px solid rgba(241,230,218,.2); }
.lines li span:last-child { opacity: .8; text-align: right; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 13px; border-radius: 999px;
  font: 600 13px/1 var(--sans); box-shadow: inset 0 0 0 1px rgba(241,230,218,.45); color: var(--maurice-bone);
}
.chip--send { background: var(--maurice-bone); color: var(--maurice-burgundy-deep); box-shadow: none; }
.chip.is-pressed { transform: scale(.94); filter: brightness(.9); transition: transform .15s, filter .15s; }
.voice { display: flex; align-items: center; gap: 10px; }
.voice__play { width: 26px; height: 26px; border-radius: 50%; background: var(--maurice-bone); flex: none; position: relative; }
.voice__play::after { content: ""; position: absolute; left: 10px; top: 8px; border-left: 8px solid var(--night); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.voice__wave {
  flex: 1; min-width: 70px; height: 20px; background: rgba(241,230,218,.7);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0 9h3v2H0zM5 6h3v8H5zM10 3h3v14h-3zM15 7h3v6h-3zM20 4h3v12h-3zM25 8h3v4h-3zM30 2h3v16h-3zM35 6h3v8h-3zM40 5h3v10h-3zM45 8h3v4h-3zM50 3h3v14h-3zM55 6h3v8h-3zM60 4h3v12h-3zM65 7h3v6h-3zM70 5h3v10h-3zM75 8h3v4h-3zM80 6h3v8h-3zM85 3h3v14h-3zM90 7h3v6h-3zM95 9h3v2h-3z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0 9h3v2H0zM5 6h3v8H5zM10 3h3v14h-3zM15 7h3v6h-3zM20 4h3v12h-3zM25 8h3v4h-3zM30 2h3v16h-3zM35 6h3v8h-3zM40 5h3v10h-3zM45 8h3v4h-3zM50 3h3v14h-3zM55 6h3v8h-3zM60 4h3v12h-3zM65 7h3v6h-3zM70 5h3v10h-3zM75 8h3v4h-3zM80 6h3v8h-3zM85 3h3v14h-3zM90 7h3v6h-3zM95 9h3v2h-3z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.voice__len { font-size: 12px; opacity: .75; font-variant-numeric: tabular-nums; }
.bubble__said, .msg__said { display: block; margin-top: 8px; font-style: italic; color: rgba(241,230,218,.85); }

/* ---------- 1. Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--maurice-bone);
  background: var(--maurice-charcoal) url("shared/video/open-kitchen-calm.jpg") 42% center / cover no-repeat;
  overflow: hidden;
}
.hero__film {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: 42% center; filter: saturate(.72) contrast(.94) brightness(.96);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(34,28,26,.6) 0%, rgba(34,28,26,0) 24%),
    linear-gradient(to top, rgba(34,28,26,.92) 0%, rgba(34,28,26,.66) 40%, rgba(34,28,26,.15) 70%, rgba(34,28,26,0) 85%);
}
.hero__inner { position: relative; padding-top: calc(var(--head-h) + 48px); padding-bottom: 72px; display: grid; gap: 40px; }
.hero h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(42px, 11.4vw, 88px); line-height: .98; letter-spacing: -.035em;
  font-variation-settings: "wdth" 88, "opsz" 96;
}
.hero h1 span { display: block; }
.hero__standfirst { margin-top: 20px; max-width: 30em; font-size: 18px; line-height: 1.5; color: rgba(241,230,218,.88); }
.hero__actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; }
.hero .textlink:hover { color: var(--maurice-cream); }
.hero__pause {
  position: absolute; right: var(--gutter); bottom: 10px; display: none;
  background: none; border: 0; color: rgba(241,230,218,.7);
  font: 500 13px/1 var(--sans); cursor: pointer; min-height: 44px; padding: 0;
  text-decoration: underline; text-underline-offset: .25em;
}
.hero__pause:hover { color: var(--maurice-bone); }

/* The carousel of examples: a label pill with arrows, one chat card, dots. Manual only. */
.uses { width: 100%; max-width: 400px; display: grid; gap: 10px; }
.uses__bar { display: flex; align-items: center; gap: 8px; }
.uses__arrow {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(34,28,26,.6); color: var(--maurice-bone);
  box-shadow: inset 0 0 0 1px rgba(241,230,218,.25);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background-color .2s var(--ease);
}
.uses__arrow:hover { background: rgba(34,28,26,.85); }
.uses__arrow svg { width: 16px; height: 16px; }
.uses__label {
  flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: var(--maurice-bone); color: var(--maurice-burgundy-deep);
  font: 600 15px/1.1 var(--sans);
}
.uses__count { font: 400 12px/1 var(--mono); color: var(--ink-soft); white-space: nowrap; }
.uses__names { display: grid; gap: 3px; min-width: 0; padding: 6px 0; }
.uses__names b { font: 600 15px/1.1 var(--sans); }
.uses__names span { font: 400 13px/1.1 var(--sans); color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uses__card {
  background: rgba(34,28,26,.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(241,230,218,.16); border-radius: 22px; padding: 14px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  touch-action: pan-y;
}
.hero-card__head { display: flex; align-items: center; gap: 8px; padding: 2px 4px 12px; border-bottom: 1px solid rgba(241,230,218,.14); font: 600 14px/1 var(--sans); }
.hero-card__head span:not(.dot) { font-weight: 400; color: rgba(241,230,218,.6); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #7FA77A; box-shadow: 0 0 0 3px rgba(127,167,122,.2); }
/* every slide takes the same space, so the card doesn't jump in height */
.uses__track { display: grid; padding-top: 12px; }
/* like a chat window: the messages sit at the bottom of the card */
.uses__slide { grid-area: 1 / 1; display: grid; gap: 10px; align-content: end; }
.uses__slide[hidden] { display: grid; visibility: hidden; }
.uses__slide.is-in > * { animation: msg-in .45s var(--ease) both; }
.uses__slide.is-in > :nth-child(2) { animation-delay: .25s; }
.bubble-note { justify-self: center; padding: 4px 12px; border-radius: 999px; font-size: 12px; background: rgba(241,230,218,.1); color: rgba(241,230,218,.75); }
.slip--mini { width: 188px; font-size: 11.5px; }
.uses__dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.uses__dots > span { display: flex; gap: 4px; }
.uses__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(241,230,218,.35); transition: background-color .2s, width .2s; }
.uses__dots > span.is-on i { background: rgba(241,230,218,.6); }
.uses__dots i.is-on, .uses__dots > span.is-on i.is-on { width: 16px; border-radius: 3px; background: var(--maurice-bone); }

/* File and WhatsApp icons */
.fi { width: 22px; height: 26px; flex: none; }
.wa { display: inline-block; width: .95em; height: .95em; margin: 0 .28em 0 .05em; vertical-align: -.12em; fill: #25D366; }
.file {
  display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 8px 10px; border-radius: 12px;
  background: rgba(241,230,218,.12); font-size: 13px; line-height: 1.3;
}
.file b { display: block; font-weight: 600; font-size: 14px; }

@media (prefers-reduced-motion: no-preference) {
  .hero__text > * { opacity: 0; transform: translateY(14px); animation: settle .9s var(--ease) forwards; }
  .hero__text > :nth-child(2) { animation-delay: .12s; }
  .hero__text > :nth-child(3) { animation-delay: .24s; }
}
@keyframes settle { to { opacity: 1; transform: none; } }

/* ---------- 2. What Maurice is (dim text, jobs in bold) ---------- */
.intro__grid { display: grid; gap: 28px; }
.intro__text { display: grid; gap: 1.1em; }
.lede { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.5; color: var(--ink-dim); }
.lede strong { color: var(--ink); font-weight: 600; }
.pull {
  margin-top: 72px; color: var(--accent);
  font-family: var(--serif); font-style: italic; font-weight: 340;
  font-size: clamp(30px, 7.4vw, 56px); line-height: 1.1; letter-spacing: -.01em; max-width: 17ch;
}
.pull p::before { content: "\201C"; margin-left: -.4em; }
.pull p::after { content: "\201D"; }
.pull--small { margin-top: 40px; font-size: clamp(24px, 5.6vw, 32px); max-width: 20ch; }

/* ---------- 3. How it works: the looping demo ---------- */
.how { background: var(--paper-2); }
.how__grid { display: grid; gap: 44px; }
.how__head .body-copy { margin-top: 20px; }
.how__grid { margin-top: 52px; }
.steps { counter-reset: step; display: grid; gap: 36px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
.steps li::before { content: counter(step); font: 500 15px/1 var(--mono); color: var(--accent); padding-top: 7px; }
.steps h3 { font: 600 23px/1.2 var(--display); letter-spacing: -.018em; font-variation-settings: "wdth" 92; text-wrap: balance; }
.steps p { grid-column: 2; margin-top: 8px; color: var(--ink-soft); }
.how__demo { display: grid; gap: 12px; min-width: 0; }
.seg {
  display: inline-flex; flex-wrap: wrap; gap: 4px; justify-self: start; padding: 4px;
  border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule); background: var(--paper);
}
.seg button {
  position: relative; overflow: hidden;
  min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent;
  color: var(--ink-soft); font: 500 15px/1 var(--sans); cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"] { background: var(--maurice-charcoal); color: var(--maurice-bone); }
/* a thin progress line under the playing tab */
.seg button::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 7px; height: 2px; border-radius: 2px; background: rgba(241,230,218,.5); transform: scaleX(0); transform-origin: left; }
.seg.is-playing button[aria-selected="true"]::after { animation: progress var(--scene-ms, 9000ms) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.how__yes { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 15px; color: var(--ink-soft); max-width: 34em; }

.thread {
  background: var(--maurice-charcoal); color: var(--maurice-bone);
  border-radius: 24px; padding: 16px; box-shadow: 0 24px 60px -24px rgba(34,28,26,.45);
  display: flex; flex-direction: column;
}
.thread__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 4px 6px 14px; border-bottom: 1px solid rgba(241,230,218,.12); }
.thread__name { font: 600 18px/1 var(--display); letter-spacing: -.01em; }
.msgs { display: grid; align-content: start; gap: 10px; padding: 16px 0 8px; min-height: 360px; }
.msg { animation: msg-in .45s var(--ease) both; }
.msg--typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(241,230,218,.8); animation: blink 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
.msg--status { justify-self: center; max-width: none; padding: 4px 12px; border-radius: 999px; font-size: 12px; background: rgba(241,230,218,.1); color: rgba(241,230,218,.75); }
.msg--status::before { content: "✓ "; color: #9CC497; }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.slip {
  display: block; width: 200px; max-width: 100%; padding: 12px; border-radius: 4px;
  background: #F4EEE4; color: var(--ink); font-size: 12px; line-height: 1.4; transform: rotate(-1.5deg);
}
.slip b { display: block; font: 600 14px/1.2 var(--display); }
.slip ul { margin-top: 6px; }
.slip li { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; border-top: 1px solid rgba(34,28,26,.15); font-variant-numeric: tabular-nums; }
.msg--photo { padding: 6px; background: var(--night); }
.msg--photo img { width: 200px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: 13px; }
.msg--photo .msg__said { margin: 6px 6px 2px; }
/* the photo sending: blurred under a spinner, then sharp with a tick */
.snap { position: relative; display: block; border-radius: 13px; overflow: hidden; }
.snap img { transition: filter .5s var(--ease); }
.snap::before { content: ""; position: absolute; inset: 0; z-index: 1; margin: auto; width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(241,230,218,.3); border-top-color: var(--maurice-bone); opacity: 0; transition: opacity .3s; }
.snap::after { content: "✓✓"; position: absolute; right: 8px; bottom: 6px; font-size: 11px; letter-spacing: -2px; color: #9CC497; text-shadow: 0 1px 2px rgba(0,0,0,.6); opacity: 1; transition: opacity .3s .3s; }
.msg--photo.is-sending .snap img { filter: blur(5px) brightness(.65); }
.msg--photo.is-sending .snap::before { opacity: 1; animation: spin .8s linear infinite; }
.msg--photo.is-sending .snap::after { opacity: 0; transition: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.thread__note { margin-top: auto; padding: 10px 6px 2px; font-size: 12px; color: rgba(241,230,218,.55); border-top: 1px solid rgba(241,230,218,.12); }

/* ---------- 4. One shift: plating film full width, the log laid over it ---------- */
.shift { position: relative; background: var(--maurice-charcoal); color: var(--maurice-bone); }
.shift__film { margin: 0; }
.shift__film video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.85); }
.shift__inner { padding-top: 40px; padding-bottom: 80px; display: grid; gap: 32px; }
.shift__text p { margin-top: 18px; max-width: 28em; color: rgba(241,230,218,.82); }
.shift__card {
  background: var(--paper); color: var(--ink); border-radius: 18px; padding: 18px 20px 8px;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.6);
}
.shift__sub { font: 400 12px/1.4 var(--mono); color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; }
.log { margin-top: 12px; border-top: 1px solid var(--ink); }
.log li { display: grid; grid-template-columns: 50px 1fr auto; gap: 12px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.45; }
.log li:last-child { border-bottom: 0; }
.log time { font: 500 13px/1.7 var(--mono); color: var(--accent); }
.log .fi { width: 19px; height: 22px; }
.js .log li { opacity: 0; transform: translateY(-8px); }
.js .log.is-in li { opacity: 1; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .log.is-in li:nth-child(2) { transition-delay: .3s; }
.js .log.is-in li:nth-child(3) { transition-delay: .6s; }
.js .log.is-in li:nth-child(4) { transition-delay: .9s; }
.js .log.is-in li:nth-child(5) { transition-delay: 1.2s; }
.js .log.is-in li:nth-child(6) { transition-delay: 1.5s; }
.js .log.is-in li:nth-child(7) { transition-delay: 1.8s; }

/* ---------- 7. Off your plate: the menu card (the one place the serif leads) ---------- */
.plate-section { background: var(--paper-2); }
.menu {
  max-width: 980px; margin: 0 auto; padding: 56px 24px 44px;
  background: var(--paper); text-align: center; font-family: var(--serif);
  outline: 1px solid var(--rule); outline-offset: -8px;
  box-shadow: 0 1px 0 var(--rule), 0 30px 60px -40px rgba(34,28,26,.35);
}
.menu__title {
  font-weight: 340; font-size: clamp(44px, 12vw, 84px); line-height: 1; letter-spacing: -.02em;
  font-variation-settings: "opsz" 72; color: var(--ink);
}
.menu__sub { margin: 14px auto 0; max-width: 24em; font-size: 17px; line-height: 1.5; color: var(--ink-soft); font-style: italic; }
.menu__mark { display: block; width: 46px; height: 12px; margin: 30px auto 38px; color: var(--accent); }
.menu__items { display: grid; gap: 34px; }
.menu__items h3 { font-weight: 420; font-size: 25px; line-height: 1.2; letter-spacing: -.005em; font-variation-settings: "opsz" 36; }
.menu__items p { margin: 8px auto 0; max-width: 24em; font-style: italic; font-size: 17px; line-height: 1.5; color: var(--ink-soft); }
.menu__total {
  display: flex; align-items: baseline; gap: 12px; max-width: 560px; margin: 52px auto 0; padding-top: 22px;
  border-top: 1px solid var(--ink); font-family: var(--mono); font-size: 15px; text-transform: uppercase; letter-spacing: .06em;
}
.menu__leader { flex: 1; border-bottom: 1px dotted var(--ink-dim); transform: translateY(-4px); }
.menu__total span:last-child { color: var(--accent); }
.menu__files { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }

/* ---------- 6. Tools: at launch, next, and "you request it, we build it" ---------- */
.tools__head .body-copy { margin-top: 20px; }
.tools__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 48px; }
.tools__more { margin-top: 10px; }
.tools__more[hidden] { display: none; }
.tools__list li {
  display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 16px; border-radius: 999px;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule);
  font: 600 15px/1 var(--sans); color: var(--ink-soft);
}
.tools__list .logo { width: 20px; height: 20px; flex: none; }
.tools__list img.logo { border-radius: 5px; object-fit: contain; }
.wordlogo { display: block; width: auto; }
.wordlogo--booker { height: 15px; mix-blend-mode: multiply; }
.wordlogo--brakes { height: 22px; }
.tools__toggle {
  margin-top: 16px; min-height: 44px; padding: 0 4px; border: 0; background: none; cursor: pointer;
  font: 600 15px/1 var(--sans); color: var(--accent); text-decoration: underline; text-underline-offset: .25em;
}
.tools__toggle::after { content: " +"; }
.tools__toggle[aria-expanded="true"]::after { content: " \2212"; }
.tools__build {
  margin-top: 44px; padding: 22px; border-radius: 18px; background: var(--paper-2);
  display: grid; gap: 16px; justify-items: start;
}
.tools__build p { color: var(--ink-soft); max-width: 36em; }
.tools__build b { color: var(--ink); font-weight: 600; }

/* ---------- 7. Venues: the full shop-front film, the one on screen lit up ---------- */
.venues { background: var(--maurice-charcoal); color: var(--maurice-bone); }
.venues__stage { position: relative; }
.venues__film { margin: 0; }
.venues__film video { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: contain; }
.venues__panel { padding: 48px var(--gutter) 80px; max-width: var(--maxw); margin: 0 auto; display: grid; gap: 22px; }
.venues__title { font: 600 clamp(32px, 7.6vw, 44px)/1.02 var(--display); letter-spacing: -.03em; font-variation-settings: "wdth" 90; text-wrap: balance; }
.venues__list li { padding: 14px 0 14px 14px; border-top: 1px solid rgba(241,230,218,.18); position: relative; transition: opacity .4s var(--ease); }
.venues__list li:last-child { border-bottom: 1px solid rgba(241,230,218,.18); }
.venues__list li::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 2px; background: var(--maurice-bone); transform: scaleY(0); transition: transform .4s var(--ease); }
.venues__list h3 { font: 600 26px/1.05 var(--display); letter-spacing: -.025em; font-variation-settings: "wdth" 90; }
.venues__list p { margin-top: 6px; color: rgba(241,230,218,.75); font-size: 15px; line-height: 1.45; }
.venues__list.is-syncing li { opacity: .5; }
.venues__list.is-syncing li.is-on { opacity: 1; }
.venues__list li.is-on::before { transform: none; }
.venues__team { color: rgba(241,230,218,.75); font-size: 15px; }

/* ---------- 9. Questions on a ticket ---------- */
.questions { background: var(--paper-2); }
.ticket {
  --edge: 10px;
  position: relative; max-width: 760px; margin: 0 auto; padding: 34px 22px 30px;
  background: #FFFDF8; color: var(--ink);
  box-shadow: 0 30px 60px -36px rgba(34,28,26,.45);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--edge) * 2) 51% repeat-x,
                conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(var(--edge) * 2) 51% repeat-x;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--edge) * 2) 51% repeat-x,
                conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(var(--edge) * 2) 51% repeat-x;
}
.ticket__foot { display: flex; justify-content: space-between; gap: 12px; font: 400 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.ticket__foot { margin-top: 26px; padding-top: 14px; border-top: 1px dashed var(--ink-dim); }
.ticket__title { margin-top: 0; font: 600 clamp(28px, 6.6vw, 42px)/1.05 var(--display); letter-spacing: -.03em; font-variation-settings: "wdth" 90; }
.faq { margin-top: 22px; border-top: 1px dashed var(--ink-dim); }
.faq details { border-bottom: 1px dashed var(--ink-dim); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 58px; padding: 12px 0; font-size: 18px; font-weight: 500; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px/1 var(--mono); color: var(--accent); flex: none; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 0 18px; max-width: 34em; color: var(--ink-soft); }
.faq details p a { color: var(--accent); }
.ask { margin-top: 26px; }
.ask__form { display: grid; gap: 10px; margin-top: 4px; }
.ask__form[hidden], .ask__open[hidden] { display: none; }
.ask__form label { font: 500 13px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.ask__form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper);
  font: 400 17px/1.5 var(--sans); color: var(--ink); resize: vertical;
}
.ask__form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.ask__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.ask__note { font-size: 13px; color: var(--ink-soft); }

/* ---------- 10. Join the pilot ---------- */
.pilot { background: var(--maurice-burgundy-deep); color: var(--maurice-bone); }
.pilot .h2 { font-size: clamp(44px, 12vw, 96px); }
.pilot__body { margin-top: 24px; max-width: 33em; color: rgba(241,230,218,.86); }
.pilot__body p + p { margin-top: 1em; }
.pilot__needs { margin-top: 28px; border-top: 1px solid rgba(241,230,218,.22); font-size: 15px; line-height: 1.45; }
.pilot__needs div { display: grid; grid-template-columns: 8em 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(241,230,218,.22); }
.pilot__needs dt { color: rgba(241,230,218,.65); }
.pilot__actions { margin-top: 30px; }
.pilot a:not(.btn):hover { color: var(--maurice-cream); }
.contact { margin-top: 64px; padding-top: 26px; border-top: 1px solid rgba(241,230,218,.22); display: grid; gap: 14px; }
.contact h3 { font: 500 15px/1.3 var(--sans); color: rgba(241,230,218,.7); }
.contact address { font-style: normal; font-size: 22px; line-height: 1.4; }
.contact address a { text-decoration-color: rgba(241,230,218,.45); }

/* ---------- Footer ---------- */
.footer { background: var(--paper); padding: 56px 0 40px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.footer .wordmark { color: var(--accent); font-size: 32px; }
.footer__grid { display: grid; gap: 28px; }
.footer__about { max-width: 26em; margin-top: 6px; }
.footer__legal { display: grid; gap: 2px; font-size: 14px; }
.footer__legal a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__legal li:first-child { color: var(--ink); font-weight: 600; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0 24px; font-size: 14px; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.footer__base { margin-top: 32px; font-size: 13px; }

/* ---------- Privacy page ---------- */
.masthead--solid { position: sticky; top: 0; color: var(--ink); background: var(--paper); box-shadow: 0 1px 0 var(--rule); }
.masthead--solid .wordmark { color: var(--accent); }
.policy { padding: 64px 0 96px; }
.policy h1 { font: 600 clamp(42px, 11vw, 80px)/1 var(--display); letter-spacing: -.035em; font-variation-settings: "wdth" 88; }
.policy__meta { margin-top: 18px; font: 400 13px/1.5 var(--mono); color: var(--ink-soft); }
.policy__draft { max-width: 38em; margin-top: 28px; padding: 14px 16px; background: var(--paper-2); border-left: 3px solid var(--accent); font-size: 16px; color: var(--ink-soft); }
.policy__body { margin-top: 44px; max-width: 38em; }
.policy__body h2 { margin-top: 48px; font: 600 26px/1.2 var(--display); letter-spacing: -.02em; }
.policy__body h2 + * { margin-top: 12px; }
.policy__body p + p, .policy__body ul + p, .policy__body p + ul { margin-top: 1em; }
.policy__body li { position: relative; padding-left: 22px; }
.policy__body li + li { margin-top: .6em; }
.policy__body li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 9px; height: 1px; background: var(--accent); }
.policy__body strong { font-weight: 600; color: var(--ink); }
.policy__lede { font-size: 20px; line-height: 1.5; }

/* Phone and tablet: the carousel sits straight under the headline */
@media (max-width: 1023px) {
  .hero__inner { gap: 0; }
  .hero__text { display: contents; }
  .hero h1 { order: 1; }
  .uses { order: 2; margin-top: 26px; justify-self: center; }
  .hero__standfirst { order: 3; margin-top: 28px; }
  .hero__actions { order: 4; }
}

/* ---------- Tablet ---------- */
@media (min-width: 720px) {
  :root { --gutter: 40px; --head-h: 76px; }
  body { font-size: 18px; }
  .nav .nav__secondary { display: inline-flex; }
  .section { padding: 120px 0; }
  .hero__standfirst { font-size: 20px; }
  .hero__pause { bottom: 22px; }
  .thread { padding: 20px; }
  .shift__film video { aspect-ratio: 16 / 9; }
  .tools__build { grid-template-columns: 1fr auto; align-items: center; padding: 26px 30px; }
  .venues__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .menu { padding: 80px 64px 64px; outline-offset: -12px; }
  .menu__items { grid-template-columns: 1fr 1fr; gap: 44px 56px; }
  .ticket { padding: 44px 48px 36px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) and (max-width: 1023px) {
  .nav { gap: 18px; font-size: 14px; }
  .nav a[href="#venues"] { display: none; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  :root { --gutter: 56px; }
  .g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }

  .hero__inner { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: end; padding-bottom: 96px; }
  .hero__text { grid-column: 1 / span 8; }
  .hero h1 { font-size: clamp(56px, 6.4vw, 88px); }
  .hero h1 span { white-space: nowrap; }
  .uses { grid-column: 9 / span 4; justify-self: end; }
  .hero__pause { bottom: 28px; }

  .intro__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
  .intro .h2 { grid-column: 1 / span 5; }
  .intro__text { grid-column: 7 / span 6; padding-top: 8px; }
  .intro .pull { margin-left: calc(100% / 12); margin-top: 120px; }

  .how__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: end; }
  .how__head .h2 { grid-column: 1 / span 6; }
  .how__head .body-copy { grid-column: 8 / span 5; margin-top: 0; }
  .how__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; margin-top: 80px; align-items: start; }
  .steps { grid-column: 1 / span 5; gap: 48px; padding-top: 64px; }
  .how__demo { grid-column: 7 / span 6; }
  .thread { padding: 24px; }
  .msgs { min-height: 400px; }

  /* the log sits over the film, on the right */
  .shift { min-height: 100vh; overflow: hidden; }
  .shift__film { position: absolute; inset: 0; }
  .shift__film video { height: 100%; aspect-ratio: auto; object-fit: cover; }
  .shift::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(34,28,26,.82) 0%, rgba(34,28,26,.35) 40%, rgba(34,28,26,.1) 60%, rgba(34,28,26,.45) 100%); pointer-events: none; }
  .shift__inner { position: relative; z-index: 1; min-height: 100vh; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center; padding-top: 120px; padding-bottom: 120px; }
  .shift__text { grid-column: 1 / span 5; }
  .shift__card { grid-column: 8 / span 5; background: rgba(250,245,238,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

  .tools__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: end; }
  .tools__head .h2 { grid-column: 1 / span 6; }
  .tools__head .body-copy { grid-column: 8 / span 5; margin-top: 0; }
  .tools__list:not(.tools__more) { margin-top: 64px; }

  .menu { padding: 96px 96px 76px; }
  .menu__items { gap: 52px 88px; }

  .venues__list { grid-template-columns: repeat(3, 1fr); }

  .pilot__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
  .pilot .h2 { grid-column: 1 / span 7; }
  .pilot__text { grid-column: 8 / span 5; align-self: end; }
  .pilot__body { margin-top: 0; }
  .contact { grid-column: 1 / -1; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; margin-top: 104px; }
  .contact h3 { grid-column: 1 / span 3; padding-top: 6px; }
  .contact address { grid-column: 8 / span 5; }

  .footer__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
  .footer__brand { grid-column: 1 / span 5; }
  .footer__legal { grid-column: 7 / span 4; }
  .footer__links { grid-column: 11 / span 2; flex-direction: column; }

  .policy__body, .policy__draft { margin-left: calc((100% + 32px) * 4 / 12); }
}

/* ---------- Wide desktop: venues laid over the right third of the full film ---------- */
@media (min-width: 1200px) {
  .venues__stage { overflow: hidden; }
  .venues__film video { display: block; }
  .venues__stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(34,28,26,0) 52%, rgba(34,28,26,.72) 64%, rgba(34,28,26,.9) 74%, rgba(34,28,26,.94) 100%); }
  .venues__panel { position: absolute; z-index: 1; top: 0; bottom: 0; right: 0; width: 31%; max-width: none; margin: 0; padding: 0 var(--gutter) 0 0; align-content: center; gap: 16px; }
  .venues__title { font-size: clamp(28px, 2.4vw, 38px); }
  .venues__list { display: block; }
  .venues__list li { padding: 10px 0 10px 14px; }
  .venues__list h3 { font-size: clamp(20px, 1.7vw, 26px); }
  .venues__list p { font-size: 14px; margin-top: 3px; }
  .venues__team { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
