/*
 * The website: Paper file 01M601DYHR7BPB2JPZD25Z0W36. The homepage is the single Daylight screen (page p-U-0, phone
 * 1BQ0-0, desktop 1BU8-0) with the sign-up sheet XVV-0; the top nav is page p-V-0. The hand-off page the Consumer
 * function renders shares this file.
 *
 * One stylesheet for every site page, at a fixed path so server-rendered pages can link it. Colours, type and spacing
 * are the website's --gv-* tokens from Paper; the few literals below are values Paper draws that the token set lacks.
 * Mobile first (Funbi, 6 Nov): the rules outside media queries are the phone, designed at browser viewport sizes;
 * `min-width` layers add the tablet (641) and desktop (1024) on top. Sizes are fixed steps, and the phone scale is
 * H1 40/44 (36 on the smallest phones), statement 26/34, headings 32/38, body 18/28 and labels 16, with every control at
 * least 44px and the main actions and rows 56px. The engravings without script are static SVGs.
 */
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("/site/instrument-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("/site/instrument-sans-latin-wght-normal.woff2") format("woff2-variations");
  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: "Hanken Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/site/hanken-grotesk-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/site/hanken-grotesk-latin-wght-normal.woff2") format("woff2-variations");
  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 {
  --gv-paper: #fbfbfa;
  --gv-aubergine: #0a050c;
  --gv-oxblood: #5c1a1e;
  --gv-buff: #e8dcc4;
  --gv-gold: #dfb127;
  --gv-ink: var(--gv-aubergine);
  --gv-ink-body: #0a050cde;
  --gv-ink-muted: #0a050cb8;
  --gv-ink-faint: #0a050c99;
  --gv-accent-hover: #4a1518;
  --gv-rule: #5c1a1e29;
  --gv-rule-strong: #5c1a1e3d;
  --gv-surface: #f3f2f1;
  --gv-surface-hover: #eae8e6;
  --gv-on-dark-muted: #fbfbfacc;
  --gv-font-display: "Instrument Sans", system-ui, sans-serif;
  --gv-font-text: "Hanken Grotesk", system-ui, sans-serif;
  --gv-measure: 636px;
  --gv-radius-pill: 999px;
  /* Paper draws the nav capsule, the copyright pill and the phone field white. */
  --home-white: #fff;
  /* Page frame (Paper p-T-0 TUF-0, Funbi 4 Nov): one centred column for the whole page, edges at 120 at 1440, 80 at
     1280 and 74 at 1024; 95% - 64px on tablets and 100% - 48px on phones. Content starts on the frame line. */
  --home-frame: calc(100% - 48px);
  --home-side: calc((100% - var(--home-frame)) / 2);
  --home-ease: 120ms ease-out;
  --home-sheet-ease: 320ms cubic-bezier(0.32, 0.72, 0, 1);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body.home {
  margin: 0;
  background: var(--gv-paper);
  color: var(--gv-ink);
  font: 400 16px / 24px var(--gv-font-text);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

.home a {
  color: inherit;
}

/* No double-tap zoom delay on controls, and no grey flash: every control has its own pressed state. */
.home a,
.home button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Skip to content: off screen until it takes focus, then above the nav. */
.home__skip {
  position: fixed;
  z-index: 50;
  top: calc(16px + env(safe-area-inset-top, 0px));
  left: max(16px, env(safe-area-inset-left, 0px));
  padding: 10px 16px;
  border-radius: var(--gv-radius-pill);
  background: var(--gv-oxblood);
  color: var(--gv-paper);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-200%);
}

.home .home__skip {
  color: var(--gv-paper);
}

.home__skip:focus-visible {
  outline-color: var(--gv-paper);
  transform: none;
}

.home :focus-visible {
  outline: 2px solid currentcolor;
  outline-offset: 3px;
}

/* Zero specificity, so each component's own margins win. */
:where(.home) :where(h1, h2, p) {
  margin: 0;
}

/* Top nav (Paper p-V-0, Funbi 7 Nov). Mobile-first: on a phone the bar holds the wordmark, Request access and the
   menu button. At the top of the page it lies open on the page; past 64px of scroll it closes into the white pill
   (wide-nav.ts). The menu button grows the pill into a card of the page rows and the account row (nav-menu.ts). From
   768 the page links and Request access join the bar: open across the frame at the top, a centred capsule once scrolled. */
.home__nav {
  position: fixed;
  z-index: 20;
  top: calc(12px + env(safe-area-inset-top, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  left: max(12px, env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  gap: 4px;
  height: 48px;
  padding: 0 5px 0 20px;
  border: 1px solid var(--gv-rule);
  border-radius: var(--gv-radius-pill);
  background: var(--home-white);
  box-shadow:
    #0a050c0f 0 1px 2px,
    #5c1a1e14 0 8px 24px;
  color: var(--gv-oxblood);
}

.home__nav[data-wide] {
  padding: 0 0 0 12px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.home__home {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-right: auto;
  border-radius: 4px;
}

.home__wordmark {
  display: block;
  width: 80px;
  height: auto;
}

.home__links,
.home__nav .home__nav-link {
  display: none;
}

/* Without the script there is no menu, so a phone still offers Sign in in the bar. */
@media (max-width: 767px) {
  .home__nav:has(.home__menu[hidden]) .home__nav-link {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 12px;
    font: 500 15px / 20px var(--gv-font-text);
  }
}

.home__links a,
.home__nav-link {
  text-decoration: none;
  white-space: nowrap;
}

.home__account {
  display: flex;
  align-items: center;
  gap: 4px;
}

.home__nav-action {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--gv-radius-pill);
  background: var(--gv-oxblood);
  font: 500 15px / 20px var(--gv-font-text);
  text-decoration: none;
  white-space: nowrap;
}

.home .home__nav-action {
  color: var(--gv-paper);
}

.home__nav-action:hover {
  background: var(--gv-accent-hover);
}

.home__menu {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.home__menu[hidden] {
  display: none;
}

.home__menu svg {
  width: 20px;
  height: 20px;
}

.home__menu-close,
.home__nav[data-open] .home__menu-open {
  display: none;
}

.home__nav[data-open] .home__menu-close {
  display: inline;
}

.home__chevron {
  width: 16px;
  height: 16px;
  color: var(--gv-oxblood);
}

/* Over an oxblood hero (the homepage and About) the open bar takes on-dark colours. */
.home__nav[data-on-dark][data-wide]:not([data-open]) {
  color: var(--gv-paper);
}

.home .home__nav[data-on-dark][data-wide]:not([data-open]) .home__nav-action {
  background: var(--gv-paper);
  color: var(--gv-oxblood);
}

.home .home__nav[data-on-dark][data-wide]:not([data-open]) .home__nav-action:hover {
  background: var(--home-white);
}

/* The menu: the pill grows in place into a white card over a scrim, the wordmark where it was, the page rows and then
   the account row. The page holds still behind it. */
.home__nav-scrim {
  position: fixed;
  z-index: 19;
  inset: 0;
  background: #0a050c33;
  opacity: 0;
  pointer-events: none;
}

.home__nav[data-open] + .home__nav-scrim {
  opacity: 1;
  pointer-events: auto;
}

html:has(.home__nav[data-open]) {
  overflow: hidden;
}

.home__nav[data-open] {
  flex-wrap: wrap;
  align-content: flex-start;
  height: auto;
  padding: 0 5px 20px 20px;
  border-color: var(--gv-rule);
  border-radius: 24px;
  background: var(--home-white);
  box-shadow:
    0 1px 2px #0a050c0f,
    0 16px 40px #5c1a1e1f;
}

.home__nav[data-open] .home__home {
  height: 46px;
}

.home__nav[data-open] .home__menu {
  order: 1;
}

.home__nav[data-open] .home__links {
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
  order: 2;
  margin-top: 8px;
  padding-right: 15px;
}

.home__nav[data-open] .home__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  color: var(--gv-ink);
  font-size: 18px;
  line-height: 28px;
}

.home__nav[data-open] .home__links a + a {
  border-top: 1px solid var(--gv-rule);
}

.home__nav[data-open] .home__account {
  flex: 0 0 100%;
  order: 3;
  gap: 8px;
  padding: 16px 15px 0 0;
}

.home__nav[data-open] .home__nav-link,
.home__nav[data-open] .home__nav-action {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--gv-radius-pill);
  font: 500 16px / 24px var(--gv-font-text);
}

.home__nav[data-open] .home__nav-action {
  order: -1;
}

.home__nav[data-open] .home__nav-link {
  background: var(--gv-surface);
  color: var(--gv-ink);
}

.home__nav[data-open] .home__nav-link:hover {
  background: var(--gv-surface-hover);
}

@media (min-width: 768px) {
  .home__nav {
    top: calc(16px + env(safe-area-inset-top, 0px));
    right: auto;
    left: 50%;
    gap: 28px;
    width: var(--home-nav-capsule, auto);
    height: 56px;
    padding: 0 8px 0 24px;
    translate: -50% 0;
  }

  .home__home {
    margin-right: 0;
  }

  .home__menu,
  .home__nav-scrim,
  .home__chevron {
    display: none;
  }

  .home__links {
    display: flex;
    gap: 24px;
  }

  .home__nav .home__nav-link {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: var(--gv-radius-pill);
  }

  .home__links a:hover {
    text-decoration: underline 1px;
    text-underline-offset: 6px;
  }

  .home__nav-action {
    height: 40px;
    padding: 0 20px;
    font-size: 16px;
    line-height: 24px;
  }
}

@media (min-width: 1024px) {
  /* At the top of the page the bar runs across the frame, wordmark and account on the frame lines and the links in
     the centre; the wordmark and account share the space either side, so the links sit at the exact centre. */
  .home__nav[data-wide] {
    width: calc(var(--home-frame) + 2px);
    height: 40px;
    gap: 0;
    padding-inline: 0;
  }

  .home__nav[data-wide] :is(.home__home, .home__account) {
    flex: 1 1 0;
  }

  .home__nav[data-wide] .home__account {
    justify-content: flex-end;
    gap: 8px;
  }

  .home__nav[data-wide] .home__wordmark {
    width: 96px;
  }

  .home__nav[data-wide] .home__links {
    gap: 32px;
  }

  .home__nav[data-wide] .home__nav-link {
    padding-inline: 16px;
    border-color: var(--gv-rule-strong);
  }

  .home__nav[data-wide] .home__nav-link:hover {
    background: var(--gv-surface);
  }

  .home__nav[data-on-dark][data-wide] .home__nav-link {
    border-color: #fbfbfa3d;
    background: #fbfbfa14;
  }

  .home__nav[data-on-dark][data-wide] .home__nav-link:hover {
    background: #fbfbfa24;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .home__nav {
    transition:
      width 320ms cubic-bezier(0.16, 1, 0.3, 1),
      height 320ms cubic-bezier(0.16, 1, 0.3, 1),
      padding 320ms cubic-bezier(0.16, 1, 0.3, 1),
      background-color 320ms ease-out,
      border-color 320ms ease-out,
      box-shadow 320ms ease-out,
      color 320ms ease-out;
  }

  .home__nav :is(.home__home, .home__account, .home__wordmark, .home__nav-link) {
    transition:
      flex-grow 320ms cubic-bezier(0.16, 1, 0.3, 1),
      width 320ms cubic-bezier(0.16, 1, 0.3, 1),
      padding 320ms cubic-bezier(0.16, 1, 0.3, 1),
      border-color 320ms ease-out,
      background-color 120ms ease-out;
  }

  .home__nav-scrim {
    transition: opacity 240ms ease-out;
  }

  .home__nav[data-open] {
    animation: home-nav-grow 320ms cubic-bezier(0.32, 0.72, 0, 1);
  }

  .home__nav[data-open] :is(.home__links, .home__account) {
    animation: home-fade 240ms ease-out 80ms both;
  }
}

/* The card grows down from the pill it was. */
@keyframes home-nav-grow {
  from {
    clip-path: inset(0 0 calc(100% - 48px) 0 round 24px);
  }

  to {
    clip-path: inset(0 0 0 0 round 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home__nav,
  .home__nav .home__nav-action,
  .home__nav-scrim {
    transition:
      background-color 120ms ease-out,
      border-color 120ms ease-out,
      box-shadow 120ms ease-out,
      color 120ms ease-out,
      opacity 120ms ease-out;
  }
}

/* The homepage is one screen in Daylight (Paper p-U-0: phone 1BQ0-0, iPhone SE 1C0M-0, desktop 1BU8-0, Funbi 7 Nov):
   the claim alone on paper under the day glows, between the nav line and a hairline 64px above the foot of the
   screen, with a row of links below it. The screen fills the visible viewport and grows past it only when the content
   needs the room, so a short phone scrolls a little rather than clip. */
.front {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

.front main {
  display: flex;
  flex: 1;
}

.home__hero {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 105px var(--page-pad) 32px;
  background:
    linear-gradient(var(--page-rule), var(--page-rule)) 0 72px / 100% 1px no-repeat,
    var(--page-frame-lines) 0 73px / 100% 100% no-repeat;
}

/* 40/44 on the phone, easing to 36/40 on a 375px screen so the claim keeps two lines. */
.home__hero h1 {
  font: 500 clamp(36px, calc(26.667vw - 64px), 40px) / 1.1 var(--gv-font-display);
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.home__lede {
  margin-top: 20px;
  color: var(--gv-ink-muted);
  font-size: 18px;
  line-height: 28px;
  text-wrap: pretty;
}

.home__actions {
  display: flex;
  gap: 8px;
  margin-top: 32px;
}

/* The glows fill the one screen and stop at its foot, so they never make the page scroll. */
.front .day__glows {
  height: 100%;
}

/* The hairline closes the frame here, so the frame lines stop on it, and its crosshairs sit on the glows unboxed. */
.front .page__cross {
  --page-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17'%3E%3Cpath d='M8.5 0v17M0 8.5h17' stroke='%235c1a1e99' stroke-width='1.5'/%3E%3C/svg%3E");
  background: var(--page-frame-lines) 0 0 / 100% 8px no-repeat;
}

/* The links row sits outside the frame, below the hairline: the pages on a phone, and from 768 the copyright on the
   left with the pages and profiles on the right. */
.front__foot {
  display: flex;
  align-items: center;
  height: calc(48px + env(safe-area-inset-bottom, 0px));
  padding: 0 var(--page-pad) env(safe-area-inset-bottom, 0px);
  color: var(--gv-ink-muted);
  font-size: 14px;
  line-height: 20px;
}

.front__foot p,
.front__wide {
  display: none;
}

.front__foot ul {
  display: flex;
  flex: 1;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
}

.front__foot a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  text-decoration: none;
}

.front__foot a:hover {
  color: var(--gv-ink);
}

.home__grabber {
  display: block;
  align-self: center;
  width: 36px;
  height: 5px;
  border-radius: var(--gv-radius-pill);
  background: #0a050c33;
}

.home__sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.home__sheet-head h2 {
  color: var(--gv-aubergine);
  font: 400 24px / 32px var(--gv-font-display);
  letter-spacing: -0.02em;
}

.home__close {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--gv-surface);
}

.home__close:hover {
  background: var(--gv-surface-hover);
}

.home__close svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.home__scrim {
  display: block;
  position: fixed;
  z-index: 30;
  inset: 0;
  background: #0a050c80;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--home-sheet-ease),
      visibility 0s 320ms;
}

.home:has(.home__sheet:target, .home__sheet[data-open]) .home__scrim {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--home-sheet-ease);
}

html:has(.home__sheet:target, .home__sheet[data-open]) {
  overflow: hidden;
}

.home:has(#hero:target .home__sheet[data-open]:not([aria-modal])) .home__scrim {
  opacity: 0;
  visibility: hidden;
}

html:has(#hero:target .home__sheet[data-open]:not([aria-modal])) {
  overflow: visible;
}

.home__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: auto;
  max-width: 100%;
  margin-top: 24px;
}

.home__sheet-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 24px;
}

.home__sheet {
  position: fixed;
  z-index: 40;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  max-height: 100%;
  padding: 8px max(24px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px))
      max(24px, env(safe-area-inset-left, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 24px 24px 0 0;
  background: var(--gv-paper);
  color: var(--gv-ink);
  transform: translateY(100%);
  visibility: hidden;
  transition: transform var(--home-sheet-ease),
      visibility 0s 320ms;
}

.home__sheet:target {
  transform: none;
  visibility: visible;
  transition: transform var(--home-sheet-ease);
}

.home__sheet[data-open] {
  transform: none;
  visibility: visible;
  transition: transform var(--home-sheet-ease);
}

/* A refused join arrives with the sheet open; without the script its close link and scrim go to #hero, which closes
   it here. A sheet the script has made a dialog is its own to close, even while a stale #hero stays the target. */
.home__hero:target .home__sheet[data-open]:not([aria-modal]) {
  transform: translateY(100%);
  visibility: hidden;
}

.home__label {
  white-space: nowrap;
  color: #0a050cb3;
  font: 500 16px / 24px var(--gv-font-text);
}

.home__field {
  display: contents;
}

.home__field input {
  min-width: 0;
  height: 56px;
  padding: 0 16px;
  border: 1px solid var(--gv-rule-strong);
  background: var(--home-white);
  color: var(--gv-ink);
  font: inherit;
  outline: none;
  order: 1;
  border-radius: 16px;
}

.home__field input:focus {
  padding: 0 15px;
  border: 2px solid var(--gv-oxblood);
}

.home__form[data-invalid] .home__field input {
  padding: 0 15px;
  border: 2px solid var(--gv-oxblood);
}

/* The field's own border shows focus instead. */
.home__field input:focus-visible {
  outline: none;
}

.home__field input::placeholder {
  color: #0a050c8c;
  opacity: 1;
}

.home__field button {
  height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--gv-radius-pill);
  background: var(--gv-oxblood);
  color: var(--gv-paper);
  font: 500 16px / 24px var(--gv-font-text);
  white-space: nowrap;
  cursor: pointer;
  order: 3;
  margin-top: 8px;
}

.home__field button:hover {
  background: var(--gv-accent-hover);
}

.home__field button:disabled {
  cursor: default;
  opacity: 0.72;
}

.home__error {
  display: flex;
  align-items: start;
  gap: 8px;
  order: 2;
  color: var(--gv-ink-body);
  font-size: 16px;
  line-height: 24px;
}

.home__error[hidden] {
  display: none;
}

.home__error::before {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gv-oxblood);
  content: "";
  margin-top: 6px;
}

/* Body sections of the careers page and the shared final CTA and footer (Paper p-U-0: Careers 19DR-0 and 19Z9-0, the
   Linen card 19X4-0, the phone footer accordion 19PK-0 and the desktop footer 1A27-0). Their frame lines sit 12px
   outside the content on a phone, 24 on a tablet and 48 on a desktop, where they meet the homepage's 1200 frame. */
:root {
  --page-lines: calc(100% - 24px);
  --page-inset: 12px;
  --page-rule: #5c1a1e1f;
  --page-on-dark-rule: #fbfbfa24;
  --page-side: calc((100% - var(--page-lines)) / 2);
  --page-pad: max(calc(var(--page-side) + var(--page-inset)), env(safe-area-inset-left, 0px));
  --page-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17'%3E%3Crect width='17' height='17' fill='%23fbfbfa'/%3E%3Cpath d='M8.5 0v17M0 8.5h17' stroke='%235c1a1e99' stroke-width='1.5'/%3E%3C/svg%3E");
  --page-foot-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Crect width='32' height='32' fill='%235c1a1e'/%3E%3Cpath d='M16 8v16M8 16h16' stroke='%23fbfbfacc' stroke-width='1.5'/%3E%3C/svg%3E");
}

/* Text a screen reader reads but the page does not show. */
.page__unseen {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.home__hero,
.careers__hero,
.contact__hero,
.careers__section,
.page__cross,
.cta,
.home__footer {
  --page-line-colour: var(--page-rule);
  --page-frame-lines: linear-gradient(
    90deg,
    transparent calc(var(--page-side) - 1px),
    var(--page-line-colour) calc(var(--page-side) - 1px) var(--page-side),
    transparent var(--page-side) calc(100% - var(--page-side)),
    var(--page-line-colour) calc(100% - var(--page-side)) calc(100% - var(--page-side) + 1px),
    transparent calc(100% - var(--page-side) + 1px)
  );
}

/* A hairline across the frame with a crosshair on each line, closing a section. */
.page__cross {
  position: relative;
  height: 32px;
  background: var(--page-frame-lines), var(--gv-paper);
}

.page__cross::before,
.page__cross::after {
  position: absolute;
  content: "";
}

.page__cross::before {
  top: 16px;
  left: var(--page-side);
  width: var(--page-lines);
  height: 1px;
  background: var(--page-rule);
}

.page__cross::after {
  top: 8px;
  left: calc(var(--page-side) - 9px);
  width: calc(var(--page-lines) + 17px);
  height: 17px;
  background:
    var(--page-cross) 0 0 / 17px 17px no-repeat,
    var(--page-cross) 100% 0 / 17px 17px no-repeat;
}

.careers__hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 532px;
  padding: 120px var(--page-pad) 56px;
  background:
    linear-gradient(var(--page-rule), var(--page-rule)) 0 72px / 100% 1px no-repeat,
    var(--page-frame-lines) 0 73px / 100% 100% no-repeat,
    var(--gv-paper);
}

.careers__label {
  color: var(--gv-oxblood);
  font-weight: 500;
}

.careers__hero h1 {
  margin-top: 24px;
  font: 500 32px / 38px var(--gv-font-display);
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.careers__lede {
  margin-top: 20px;
  color: var(--gv-ink-muted);
  text-wrap: pretty;
}

.careers__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.home__join,
.careers__roles,
.careers__manifesto,
.cta__join {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--gv-radius-pill);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.home .home__join,
.home .careers__roles,
.home .cta__join {
  padding-right: 20px;
  background: var(--gv-oxblood);
  color: var(--gv-paper);
}

.home .home__join,
.home .cta__join {
  padding-right: 24px;
}

.home .home__join:hover,
.home .careers__roles:hover,
.home .cta__join:hover {
  background: var(--gv-accent-hover);
}

.careers__hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* The count of listed roles, behind a short rule. */
.careers__count {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gv-on-dark-muted);
}

.careers__count::before {
  width: 1px;
  height: 16px;
  background: #fbfbfa52;
  content: "";
}

.careers__manifesto {
  background: var(--gv-surface);
  color: var(--gv-ink);
}

.careers__manifesto:hover {
  background: var(--gv-surface-hover);
}

.careers__section {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 72px var(--page-pad);
  background: var(--page-frame-lines), var(--gv-paper);
}

.careers__head {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.careers__section h2 {
  font: 500 24px / 32px var(--gv-font-display);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.careers__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.careers__areas {
  align-self: stretch;
  margin: 0;
  border-bottom: 1px solid var(--page-rule);
}

.careers__areas div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-block: 20px;
  border-top: 1px solid var(--page-rule);
}

.careers__areas dt {
  font: 500 20px / 28px var(--gv-font-display);
  letter-spacing: -0.02em;
}

.careers__areas dd {
  margin: 0;
  color: var(--gv-ink-body);
  text-wrap: pretty;
}

.home .page__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  color: var(--gv-oxblood);
  font-weight: 500;
  text-decoration: none;
}

.page__link span {
  font-size: 18px;
  transition: translate var(--home-ease);
}

.page__link:hover span {
  translate: 4px 0;
}

.careers__values {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Tone-on-tone tints from the brand's OKLCH steps: the card is a light step, the title its 200 and the text its 100. */
.careers__value {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  border-radius: 16px;
  background: var(--value-tint);
  color: var(--value-text);
}

.careers__value h3 {
  margin: 0;
  color: var(--value-title);
  font: 500 20px / 30px var(--gv-font-display);
  letter-spacing: -0.04em;
}

.careers__value p {
  margin: 0;
  text-wrap: pretty;
}

.careers__value--generous {
  --value-tint: #ffe9e7;
  --value-title: #5d1b1f;
  --value-text: #3c0005d9;
}

.careers__value--grounded {
  --value-tint: #e4d4ca;
  --value-title: #4d2c14;
  --value-text: #2f1100d9;
}

.careers__value--gutsy {
  --value-tint: #ffea8d;
  --value-title: #542a00;
  --value-text: #360b00d9;
}

.careers__open {
  background: var(--page-frame-lines), var(--gv-surface);
}

.careers__note {
  color: var(--gv-ink-muted);
  text-wrap: pretty;
}

/* Final CTA (Funbi, 6 Nov: standard before the footer on every page): the Linen field, three soft glows of blush,
   buff and gold, drawn as gradients instead of blurred discs. */
.cta {
  padding: 48px var(--page-pad) 72px;
  background: var(--page-frame-lines), var(--gv-paper);
}

.cta__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 16px;
  min-height: 420px;
  padding: 32px 28px 28px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 290px 60px, #f0ce6abf 0 22px, #f0ce6a00 178px),
    radial-gradient(circle at 240px 260px, #e8dcc4 0 76px, #e8dcc400 244px),
    radial-gradient(circle at 80px 80px, #e9c9c4e6 0 56px, #e9c9c400 224px),
    var(--gv-paper);
}

.cta__label {
  color: var(--gv-oxblood);
  font-weight: 500;
}

.cta h2 {
  color: #3c0005;
  font: 500 32px / 38px var(--gv-font-display);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.cta__body {
  color: #3c0005c2;
  text-wrap: pretty;
}

.cta__join {
  margin-top: 8px;
}

/* Footer: an accordion on the phone (Company open on a company page, with that page in bold), columns from 1024. */
.home__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "nav" "ask" "mark" "copy";
  --page-line-colour: var(--page-on-dark-rule);
  padding: 64px var(--page-pad) calc(24px + env(safe-area-inset-bottom, 0px));
  background: var(--page-frame-lines), var(--gv-oxblood);
  color: var(--gv-paper);
  touch-action: pan-y;
}

.foot__nav {
  grid-area: nav;
}

.foot__group {
  border-bottom: 1px solid var(--page-on-dark-rule);
}

.foot__group[open] {
  padding-bottom: 12px;
}

.foot__group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

.foot__group summary::-webkit-details-marker {
  display: none;
}

.foot__chevron {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fbfbfa99;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.foot__group[open] .foot__chevron {
  rotate: 180deg;
}

.foot__group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot__group a {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  color: var(--gv-on-dark-muted);
  text-decoration: none;
}

.foot__group a[aria-current="page"] {
  color: var(--gv-paper);
  font-weight: 500;
}

.foot__group a:hover {
  text-decoration: underline 1px;
  text-underline-offset: 4px;
}

.foot__arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}

/* Each mark opens that assistant with a question about Gravileo. */
.foot__ask {
  grid-area: ask;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-height: 48px;
  margin-top: 32px;
  padding: 0 12px 0 20px;
  border-radius: var(--gv-radius-pill);
  background: #fbfbfa14;
}

/* On the narrowest phones the label wraps rather than push the page sideways. */
.foot__ask p {
  min-width: 0;
  margin-right: auto;
  font: 500 14px / 24px var(--gv-font-text);
}

.foot__ask a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 44px;
  border-radius: var(--gv-radius-pill);
}

.foot__ask a:hover svg {
  opacity: 0.72;
}

.foot__ask svg {
  width: 20px;
  height: 20px;
  fill: var(--gv-paper);
}

.home__footer-mark {
  grid-area: mark;
  margin-top: 32px;
}

.home__footer-mark picture,
.home__footer-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.home__footer-mark picture {
  position: relative;
}

/* Drawn live by live-engraving.ts over the picture, which keeps the space and shows when there is no script. */
.home__engraving {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.home__footer-mark[data-live] img {
  visibility: hidden;
}

.foot__copy {
  grid-area: copy;
  padding-top: 8px;
  color: #fbfbfab8;
  font-size: 14px;
  line-height: 44px;
}

.foot__copy span {
  display: none;
}

@media (min-width: 641px) {
  :root {
    --page-lines: calc(95% - 64px);
    --page-inset: 24px;
  }

  .careers__hero {
    min-height: 560px;
    padding-top: 160px;
  }

  .careers__hero h1 {
    max-width: 640px;
    font-size: 48px;
    line-height: 52px;
  }

  .careers__lede {
    max-width: 560px;
    font-size: 18px;
    line-height: 28px;
  }

  .careers__section h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .careers__values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .cta__card {
    padding: 40px;
  }

  .cta h2 {
    max-width: 560px;
    font-size: 40px;
    line-height: 48px;
  }

  .cta__body {
    max-width: 520px;
  }
}

@media (min-width: 1024px) {
  :root {
    --page-lines: min(1200px, 95% - 96px);
    --page-inset: 48px;
  }

  /* Paper 1A45-0: centred copy over an engraved hatching that clears behind it. */
  .careers__hero {
    align-items: center;
    min-height: 624px;
    padding-top: 184px;
    padding-bottom: 72px;
    background:
      radial-gradient(550px 260px at 50% 400px in oklab, var(--gv-paper) 62%, #fbfbfa00 100%) 0 0 / 100% 100%
        no-repeat,
      url("/site/careers-hatching.svg") 50% 73px / 1440px 640px no-repeat,
      linear-gradient(var(--page-rule), var(--page-rule)) 0 72px / 100% 1px no-repeat,
      var(--page-frame-lines) 0 73px / 100% 100% no-repeat,
      var(--gv-paper);
    text-align: center;
  }

  .careers__hero .careers__label {
    font-size: 22px;
    line-height: 32px;
    font-weight: 400;
  }

  .careers__hero h1 {
    max-width: 900px;
    font-size: 72px;
    line-height: 76px;
    font-weight: 400;
  }

  .careers__lede {
    max-width: 720px;
    margin-top: 28px;
    font-size: 22px;
    line-height: 34px;
    text-wrap: balance;
  }

  .careers__actions {
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
  }

  .careers__section {
    gap: 40px;
    padding-block: 112px 128px;
  }

  .careers__head {
    gap: 16px;
  }

  .careers__section h2 {
    font-size: 40px;
    line-height: 48px;
  }

  .careers__split {
    display: grid;
    grid-template-columns: 456px 1fr;
    gap: 48px;
    padding-top: 96px;
  }

  .careers__open {
    padding-block: 128px;
  }

  .careers__open .careers__body {
    padding-top: 40px;
  }

  .careers__areas div {
    gap: 8px;
    padding-block: 28px;
  }

  .careers__areas dt {
    font-size: 24px;
    line-height: 32px;
  }

  .careers__areas dd,
  .careers__note,
  .careers__value p,
  .cta__body {
    font-size: 18px;
    line-height: 28px;
  }

  .careers__note {
    max-width: 520px;
  }

  .careers__values {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .careers__value {
    justify-content: space-between;
    gap: 32px;
    min-height: 400px;
    padding: 32px;
  }

  .careers__value h3 {
    font-size: 32px;
    line-height: 40px;
  }

  .cta {
    padding-block: 96px 120px;
  }

  .cta__card {
    min-height: 440px;
    padding: 56px;
    background:
      radial-gradient(circle at 980px 80px, #f0ce6abf 0 88px, #f0ce6a00 352px),
      radial-gradient(circle at 660px 460px, #e8dcc4 0 148px, #e8dcc400 532px),
      radial-gradient(circle at 160px 120px, #e9c9c4e6 0 136px, #e9c9c400 424px),
      var(--gv-paper);
  }

  .cta h2 {
    max-width: 640px;
    font-size: 56px;
    line-height: 64px;
    letter-spacing: -0.035em;
  }

  .home__footer {
    grid-template-columns: 1fr auto;
    grid-template-areas: "nav nav" "copy ask" "mark mark";
    padding: 0 var(--page-side) env(safe-area-inset-bottom, 0px);
  }

  /* The columns, with the crosshairs where their hairline meets the frame lines. */
  .foot__nav {
    position: relative;
    display: grid;
    grid-auto-flow: column;
    justify-content: start;
    gap: 12px 96px;
    padding: 64px var(--page-inset);
    border-bottom: 1px solid var(--page-on-dark-rule);
  }

  .foot__nav::after {
    position: absolute;
    right: -16px;
    bottom: -16px;
    left: -16px;
    height: 32px;
    background:
      var(--page-foot-cross) 0 0 / 32px 32px no-repeat,
      var(--page-foot-cross) 100% 0 / 32px 32px no-repeat;
    content: "";
  }

  .foot__group {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .foot__group[open] {
    padding-bottom: 0;
  }

  .foot__group summary {
    height: auto;
    padding-bottom: 16px;
    color: #fbfbfa99;
    pointer-events: none;
  }

  .foot__chevron {
    display: none;
  }

  /* Every column shows on a wide screen, whatever the phone's accordion had open. */
  .foot__group::details-content {
    content-visibility: visible;
    block-size: auto;
  }

  .foot__group ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .foot__group a {
    display: inline-flex;
    min-height: auto;
    padding: 0;
    color: var(--gv-paper);
  }

  .foot__group a[aria-current="page"] {
    font-weight: 400;
  }

  .foot__copy {
    align-self: center;
    padding: 16px var(--page-inset);
    line-height: 20px;
  }

  .foot__copy span {
    display: inline;
  }

  .foot__ask {
    gap: 16px;
    height: 40px;
    margin: 16px var(--page-inset) 16px 0;
    padding: 0 20px;
  }

  .foot__ask p {
    margin-right: 0;
    line-height: 20px;
  }

  .foot__ask a {
    width: 20px;
    height: 40px;
  }

  .home__footer-mark {
    margin-top: 0;
    padding-block: 64px;
    border-top: 1px solid var(--page-on-dark-rule);
  }

  /* Paper draws the 1296×400 engraving 22px above its 337.5 frame and lets it overflow. */
  .home__footer-mark picture {
    margin-block: -22px -11px;
  }
}

/* The About page (Paper p-U-0: phone 1A5G-0, short phone 1AJG-0, desktop 1AA2-0). The hero is oxblood with the
   courtyard engraving in an image stair behind the mission; the body sections share the careers page's frame. */
:root {
  --about-courtyard: url("/site/about/courtyard.jpg");
  /* On a wide screen the hero's crosshairs are drawn without a ground, as the stair runs behind the right one. */
  --about-hero-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M16 8v16M8 16h16' stroke='%23fbfbfacc' stroke-width='1.5'/%3E%3C/svg%3E");
  --page-dark-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17'%3E%3Crect width='17' height='17' fill='%235c1a1e'/%3E%3Cpath d='M8.5 0v17M0 8.5h17' stroke='%23fbfbfacc' stroke-width='1.5'/%3E%3C/svg%3E");
}

.about__hero,
.about__who,
.about__section {
  --page-line-colour: var(--page-rule);
  --page-frame-lines: linear-gradient(
    90deg,
    transparent calc(var(--page-side) - 1px),
    var(--page-line-colour) calc(var(--page-side) - 1px) var(--page-side),
    transparent var(--page-side) calc(100% - var(--page-side)),
    var(--page-line-colour) calc(100% - var(--page-side)) calc(100% - var(--page-side) + 1px),
    transparent calc(100% - var(--page-side) + 1px)
  );
}

.about__hero {
  --page-line-colour: #fbfbfa1f;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: max(100svh, 520px);
  padding: 108px var(--page-pad) 36px;
  overflow: clip;
  background:
    linear-gradient(#fbfbfa1f, #fbfbfa1f) 0 72px / 100% 1px no-repeat,
    var(--page-frame-lines) 0 73px / 100% 100% no-repeat,
    var(--gv-oxblood);
  color: var(--gv-paper);
}

/* The stair's box; the script clips it to the steps, so without it the hero shows the plain oxblood ground. */
.about__stair {
  position: absolute;
  top: 73px;
  right: var(--page-side);
  bottom: 123px;
  left: var(--page-side);
  visibility: hidden;
  background: #7e2a2f;
}

.about__stair[data-drawn] {
  visibility: visible;
}

.about__stair::before,
.about__plate::before {
  position: absolute;
  inset: 0;
  background: var(--about-courtyard) 60% 55% / 340% auto no-repeat;
  filter: grayscale(100%) contrast(130%);
  mix-blend-mode: screen;
  content: "";
}

.about__stair::before {
  opacity: 0.38;
}

.about__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about__eyebrow {
  margin: 0;
  font-weight: 500;
}

.about__mission {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.about__hero h1 {
  margin: 0;
  font: 500 32px / 38px var(--gv-font-display);
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.home .about__join {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--gv-radius-pill);
  background: var(--gv-paper);
  color: var(--gv-oxblood);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.home .about__join:hover {
  background: var(--home-white);
}

/* The hairline closing the hero, with a crosshair on each frame line. */
.about__cross {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 32px;
}

.about__cross::before,
.about__cross::after {
  position: absolute;
  content: "";
}

.about__cross::before {
  top: 16px;
  left: var(--page-side);
  width: var(--page-lines);
  height: 1px;
  background: #fbfbfa1f;
}

.about__cross::after {
  top: 8px;
  left: calc(var(--page-side) - 9px);
  width: calc(var(--page-lines) + 17px);
  height: 17px;
  background:
    var(--page-dark-cross) 0 0 / 17px 17px no-repeat,
    var(--page-dark-cross) 100% 0 / 17px 17px no-repeat;
}

.about__who {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 72px var(--page-pad);
  background: var(--page-frame-lines), var(--gv-paper);
}

.about__label {
  margin: 0;
  color: var(--gv-oxblood);
  font: 500 16px / 24px var(--gv-font-text);
  letter-spacing: 0;
}

/* Three statements on a phone, one paragraph from 1024; the middle sentence is the quieter aside. */
.about__statement {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  color: var(--gv-ink);
  font: 400 24px / 32px var(--gv-font-display);
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.about__statement > span {
  --final: 1;
}

.about__statement > .about__aside {
  --final: 0.5;
  color: #0a050c80;
}

/* While the statement reads itself in, each word runs from faint to its sentence's final colour. */
.about__statement [data-word] {
  color: rgb(10 5 12 / calc(0.22 + (var(--final) - 0.22) * var(--shown, 1)));
}

.about__plate {
  position: relative;
  height: 488px;
  overflow: clip;
  background: var(--gv-oxblood);
}

.about__plate::before {
  background-position: 48% 72%;
  background-size: 560% auto;
}

.about__section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 72px var(--page-pad);
  background: var(--page-frame-lines), var(--gv-paper);
}

.about__team {
  background: var(--page-frame-lines), var(--gv-surface);
}

.about__head,
.about__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.about__coin {
  display: block;
  width: 120px;
  height: 120px;
  margin-bottom: 12px;
}

.about__section h2 {
  margin: 0;
  font: 500 24px / 32px var(--gv-font-display);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.about__body p {
  margin: 0;
  color: var(--gv-ink-body);
  text-wrap: pretty;
}

.about__team .about__body p {
  color: var(--gv-ink-muted);
}

.about__body .page__link {
  margin-top: 4px;
}

@media (min-width: 641px) {
  .about__hero {
    padding-bottom: 72px;
  }

  .about__hero h1 {
    max-width: 640px;
    font-size: 48px;
    line-height: 52px;
  }

  .about__who,
  .about__section {
    padding-block: 112px;
  }

  .about__statement {
    font-size: 32px;
    line-height: 42px;
  }

  .about__plate {
    height: 520px;
  }

  .about__plate::before {
    background-size: 260% auto;
  }

  .about__section h2 {
    font-size: 40px;
    line-height: 48px;
  }

  .about__body p {
    max-width: 520px;
    font-size: 18px;
    line-height: 28px;
  }
}

@media (min-width: 1024px) {
  .about__hero {
    gap: 32px;
    min-height: max(100svh, 640px);
    padding: 72px var(--page-pad) 168px;
    background:
      linear-gradient(#fbfbfa1f, #fbfbfa1f) 0 72px / 100% 1px no-repeat,
      var(--page-frame-lines) 0 73px / 100% 100% no-repeat,
      var(--gv-oxblood);
  }

  .about__stair {
    top: 72px;
    bottom: 99px;
    left: calc(50% - 90px);
  }

  .about__stair::before {
    background-position: 60% 52%;
    background-size: 240% auto;
  }

  .about__copy {
    gap: 32px;
  }

  .about__eyebrow {
    font: 400 22px / 32px var(--gv-font-text);
  }

  .about__mission {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
  }

  /* 72 on a 1440 desktop, easing to 56 at 1024 so the headline keeps to four lines beside the pill. */
  .about__hero h1 {
    max-width: 880px;
    font: 400 clamp(56px, 3.85vw + 16.6px, 72px) / 1.06 var(--gv-font-display);
    letter-spacing: -0.02em;
  }

  .home .about__join {
    margin-bottom: 12px;
  }

  /* On a wide screen the hairline sits 100px above the hero's foot, between the frame lines. */
  .about__cross {
    bottom: 84px;
  }

  .about__cross::after {
    top: 0;
    left: calc(var(--page-side) - 16px);
    width: calc(var(--page-lines) + 32px);
    height: 32px;
    background:
      var(--about-hero-cross) 0 0 / 32px 32px no-repeat,
      var(--about-hero-cross) 100% 0 / 32px 32px no-repeat;
  }

  .about__who {
    gap: 24px;
    padding-block: 128px;
  }

  .about__statement {
    display: block;
    font-size: 48px;
    line-height: 58px;
    letter-spacing: -0.025em;
  }

  .about__plate {
    height: 560px;
  }

  .about__plate::before {
    background-position: 50% 74%;
    background-size: 170% auto;
  }

  .about__section {
    display: grid;
    grid-template-columns: 456px 1fr;
    gap: 48px;
    padding-block: 128px;
  }

  .about__story .about__head {
    gap: 32px;
  }

  .about__team .about__head {
    gap: 16px;
  }

  .about__coin {
    width: 160px;
    height: 160px;
    margin-bottom: 0;
  }

  .about__body {
    gap: 24px;
  }

  .about__story .about__body {
    padding-top: 202px;
  }

  .about__team .about__body {
    padding-top: 40px;
  }

  .about__body .page__link {
    margin-top: 0;
  }
}

/* Daylight (Paper p-U-0, homepage 1BQ0-0 and 1BU8-0, Manifesto 1C3E-0 and 1C7E-0): two soft glows of gold and blush
   behind the top of the page. They sit under every section, so they show only where the paper hero is transparent. */
.day__glows {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 900px;
  overflow: hidden;
  pointer-events: none;
}

/* On a page that scrolls on to paper sections the glows fade out above the hero's foot, so they never stop at an edge. */
.manifesto .day__glows,
.contact .day__glows {
  height: 480px;
  mask-image: linear-gradient(#000 40%, transparent);
}

.day__glows span {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
}

.day__gold {
  top: -60px;
  left: 150px;
  width: 340px;
  height: 340px;
  background: #f0ce6a80;
}

.day__blush {
  top: 420px;
  left: -150px;
  width: 300px;
  height: 300px;
  background: #e9c9c499;
}

/* The Manifesto page (Paper p-U-0: phone 1C3E-0, desktop 1C7E-0): the argument in two acts and a turn, then the band. */
.manifesto__hero,
.manifesto__act,
.manifesto__band {
  --page-line-colour: var(--page-rule);
  --page-frame-lines: linear-gradient(
    90deg,
    transparent calc(var(--page-side) - 1px),
    var(--page-line-colour) calc(var(--page-side) - 1px) var(--page-side),
    transparent var(--page-side) calc(100% - var(--page-side)),
    var(--page-line-colour) calc(100% - var(--page-side)) calc(100% - var(--page-side) + 1px),
    transparent calc(100% - var(--page-side) + 1px)
  );
}

.manifesto__hero {
  display: flex;
  flex-direction: column;
  padding: 120px var(--page-pad) 56px;
  background:
    linear-gradient(var(--page-rule), var(--page-rule)) 0 72px / 100% 1px no-repeat,
    var(--page-frame-lines) 0 73px / 100% 100% no-repeat;
}

.manifesto__label {
  color: var(--gv-oxblood);
  font-weight: 500;
}

.manifesto__hero h1 {
  margin-top: 24px;
  font: 500 32px / 38px var(--gv-font-display);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.manifesto__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.home .manifesto__copy {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border-radius: var(--gv-radius-pill);
  background: var(--gv-surface);
  color: var(--gv-ink);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.home .manifesto__copy:hover {
  background: var(--gv-surface-hover);
}

.manifesto__time {
  color: var(--gv-ink-muted);
  font-size: 14px;
  line-height: 20px;
}

.manifesto__act {
  padding: 72px var(--page-pad);
  background: var(--page-frame-lines), var(--gv-paper);
}

.manifesto__rail {
  display: none;
}

/* A reading page: its body runs a step above the marketing body. */
.manifesto__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 640px;
  color: #0a050cd9;
  font-size: 18px;
  line-height: 28px;
}

.manifesto__text p {
  text-wrap: pretty;
}

.manifesto__statement {
  margin-block: 16px;
  color: var(--gv-ink);
  font: 500 24px / 32px var(--gv-font-display);
  letter-spacing: -0.02em;
}

.manifesto__text .manifesto__statement {
  text-wrap: balance;
}

.manifesto__statement span:first-child {
  color: #0a050c80;
}

.manifesto__turn h2 {
  color: var(--gv-oxblood);
  font: 500 32px / 38px var(--gv-font-display);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* The band: the approved hero's relief at the top, fading into oxblood behind the headline. */
.manifesto__band {
  padding: 200px var(--page-pad) 72px;
  background:
    var(--page-frame-lines),
    linear-gradient(#5c1a1e00 0, var(--gv-oxblood) 300px) 0 0 / 100% 100% no-repeat,
    url("/site/phone-hero-relief.svg") 50% 0 / 100% auto no-repeat,
    var(--gv-oxblood);
  --page-line-colour: var(--page-on-dark-rule);
}

.manifesto__band .manifesto__text {
  color: #fbfbfad9;
}

.manifesto__band h2 {
  color: var(--gv-paper);
  font: 500 40px / 44px var(--gv-font-display);
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.manifesto__close {
  margin-top: 16px;
  color: var(--gv-paper);
  font: 500 24px / 32px var(--gv-font-display);
  letter-spacing: -0.02em;
}

.manifesto__close span:first-child {
  color: #fbfbfa99;
}

.manifesto__sign strong {
  color: var(--gv-paper);
  font-weight: 600;
}

@media (min-width: 641px) {
  .manifesto__hero {
    padding-top: 160px;
  }

  .manifesto__hero h1 {
    max-width: 720px;
    font-size: 48px;
    line-height: 52px;
  }
}

@media (min-width: 1024px) {
  .day__glows span {
    filter: blur(120px);
  }

  .day__gold {
    top: -180px;
    left: calc(50% + 100px);
    width: 720px;
    height: 720px;
  }

  .manifesto .day__glows,
  .contact .day__glows {
    height: 660px;
  }

  .day__blush {
    left: calc(50% - 940px);
    width: 620px;
    height: 620px;
  }

  .manifesto__hero {
    padding-top: 184px;
    padding-bottom: 96px;
    background:
      linear-gradient(var(--page-rule), var(--page-rule)) 0 72px / 100% 1px no-repeat,
      var(--page-frame-lines) 0 73px / 100% 100% no-repeat;
  }

  .manifesto__label {
    font: 400 22px / 32px var(--gv-font-text);
  }

  .manifesto__hero h1 {
    max-width: 1012px;
    font: 400 72px / 76px var(--gv-font-display);
    letter-spacing: -0.04em;
  }

  .manifesto__meta {
    gap: 24px;
    margin-top: 40px;
  }

  .home .manifesto__copy {
    height: 48px;
    padding: 0 24px;
  }

  .manifesto__time {
    font-size: 16px;
    line-height: 24px;
  }

  .manifesto__act,
  .manifesto__band {
    display: grid;
    grid-template-columns: minmax(160px, 264px) minmax(0, 640px);
    column-gap: clamp(48px, 8.3vw, 120px);
    padding-block: 112px 128px;
  }

  .manifesto__text {
    grid-column: 2;
    font-size: 20px;
    line-height: 32px;
  }

  /* A sticky rail beside the first act keeps the page's name and reading time in view. */
  .manifesto__rail {
    position: sticky;
    top: 112px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-self: start;
    color: var(--gv-ink-muted);
  }

  .manifesto__rail p:first-child {
    color: var(--gv-oxblood);
    font-weight: 500;
  }

  .manifesto__statement {
    font-size: 32px;
    line-height: 40px;
  }

  .manifesto__statement span {
    display: block;
  }

  .manifesto__turn h2 {
    font: 400 56px / 60px var(--gv-font-display);
    letter-spacing: -0.04em;
  }

  .manifesto__band {
    padding-top: 320px;
    background:
      var(--page-frame-lines),
      linear-gradient(#5c1a1e00 0, var(--gv-oxblood) 520px) 0 0 / 100% 100% no-repeat,
      url("/site/desktop-hero-relief.svg") 50% 0 / max(1440px, 100%) auto no-repeat,
      var(--gv-oxblood);
  }

  .manifesto__band .manifesto__text {
    grid-column: 1 / -1;
    max-width: 904px;
  }

  .manifesto__band h2 {
    font: 400 96px / 96px var(--gv-font-display);
  }

  .manifesto__band p {
    max-width: 640px;
  }

  .manifesto__close {
    font-size: 32px;
    line-height: 40px;
  }
}

/* At 1440 the statement runs 80px past the text column, to 720, into the room the grid leaves on the right. */
@media (min-width: 1280px) {
  .manifesto__statement {
    width: calc(100% + 80px);
    max-width: 720px;
  }
}

/* The hand-off page (NYA-0, phone O0W-0, motion O7J-0): the Fit's square settles into its notch while the browser
   moves to WorkOS. */
.home--system {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--gv-oxblood);
  color: var(--gv-paper);
}

.sys__stage {
  position: relative;
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 120px var(--home-side) 96px;
  text-align: center;
  padding-inline: 16px;
}

.sys__ground {
  position: absolute;
  inset: 0;
  background: url("/site/desktop-hero-relief.svg") center / cover no-repeat;
  opacity: 0.4;
  pointer-events: none;
}

.sys__fit {
  position: relative;
  width: 160px;
  height: 160px;
}

.sys__fit-l {
  fill: var(--gv-paper);
}

.sys__fit-square {
  animation: sys-settle 1.6s infinite;
  fill: var(--gv-gold);
}

@keyframes sys-settle {
  0% {
    opacity: 0.4;
    transform: translate(56px, -56px);
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  22.5% {
    opacity: 1;
    transform: translate(0, 0);
    fill: var(--gv-gold);
  }

  32.5%,
  75% {
    opacity: 1;
    transform: translate(0, 0);
    fill: var(--gv-paper);
  }

  100% {
    opacity: 0.3;
    transform: translate(30px, -30px);
    fill: var(--gv-paper);
  }
}

.sys__words {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.sys__words h1 {
  font: 400 56px / 60px var(--gv-font-display);
  letter-spacing: -0.04em;
  font-size: 40px;
  line-height: 44px;
}

.sys__email {
  color: var(--gv-on-dark-muted);
}

/* Shown only after 3 s, since the refresh usually moves the browser on within a second. */
.sys__fallback {
  position: absolute;
  right: 0;
  bottom: 40px;
  left: 0;
  color: var(--gv-on-dark-muted);
  animation: sys-reveal 240ms ease-out 3s both;
}

.home .sys__fallback a {
  color: var(--gv-paper);
  text-decoration: underline 1px;
  text-underline-position: from-font;
}

@keyframes sys-reveal {
  from {
    visibility: hidden;
    opacity: 0;
  }

  to {
    visibility: visible;
    opacity: 1;
  }
}

/* Tablet and wider, from 641: the sign-up sheet becomes a card in the middle of the screen. */
@media (min-width: 641px) {
  :root {
    --home-frame: calc(95% - 64px);
  }

  html {
    scroll-padding-top: 88px;
  }

  .home__hero h1 {
    font-size: 64px;
    font-weight: 400;
    line-height: 68px;
  }

  .home__lede {
    margin-top: 24px;
    font-size: 20px;
    line-height: 30px;
  }

  .home__actions {
    margin-top: 36px;
  }

  .home__sheet {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;
    width: min(480px, 100% - 48px);
    padding: 24px 32px 32px;
    border-radius: 24px;
    box-shadow: 0 24px 64px #0a050c29;
    opacity: 0;
    transform: translate(-50%, calc(-50% + 16px));
    transition:
      opacity var(--home-sheet-ease),
      transform var(--home-sheet-ease),
      visibility 0s 320ms;
  }

  .home__sheet:target,
  .home__sheet[data-open] {
    opacity: 1;
    transform: translate(-50%, -50%);
    transition:
      opacity var(--home-sheet-ease),
      transform var(--home-sheet-ease);
  }

  .home__hero:target .home__sheet[data-open]:not([aria-modal]) {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 16px));
  }

  .home__grabber {
    display: none;
  }

  .home__sheet-head {
    margin-top: 0;
  }

  .home__home {
    align-items: normal;
    min-height: auto;
  }

  .sys__stage {
    gap: 40px;
    padding-inline: var(--home-side);
  }

  .sys__fit {
    width: 200px;
    height: 200px;
  }

  .sys__words h1 {
    font-size: 56px;
    line-height: 60px;
  }
}

@media (min-width: 768px) {
  .front__foot {
    justify-content: space-between;
  }

  .front__foot p,
  .front__wide {
    display: block;
  }

  .front__phone {
    display: none;
  }

  .front__foot ul {
    flex: none;
    gap: 32px;
  }
}

/* Desktop, from 1024: the 96/96 Display claim at 1440, easing to 72 at 1024 so it keeps two lines. */
@media (min-width: 1024px) {
  :root {
    --home-frame: min(1200px, 95% - 96px);
  }

  .home__hero h1 {
    font-size: clamp(72px, calc(5.769vw + 12.92px), 96px);
    line-height: 1;
  }

  .home__lede {
    margin-top: 28px;
    font-size: 22px;
    line-height: 34px;
  }

  .home__actions {
    margin-top: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home *,
  .home *::before {
    transition: none !important;
  }

  .sys__fit-square {
    animation: none;
    fill: var(--gv-paper);
  }
}

/* Motion on arrival, CSS only, so the page needs no script to show its content. The sheet sits outside the copy, since
   a transform on anything round it would pin its fixed position to that box. */
@media (prefers-reduced-motion: no-preference) {
  .home__nav > * {
    animation: home-fade 900ms cubic-bezier(0.16, 1, 0.3, 1) 600ms both;
  }

  .home__copy > * {
    animation: home-rise 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .home__copy > h1 {
    animation-delay: 120ms;
  }

  .home__copy > .home__lede {
    animation-delay: 210ms;
  }

  .home__copy > .home__actions {
    animation-delay: 300ms;
  }

  .home__nav-action,
  .home__join,
  .home__field button {
    transition:
      background-color var(--home-ease),
      transform 140ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .home__nav-action:active,
  .home__join:active,
  .home__field button:active {
    transform: scale(0.98);
  }
}

@keyframes home-fade {
  from {
    opacity: 0;
  }
}

@keyframes home-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* The Contact page (Paper p-U-0: phone 1AKQ-0 by day and 1AR2-0 by night, desktop 1AUB-0 and 1BA1-0). The hero holds
   the time in London and three rows that each open the visitor's email app; by night (22:00 to 06:59 London) only the
   hero changes, to aubergine. */
.contact__hero {
  position: relative;
  padding: 120px var(--page-pad) 56px;
  background:
    linear-gradient(var(--page-rule), var(--page-rule)) 0 72px / 100% 1px no-repeat,
    var(--page-frame-lines) 0 73px / 100% 100% no-repeat;
}

.contact[data-night] .contact__hero {
  --page-line-colour: var(--page-on-dark-rule);
  background:
    linear-gradient(var(--page-on-dark-rule), var(--page-on-dark-rule)) 0 72px / 100% 1px no-repeat,
    var(--page-frame-lines) 0 73px / 100% 100% no-repeat,
    var(--gv-aubergine);
  color: var(--gv-paper);
}

.contact[data-night] .day__glows {
  display: none;
}

.contact[data-night] .contact__hero .careers__label {
  color: #e3c08a;
}

/* The time is the page's subject, so the phone H1 is a display size, 48/52, not the usual 32/38. */
.contact__hero h1 {
  margin-top: 24px;
  font: 500 48px / 52px var(--gv-font-display);
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.contact__hero time {
  font-variant-numeric: tabular-nums;
}

.contact__lede {
  max-width: 600px;
  margin-top: 20px;
  color: var(--gv-ink-muted);
  text-wrap: pretty;
}

.contact[data-night] .contact__lede {
  color: var(--gv-on-dark-muted);
}

.contact__rows {
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.contact__rows li + li {
  border-top: 1px solid var(--page-rule);
}

.contact[data-night] .contact__rows li + li {
  border-color: var(--page-on-dark-rule);
}

.contact__row {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 16px;
  align-items: center;
  padding-block: 20px;
  text-decoration: none;
}

.contact__title {
  font: 500 24px / 32px var(--gv-font-display);
  letter-spacing: -0.02em;
}

.contact__line {
  grid-row: 2;
  color: var(--gv-ink-muted);
}

.contact[data-night] .contact__line {
  color: var(--gv-on-dark-muted);
}

.contact__arrow {
  display: grid;
  grid-row: 1 / span 2;
  grid-column: 2;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentcolor;
  border-radius: 50%;
}

.contact__arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

/* The card the desktop rows' photos ride on, placed by row-photo.ts. */
.contact__photo {
  position: fixed;
  z-index: 5;
  top: 0;
  left: 0;
  width: 272px;
  height: 180px;
  border-radius: 12px;
  box-shadow: 0 16px 40px #0a050c33;
  object-fit: cover;
  pointer-events: none;
  rotate: -4deg;
}

@media (min-width: 641px) {
  .contact__hero {
    padding-top: 160px;
  }

  .contact__lede {
    font-size: 18px;
    line-height: 28px;
  }
}

@media (min-width: 1024px) {
  .contact__hero {
    padding-top: 184px;
    padding-bottom: 96px;
  }

  .contact__hero .careers__label {
    font: 400 22px / 32px var(--gv-font-text);
  }

  .contact__hero h1 {
    font: 400 72px / 76px var(--gv-font-display);
  }

  .contact__break {
    display: none;
  }

  .contact__lede {
    font-size: 22px;
    line-height: 34px;
  }

  .contact__rows {
    margin-top: 72px;
  }

  /* Each row fills across the frame on hover, so it runs out to the frame lines past the copy's inset. */
  .contact__row {
    grid-template-columns: 456px 1fr auto;
    height: 104px;
    margin-inline: calc(-1 * var(--page-inset));
    padding: 0 var(--page-inset);
    transition: background-color var(--home-ease);
  }

  .contact__title {
    font: 400 40px / 48px var(--gv-font-display);
    letter-spacing: -0.03em;
  }

  .contact__line {
    grid-row: auto;
    font-size: 18px;
    line-height: 28px;
  }

  .contact__arrow {
    grid-row: auto;
    grid-column: auto;
    width: 48px;
    height: 48px;
  }

  .contact__row:hover {
    background: var(--gv-surface);
  }

  .contact__row:hover .contact__title {
    color: var(--gv-oxblood);
  }

  .contact__row:hover .contact__arrow {
    border-color: var(--gv-oxblood);
    background: var(--gv-oxblood);
    color: var(--gv-paper);
  }

  .contact[data-night] .contact__row:hover {
    background: #fbfbfa14;
  }

  .contact[data-night] .contact__row:hover .contact__title {
    color: #e3c08a;
  }

  .contact[data-night] .contact__row:hover .contact__arrow {
    border-color: var(--gv-paper);
    background: var(--gv-paper);
    color: var(--gv-aubergine);
  }
}

/* Gravileo's own sign-in pages, drawn by the Consumer function (apps/consumer-server/src/sign-in-pages.ts). */
.auth {
  justify-content: center;
  padding: 96px 24px 48px;
}

.auth__panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 400px;
}

.auth__panel h1 {
  color: var(--gv-ink);
  font: 400 40px / 44px var(--gv-font-display);
  letter-spacing: -0.04em;
}

.auth__lede {
  margin-top: 12px;
  color: var(--gv-ink-body);
  font: 400 16px / 24px var(--gv-font-text);
  overflow-wrap: anywhere;
}

.auth__lede strong {
  color: var(--gv-ink);
  font-weight: 500;
}

.auth__providers {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 32px;
}

.auth__provider {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  border: 1px solid var(--gv-rule-strong);
  border-radius: var(--gv-radius-pill);
  background: var(--home-white);
  color: var(--gv-ink);
  font: 500 16px / 24px var(--gv-font-text);
  text-decoration: none;
}

.auth__provider:hover {
  background: var(--gv-surface);
}

.auth__or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  color: var(--gv-ink-faint);
  font: 400 14px / 20px var(--gv-font-text);
}

.auth__or::before,
.auth__or::after {
  flex: 1;
  height: 1px;
  background: var(--gv-rule);
  content: "";
}

.auth__or + .home__form {
  margin-top: 8px;
}

.auth__resend button {
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gv-oxblood);
  font: 500 16px / 24px var(--gv-font-text);
  text-decoration: underline 1px;
  text-underline-position: from-font;
  cursor: pointer;
}

.auth__aside,
.auth__small {
  margin-top: 24px;
  color: var(--gv-ink-muted);
  font: 400 16px / 24px var(--gv-font-text);
}

.auth__small {
  margin-top: 16px;
  font-size: 14px;
  line-height: 20px;
}

.auth__aside a,
.auth__small a {
  color: var(--gv-oxblood);
  text-decoration: underline 1px;
  text-underline-position: from-font;
}
