/* Campfire Labs */

/* Archivo, one variable family: expanded for headlines, normal width for reading. */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

/* Solaces' own type, copied from solaces.live: Fraunces for its name and
   headings, Fraunces italic for its teal accents, Inter for reading. */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-normal-latin.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-italic-latin.woff2") format("woff2");
  font-weight: 300 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-normal-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* The page colour glides between sections, so it has to be a registered,
   animatable property rather than a plain variable. */
@property --bg {
  syntax: "<color>";
  inherits: true;
  initial-value: #ffffff;
}

:root {
  --ink: #ffffff;
  --mist: #f5f5f7;
  --solaces: #f3efe8;
  --fg-rgb: 29 29 31;
  --sol-rgb: 34 52 58;
  --sol-ink: #22343a;
  --sol-teal: #2b5c63;
  --solaces-accent: #72caca;
  --bone: #1d1d1f;
  --text-2: rgb(var(--fg-rgb) / 0.7);
  --text-3: rgb(var(--fg-rgb) / 0.5);
  --line: rgb(var(--fg-rgb) / 0.09);
  --ember: #e8691f;

  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wide: 125%;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(20px, 5vw, 64px);

  --bg: var(--ink);
  transition: --bg 1.1s var(--ease);
  color-scheme: light;
  background: var(--bg);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-stretch: 118%;
  font-weight: 360;
  letter-spacing: 0.01em;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
dl,
dd,
figure {
  margin: 0;
}

::selection {
  background: var(--ember);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 4px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nowrap {
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--bone);
  color: var(--ink);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}

.skip:focus-visible {
  transform: none;
}

.label {
  font-size: 0.8125rem;
  font-weight: 460;
  letter-spacing: 0.02em;
  color: var(--text-3);
}

/* ---------- Logo: two flames leaning in to make one fire ---------- */

.cl-mark {
  display: block;
  flex: none;
  overflow: visible;
}

.cl-mark .cl-left,
.cl-mark .cl-right,
.cl-mark .cl-sheen {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

.brand .cl-mark {
  width: 24px;
  height: 28px;
}

.cl-mark--small {
  width: 16px;
  height: 19px;
}

.brand__word .wd,
.brand__word .ch {
  display: inline-block;
}

/* On arrival (and again on hover) the two flames glide together, a band of
   light passes over them, and the letters sharpen in. */
.logo-play .cl-left {
  animation: cl-left 1100ms var(--ease) both;
}

.logo-play .cl-right {
  animation: cl-right 1100ms var(--ease) 90ms both;
}

.logo-play .cl-sheen,
.cl-mark--art.shine .cl-sheen {
  animation: cl-sheen 1200ms cubic-bezier(0.45, 0, 0.2, 1) 620ms both;
}

.logo-play .ch {
  animation: cl-letter 900ms var(--ease) both;
  animation-delay: calc(260ms + var(--i, 0) * 38ms);
}

@keyframes cl-left {
  from {
    opacity: 0;
    translate: -48% 14%;
    rotate: -9deg;
  }
}

@keyframes cl-right {
  from {
    opacity: 0;
    translate: 56% 18%;
    rotate: 11deg;
  }
}

@keyframes cl-sheen {
  from {
    translate: 0 0;
  }
  to {
    translate: 200px 0;
  }
}

@keyframes cl-letter {
  from {
    opacity: 0;
    translate: 0 30%;
    filter: blur(6px);
  }
}

/* ---------- Header ---------- */

.bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.5s var(--ease),
    border-color 0.5s var(--ease);
}

.bar.is-scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}

.bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  white-space: nowrap;
  gap: 11px;
  font-size: 1.0625rem;
  font-stretch: 118%;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.nav {
  display: flex;
  flex: none;
  gap: clamp(20px, 3vw, 36px);
  font-size: 0.9375rem;
  color: var(--text-2);
}

/* Bigger tap areas without changing how the links look. */
.nav a {
  padding-block: 12px;
}

.foot__cols p a[href="/privacy/"] {
  display: inline-block;
  padding-block: 6px;
}

.nav a,
.foot__cols a,
.cue span {
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
  transition:
    background-size 0.45s var(--ease),
    color 0.3s var(--ease);
}

.nav a:hover,
.foot__cols a:hover,
.cue:hover span {
  color: var(--bone);
  background-size: 100% 1px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: 112px clamp(56px, 9vh, 104px);
  overflow: hidden;
  isolation: isolate;
}

.hero__sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2.4s ease;
  /* The firelight and sparks fade out before the section ends, so there is no hard edge. */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
}

.hero__sky.is-lit {
  opacity: 1;
}

/* A faint dot grid behind the page. It's a plain pattern until a finger or the
   pointer comes near, then the dots close by glow ember (drawn by main.js). */
[data-grid] {
  position: relative;
  isolation: isolate;
}

.grid {
  --grid-gap: 28px;
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: radial-gradient(circle, rgb(var(--fg-rgb) / 0.075) 0.9px, transparent 1.4px);
  background-size: var(--grid-gap) var(--grid-gap);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}

@media (max-width: 599px) {
  .grid {
    --grid-gap: 24px;
  }
}

/* Under the fire: the code line (tap it to run a command) and the mic button. */
.hero__play {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.hero__code {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1.6em;
  padding: 4px 6px;
  border: 0;
  border-radius: 6px;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.3s var(--ease);
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  font-stretch: 100%;
  letter-spacing: 0;
  white-space: nowrap;
  color: var(--text-3);
}

.hero__caret {
  width: 0.55em;
  height: 1.1em;
  margin-left: 2px;
  border-radius: 1px;
  background: var(--ember);
  opacity: 0.7;
  animation: caret 1.06s steps(1) infinite;
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

.hero__code:hover {
  color: var(--text-2);
}

.hero__code:focus-visible,
.hero__blow:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 2px;
}

.hero__code:disabled {
  cursor: default;
}

.hero__blow {
  --level: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--text-2);
  font: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.hero__blow[hidden] {
  display: none;
}

.hero__blow svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
}

.hero__blow:hover,
.hero__blow.is-on {
  color: var(--bone);
  border-color: rgb(232 105 31 / 0.5);
}

/* While listening, the mic glows with how hard you blow. */
.hero__blow.is-on svg {
  color: var(--ember);
  filter: drop-shadow(0 0 calc(var(--level) * 8px) rgb(232 105 31 / 0.9));
}

/* The fire can be held and its sparks caught, so a long press shouldn't select or pop up a menu. */
.hero__fire {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Stoked or blown on, the fire grows and burns brighter (--heat is set by main.js). */
.hero__fire .cl-mark--art {
  transform-origin: 50% 100%;
  scale: calc(1 + var(--heat, 0) * 0.08);
  filter: brightness(calc(1 + var(--heat, 0) * 0.18)) saturate(calc(1 + var(--heat, 0) * 0.3));
}

@media (max-width: 899px) {
  .hero__play {
    align-items: flex-start;
    margin-top: 10px;
  }

  .hero__code {
    justify-content: flex-start;
    padding-inline: 0;
    font-size: 0.75rem;
  }
}

/* ---------- Night: from 8pm to 6am the top of the page is a campfire in the dark ---------- */

.is-night .hero {
  --bone: #f5f5f7;
  --fg-rgb: 245 245 247;
  --text-2: rgb(245 245 247 / 0.72);
  --text-3: rgb(245 245 247 / 0.5);
  --line: rgb(245 245 247 / 0.14);
  color: var(--bone);
  background: #0c0b10;
}

/* The dark fades into the day at the top of the next section, clear of any words. */
.is-night .about {
  background: linear-gradient(to bottom, #0c0b10, transparent 96px);
}

.night-top .bar {
  --bone: #f5f5f7;
  --text-2: rgb(245 245 247 / 0.72);
  --line: rgb(245 245 247 / 0.1);
  color: var(--bone);
}

.night-top .bar.is-scrolled {
  background: rgb(12 11 16 / 0.72);
}

.hero__content {
  will-change: transform, opacity;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
}

.hero__fire {
  order: 2;
  justify-self: center;
}

@media (max-width: 899px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero__fire {
    order: 0;
    justify-self: start;
  }

  .hero__fire .cl-mark--art {
    width: clamp(120px, 34vw, 220px);
  }
}

/* A short amber line, then the label in wide, solid capitals-free type. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(22px, 3.4vh, 36px);
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  font-stretch: 125%;
  font-weight: 560;
  letter-spacing: 0.015em;
  color: var(--bone);
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ffb15a, #ee6f24);
}

.hero__title {
  font-size: clamp(2.1rem, 5.15vw, 6rem);
  font-stretch: var(--wide);
  font-weight: 560;
  line-height: 0.98;
  letter-spacing: -0.028em;
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
}

.hero__title .line > span {
  display: inline-block;
  transform: translateY(140%);
  animation: line-up 1.4s var(--ease) forwards;
  animation-delay: calc(var(--d) * 110ms + 280ms);
}

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
  margin-top: clamp(28px, 5vh, 56px);
}

.hero__lede {
  max-width: 30ch;
  font-size: clamp(1.0625rem, 1.5vw, 1.3125rem);
  line-height: 1.45;
  color: var(--text-2);
}

.cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-2);
}

.cue svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.5s var(--ease);
}

.cue:hover svg {
  transform: translateY(3px);
}

.rise {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 1.2s var(--ease) forwards;
  animation-delay: calc(var(--d) * 110ms + 300ms);
}

@keyframes line-up {
  to {
    transform: none;
  }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- About ---------- */

.about {
  padding-block: clamp(96px, 18vh, 200px) clamp(120px, 22vh, 240px);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.about__text {
  max-width: 23em;
  font-size: clamp(1.5rem, 3vw, 2.75rem);
  font-stretch: 108%;
  font-weight: 420;
  line-height: 1.2;
  letter-spacing: -0.018em;
  text-wrap: pretty;
}

.about__text .w {
  color: rgb(var(--fg-rgb) / var(--o, 1));
}

.founder {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: clamp(40px, 6vh, 64px);
}

.founder__photo {
  width: 104px;
  height: 130px;
  flex: none;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 18px 40px -22px rgb(20 20 30 / 0.45);
}

.founder__name {
  display: block;
  font-size: 1.125rem;
  font-weight: 560;
  color: var(--bone);
}

.founder__role {
  display: block;
  font-size: 0.875rem;
  color: var(--text-3);
}

.founder .exp__link {
  margin-top: 12px;
}

.about__meta {
  margin-top: clamp(28px, 4vh, 44px);
  color: var(--text-3);
}

@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 3fr 9fr;
    gap: 48px;
  }

  .about__grid > .label {
    padding-top: 0.9em;
  }
}

/* LinkedIn, under the email */

.exp__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  color: var(--bone);
}

.exp__link span {
  background: linear-gradient(var(--ember), var(--ember)) no-repeat 0 100% / 100% 1px;
  padding-bottom: 3px;
  transition: background-size 0.5s var(--ease);
}

.exp__link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.5s var(--ease);
}

.exp__link:hover span {
  background-size: 100% 2px;
}

.exp__link:hover svg {
  transform: translate(2px, -2px);
}

/* ---------- Work: Solaces, in its own colours and type ---------- */

.work {
  padding-top: clamp(80px, 14vh, 160px);
  /* Solaces' big circle may be wider than a phone screen; trim it at the edges
     (clip, unlike hidden, keeps the pinned scene working). */
  overflow-x: clip;
}

.work__head .label {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.sol {
  padding-block: clamp(56px, 9vh, 104px) clamp(120px, 20vh, 220px);
}

.sol__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.sol__copy {
  font-family: "Inter", var(--sans);
  font-stretch: 100%;
  font-weight: 400;
  letter-spacing: normal;
}

.sol__brand {
  display: flex;
  align-items: center;
  gap: 0.26em;
  font-size: clamp(3.25rem, 5.6vw, 5.5rem);
}

.sol__mark {
  flex: none;
  width: 0.62em;
  height: 0.62em;
  border-radius: 50%;
  background: #2b5c63;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.05);
}

.sol__name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1em;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--sol-ink);
}

.sol__tag {
  margin-top: 14px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.5rem, 2.3vw, 2.125rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--sol-teal);
}

.sol__list {
  position: relative;
  margin-top: clamp(24px, 4vh, 44px);
  padding-left: 26px;
}

.sol__rail {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 1px;
  background: rgb(var(--sol-rgb) / 0.14);
}

.sol__rail-fill {
  position: absolute;
  inset: 0 0 auto;
  height: calc(var(--p, 0) * 100%);
  background: var(--sol-teal);
}

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

/* Every step's line stays in place, so nothing moves under the pointer; the
   step on show is simply brought up to full strength. */
.sol__step {
  padding-block: 9px;
  cursor: pointer;
}

.sol__step-btn {
  padding: 0;
  border: 0;
  background: none;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: rgb(var(--sol-rgb) / 0.38);
  text-align: left;
  cursor: pointer;
  transition: color 0.45s var(--ease);
}

.sol__step-body > p {
  max-width: 38ch;
  padding-top: 4px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgb(var(--sol-rgb) / 0.38);
  transition: color 0.45s var(--ease);
}

.sol__step.is-on .sol__step-btn {
  color: var(--sol-ink);
}

.sol__step.is-on .sol__step-body > p {
  color: rgb(var(--sol-rgb) / 0.78);
}

.sol__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: clamp(32px, 5.5vh, 56px);
}

.sol__button {
  font-stretch: 100%;
  letter-spacing: normal;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 26px;
  border-radius: 999px;
  background: var(--sol-teal);
  color: #faf8f5;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.0625rem;
  font-weight: 400;
  white-space: nowrap;
  transition:
    background-color 0.35s var(--ease),
    transform 0.4s var(--ease);
}

.sol__button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.5s var(--ease);
}

.sol__button:hover {
  background: #224a50;
}

.sol__button:hover svg {
  transform: translate(2px, -2px);
}

.sol__button:active {
  transform: scale(0.98);
}

.sol__ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  color: var(--sol-ink);
}

.sol__ig svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.sol__ig span {
  background: linear-gradient(var(--sol-teal), var(--sol-teal)) no-repeat 0 100% / 0 1px;
  transition: background-size 0.45s var(--ease);
}

.sol__ig:hover span {
  background-size: 100% 1px;
}

.sol__note {
  flex-basis: 100%;
  max-width: 30ch;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgb(var(--sol-rgb) / 0.56);
}

/* The stage: Solaces' own circle, very large, with the phone in front. */
.sol__stage {
  --w: clamp(220px, min(21vw, 33svh), 320px);
  position: relative;
  display: grid;
  place-items: center;
}

.sol__halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--w) * 2.1);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 28%, #34707a 0%, #2b5c63 55%, #24505a 100%);
  transform: translate(-50%, -50%);
}

.sol__halo::after {
  content: "";
  position: absolute;
  inset: -9%;
  border: 1px solid rgb(43 92 99 / 0.22);
  border-radius: 50%;
}

.iphone {
  position: relative;
  width: var(--w);
}

.iphone__frame {
  position: relative;
  padding: calc(var(--w) * 0.012);
  border-radius: calc(var(--w) * 0.17);
  background: linear-gradient(150deg, #5d676e 0%, #b1babf 9%, #4c555b 22%, #23292d 46%, #3d454b 70%, #949da3 88%, #384046 100%);
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 0.35),
    0 70px 110px -50px rgb(20 40 45 / 0.45),
    0 30px 50px -30px rgb(20 40 45 / 0.3);
}

/* Side buttons: action and volume on the left, power on the right. */
.iphone__frame::before,
.iphone__frame::after {
  content: "";
  position: absolute;
  width: calc(var(--w) * 0.012);
  border-radius: 2px;
  background: linear-gradient(90deg, #2a3035, #8e979d);
}

.iphone__frame::before {
  top: 21%;
  left: calc(var(--w) * -0.01);
  height: 15%;
  box-shadow: 0 calc(var(--w) * -0.13) 0 0 #4c555b;
}

.iphone__frame::after {
  top: 27%;
  right: calc(var(--w) * -0.01);
  height: 11%;
  background: linear-gradient(90deg, #8e979d, #2a3035);
}

.iphone__bezel {
  padding: calc(var(--w) * 0.026);
  border-radius: calc(var(--w) * 0.159);
  background: #020303;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06);
}

.iphone__screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 690 / 1500;
  border-radius: calc(var(--w) * 0.13);
  background: #0d1a1d;
  isolation: isolate;
}

/* Screens change slowly: the next one fades in over the last and settles
   gently into place while it's on show. */
.iphone__screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity 1.6s ease,
    transform 1.6s ease;
}

.iphone__screen img.is-prev {
  opacity: 1;
  transform: none;
  transition: none;
}

.iphone__screen img.is-on {
  z-index: 1;
  opacity: 1;
  transform: none;
  transition:
    opacity 1.6s ease,
    transform 6s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.iphone__island {
  position: absolute;
  top: calc(var(--w) * 0.03);
  left: 50%;
  z-index: 2;
  width: 31%;
  height: calc(var(--w) * 0.085);
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
}

.iphone__glass {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(118deg, rgb(255 255 255 / 0.1) 0%, rgb(255 255 255 / 0.03) 26%, rgb(255 255 255 / 0) 40%);
}

/* Dots under the phone: phones and tablets only. */
.sol__dots {
  display: none;
}

.sol__dot {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.sol__dot::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: auto;
  border-radius: 999px;
  background: rgb(var(--sol-rgb) / 0.25);
  transition:
    width 0.4s var(--ease),
    background-color 0.4s var(--ease);
}

.sol__dot[aria-current="true"]::before {
  width: 22px;
  background: var(--sol-teal);
}

/* Tablets and phones: name, phone, then the step on show and the button. */
@media (max-width: 899px) {
  .sol__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "brand" "tag" "stage" "steps" "foot";
    gap: 0;
  }

  .sol__copy {
    display: contents;
  }

  .sol__brand {
    grid-area: brand;
    font-size: clamp(2.75rem, 12vw, 3.75rem);
  }

  .sol__tag {
    grid-area: tag;
    margin-top: 10px;
    font-size: 1.375rem;
  }

  .sol__stage {
    --w: min(58vw, 280px);
    grid-area: stage;
    padding-block: clamp(48px, 9vw, 72px) 8px;
    touch-action: pan-y;
  }

  .js .sol__dots {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-top: clamp(28px, 6vw, 48px);
  }

  .sol__list {
    grid-area: steps;
    margin-top: 0;
    padding: 18px 0 0;
  }

  .sol__rail {
    top: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .sol__rail-fill {
    inset: 0 auto 0 0;
    width: calc(var(--p, 0) * 100%);
    height: auto;
  }

  /* Only the step on show is there; the others can't be seen, tapped or tabbed to. */
  .js .sol__steps {
    display: grid;
  }

  .js .sol__step {
    grid-area: 1 / 1;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.6s var(--ease),
      visibility 0s linear 0.6s;
  }

  .js .sol__step.is-on {
    opacity: 1;
    visibility: visible;
    transition:
      opacity 0.6s var(--ease),
      visibility 0s;
  }

  .sol__step-btn {
    color: var(--sol-ink);
  }

  .sol__foot {
    grid-area: foot;
  }
}

/* ---------- Contact ---------- */

.contact {
  padding-block: clamp(120px, 20vh, 220px) clamp(96px, 16vh, 180px);
}

@media (min-width: 1024px) {
  /* A full-screen closing scene, so the Contact link lands exactly on it. */
  .contact {
    display: grid;
    align-content: center;
    min-height: calc(100vh - var(--foot-h, 114px));
    min-height: calc(100svh - var(--foot-h, 114px));
    padding-block: 96px;
  }
}

/* The big mark in the hero breathes slowly, the two flames leaning in and out,
   and bends with the air when the pointer moves (--lean is set by the sky). */
.hero__fire .cl-mark--art {
  width: clamp(200px, 27vw, 420px);
  height: auto;
  aspect-ratio: 104 / 120;
}

.cl-mark .cl-lean {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: skewX(var(--lean, 0deg));
}
.cl-mark--art .cl-left {
  animation:
    art-left 5s ease-in-out infinite alternate,
    flicker-a 1.7s ease-in-out infinite alternate;
}

.cl-mark--art .cl-right {
  animation:
    art-right 5.5s ease-in-out -2s infinite alternate,
    flicker-b 1.3s ease-in-out -0.4s infinite alternate;
}

@keyframes art-left {
  to {
    translate: -3% 1%;
    rotate: -3.5deg;
  }
}

@keyframes art-right {
  to {
    translate: 4% -1%;
    rotate: 4deg;
  }
}

/* Flames stretch and settle a little, like a real fire. */
@keyframes flicker-a {
  to {
    scale: 0.97 1.05;
  }
}

@keyframes flicker-b {
  to {
    scale: 1.03 0.94;
  }
}


.contact__grid {
  display: grid;
  gap: 48px;
}

.contact__photo {
  width: 100%;
  height: auto;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 40px 80px -40px rgb(40 30 20 / 0.45);
}

@media (min-width: 1024px) {
  .contact__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
    align-items: center;
    gap: 64px;
  }
}

.contact__title {
  margin-top: 28px;
  font-size: clamp(2.6rem, 6.9vw, 7.5rem);
  font-stretch: var(--wide);
  font-weight: 560;
  line-height: 0.98;
  letter-spacing: -0.028em;
}

.contact__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
}

.contact__title .line > span {
  display: inline-block;
}

.js [data-lines] .line > span {
  transform: translateY(140%);
  transition: transform 1.4s var(--ease);
}

.js [data-lines].in .line > span {
  transform: none;
}

.contact__text {
  max-width: 36ch;
  margin-top: 28px;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--text-2);
}

.email {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: clamp(40px, 6vh, 64px);
}

.email__link {
  font-size: clamp(1.375rem, 3.6vw, 3rem);
  font-stretch: 112%;
  font-weight: 420;
  letter-spacing: -0.025em;
  line-height: 1.1;
  overflow-wrap: anywhere;
  background: linear-gradient(var(--ember), var(--ember)) no-repeat 0 100% / 100% 2px;
  padding-bottom: 6px;
  transition: background-size 0.6s var(--ease), color 0.3s var(--ease);
}

.email__link:hover {
  color: #000;
  background-size: 100% 3px;
}

.email__copy {
  min-width: 84px;
  padding: 10px 18px;
  border: 1px solid rgb(var(--fg-rgb) / 0.24);
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font: 500 0.875rem/1 var(--sans);
  cursor: pointer;
  transition:
    border-color 0.3s var(--ease),
    color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

.email__copy:hover {
  border-color: rgb(var(--fg-rgb) / 0.5);
  color: var(--bone);
}

.email__copy.is-done {
  border-color: var(--ember);
  color: var(--bone);
}

/* ---------- Footer ---------- */

.foot {
  background: var(--mist);
  padding-block: clamp(56px, 9vh, 96px) calc(40px + env(safe-area-inset-bottom));
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-2);
}

.foot__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-stretch: 118%;
  font-weight: 600;
  color: var(--bone);
}

.foot__cols {
  display: grid;
  gap: 36px;
  margin-top: clamp(36px, 5vh, 56px);
}

.foot__label {
  margin-bottom: 10px;
  font-size: 0.8125rem;
  color: var(--text-3);
}

.foot address {
  font-style: normal;
}

.foot a:not(.foot__brand) {
  color: var(--bone);
}

.foot__copy {
  margin-top: clamp(40px, 6vh, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--text-3);
}

@media (min-width: 800px) {
  .foot__cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 56px;
  }
}

/* ---------- Privacy notice ---------- */

.legal {
  padding-block: clamp(140px, 20vh, 200px) clamp(96px, 14vh, 160px);
}

.legal__title {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-stretch: var(--wide);
  font-weight: 560;
  line-height: 1;
  letter-spacing: -0.028em;
}

.legal__date {
  margin-top: 20px;
  color: var(--text-3);
}

.legal__body {
  max-width: 64ch;
  margin-top: clamp(40px, 6vh, 64px);
  color: var(--text-2);
}

.legal__body h2 {
  margin: 44px 0 12px;
  font-size: 1.25rem;
  font-stretch: 112%;
  font-weight: 560;
  color: var(--bone);
}

.legal__body p + p {
  margin-top: 14px;
}

.legal__body a {
  color: var(--bone);
  text-decoration: underline;
  text-decoration-color: rgb(var(--fg-rgb) / 0.35);
  text-underline-offset: 4px;
}

.legal__body a:hover {
  text-decoration-color: var(--ember);
}

/* ---------- Reveals ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition:
    opacity 1s var(--ease),
    transform 1.3s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

/* ---------- Small screens ---------- */

@media (max-width: 640px) {
  .bar__inner {
    height: 60px;
  }

  .nav {
    gap: 16px;
    font-size: 0.875rem;
  }

  .brand {
    gap: 9px;
    font-size: 0.9375rem;
  }

  .brand .cl-mark {
    width: 20px;
    height: 24px;
  }
}

@media (max-width: 380px) {
  :root {
    --gutter: 16px;
  }

  .nav {
    gap: 12px;
    font-size: 0.8125rem;
  }

  .brand {
    font-size: 0.8125rem;
    font-stretch: 100%;
  }

  .nav {
    gap: 10px;
  }

  .hero__title,
  .contact__title {
    font-stretch: 115%;
    letter-spacing: -0.03em;
  }

  .hero__title {
    font-size: 9.6vw;
  }

  .hero__foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  :root {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }

  .hero__title .line > span,
  .rise {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .js [data-lines] .line > span,
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .logo-play .cl-left,
  .logo-play .cl-right,
  .logo-play .cl-sheen,
  .logo-play .ch,
  .cl-mark--art .cl-left,
  .cl-mark--art .cl-right,
  .cl-mark--art.shine .cl-sheen {
    animation: none;
  }

  .hero__caret {
    animation: none;
  }

  .iphone__screen img,
  .sol__step-body,
  .js .sol__step {
    transition: none;
  }

  .hero__sky {
    transition: none;
  }
}

/* ---------- Blog ---------- */

.blog {
  padding-block: clamp(140px, 20vh, 200px) clamp(96px, 14vh, 160px);
}

.blog__intro {
  max-width: 44ch;
  margin-top: 20px;
  color: var(--text-2);
}

/* Search and topics */

.finder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 28px;
  margin-top: clamp(40px, 6vh, 64px);
  border-bottom: 1px solid var(--line);
}

.search {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  height: 52px;
  padding: 0 14px 0 18px;
  border: 1px solid rgb(var(--fg-rgb) / 0.16);
  border-radius: 14px;
  background: rgb(var(--fg-rgb) / 0.03);
  transition:
    border-color 0.3s var(--ease),
    background-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.search:focus-within {
  border-color: rgb(255 161 72 / 0.7);
  background: rgb(var(--fg-rgb) / 0.05);
  box-shadow: 0 0 0 4px rgb(255 161 72 / 0.12);
}

.search svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: var(--text-3);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: none;
  color: var(--bone);
  font: inherit;
  font-size: 1rem;
}

.search input::placeholder {
  color: var(--text-3);
}

.search input::-webkit-search-cancel-button {
  filter: invert(1) opacity(0.5);
}

.search kbd {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgb(var(--fg-rgb) / 0.18);
  border-radius: 6px;
  font: 500 0.75rem/1 var(--sans);
  color: var(--text-3);
}

.search:focus-within kbd {
  opacity: 0;
}

html:not(.js) .finder {
  display: none;
}

.tabs {
  position: relative;
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  flex: none;
  padding: 10px 0 16px;
  border: 0;
  background: none;
  color: var(--text-3);
  font: inherit;
  font-size: 0.9375rem;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}

.tab:hover,
.tab[aria-pressed="true"] {
  color: var(--bone);
}

.tabs__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ffb15a, #ee6f24);
  transition:
    transform 0.55s var(--ease),
    width 0.55s var(--ease);
}

.finder__count {
  align-self: end;
  padding-bottom: 16px;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-3);
  white-space: nowrap;
}

/* The list: text on the left, a cover on the right, like a reading feed */

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

.pl-row {
  border-bottom: 1px solid var(--line);
}

.pl-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(120px, 22vw, 240px);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding-block: clamp(28px, 4vh, 40px);
}

.pl-meta {
  font-size: 0.8125rem;
  color: var(--text-3);
}

.pl-title {
  margin-top: 10px;
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  font-stretch: 112%;
  font-weight: 540;
  line-height: 1.2;
  letter-spacing: -0.012em;
  text-wrap: balance;
  transition: color 0.3s var(--ease);
}

.pl-dek {
  max-width: 60ch;
  margin-top: 10px;
  color: var(--text-2);
}

.pl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pl-tags span {
  padding: 4px 10px;
  border: 1px solid rgb(var(--fg-rgb) / 0.14);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--text-2);
}

.pl-link:hover .pl-title {
  color: #000;
}

.pl-link:hover .cover__mark {
  transform: translateY(-50%) scale(1.08);
}

.pl-thumb {
  container-type: inline-size;
}

.pl--compact .pl-link {
  grid-template-columns: minmax(0, 1fr) clamp(96px, 16vw, 180px);
}

.pl-empty {
  padding: 56px 0;
  color: var(--text-2);
}

.pl-empty__reset {
  margin-top: 14px;
  padding: 10px 18px;
  border: 1px solid rgb(var(--fg-rgb) / 0.24);
  border-radius: 999px;
  background: none;
  color: var(--bone);
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}

::view-transition-group(*) {
  animation-duration: 0.5s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 640px) {
  .finder {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  /* Topics scroll sideways on phones; the fade shows there are more. */
  .tabs {
    margin-right: calc(var(--gutter) * -1);
    padding-right: var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }

  .finder__count {
    order: -1;
    grid-row: 2;
    padding-bottom: 0;
  }

  .pl-author {
    display: none;
  }

  .search kbd {
    display: none;
  }

  .pl-link {
    grid-template-columns: minmax(0, 1fr) 92px;
    align-items: start;
  }

  .pl-dek {
    display: none;
  }
}

/* Covers: Solaces posts in Solaces' look, the rest in Campfire's night. */

.cover {
  position: relative;
  display: grid;
  align-content: center;
  aspect-ratio: 16 / 10;
  padding: 7% 40% 7% 8%;
  overflow: hidden;
  border-radius: 14px;
}

.cover--solaces {
  background: #f6f3ee;
}

.cover--night {
  background:
    radial-gradient(120% 90% at 85% 115%, rgb(255 170 100 / 0.28), transparent 60%),
    #f5f5f7;
  box-shadow: none;
}

.cover--thumb {
  border-radius: 10px;
}

.cover__title {
  font-size: clamp(0.9rem, 6.5cqw, 2.4rem);
  line-height: 1.12;
}

.cover--solaces .cover__title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-stretch: 100%;
  letter-spacing: -0.02em;
  color: #1e2c30;
}

.cover--night .cover__title {
  font-stretch: 118%;
  font-weight: 540;
  letter-spacing: -0.015em;
  color: var(--bone);
}

.cover__series {
  margin-top: 0.9em;
  font-size: clamp(0.7rem, 2.6cqw, 1.05rem);
  font-weight: 500;
  letter-spacing: normal;
}

.cover--solaces .cover__series {
  font-family: "Inter", sans-serif;
  font-stretch: 100%;
  color: #2b5c63;
}

.cover--night .cover__series {
  color: var(--ember);
}

.cover__mark {
  position: absolute;
  top: 50%;
  right: 8%;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: transform 1.2s var(--ease);
}

.cover--solaces .cover__mark {
  background: #2b5c63;
}

/* Campfire's cover mark: an orbit with an ember on it. */
.cover--night .cover__mark {
  border: 1px solid rgb(232 105 31 / 0.45);
}

.cover--night .cover__mark::after {
  content: "";
  position: absolute;
  top: 12%;
  right: 8%;
  width: 9%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffb15a;
  box-shadow: 0 0 10px 1px rgb(255 140 60 / 0.45);
}

.cover--thumb .cover__mark {
  right: 50%;
  width: 46%;
  transform: translate(50%, -50%);
}

.pl-link:hover .cover--thumb .cover__mark {
  transform: translate(50%, -50%) scale(1.08);
}

/* The article */

.post {
  padding-block: clamp(130px, 18vh, 180px) clamp(64px, 10vh, 112px);
}

.post__head,
.post__body,
.post__foot {
  max-width: 44rem;
}

.post__meta {
  font-size: 0.875rem;
  color: var(--text-3);
}

.post__meta a {
  color: var(--text-2);
}

.post__title {
  margin-top: 18px;
  font-size: clamp(2.1rem, 4.4vw, 3.75rem);
  font-stretch: 118%;
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.post__dek {
  margin-top: 22px;
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: var(--text-2);
}

.post__by {
  margin-top: 22px;
  font-size: 0.9375rem;
  color: var(--bone);
}

.post__body {
  margin-top: clamp(40px, 6vh, 64px);
  font-size: 1.0625rem;
  font-stretch: 106%;
  font-weight: 380;
  line-height: 1.8;
  color: var(--text-2);
}

.post__body > * + * {
  margin-top: 1.1em;
}

.post__body strong {
  font-weight: 560;
  color: var(--bone);
}

.post__body ul,
.post__body ol {
  padding-left: 1.3em;
}

.post__body li + li {
  margin-top: 0.5em;
}

.post__body li::marker {
  color: var(--ember);
}

.post__lead {
  font-size: 1.375rem;
  font-weight: 460;
  line-height: 1.5;
  color: var(--bone);
}

.post__body h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 2.6em 0 0.2em;
  font-size: 1.375rem;
  font-stretch: 116%;
  font-weight: 540;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--bone);
}

.post__body h2 span {
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  color: var(--ember);
}

.post__body .post__pull {
  margin-block: 1.6em;
  padding-left: 20px;
  border-left: 2px solid var(--ember);
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--bone);
}

.post__body .bill {
  padding: 0;
  list-style: none;
}

.bill li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.bill li span:last-child {
  font-variant-numeric: tabular-nums;
  color: var(--bone);
  white-space: nowrap;
}

.bill__total {
  border-bottom: 1px solid var(--line);
  font-weight: 560;
  color: var(--bone);
}

.post__body .post__close {
  margin-top: 2em;
  font-size: 1.25rem;
  font-weight: 460;
  color: var(--bone);
}

.post__foot {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.post__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post__tags a {
  padding: 6px 12px;
  border: 1px solid rgb(var(--fg-rgb) / 0.16);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--text-2);
  transition:
    border-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.post__tags a:hover {
  border-color: var(--ember);
  color: var(--bone);
}

.post__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 36px;
}

.more {
  padding-bottom: clamp(96px, 14vh, 160px);
}

.more .label {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}


/* ---------- Header: the Work with us link ---------- */

.nav__hire {
  color: var(--bone);
}

@media (max-width: 459px) {
  /* On small phones Solaces is right below the hero anyway. */
  .nav__work {
    display: none;
  }
}

/* ---------- Pages: Work with us and the Lab ---------- */

.page {
  padding-block: clamp(140px, 20vh, 200px) clamp(64px, 10vh, 112px);
}

.page__title {
  max-width: 18ch;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  font-stretch: var(--wide);
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.page__title--small {
  font-size: clamp(2.2rem, 4.6vw, 4rem);
}

.page__intro {
  max-width: 46ch;
  margin-top: clamp(22px, 3vh, 32px);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-2);
}

.page-sec {
  padding-block: clamp(56px, 9vh, 96px);
  border-top: 1px solid var(--line);
}

.page-sec--end {
  border-top: 0;
  padding-bottom: clamp(96px, 14vh, 160px);
}

/* Chips: small rounded choices you can tap. */
.chip {
  padding: 10px 16px;
  border: 1px solid rgb(var(--fg-rgb) / 0.16);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.6);
  color: var(--text-2);
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    border-color 0.3s var(--ease),
    color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

.chip:hover {
  border-color: rgb(var(--fg-rgb) / 0.4);
  color: var(--bone);
}

.chip[aria-pressed="true"] {
  border-color: var(--ember);
  background: rgb(232 105 31 / 0.08);
  color: var(--bone);
}

.pick {
  margin-top: clamp(40px, 6vh, 64px);
}

.pick__ask {
  margin-bottom: 14px;
  font-size: 0.875rem;
  color: var(--text-3);
}

.pick__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* The four offers. */
.offers {
  padding-bottom: clamp(64px, 10vh, 112px);
}

.offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding-block: clamp(36px, 6vh, 56px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
  transition: opacity 0.5s var(--ease);
}

.offer.is-dim {
  opacity: 0.38;
}

.offer__num {
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  color: var(--ember);
}

.offer__title {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-stretch: 116%;
  font-weight: 540;
  line-height: 1.15;
  letter-spacing: -0.02em;
  transition: color 0.4s var(--ease);
}

.offer.is-picked .offer__title {
  color: var(--ember);
}

.offer__line {
  max-width: 52ch;
  margin-top: 12px;
  font-size: 1.125rem;
  color: var(--bone);
}

.offer__proof {
  max-width: 56ch;
  margin-top: 12px;
  color: var(--text-2);
}

.offer__proof a {
  color: var(--bone);
  background: linear-gradient(var(--ember), var(--ember)) no-repeat 0 100% / 100% 1px;
}

.offer__list {
  display: grid;
  gap: 8px;
  max-width: 56ch;
  margin: 20px 0 0;
  padding-left: 1.2em;
  color: var(--text-2);
}

.offer__list li::marker {
  color: var(--ember);
}

@media (min-width: 900px) {
  .offer {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .offer__num {
    padding-top: 0.6em;
  }
}

/* How it goes, and what I won't do. */
.steps,
.wont {
  display: grid;
  gap: 18px;
  max-width: 60ch;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--text-2);
}

.steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
}

.steps strong {
  font-weight: 560;
  color: var(--bone);
}

.steps__n {
  grid-row: span 2;
  font-variant-numeric: tabular-nums;
  color: var(--ember);
}

.wont li {
  padding-left: 30px;
  background: linear-gradient(var(--ember), var(--ember)) no-repeat 0 0.8em / 14px 2px;
}

/* ---------- Lab ---------- */

.lab-index {
  display: grid;
  gap: 2px;
  max-width: 34rem;
  margin-top: clamp(36px, 5vh, 56px);
}

.lab-index a {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 1.0625rem;
  color: var(--bone);
  transition: padding-left 0.4s var(--ease);
}

.lab-index a:hover {
  padding-left: 6px;
}

.lab-index span {
  font-variant-numeric: tabular-nums;
  color: var(--ember);
}

.lab {
  display: grid;
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(64px, 11vh, 120px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 68px;
}

.lab--end {
  padding-bottom: clamp(96px, 14vh, 160px);
}

@media (min-width: 1000px) {
  .lab {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }
}

.lab__num {
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  color: var(--ember);
}

.lab__title {
  margin-top: 10px;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-stretch: 118%;
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.lab__line {
  max-width: 42ch;
  margin-top: 16px;
  color: var(--text-2);
}

.lab__play {
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgb(255 255 255 / 0.72);
  box-shadow: 0 30px 60px -40px rgb(40 30 20 / 0.25);
}

.lab__small {
  margin-top: 22px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-3);
}

.lab__small a {
  color: var(--text-2);
  background: linear-gradient(var(--ember), var(--ember)) no-repeat 0 100% / 100% 1px;
}

.lab__input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgb(var(--fg-rgb) / 0.16);
  border-radius: 14px;
  background: #fff;
  color: var(--bone);
  font: inherit;
  font-size: 1rem;
  resize: vertical;
}

.lab__input:focus {
  outline: none;
  border-color: var(--ember);
}

.lab__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.lab__chips .chip {
  padding: 7px 13px;
  font-size: 0.8125rem;
}

/* The safety check's answer. */
.verdict {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--mist);
}

.verdict__state {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 560;
  color: var(--bone);
}

.verdict__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgb(var(--fg-rgb) / 0.25);
  transition: background-color 0.3s var(--ease);
}

[data-state="checking"] .verdict__dot {
  background: #f5a524;
  animation: caret 0.6s steps(1) infinite;
}

[data-state="ok"] .verdict__dot {
  background: #2e9d5b;
}

[data-state="blocked"] .verdict__dot {
  background: #d23c2a;
}

[data-state="care"] .verdict__dot {
  background: var(--ember);
}

.verdict__why {
  margin-top: 6px;
  font-size: 0.9375rem;
  color: var(--text-2);
}

.verdict__help {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--bone);
}

.verdict__help a {
  font-weight: 560;
  background: linear-gradient(var(--ember), var(--ember)) no-repeat 0 100% / 100% 1px;
}

/* Bias: a slider and twenty people. */
.range {
  display: grid;
  gap: 14px;
}

.range__label {
  color: var(--bone);
}

.range input {
  width: 100%;
  accent-color: var(--ember);
}

.range__value {
  font-size: 0.9375rem;
  color: var(--text-2);
}

.range__value strong {
  font-variant-numeric: tabular-nums;
  color: var(--bone);
}

.people {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: clamp(6px, 1.2vw, 12px);
  margin-top: 26px;
}

.person {
  aspect-ratio: 1;
  border: 2px solid;
  border-radius: 50%;
  opacity: 0.35;
  transition:
    opacity 0.5s var(--ease),
    background-color 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.person--blue {
  border-color: #3a7bd5;
}

.person--orange {
  border-color: var(--ember);
}

.person.is-picked {
  opacity: 1;
  transform: scale(1.08);
}

.person--blue.is-picked {
  background: #3a7bd5;
}

.person--orange.is-picked {
  background: var(--ember);
}

.lab__result {
  margin-top: 22px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--bone);
}

/* Is this a job for AI? */
.quiz {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quiz li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--bone);
}

.yn {
  display: flex;
  gap: 6px;
}

.yn button {
  min-width: 58px;
  padding: 7px 14px;
  border: 1px solid rgb(var(--fg-rgb) / 0.16);
  border-radius: 999px;
  background: none;
  color: var(--text-2);
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  transition:
    border-color 0.3s var(--ease),
    background-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.yn button[aria-pressed="true"] {
  border-color: var(--ember);
  background: var(--ember);
  color: #fff;
}

.score {
  margin-top: 24px;
}

.score__num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-stretch: 118%;
  font-weight: 560;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--bone);
}

.score__text {
  max-width: 46ch;
  margin-top: 6px;
  color: var(--text-2);
}

.score .exp__link {
  margin-top: 18px;
}

/* Breathe with the fire. --b goes to 1 on the in-breath and back to 0 on the out-breath. */
.breathe {
  --b: 0;
  display: grid;
  justify-items: center;
  text-align: center;
}

.breathe__fire {
  position: relative;
  display: grid;
  place-items: center;
  width: 200px;
  height: 230px;
}

.breathe__mark {
  position: relative;
  z-index: 1;
  width: 120px;
  height: auto;
  aspect-ratio: 104 / 120;
  transform-origin: 50% 100%;
  scale: calc(0.82 + var(--b) * 0.36);
  transition: scale 4s cubic-bezier(0.45, 0, 0.55, 1);
}

.breathe__glow {
  position: absolute;
  inset: 10% 0 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 170 95 / 0.45), transparent);
  opacity: calc(0.35 + var(--b) * 0.65);
  scale: calc(0.8 + var(--b) * 0.4);
  transition:
    opacity 4s cubic-bezier(0.45, 0, 0.55, 1),
    scale 4s cubic-bezier(0.45, 0, 0.55, 1);
}

.breathe__word {
  margin-top: 12px;
  font-size: 1.375rem;
  font-stretch: 116%;
  font-weight: 540;
  color: var(--bone);
}

.breathe__count {
  min-height: 1.6em;
  font-variant-numeric: tabular-nums;
  color: var(--text-3);
}

.breathe__go {
  margin-top: 14px;
  min-width: 120px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--bone);
  color: #fff;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s var(--ease);
}

.breathe__go:hover {
  background: #000;
}

.breathe.is-on .breathe__go {
  background: none;
  color: var(--text-2);
  box-shadow: inset 0 0 0 1px rgb(var(--fg-rgb) / 0.2);
}

/* ---------- Solaces in the open: Solaces' own type and colours ---------- */

.open,
.open-sec {
  font-family: "Inter", var(--sans);
  font-stretch: 100%;
  letter-spacing: normal;
  color: var(--sol-ink);
}

.open {
  padding-block: clamp(140px, 20vh, 200px) clamp(48px, 8vh, 80px);
}

.open__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
}

.open__title {
  margin-top: 18px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--sol-teal);
}

.open__intro {
  max-width: 44ch;
  margin-top: 24px;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: rgb(var(--sol-rgb) / 0.8);
}

.open__date {
  margin-top: 14px;
  font-size: 0.875rem;
  color: rgb(var(--sol-rgb) / 0.56);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(40px, 6vh, 64px) 0 0;
  overflow: hidden;
  border-radius: 20px;
  background: rgb(var(--sol-rgb) / 0.1);
}

@media (min-width: 900px) {
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat {
  padding: clamp(20px, 3vw, 32px);
  background: #fbf8f3;
}

.stat dt {
  font-size: 0.875rem;
  color: rgb(var(--sol-rgb) / 0.62);
}

.stat dd {
  margin: 10px 0 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--sol-ink);
}

.open-sec {
  padding-block: clamp(40px, 7vh, 72px);
}

.open-sec--end {
  padding-bottom: clamp(96px, 14vh, 160px);
}

.open__h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--sol-ink);
}

.obill {
  max-width: 54rem;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.obill li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 20px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgb(var(--sol-rgb) / 0.12);
  color: rgb(var(--sol-rgb) / 0.8);
}

.obill__bar {
  grid-column: 1 / -1;
  grid-row: 2;
  height: 6px;
  overflow: hidden;
  border-radius: 6px;
  background: rgb(var(--sol-rgb) / 0.07);
}

.obill__bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 6px;
  background: var(--sol-teal);
  transition: width 1.4s var(--ease);
}

.obill.is-in .obill__bar span {
  width: var(--w);
}

.obill li:nth-child(2) .obill__bar span {
  transition-delay: 0.1s;
}

.obill li:nth-child(n + 3) .obill__bar span {
  transition-delay: 0.2s;
}

.obill__amount {
  font-variant-numeric: tabular-nums;
  color: var(--sol-ink);
}

.obill__total {
  border-bottom: 1px solid rgb(var(--sol-rgb) / 0.12);
  font-weight: 600;
}

.obill__total .obill__label,
.obill__total .obill__amount {
  color: var(--sol-ink);
}

.open__note {
  max-width: 50ch;
  margin-top: 20px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--sol-teal);
}

.open__list,
.open__status {
  display: grid;
  gap: 14px;
  max-width: 56ch;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: rgb(var(--sol-rgb) / 0.8);
}

.open__list li {
  padding-left: 22px;
  background: radial-gradient(circle, var(--sol-teal) 3.5px, transparent 4px) no-repeat 0 0.45em / 9px 9px;
}

.open__list strong {
  font-weight: 600;
  color: var(--sol-ink);
}

.open__status li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgb(var(--sol-rgb) / 0.2);
}

.dot--live {
  background: #2e9d5b;
  box-shadow: 0 0 0 4px rgb(46 157 91 / 0.18);
}

.dot--wait {
  background: #e0a32e;
}

.open__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
  margin-top: 40px;
}

.open__links .exp__link {
  margin-top: 0;
  color: var(--sol-ink);
}

@media (prefers-reduced-motion: reduce) {
  .offer,
  .obill__bar span,
  .breathe__mark,
  .breathe__glow {
    transition: none;
  }
}

.sol__open {
  color: var(--sol-teal);
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
}

/* ---------- Lab: Play or Build ---------- */

.lab-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 40rem;
  margin-top: clamp(32px, 5vh, 48px);
}

.lab-switch a {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid rgb(var(--fg-rgb) / 0.14);
  border-radius: 16px;
  background: rgb(255 255 255 / 0.6);
  transition:
    border-color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

.lab-switch a:hover {
  border-color: rgb(var(--fg-rgb) / 0.35);
}

.lab-switch a[aria-current="page"] {
  border-color: var(--ember);
  background: rgb(232 105 31 / 0.07);
}

.lab-switch strong {
  font-size: 1.125rem;
  font-stretch: 116%;
  font-weight: 560;
  color: var(--bone);
}

.lab-switch span {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-2);
}

/* ---------- Lab: Build ---------- */

.howto {
  display: grid;
  gap: 6px;
  max-width: 40ch;
  margin: 22px 0 0;
  padding-left: 1.3em;
  color: var(--text-2);
}

.howto li::marker {
  color: var(--ember);
  font-variant-numeric: tabular-nums;
}

[data-sorter] {
  --pile-a: #e8691f;
  --pile-b: #3a7bd5;
}

.piles {
  display: grid;
  gap: 14px;
}

@media (min-width: 600px) {
  .piles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pile {
  display: flex;
  flex-direction: column;
  padding: 14px;
  border-radius: 14px;
  background: var(--mist);
  border-top: 3px solid var(--pile-a);
}

.pile[data-pile="1"] {
  border-top-color: var(--pile-b);
}

.pile__name input {
  width: 100%;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px dashed rgb(var(--fg-rgb) / 0.25);
  background: none;
  color: var(--bone);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 560;
}

.pile__name input:focus {
  outline: none;
  border-bottom-color: var(--ember);
}

.pile__list {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

.pile__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 6px 7px 12px;
  border-radius: 10px;
  background: #fff;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: var(--bone);
}

.pile__list .pile__empty {
  background: none;
  color: var(--text-3);
}

.pile__remove {
  flex: none;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--text-3);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
}

.pile__remove:hover {
  background: rgb(var(--fg-rgb) / 0.06);
  color: var(--bone);
}

.pile__add {
  display: flex;
  gap: 6px;
  margin-top: auto;
}

.pile__add input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid rgb(var(--fg-rgb) / 0.16);
  border-radius: 10px;
  background: #fff;
  color: var(--bone);
  font: inherit;
  font-size: 0.9375rem;
}

.pile__add input:focus {
  outline: none;
  border-color: var(--ember);
}

.pile__add button {
  flex: none;
  width: 40px;
  border: 0;
  border-radius: 10px;
  background: var(--bone);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}

.tryit {
  margin-top: 22px;
}

.tryit__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.875rem;
  color: var(--text-3);
}

.guess {
  margin-top: 16px;
}

.guess__line {
  font-size: 1.125rem;
  color: var(--text-2);
}

.guess__line strong {
  font-weight: 600;
  color: var(--lean, var(--bone));
}

.guess__sure {
  font-size: 0.9375rem;
  color: var(--text-3);
}

/* The bar fills with the first pile's colour; the rest shows the second pile's. */
.guess__bar {
  height: 8px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--pile-b);
}

.guess__bar span {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--pile-a);
  transition: width 0.5s var(--ease);
}

.guess__words {
  margin-top: 14px;
  line-height: 2.1;
  color: var(--text-3);
}

.word {
  padding: 3px 7px;
  border-radius: 6px;
  color: var(--bone);
}

.word[data-side="a"] {
  background: rgb(232 105 31 / calc(0.08 + var(--k) * 0.4));
}

.word[data-side="b"] {
  background: rgb(58 123 213 / calc(0.08 + var(--k) * 0.4));
}

.word[data-side="none"] {
  background: rgb(var(--fg-rgb) / 0.05);
  color: var(--text-3);
}

.lab--build .lab__chips {
  margin-top: 22px;
}

.chip--share {
  border-color: var(--bone);
  color: var(--bone);
}

/* Teach it to talk */

.talk__stats {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--text-3);
}

.talk__out {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--mist);
}

.talk__text {
  min-height: 3.2em;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--bone);
}

.tok--new {
  border-radius: 4px;
  background: rgb(232 105 31 / 0.18);
  box-shadow: 0 0 0 3px rgb(232 105 31 / 0.18);
  animation: tok-in 0.5s var(--ease);
}

@keyframes tok-in {
  from {
    background: rgb(232 105 31 / 0.5);
  }
}

.talk__next {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.talk__label {
  font-size: 0.8125rem;
  color: var(--text-3);
}

.cand {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 6px 10px;
  overflow: hidden;
  border-radius: 8px;
  font-size: 0.9375rem;
  color: var(--bone);
  isolation: isolate;
}

.cand::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  width: calc(var(--p) * 100%);
  background: rgb(232 105 31 / 0.16);
  transition: width 0.4s var(--ease);
}

.cand__p {
  font-variant-numeric: tabular-nums;
  color: var(--text-2);
}

.talk__range {
  margin-top: 20px;
}

.talk__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.btn {
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--bone);
  color: #fff;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s var(--ease);
}

.btn:hover {
  background: #000;
}

.btn--ghost {
  background: none;
  color: var(--bone);
  box-shadow: inset 0 0 0 1px rgb(var(--fg-rgb) / 0.2);
}

.btn--ghost:hover {
  background: rgb(var(--fg-rgb) / 0.05);
}

/* Apple's official App Store badge: shown as supplied, at least 40px tall, with clear space round it. */
.appstore {
  display: inline-block;
  flex: none;
  line-height: 0;
}

.appstore img {
  width: auto;
  height: 44px;
}
