/* Foreign Figure · landing page
   Brand guidelines, November 13, 2026 */

:root {
  color-scheme: light;

  /* Color. Chalk is always the majority, about 70%. Graphite is text, rules
     and fine details, never a ground. Bone is the warm wash for panels and
     packaging. Brick is the one highlight, small details only. */
  --chalk: #f6f6f3;
  --graphite: #17191a;
  --bone: #ede6d8;     /* accent wash, about 9%, Graphite text on it */
  --brick: #9e3328;    /* accent, about 3%, Chalk text on it */

  /* Type */
  --font-wordmark: "Archivo", "Helvetica Neue", Arial, sans-serif; /* Archivo Regular, set tight */
  --font-serif: "Literata", Georgia, "Times New Roman", serif;
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --gutter: 25px;
  --wordmark-size: 1.375rem;
  --menu-size: clamp(2.5rem, 1.75rem + 3.4vw, 5rem);
  --trigger-size: clamp(140px, 15vw, 220px);
  /* Literata's caps sit a little below the line-box center; this drops the
     square to the optical center of the menu words. */
  --menu-optical-offset: calc(var(--menu-size) * 0.07);
  --tile-size: min(68vh, 84vw, 680px);
  --control-size: 44px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 550ms;
}

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

html {
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  padding: var(--gutter);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--chalk);
  color: var(--graphite);
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--bone);
  color: var(--graphite);
}

:focus-visible {
  outline: 2px solid var(--graphite);
  outline-offset: 3px;
}

button {
  font: inherit;
  color: inherit;
}

/* Header */

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

/* Tagline: centred at the top of the landing page, on the header line. It
   sits under the product popup, so it is covered when that opens. */
.tagline {
  position: fixed;
  top: var(--gutter);
  left: 50%;
  z-index: 1;
  height: var(--control-size);
  margin: 0;
  display: flex;
  align-items: center;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}

/* Narrow screens: no room between the wordmark and the button, so it is hidden */
@media (max-width: 760px) {
  .tagline {
    display: none;
  }
}

/* Wordmark in Archivo Regular, set tight */
.wordmark {
  display: inline-block;
  font-family: var(--font-wordmark);
  font-weight: 400;
  font-size: var(--wordmark-size);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--graphite);
  /* Pull the ink, not the box, onto the 25px lines */
  margin-top: -0.1em;
  margin-left: -0.09em;
  /* Stays visible above the open showcase */
  position: relative;
  z-index: 6;
}

/* Inner pages: the same frame, but the page may scroll if the content needs it */

html:has(body.page) {
  overflow: auto;
  height: auto;
}

body.page {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: visible;
}

a.wordmark {
  text-decoration: none;
}

/* The home page wordmark is the page heading; it must look the same */
h1.wordmark {
  margin-right: 0;
  margin-bottom: 0;
}

.page-main {
  flex: 1;
}

.page-title {
  margin: clamp(40px, 8vh, 96px) 0 24px;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.rule {
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(23, 25, 26, 0.2);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(32px, 5vw, 96px);
  margin-top: clamp(28px, 4vh, 48px);
  padding-bottom: clamp(32px, 5vh, 64px);
}

.split p {
  margin: 0 0 1em;
  font-size: 1.125rem;
  line-height: 1.55;
  max-width: 72ch;
}

.split .lede {
  font-weight: 300;
  font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 1.1em;
}

/* The picture, with the text running around it */
.figure {
  float: right;
  width: clamp(150px, 36%, 230px);
  margin: 0.3em 0 1em clamp(20px, 3vw, 36px);
}

.figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* Science and Design pages share one layout: all the text in the left
   column, the picture on its own in the right, centred between the right
   edge of the text column and the page margin (centred in its own column,
   then pulled left by half the column gap). The Design photograph is the
   exception: it is large enough to fill the column instead. */
@media (min-width: 761px) {
  .figure-inline {
    display: none;
  }

  .figure-model {
    float: none;
    width: min(100%, 20rem);
    margin: 0.45em auto 0;
    position: relative;
    left: calc(clamp(32px, 5vw, 96px) / -2);
  }

  /* The photograph fills its column, edge to edge with the page margin, up
     to 44rem; past that it sits centred in the column. */
  .figure-photo {
    width: min(100%, 44rem);
    left: 0;
  }
}

.figure figcaption {
  margin-top: 10px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: rgba(23, 25, 26, 0.72);
}

.figure sub {
  font-size: 0.75em;
  line-height: 0;
}

.split .sources {
  margin-top: 1.5em;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: rgba(23, 25, 26, 0.72);
}

/* One source per line */
.split .sources p {
  margin: 0 0 0.5em;
  font-size: inherit;
  line-height: inherit;
}

.split .sources .sources-label {
  margin-bottom: 4px;
}

.sources a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.sources a:visited {
  color: inherit;
}

.sources a:hover {
  color: var(--graphite);
}

.sources-label {
  display: block;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 4px;
}

/* Privacy policy: one reading column, labelled sections */
.policy {
  grid-template-columns: minmax(0, 72ch);
}

.policy h2 {
  margin: 2.2em 0 0.9em;
  padding-top: 1.2em;
  border-top: 1px solid rgba(23, 25, 26, 0.2);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.policy ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
  font-size: 1.125rem;
  line-height: 1.55;
}

.policy li {
  margin-bottom: 0.45em;
}

.policy a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

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

  .figure {
    float: none;
    width: min(60%, 260px);
    margin: 0.4em 0 1.6em;
  }

  .figure-photo {
    width: 100%;
  }

  /* Science on phones: the crystal sits centred in the run of the text */
  .figure-wide-only {
    display: none;
  }

  .figure-inline {
    width: min(64%, 260px);
    margin: 1.8em auto 2em;
    text-align: center;
  }
}

/* Buttons */

.button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  height: var(--control-size);
  padding: 0 18px;
  border: 1px solid var(--graphite);
  color: var(--graphite);
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  transition: background-color 200ms ease;
}

.button:hover {
  background: var(--bone);
}

/* The one highlight: Brick, with Chalk text on it */
.button--primary {
  border-color: var(--brick);
  background: var(--brick);
  color: var(--chalk);
  transition: filter 200ms ease, background-color 200ms ease;
}

.button--primary:hover {
  background: var(--brick);
  filter: brightness(0.9);
}

.button[disabled],
.button:disabled {
  opacity: 0.6;
  cursor: default;
}

/* "See Inside" dialog: full screen. Product on the left, the tube colour
   question and the email signup on the right. */

.signup {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--chalk);
  color: var(--graphite);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 260ms ease,
    transform 480ms var(--ease-out),
    overlay 480ms allow-discrete,
    display 480ms allow-discrete;
}

.signup[open] {
  opacity: 1;
  transform: none;
}

@starting-style {
  .signup[open] {
    opacity: 0;
    transform: translateY(12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .signup {
    transform: none;
    transition: none;
  }
}

.signup::backdrop {
  background: var(--chalk);
}

.signup-frame {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: var(--gutter);
}

.signup-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.signup-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(28px, 4vw, 80px);
  align-items: center;
  padding: clamp(24px, 5vh, 64px) 0;
}

/* The tube mockup, in the centre. A colour layer, cut to the tube's outline,
   is multiplied over the drawing so the shading and the label show through. */
.signup-tube {
  position: relative;
  isolation: isolate;
  margin: 0;
  height: min(72vh, 680px);
  aspect-ratio: 539 / 1600;
}

.signup-tube img {
  display: block;
  width: 100%;
  height: 100%;
}

.signup-tube-tint {
  position: absolute;
  inset: 0;
  background-color: var(--tint, transparent);
  mix-blend-mode: multiply;
  -webkit-mask: url("tube-mockup.png?v=2") center / 100% 100% no-repeat;
  mask: url("tube-mockup.png?v=2") center / 100% 100% no-repeat;
  transition: background-color 300ms ease;
}

/* Bare aluminum: the same soft satin sweep as the swatch, light falling
   diagonally across the metal, with no hard bands */
.signup-tube[data-color="aluminum"] .signup-tube-tint {
  background-image: linear-gradient(118deg,
    #dfe1e0 0%,
    #cfd2d1 18%,
    #b9bcbc 36%,
    #c8cbca 46%,
    #d9dbda 56%,
    #c4c7c6 70%,
    #b0b3b3 86%,
    #a9acac 100%);
}

/* Graphite: the drawing is inverted so the label reads light on the dark tube */
.signup-tube[data-color="graphite"] img {
  filter: invert(1);
}

.signup-tube[data-color="graphite"] .signup-tube-tint {
  mix-blend-mode: screen;
}

.signup-product,
.signup-form,
.signup-done {
  max-width: 34rem;
}

.signup-eyebrow,
.signup-label,
.signup-specs dt {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.signup-eyebrow {
  margin: 0 0 18px;
}

.signup-title {
  margin: 0 0 0.45em;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 1.1rem + 2.4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.signup-title:focus {
  outline: none;
}

.signup-copy {
  margin: 0 0 28px;
  font-size: 1.125rem;
  line-height: 1.55;
}

.signup-specs {
  margin: 0;
  border-top: 1px solid var(--graphite);
}

.signup-specs div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(23, 25, 26, 0.2);
}

.signup-specs dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

/* The question */

.signup-choice {
  margin: 0 0 32px;
  padding: 0;
  border: 0;
  min-width: 0;
}

.signup-choice legend {
  padding: 0;
  margin: 0 0 6px;
}

.signup-question {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.swatch {
  position: relative;
  display: block;
  cursor: pointer;
}

.swatch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.swatch-chip {
  display: block;
  aspect-ratio: 1;
  border: 1px solid var(--graphite);
  background: var(--swatch);
  transition: box-shadow 160ms ease;
}

.swatch-name {
  display: block;
  margin-top: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.3;
}

.swatch:hover .swatch-chip {
  box-shadow: 0 0 0 2px var(--chalk), 0 0 0 3px var(--graphite);
}

.swatch input:checked + .swatch-chip {
  box-shadow: 0 0 0 3px var(--chalk), 0 0 0 5px var(--brick);
}

.swatch input:focus-visible + .swatch-chip {
  outline: 2px solid var(--graphite);
  outline-offset: 6px;
}

.swatch input:checked ~ .swatch-name::after {
  content: " ✓";
  color: var(--brick);
}

/* The email */

.signup-label {
  display: block;
  margin-bottom: 8px;
}

.signup-row {
  display: flex;
  gap: 10px;
}

.signup-input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 14px;
  border: 1px solid var(--graphite);
  border-radius: 0;
  background: var(--chalk);
  color: var(--graphite);
  font-family: var(--font-serif);
  font-size: 1rem;
  -webkit-appearance: none;
  appearance: none;
}

.signup-row .button {
  height: 52px;
  padding: 0 24px;
  cursor: pointer;
}

.signup-input::placeholder {
  color: rgba(23, 25, 26, 0.45);
  opacity: 1;
}

.signup-row .button {
  transition: filter 200ms ease, padding 320ms var(--ease-out), box-shadow 320ms ease;
}

/* After a colour is picked: the email step takes the highlight */
.has-pick .signup-row .button {
  padding: 0 34px;
  box-shadow: 0 0 0 3px var(--chalk), 0 0 0 5px var(--brick);
}

.signup-row .button.is-nudged {
  animation: signup-nudge 700ms var(--ease-out) 1;
}

@keyframes signup-nudge {
  0% { transform: scale(1); }
  35% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .signup-row .button.is-nudged {
    animation: none;
  }
}

.signup-input[aria-invalid="true"] {
  border-color: var(--brick);
  box-shadow: inset 0 0 0 1px var(--brick);
}

.signup-note {
  margin: 10px 0 0;
  min-height: 1.5em;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.signup-note.is-error {
  color: var(--brick);
}

.signup-done {
  margin: 0;
  padding: 22px 24px;
  background: var(--bone);
  font-size: 1.125rem;
  line-height: 1.5;
}

.signup-done:focus {
  outline: none;
}

.signup-done-text {
  margin: 0;
}

/* The referral link shown after signing up */
.signup-share {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--graphite);
}

.signup-share .signup-input {
  background: var(--chalk);
  font-size: 0.9375rem;
}

.signup-copy-link {
  background: var(--chalk);
}

.signup-share .signup-fine {
  margin-top: 10px;
}

.signup-fine a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* Referral rewards: a timeline of three milestones. A hollow dot is still
   ahead, a filled dot has been reached. */
.signup-rewards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 22px 0 2px;
  padding: 0;
  list-style: none;
}

.signup-rewards::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  border-top: 1px solid var(--graphite);
}

.reward {
  position: relative;
  padding-top: 24px;
}

.reward::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  box-sizing: border-box;
  border: 1px solid var(--graphite);
  border-radius: 50%;
  background: var(--bone);
}

.reward.is-reached::before {
  background: var(--graphite);
}

.reward-count {
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reward-name {
  display: block;
  margin-top: 6px;
  font-size: 0.9375rem;
  line-height: 1.35;
}

@media (max-width: 560px) {
  /* Phones: the timeline runs down the left edge */
  .signup-rewards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .signup-rewards::before {
    top: 5px;
    bottom: 5px;
    left: 5px;
    right: auto;
    border-top: 0;
    border-left: 1px solid var(--graphite);
  }

  .reward {
    padding: 0 0 0 28px;
  }
}

.signup-fine {
  margin: 4px 0 0;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: rgba(23, 25, 26, 0.72);
}

@media (max-width: 900px) {
  /* Stacked: the vote and the email come first, then the tube, then the
     description, so the signup is not missed */
  .signup-ask {
    order: 1;
  }

  .signup-tube {
    order: 2;
    height: 340px;
    justify-self: center;
  }

  .signup-product {
    order: 3;
  }

  .signup-body {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
    align-content: start;
    padding: 32px 0 8px;
  }
}

@media (max-width: 480px) {
  .signup-row {
    flex-direction: column;
  }

  .signup-row .signup-input {
    flex: none;
  }

  .signup-row .button {
    justify-content: center;
  }

  .signup-specs div {
    grid-template-columns: 5.5rem 1fr;
  }
}

/* Menu, down the left, centered vertically */

.menu-wrap {
  position: fixed;
  left: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

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

.menu li + li {
  margin-top: clamp(2.25rem, 10vh, 8rem);
}

.menu a {
  position: relative;
  display: inline-block;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: var(--menu-size);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--graphite);
  text-decoration: none;
  transition: transform 350ms var(--ease-out);
}

/* A small Brick mark appears beside the item under the cursor */
.menu a::before {
  content: "";
  position: absolute;
  left: -0.45em;
  top: 50%;
  width: 0.14em;
  height: 0.14em;
  background: var(--brick);
  transform: translateY(-50%) scale(0);
  transition: transform 350ms var(--ease-out);
}

.menu a:hover,
.menu a:focus-visible {
  transform: translateX(0.45em);
}

.menu a:hover::before,
.menu a:focus-visible::before {
  transform: translateY(-50%) scale(1);
}

/* Keeps the lowercase n of nHA inside uppercase labels */
.keep-case {
  text-transform: none;
}

/* Paint: one large knife smear in Bone, behind everything (the full set of
   three, including the Brick one, is kept in smears-all.svg) */

.paint {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("smears.svg?v=2") center / cover no-repeat;
}

/* The film: a 5:4 clip playing in the centre of the screen, over the paint
   and under the menu and the popups */
.film {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: clamp(260px, 30vw, 400px);
  height: auto;
  aspect-ratio: 5 / 4;
  transform: translate(-50%, -50%);
  object-fit: cover;
  background: var(--bone);
}

/* Phones: no film */
@media (max-width: 760px) {
  .film {
    display: none;
  }
}

/* The cue at the foot of the landing page: legend over a circled down arrow */
.note-cue {
  position: fixed;
  left: 50%;
  bottom: var(--gutter);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--graphite);
  cursor: pointer;
  transform: translateX(-50%);
  white-space: nowrap;
}

.note-cue-label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}

.note-cue-circle {
  display: grid;
  place-items: center;
  width: var(--control-size);
  height: var(--control-size);
  border: 1px solid var(--graphite);
  border-radius: 50%;
  background: var(--chalk);
  transition: background-color 200ms ease, color 200ms ease, transform 350ms var(--ease-out);
}

.note-cue:hover .note-cue-circle {
  background: var(--bone);
  color: var(--brick);
  transform: translateY(4px);
}

.note-back:hover .note-cue-circle {
  background: var(--bone);
  color: var(--brick);
  transform: translateY(-4px);
}

/* The founder's note: a full page that slides up over the landing page */
.note {
  position: fixed;
  inset: 0;
  z-index: 7;
  background: var(--chalk);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(100%);
  visibility: hidden;
  transition: transform 700ms var(--ease-out), visibility 0s linear 700ms;
}

body.note-open .note {
  transform: none;
  visibility: visible;
  transition: transform 700ms var(--ease-out), visibility 0s;
}

.note-frame {
  min-height: 100%;
  padding: var(--gutter);
}

.note-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.note-bar .wordmark {
  z-index: auto;
}

.note-back {
  padding: 0;
  border: 0;
  background: none;
  color: var(--graphite);
  cursor: pointer;
}

.note-heading {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
}

.note-heading:not(:first-child) {
  margin-top: 2.2em;
}

.note-values {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--graphite);
}

.note-values {
  counter-reset: value;
}

.note-values li {
  counter-increment: value;
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(23, 25, 26, 0.2);
}

.note-value-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.5;
}

.note-value-name::before {
  content: counter(value, decimal-leading-zero) "\2003";
  font-weight: 400;
}

.note-value-text {
  font-size: 1.0625rem;
  line-height: 1.45;
}

@media (max-width: 480px) {
  .note-values li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.split .note-sign {
  margin-top: 2em;
}

/* The tagline, closing the note under the signature */
.split .note-tagline {
  margin: 2.4em 0 0;
  padding-top: 1.4em;
  border-top: 1px solid rgba(23, 25, 26, 0.2);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
}

.note-sign span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .note-split .column + .column {
    margin-top: 3em;
  }
}

/* Narrow screens: the menu runs over the paint, so keep it quiet and to the right */
@media (max-width: 900px) {
  .paint {
    background-position: 80% 50%;
    opacity: 0.6;
  }
}

/* Stage: the open ground the rest of the page will be laid into */

.stage {
  min-height: 0;
}

/* The half-hidden square on the right.
   Layers: menu 2, veil 3, square 4, carousel 5, wordmark 6. */

.showcase-trigger {
  position: fixed;
  left: 100%;
  top: calc(50% + var(--menu-optical-offset));
  z-index: 4;
  width: var(--trigger-size);
  height: var(--trigger-size);
  margin: 0;
  padding: 16px;
  border: 0;
  background: var(--chalk);
  box-shadow: inset 0 0 0 1px var(--graphite);
  color: var(--graphite);
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translate(-36%, -50%);
  transition:
    transform var(--dur) var(--ease-out) 150ms,
    width var(--dur) var(--ease-out) 150ms,
    height var(--dur) var(--ease-out) 150ms,
    top var(--dur) var(--ease-out) 150ms,
    background-color 250ms ease,
    box-shadow 250ms ease;
}

/* Hovering the square, or the Toothpaste item in the menu, reveals more of it */
.showcase-trigger:hover,
.showcase-trigger:focus-visible,
body:not(.showcase-open):has(.menu a[data-open-showcase]:hover) .showcase-trigger,
body:not(.showcase-open):has(.menu a[data-open-showcase]:focus-visible) .showcase-trigger {
  transform: translate(-56%, -50%);
  background: var(--bone);
  transition-delay: 0ms;
}

.showcase-trigger:focus-visible {
  outline-offset: -6px;
}

.showcase-trigger-label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  line-height: 1;
  transition: opacity 200ms ease 400ms;
}

/* Open: the square travels to the center and grows into the product tile */
body.showcase-open .showcase-trigger {
  top: 50%;
  width: var(--tile-size);
  height: var(--tile-size);
  transform: translate(calc(-50% - 50vw), -50%);
  background: var(--chalk);
  box-shadow: inset 0 0 0 1px transparent;
  pointer-events: none;
  transition:
    transform var(--dur) var(--ease-out),
    width var(--dur) var(--ease-out),
    height var(--dur) var(--ease-out),
    top var(--dur) var(--ease-out),
    background-color 350ms ease,
    box-shadow 350ms ease;
}

body.showcase-open .showcase-trigger-label {
  opacity: 0;
  transition: opacity 120ms ease;
}

/* Full-screen Chalk ground behind the open carousel */

.showcase-backdrop {
  position: fixed;
  inset: 0;
  z-index: 3;
  background: var(--chalk);
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease 350ms, visibility 0s linear 650ms;
}

body.showcase-open .showcase-backdrop {
  opacity: 1;
  visibility: visible;
  transition: opacity 300ms ease, visibility 0s;
}

/* Carousel */

.showcase {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 0s linear 200ms;
}

body.showcase-open .showcase {
  opacity: 1;
  visibility: visible;
  transition: opacity 300ms ease 320ms, visibility 0s;
}

.showcase-inner {
  position: relative;
  width: var(--tile-size);
  height: var(--tile-size);
}

.icon-button {
  width: var(--control-size);
  height: var(--control-size);
  padding: 0;
  margin: 0;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--graphite);
  background: transparent;
  color: var(--graphite);
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease;
}

.icon-button:hover {
  background: var(--bone);
  color: var(--brick);
}

.showcase-close {
  position: fixed;
  top: var(--gutter);
  right: var(--gutter);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-arrow[data-prev] {
  right: calc(100% + clamp(16px, 3vw, 40px));
}

.carousel-arrow[data-next] {
  left: calc(100% + clamp(16px, 3vw, 40px));
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Clip the neighbouring slides at the sides, but let captions hang below */
.carousel-viewport {
  width: 100%;
  height: 100%;
  clip-path: inset(0 0 -240px 0);
}

.track {
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform var(--dur) var(--ease-out);
}

.slide {
  flex: 0 0 100%;
  min-width: 0;
}

.product {
  position: relative;
  margin: 0;
  width: 100%;
  height: 100%;
}

/* Product image. Until photography exists this is the pack, set in type. */

.product-image {
  position: relative;
  width: 100%;
  height: 100%;
  padding: calc(var(--tile-size) * 0.07);
  display: flex;
  flex-direction: column;
  color: var(--graphite);
  overflow: hidden;
}

.product-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Chalk tile with a hairline, so it shows against the Chalk page */
.product-image--pack {
  background: var(--chalk);
  box-shadow: inset 0 0 0 1px var(--graphite);
}

/* The tube mockup, standing in the middle of the tile */
.product-image > img.pack-tube {
  inset: 7% 0;
  margin: 0 auto;
  width: auto;
  height: 86%;
  object-fit: contain;
}

/* The figure label sits in the corner, clear of the tube */
.product-image .pack-label {
  position: relative;
  font-size: clamp(9px, calc(var(--tile-size) * 0.02), 12px);
  line-height: 1.6;
}

.product-meta {
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
}

.product-image--object {
  background: var(--chalk);
  box-shadow: inset 0 0 0 1px var(--graphite);
}

.pack-label,
.pack-meta {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: calc(var(--tile-size) * 0.032);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}

/* Stacked wordmark, as on the pack specimen */
.pack-mark {
  margin-top: auto;
  font-family: var(--font-wordmark);
  font-weight: 400;
  font-size: calc(var(--tile-size) * 0.105);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.pack-active {
  margin-top: calc(var(--tile-size) * 0.025);
  margin-bottom: auto;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: calc(var(--tile-size) * 0.042);
  line-height: 1.2;
}

.product figcaption {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 18px;
  padding-right: 150px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.5;
}

.product-line {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.4;
}

.product-cta {
  position: absolute;
  top: 0;
  right: 0;
}

.carousel-counter {
  position: absolute;
  top: 100%;
  right: 0;
  margin: 18px 0 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

/* Narrow screens: arrows move under the caption */

@media (max-width: 900px) {
  .carousel-arrow {
    top: calc(100% + 116px);
    transform: none;
  }

  .carousel-arrow[data-prev] {
    left: 0;
    right: auto;
  }

  .carousel-arrow[data-next] {
    right: 0;
    left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
}
