/* Proef, Amsterdam. Canal green and black on white. */
@font-face {
  font-family: "Proef Sans";
  src: url("/live/proef/fonts/proef-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Proef Mono";
  src: url("/live/proef/fonts/proef-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --ink: #0a0d0c;
  --canal: #0e5a4a;
  --canal-deep: #0a4438;
  --mist: #edf2f0;
  --line: #dce2df;
  --grey: #5a6460;
  --f-sans: "Proef Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Proef Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gut: clamp(16px, 3.4vw, 56px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-wipe: cubic-bezier(0.76, 0, 0.24, 1);
  --spring: cubic-bezier(0.16, 1, 0.3, 1);
  --t-display: clamp(52px, 10.2vw, 172px);
  --t-head: clamp(34px, 4.4vw, 68px);
  --t-body: clamp(17px, 1.25vw, 19px);
  --t-label: 13px;
  color-scheme: light;
}

html {
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--f-sans);
  font-size: var(--t-body);
  line-height: 1.5;
  font-weight: 400;
  background: var(--paper);
  color: var(--ink);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection {
  background: var(--canal);
  color: #fff;
}
a {
  text-decoration: none;
}
em,
i {
  font-style: normal;
}
:focus-visible {
  outline: 2px solid var(--canal);
  outline-offset: 3px;
  border-radius: 4px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 90;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 15px;
}
.skip:focus {
  top: 16px;
}

/* ---------- Type ---------- */
.h2 {
  font-size: var(--t-head);
  line-height: 1;
  letter-spacing: -0.032em;
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
}
.h3 {
  font-family: var(--f-mono);
  font-size: var(--t-label);
  font-weight: 450;
  letter-spacing: 0.02em;
  color: var(--grey);
  margin: 0 0 20px;
}
.lede {
  max-width: 34em;
  margin: 22px 0 0;
  color: var(--grey);
  text-wrap: pretty;
}
.key {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1;
  color: var(--ink);
  background: var(--paper);
  vertical-align: 1px;
}
.key--inv {
  background: transparent;
  border-color: currentColor;
  color: inherit;
  opacity: 0.85;
}
.ag {
  font-family: var(--f-mono);
  font-size: var(--t-label);
  letter-spacing: 0.02em;
  color: var(--canal);
  font-weight: 500;
}

/* ---------- Links and buttons (one hover: the fill wipes in from the left) ---------- */
.u {
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.3s var(--ease), color 0.2s;
}
.u:hover {
  background-size: 0% 1px;
  background-position: 100% 100%;
}
.link {
  font-size: 16px;
  color: var(--ink);
  padding-bottom: 3px;
  background-image: linear-gradient(var(--line), var(--line)), linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 100% 1px, 0% 1px;
  background-position: 0 100%, 0 100%;
  transition: background-size 0.4s var(--ease), color 0.2s;
}
.link:hover {
  background-size: 100% 1px, 100% 1px;
}
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 24px;
  border-radius: 10px;
  background: var(--canal);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.18s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.45s var(--ease);
  z-index: -1;
}
.btn:hover::before {
  transform: scaleX(1);
}
.btn:active {
  transform: scale(0.97);
}

/* ---------- The sentence menu ---------- */
.say {
  position: fixed;
  top: 18px;
  left: var(--gut);
  z-index: 40;
  pointer-events: none;
}
.say__nav,
.say__menu {
  pointer-events: auto;
}
.say__line {
  margin: 0;
  max-width: 400px;
  padding: 11px 15px 12px;
  background: var(--paper);
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--grey);
  transition: border-color 0.3s var(--ease-soft);
}
.say.is-off-top .say__line {
  border-color: var(--line);
}
.say__logo {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.say__line a.u {
  color: var(--ink);
}
.say__line a.u:hover {
  color: var(--canal);
}
.say__cta {
  color: var(--canal) !important;
  font-weight: 500;
}
.say .key {
  margin-left: 2px;
  height: 20px;
  min-width: 20px;
  font-size: 11px;
}
.say__menu {
  display: none;
}
.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--paper);
  padding: 96px var(--gut) 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.menu[hidden] {
  display: none;
}
.menu__line {
  margin: 0;
  font-size: clamp(32px, 8.4vw, 56px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--grey);
  text-wrap: balance;
}
.menu__line a {
  color: var(--ink);
  background: linear-gradient(var(--canal), var(--canal)) 0 92% / 100% 2px no-repeat;
}
.menu__foot {
  margin: 0;
  font-size: 15px;
  color: var(--grey);
}
.menu__close {
  position: absolute;
  top: 18px;
  right: var(--gut);
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-size: 15px;
}

/* ---------- Prototype in the page: hero and describe ---------- */
.proto {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "hero stage" "describe stage";
  column-gap: clamp(24px, 4vw, 72px);
  padding: 0 var(--gut);
}
/* hero and describe are two rows of their own; the phone column spans both and stays in view */
.proto__copy {
  display: contents;
}
.proto > .proto__copy > .hero {
  grid-area: hero;
}
.proto > .proto__copy > .describe {
  grid-area: describe;
}
.proto__stage {
  grid-area: stage;
}
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 150px 0 clamp(48px, 9vh, 104px);
}
.hero__h {
  margin: 0;
  font-size: var(--t-display);
  line-height: 0.9;
  letter-spacing: -0.052em;
  font-weight: 500;
  max-width: 7.6em;
  text-wrap: balance;
}
.hero__lede {
  margin: clamp(28px, 4vh, 44px) 0 0;
  max-width: 31em;
  color: var(--grey);
  text-wrap: pretty;
}
.hero__act {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.describe {
  min-height: 100svh;
  padding: clamp(96px, 16vh, 180px) 0 clamp(64px, 12vh, 140px);
}
.ask {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 44px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  max-width: 720px;
}
.ask:focus-within {
  border-bottom-color: var(--canal);
}
.ask__in {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -0.015em;
  color: var(--ink);
  padding: 6px 0;
}
.ask__in::placeholder {
  color: #6b7470;
}
.ask__go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 14px 0 18px;
  border: 0;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  white-space: nowrap;
  transition: background-color 0.25s, transform 0.18s var(--ease);
}
.ask__go:hover {
  background: var(--canal);
}
.ask__go:active {
  transform: scale(0.97);
}
.ask__go .key {
  border-color: rgba(255, 255, 255, 0.5);
}
.ideas {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 720px;
}
.idea {
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.idea:hover {
  border-color: var(--canal);
  color: var(--canal);
}
.idea:active {
  transform: scale(0.97);
}
.log {
  list-style: none;
  padding: 0;
  margin: clamp(48px, 8vh, 88px) 0 0;
  max-width: 720px;
  border-top: 1px solid var(--line);
}
.log__row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 52px;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: #6b7470;
  transition: color 0.3s;
}
.log__who {
  font-family: var(--f-mono);
  font-size: var(--t-label);
  letter-spacing: 0.02em;
  color: #6b7470;
  position: relative;
  padding-left: 14px;
}
.log__who::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--line);
  transition: background-color 0.3s;
}
.log__t {
  font-family: var(--f-mono);
  font-size: 12px;
  text-align: right;
  color: #6b7470;
  font-variant-numeric: tabular-nums;
}
.log__row.is-done {
  color: var(--ink);
}
.log__row.is-done .log__who {
  color: var(--canal);
}
.log__row.is-done .log__who::before {
  background: var(--canal);
}
.log__row.is-active {
  color: var(--ink);
}
.log__row.is-active .log__who {
  color: var(--ink);
}
.log__row.is-active .log__who::before {
  background: var(--ink);
  animation: blink 0.8s steps(2, jump-none) infinite;
}
.log__row.is-stop .log__who::before {
  background: var(--ink);
}
@keyframes blink {
  50% {
    opacity: 0.2;
  }
}

/* stage */
.proto__stage {
  position: relative;
}
.stage {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px 0 20px;
}
.stage__phone {
  flex: none;
}
.wheels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 470px);
}
.tokens {
  margin: 0;
  display: flex;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.01em;
}

/* ---------- Thumb wheels ---------- */
.wheel {
  user-select: none;
  -webkit-user-select: none;
  border-radius: 10px;
}
.wheel:focus-visible {
  outline-offset: 4px;
}
.wheel__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 7px;
}
.wheel__name {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.02em;
}
.wheel__val {
  font-size: 14px;
  font-weight: 500;
}
.wheel__drum {
  position: relative;
  height: 44px;
  border-radius: 9px;
  background: var(--mist);
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.wheel.is-drag .wheel__drum {
  cursor: grabbing;
}
.wheel__rib {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1.5px;
  margin-left: -0.75px;
  background: linear-gradient(var(--ink), var(--ink)) top / 100% 9px no-repeat, linear-gradient(var(--ink), var(--ink)) bottom / 100% 9px no-repeat;
  will-change: transform;
}
.wheel__lab {
  position: absolute;
  left: 50%;
  top: 50%;
  font-family: var(--f-mono);
  font-size: 12px;
  white-space: nowrap;
  color: var(--grey);
  cursor: pointer;
  will-change: transform;
}
.wheel__lab.is-on {
  color: var(--ink);
  font-weight: 500;
}
.wheel__mark {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 11px;
  margin-left: -1px;
  background: var(--canal);
  border-radius: 0 0 2px 2px;
  z-index: 2;
  transform-origin: 50% 0;
}
.wheel.is-click .wheel__mark {
  animation: tick 0.22s var(--ease);
}
@keyframes tick {
  0% {
    transform: scaleY(1.9);
  }
  100% {
    transform: scaleY(1);
  }
}

/* ---------- The phone (CSS iPhone, drawn at 1x and scaled) ---------- */
.phone {
  --s: 0.7;
  position: relative;
  width: calc(414px * var(--s));
  height: calc(868px * var(--s));
}
.phone__in {
  position: absolute;
  left: 0;
  top: 0;
  width: 414px;
  height: 868px;
  padding: 12px;
  border-radius: 66px;
  background: var(--ink);
  transform: scale(var(--s));
  transform-origin: 0 0;
}
.phone__in::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 66px;
  border: 2px solid #2b302e;
  pointer-events: none;
}
.phone__island {
  position: absolute;
  top: 23px;
  left: 50%;
  width: 124px;
  height: 36px;
  margin-left: -62px;
  border-radius: 20px;
  background: #000;
  z-index: 5;
}

.p-screen {
  --pad: 20px;
  --gap: 14px;
  --ph: 140px;
  --title: 30px;
  --slot: 14px;
  --map: 210px;
  position: relative;
  width: 390px;
  height: 844px;
  border-radius: 54px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--p-bg);
  color: var(--p-text);
  font-family: -apple-system, "SF Pro Text", system-ui, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: background-color 0.5s var(--ease-soft), color 0.5s var(--ease-soft);
  -webkit-font-smoothing: antialiased;
}
.p-screen[data-density="airy"] {
  --pad: 24px;
  --gap: 18px;
  --ph: 196px;
  --title: 34px;
  --slot: 18px;
  --map: 250px;
}
.p-screen[data-density="compact"] {
  --pad: 16px;
  --gap: 9px;
  --ph: 64px;
  --title: 26px;
  --slot: 10px;
  --map: 160px;
}
.p-screen *,
.p-screen *::before,
.p-screen *::after {
  transition: background-color 0.5s var(--ease-soft), color 0.5s var(--ease-soft), border-color 0.5s var(--ease-soft), border-radius 0.55s var(--spring), fill 0.5s, stroke 0.5s;
}
.p-screen svg {
  width: 100%;
  height: 100%;
}
.p-status {
  flex: none;
  height: 54px;
  padding: 18px 30px 0 46px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.p-sys {
  display: flex;
  gap: 6px;
  align-items: center;
}
.p-sys svg {
  height: 12px;
  width: auto;
  fill: currentColor;
}
.p-sys svg:nth-child(1) {
  width: 18px;
}
.p-sys svg:nth-child(2) {
  width: 16px;
}
.p-sys .p-batt {
  width: 27px;
  height: 13px;
}
.p-batt rect:first-child {
  stroke: currentColor;
}
.p-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 0 var(--pad);
}
.p-head {
  padding-top: 8px;
}
.p-head__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.p-loc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
  color: var(--p-muted);
  font-weight: 500;
}
.p-loc svg,
.p-me svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.p-me {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: min(var(--p-r), 18px);
  background: var(--p-chip);
}
.p-title {
  margin: 4px 0 var(--gap);
  font-size: var(--title);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  white-space: nowrap;
  overflow: hidden;
}
.p-title.is-two {
  white-space: normal;
  font-size: calc(var(--title) * 0.84);
}
.p-days {
  display: flex;
  gap: 7px;
  margin-bottom: var(--gap);
}
.p-day {
  flex: 1;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: min(var(--p-r), 18px);
  background: var(--p-chip);
  position: relative;
}
.p-day > span {
  font-size: 12px;
  color: var(--p-muted);
  font-weight: 500;
}
.p-day b {
  font-size: 18px;
  font-weight: 600;
}
.p-day.is-on {
  background: var(--p-chip-on);
  color: var(--p-chip-on-text);
}
.p-day.is-on > span {
  color: inherit;
  opacity: 0.8;
}
.p-dot {
  position: absolute;
  bottom: 7px;
  width: 4px;
  height: 4px;
  border-radius: 2px;
  background: var(--p-accent);
}
.p-day.is-on .p-dot {
  background: currentColor;
}
[data-density="compact"] .p-day {
  height: 50px;
}
.p-chips {
  display: flex;
  gap: 8px;
  margin-bottom: var(--gap);
  overflow: hidden;
}
.p-chip {
  flex: none;
  height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: min(var(--p-r), 20px);
  background: var(--p-chip);
  border: 1px solid var(--p-line);
  font-size: 14px;
  font-weight: 500;
  position: relative;
}
.p-chip.is-on {
  background: var(--p-chip-on);
  border-color: var(--p-chip-on);
  color: var(--p-chip-on-text);
}
[data-density="airy"] .p-chip {
  height: 44px;
  padding: 0 16px;
}
[data-density="compact"] .p-chip {
  height: 34px;
  padding: 0 11px;
  font-size: 13px;
}
.p-chip.is-hit::after,
.p-add.is-hit::after,
.p-day.is-hit::after {
  content: "";
  position: absolute;
  inset: -5px 0;
}
.p-add.is-hit::after {
  inset: -5px;
}
.p-add {
  position: relative;
}
.p-sec {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--p-muted);
}
.p-list {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
.p-card {
  background: var(--p-surface);
  border-radius: var(--p-r);
  overflow: hidden;
}
.p-ph {
  height: var(--ph);
  background: var(--p-line);
  overflow: hidden;
}
.p-ph img {
  transition: opacity 0.4s;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.p-ph--date,
.p-ph--letter {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px 14px;
  background: var(--p-accent);
  color: var(--p-on);
}
.p-ph--date b,
.p-ph--letter b {
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.p-ph--date span {
  font-size: 13px;
  font-weight: 600;
}
.p-card__txt {
  padding: 12px 14px 14px;
}
.p-card__row,
.p-tile__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.p-card h4,
.p-tile h4,
.p-slot h4,
.p-row h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-price {
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
}
.p-price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--p-muted);
}
.p-meta {
  margin: 3px 0 0;
  font-size: 14px;
  color: var(--p-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-note {
  margin: 7px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--p-accent);
}
[data-tone="paper"] .p-note,
[data-tone="mist"] .p-note {
  color: var(--p-accent);
}
/* compact: photo cards become rows */
[data-density="compact"] .p-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 8px;
}
[data-density="compact"] .p-card .p-ph {
  width: 64px;
  border-radius: max(0px, calc(var(--p-r) - 5px));
}
[data-density="compact"] .p-card__txt {
  padding: 0 4px 0 0;
}
[data-density="compact"] .p-note {
  display: none;
}
[data-density="compact"] .p-card h4,
[data-density="compact"] .p-price {
  font-size: 16px;
}
[data-density="airy"] .p-card__txt {
  padding: 16px 18px 18px;
}
/* shop grid */
.p-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  margin-bottom: 12px;
  border-radius: min(var(--p-r), 22px);
  background: var(--p-chip);
  color: var(--p-muted);
  font-size: 15px;
}
.p-search svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.p-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}
.p-tile {
  background: var(--p-surface);
  border-radius: var(--p-r);
  overflow: hidden;
}
.p-tile .p-ph {
  height: calc(var(--ph) * 0.86);
}
.p-tile__txt {
  padding: 10px 12px 12px;
}
.p-tile h4 {
  font-size: 15px;
}
.p-tile .p-meta {
  font-size: 12.5px;
}
.p-tile__row {
  align-items: center;
  margin-top: 8px;
}
.p-tile .p-price {
  font-size: 15px;
}
.p-add {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: min(var(--p-r), 17px);
  background: var(--p-accent);
  color: var(--p-on);
}
.p-add svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
[data-density="airy"] .p-grid {
  grid-template-columns: 1fr;
}
[data-density="airy"] .p-tile .p-ph {
  height: 170px;
}
[data-density="compact"] .p-grid {
  grid-template-columns: 1fr;
  gap: 0;
}
[data-density="compact"] .p-tile {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid var(--p-line);
}
[data-density="compact"] .p-tile .p-ph {
  height: 52px;
  border-radius: max(0px, calc(var(--p-r) - 6px));
}
[data-density="compact"] .p-tile__txt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0;
  column-gap: 10px;
}
[data-density="compact"] .p-tile__row {
  grid-row: 1 / span 2;
  grid-column: 2;
  margin: 0;
  gap: 10px;
}
/* plan rows */
.p-days--week .p-day {
  height: 62px;
}
.p-slot {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: var(--slot) 14px;
  background: var(--p-surface);
  border-radius: var(--p-r);
}
.p-slot time {
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.p-spots {
  font-size: 13px;
  font-weight: 600;
  color: var(--p-accent);
  white-space: nowrap;
}
.p-slot.is-full .p-spots {
  color: var(--p-muted);
}
.p-slot.is-full h4 {
  opacity: 0.55;
}
[data-density="compact"] .p-list--slots {
  gap: 0;
}
[data-density="compact"] .p-slot {
  background: transparent;
  border-radius: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--p-line);
}
.p-toggle {
  position: relative;
  width: 51px;
  height: 31px;
  border-radius: 16px;
  background: var(--p-line);
}
.p-toggle i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 27px;
  height: 27px;
  border-radius: 14px;
  background: #fff;
  transition: transform 0.35s var(--spring), background-color 0.4s;
}
.p-toggle.is-on {
  background: var(--p-accent);
}
.p-toggle.is-on i {
  transform: translateX(20px);
}
[data-tone="canal"] .p-toggle.is-on i {
  background: var(--p-on);
}
/* track */
.p-map {
  position: relative;
  height: var(--map);
  border-radius: var(--p-r);
  overflow: hidden;
  background: var(--p-surface);
}
.p-map__svg {
  position: absolute;
  inset: 0;
}
.p-map .m-water {
  fill: color-mix(in srgb, var(--p-accent) 22%, var(--p-surface));
}
.p-map .m-st path {
  stroke: var(--p-bg);
  stroke-width: 9;
  fill: none;
}
.p-map .m-st--s path {
  stroke-width: 4;
}
.p-map .m-route {
  fill: none;
  stroke: var(--p-accent);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.p-map .m-from {
  fill: var(--p-text);
}
.p-map .m-me {
  fill: var(--p-accent);
  stroke: var(--p-bg);
  stroke-width: 3;
}
.p-map .m-to {
  fill: var(--p-text);
}
.p-map .m-to-in {
  fill: var(--p-bg);
}
.p-map__tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: min(var(--p-r), 14px);
  background: var(--p-bg);
  font-size: 13px;
  font-weight: 600;
}
.p-eta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin: var(--gap) 0;
}
.p-eta > .p-meta {
  max-width: 50%;
  white-space: normal;
  text-align: right;
}
.p-big {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.p-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: var(--p-r);
  background: var(--p-surface);
  margin-bottom: var(--gap);
}
.p-av {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: min(var(--p-r), 22px);
  background: var(--p-accent);
  color: var(--p-on);
  font-weight: 700;
}
.p-call {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: min(var(--p-r), 22px);
  background: var(--p-chip-on);
  color: var(--p-chip-on-text);
}
.p-call svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}
.p-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.p-steps li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: calc(var(--slot) * 0.8) 0;
  border-bottom: 1px solid var(--p-line);
  font-size: 15px;
}
.p-steps li span {
  color: var(--p-muted);
  font-variant-numeric: tabular-nums;
}
.p-steps b {
  font-weight: 500;
}
.p-steps .is-done b {
  color: var(--p-muted);
}
.p-steps .is-now b {
  color: var(--p-accent);
  font-weight: 700;
}
/* energy */
.p-sun {
  padding: 14px 16px 12px;
  border-radius: var(--p-r);
  background: var(--p-surface);
  margin-bottom: var(--gap);
}
.p-sun .p-meta {
  white-space: normal;
  margin: 0 0 12px;
}
.p-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: calc(var(--ph) * 0.62 + 40px);
}
.p-bars i {
  flex: 1;
  height: calc(var(--h) * 100%);
  border-radius: min(var(--p-r), 5px) min(var(--p-r), 5px) 1px 1px;
  background: var(--p-line);
}
.p-bars i.is-best {
  background: var(--p-accent);
}
.p-bars i.is-now {
  background: var(--p-text);
}
.p-bars__x {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: var(--p-muted);
}
/* bars */
.p-cta {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px var(--pad);
  background: var(--p-bar);
  border-top: 1px solid var(--p-line);
}
.p-cta__txt {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.p-cta__txt b {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-cta__txt span {
  font-size: 13px;
  color: var(--p-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-btn {
  flex: none;
  height: 50px;
  max-width: 62%;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  border-radius: min(var(--p-r), 25px);
  background: var(--p-accent);
  color: var(--p-on);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
}
.p-tabs {
  flex: none;
  height: 83px;
  padding: 7px 12px 0;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  background: var(--p-bar);
  border-top: 1px solid var(--p-line);
}
.p-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 72px;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--p-muted);
}
.p-tab svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.p-tab b {
  font-weight: 500;
}
.p-tab.is-on {
  color: var(--p-accent);
}
[data-tone="paper"] .p-tab.is-on,
[data-tone="mist"] .p-tab.is-on {
  color: var(--p-accent);
}
.p-home {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 134px;
  height: 5px;
  margin-left: -67px;
  border-radius: 3px;
  background: var(--p-text);
}
/* agents at work inside the phone */
.p-screen .w .p-w,
.p-screen .w.p-w {
  color: transparent !important;
  background-color: var(--p-line) !important;
  border-color: transparent !important;
  border-radius: 6px;
}
.p-screen .w .p-w svg,
.p-screen .w .p-w small {
  opacity: 0;
}
.p-screen .w img {
  opacity: 0;
}
.p-screen .w .p-ph,
.p-screen .w .p-add,
.p-screen .w .p-toggle,
.p-screen .w .p-call,
.p-screen .w .p-av,
.p-screen .w .p-bars i {
  background-color: var(--p-line) !important;
  color: transparent !important;
}
.p-screen .w .p-add svg,
.p-screen .w .p-call svg,
.p-screen .w.p-map svg,
.p-screen .w .p-toggle i {
  opacity: 0;
}
.p-screen .w.p-card,
.p-screen .w.p-tile,
.p-screen .w.p-slot,
.p-screen .w.p-row,
.p-screen .w.p-sun,
.p-screen .w.p-map {
  background-color: transparent !important;
  outline: 1px dashed var(--p-line);
  outline-offset: -1px;
}
.p-measure {
  outline: 2px solid var(--p-accent) !important;
  outline-offset: 3px;
}

/* ---------- Desktop screen (Lading) ---------- */
.desk {
  --s: 0.5;
  position: relative;
  width: calc(1280px * var(--s));
  height: calc(800px * var(--s));
}
.desk__in {
  position: absolute;
  left: 0;
  top: 0;
  width: 1280px;
  height: 800px;
  transform: scale(var(--s));
  transform-origin: 0 0;
  border-radius: 14px;
  background: var(--ink);
  padding: 10px;
}
.desk .p-screen {
  width: 1260px;
  height: 780px;
  border-radius: 8px;
  display: block;
}
.d-app {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  height: 100%;
  font-size: 14px;
}
.d-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 16px;
  background: var(--p-surface);
  border-right: 1px solid var(--p-line);
}
.d-logo {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin: 0 10px 18px;
}
.d-nav {
  padding: 9px 10px;
  border-radius: min(var(--p-r), 8px);
  color: var(--p-muted);
  font-weight: 500;
}
.d-nav.is-on {
  background: var(--p-chip-on);
  color: var(--p-chip-on-text);
}
.d-main {
  position: relative;
  padding: 24px 28px;
}
.d-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 22px;
}
.d-top h3 {
  margin: 4px 0 0;
  font-size: 30px;
  letter-spacing: -0.03em;
}
.d-meta {
  color: var(--p-muted);
  font-size: 13px;
}
.d-btn {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-radius: min(var(--p-r), 19px);
  background: var(--p-accent);
  color: var(--p-on);
  font-weight: 600;
  font-size: 14px;
}
.d-btn--s {
  height: 34px;
}
.d-btn--g {
  height: 34px;
  background: transparent;
  color: var(--p-text);
  border: 1px solid var(--p-line);
}
.d-grid {
  position: relative;
  border-top: 1px solid var(--p-line);
}
.d-hours,
.d-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
}
.d-hours {
  grid-template-columns: 150px repeat(8, 1fr);
  font-size: 12px;
  color: var(--p-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--p-line);
}
.d-row {
  height: 64px;
  border-bottom: 1px solid var(--p-line);
  align-items: center;
}
.d-name b {
  display: block;
  font-size: 14px;
}
.d-name span {
  font-size: 12px;
  color: var(--p-muted);
}
.d-lane {
  position: relative;
  height: 100%;
}
.d-blk {
  position: absolute;
  top: 16px;
  bottom: 16px;
  border-radius: min(var(--p-r), 8px);
  background: var(--p-accent);
  opacity: 0.9;
}
.d-blk--b {
  background: var(--p-line);
  opacity: 1;
}
.d-blk--x {
  background: var(--p-text);
  outline: 2px solid var(--p-accent);
  outline-offset: 2px;
}
.d-now {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--p-text);
}
.d-flag {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 380px;
  padding: 18px;
  border-radius: min(var(--p-r), 14px);
  background: var(--p-bg);
  border: 1px solid var(--p-line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.d-flag p {
  margin: 0;
  width: 100%;
  font-size: 15px;
  line-height: 1.4;
}
.d-agent {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--p-accent);
  width: 100%;
}

/* ---------- Work: sprint index beside one frame ---------- */
.work {
  padding: clamp(120px, 16vw, 220px) var(--gut) clamp(100px, 12vw, 180px);
}
.work__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(24px, 4vw, 72px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 96px);
}
.work__head .lede {
  margin: 0;
}
.work__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  column-gap: clamp(24px, 4vw, 72px);
  align-items: start;
}
.idx {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}
.idx__item {
  border-bottom: 1px solid var(--line);
}
.idx__row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  grid-template-areas: "n name meta" "n line line";
  column-gap: 18px;
  row-gap: 6px;
  align-items: baseline;
  padding: clamp(22px, 2.6vw, 34px) 0;
  color: var(--ink);
}
.idx__n {
  grid-area: n;
  font-family: var(--f-mono);
  font-size: var(--t-label);
  color: var(--grey);
}
.idx__name {
  grid-area: name;
  font-size: var(--t-head);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 500;
  transition: color 0.3s, transform 0.5s var(--ease);
}
.idx__line {
  grid-area: line;
  color: var(--grey);
  font-size: 17px;
}
.idx__meta {
  grid-area: meta;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--grey);
  text-align: right;
}
.idx__item.is-on .idx__name,
.idx__row:hover .idx__name {
  color: var(--canal);
  transform: translateX(10px);
}
.idx__media {
  display: none;
}
.frame {
  position: sticky;
  top: clamp(72px, 10vh, 120px);
}
.frame__in {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: 20px;
  overflow: hidden;
  background: var(--mist);
}
.frame__layer {
  position: absolute;
  inset: 0;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.8s var(--ease-wipe);
}
.frame__layer.is-on {
  clip-path: inset(0 0 0 0);
  z-index: 2;
}
.frame__layer.is-was {
  clip-path: inset(0 0 0 0);
  z-index: 1;
}
.frame__layer picture,
.frame__layer > img {
  position: absolute;
  inset: 0;
}
.frame__layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame__dev {
  position: absolute;
  right: 7%;
  bottom: -14%;
  transition: transform 0.9s var(--ease);
}
.frame__layer.is-on .frame__dev {
  transform: translateY(-4%);
}
.frame__dev--desk {
  right: auto;
  left: 7%;
  bottom: 8%;
}
.frame__cap {
  margin: 16px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
}
.frame__out {
  color: var(--ink);
}

/* ---------- Method ---------- */
.method {
  padding: clamp(100px, 12vw, 180px) var(--gut);
  border-top: 1px solid var(--line);
}
.method__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(24px, 4vw, 72px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.method__head .lede {
  margin: 0;
}
.days {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}
.days li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 14px 26px;
  border-left: 1px solid var(--line);
}
.days li:first-child {
  border-left: 0;
  padding-left: 0;
}
.days li:nth-child(n + 6) {
  border-top: 1px solid var(--ink);
}
.days li:nth-child(6) {
  border-left: 0;
  padding-left: 0;
}
.days__d {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--grey);
}
.days b {
  font-size: 19px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-top: 28px;
}
.days li > span:last-child {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.4;
}
.days__test .days__d {
  color: var(--canal);
}
.method__end {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(24px, 4vw, 72px);
  align-items: end;
  margin-top: clamp(56px, 7vw, 104px);
}
.method__photo {
  margin: 0;
}
.kit-js:not(.is-static) .method__photo,
.kit-js:not(.is-static) .studio__room {
  clip-path: inset(100% 0 0 0);
}
.method__photo img,
.studio__room img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}
.method__photo figcaption,
.studio__canal figcaption {
  margin-top: 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--grey);
}
.price__line {
  margin: 0;
  font-size: var(--t-head);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.price__more {
  margin: 20px 0 28px;
  color: var(--grey);
  max-width: 26em;
}

/* ---------- Studio ---------- */
.studio {
  padding: clamp(100px, 12vw, 180px) var(--gut);
  border-top: 1px solid var(--line);
}
.studio__h {
  max-width: 13em;
}
.studio__room {
  margin: clamp(48px, 6vw, 88px) 0 0;
}
.studio__room img {
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 20px;
}
.studio__cols {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(24px, 4vw, 72px);
  margin-top: clamp(56px, 7vw, 104px);
}
.faces {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.faces figure {
  margin: 0;
}
.faces img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  background: var(--mist);
}
.faces figcaption,
.names li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 12px;
  font-size: 16px;
}
.faces figcaption span,
.names span {
  color: var(--grey);
  font-size: 15px;
}
.faces b,
.names b {
  font-weight: 500;
}
.names {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
  border-top: 1px solid var(--line);
}
.names li {
  padding: 14px 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.agent-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}
.agent-list li {
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--line);
}
.agent-list p {
  margin: 8px 0 0;
  font-size: 17px;
}
.agent-list .ag__last {
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--grey);
  margin-top: 10px;
}
.studio__canal {
  margin: clamp(56px, 7vw, 104px) 0 0;
  width: min(100%, 760px);
  margin-left: auto;
}
.canal {
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: var(--mist);
}
.canal img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 35% 60%;
  animation: canal-drift 32s ease-in-out infinite alternate;
}
/* the view from the table drifts the way light moves on the water; Pause holds it */
@keyframes canal-drift {
  from { transform: scale(1.04) translate3d(-1%, 0.4%, 0); }
  to { transform: scale(1.11) translate3d(1.6%, -0.8%, 0); }
}
.canal.is-paused img {
  animation-play-state: paused;
}
.is-static .canal img {
  animation: none;
}
.studio__canal figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.vid-toggle {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-family: var(--f-mono);
  font-size: 12px;
}
.vid-toggle:hover {
  border-color: var(--ink);
}

/* ---------- Sprint: the command bar ---------- */
.sprint {
  padding: clamp(100px, 12vw, 180px) var(--gut) clamp(80px, 10vw, 140px);
  border-top: 1px solid var(--line);
}
.sprint__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(24px, 4vw, 72px);
  align-items: end;
  margin-bottom: clamp(44px, 5vw, 72px);
}
.sprint__head .lede {
  margin: 0;
}
.cb {
  max-width: 980px;
  border: 1px solid var(--ink);
  border-radius: 16px;
  background: var(--paper);
}
.cb__q {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 20px 22px 0;
}
.cb__ask {
  margin: 0;
  flex: 1;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.02em;
  font-weight: 500;
  line-height: 1.2;
}
.cb__step {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--grey);
  white-space: nowrap;
}
.cb__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 14px 12px 0;
  padding: 8px 8px 8px 12px;
  border-radius: 12px;
  background: var(--mist);
}
.cb__tokens {
  list-style: none;
  margin: 0;
  padding: 0;
  display: contents;
}
.tok {
  display: inline-flex;
  align-items: center;
  max-width: 220px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: border-color 0.2s, color 0.2s;
}
.tok:hover {
  border-color: var(--canal);
  color: var(--canal);
}
.tok b {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 450;
  color: var(--grey);
  margin-right: 6px;
}
.cb__prompt {
  font-family: var(--f-mono);
  font-size: 24px;
  line-height: 1;
  color: var(--canal);
}
.cb__in {
  flex: 1 1 220px;
  min-width: 160px;
  height: 44px;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 19px;
  color: var(--ink);
}
.cb__in::placeholder {
  color: #616b67;
}
.cb__send {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  transition: background-color 0.25s, transform 0.18s var(--ease);
}
.cb__send:hover {
  background: var(--canal);
}
.cb__send:active {
  transform: scale(0.95);
}
.cb__list {
  list-style: none;
  margin: 6px 12px 0;
  padding: 0;
}
.cb__opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 17px;
  cursor: pointer;
  color: var(--ink);
}
.cb__opt .key {
  opacity: 0;
  transition: opacity 0.15s;
}
.cb__opt[aria-selected="true"] {
  background: var(--canal);
  color: #fff;
}
.cb__opt[aria-selected="true"] .key {
  opacity: 1;
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.cb__opt:hover:not([aria-selected="true"]) {
  background: var(--mist);
}
.cb__opt small {
  font-family: var(--f-mono);
  font-size: 12px;
  opacity: 0.7;
}
.cb__status {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin: 10px 0 0;
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  min-height: 54px;
}
.cb__msg {
  flex: 1;
}
.cb__keys {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  padding: 0 22px 18px;
  font-size: 13px;
  color: var(--grey);
}
.cb__keys .key {
  margin-right: 3px;
  height: 20px;
  font-size: 11px;
}
.cb.is-done .cb__bar,
.cb.is-done .cb__list,
.cb.is-done .cb__keys {
  display: none;
}
.cb.is-done .cb__status {
  border-top: 0;
}
.cb__again {
  margin: 0 22px 20px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  font-size: 15px;
}
.cb__again:hover {
  background: var(--ink);
  color: #fff;
}
/* calendar */
.cal {
  margin-top: clamp(40px, 5vw, 64px);
}
.cal__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
}
.cal__t {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.cal__m {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--grey);
}
.cal__days {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.cal__day {
  min-height: 150px;
  padding: 14px 14px 18px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background-color 0.6s var(--ease-soft);
}
.cal__day:nth-child(5n + 1) {
  border-left: 0;
  padding-left: 0;
}
.cal__date {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--grey);
  font-variant-numeric: tabular-nums;
}
.cal__day b {
  font-size: 17px;
  font-weight: 500;
  margin-top: 8px;
  letter-spacing: -0.01em;
}
.cal__day span:last-child {
  font-size: 14.5px;
  color: var(--grey);
  line-height: 1.4;
}
.cal__day.is-mine span:last-child {
  color: var(--ink);
}
.cal__day.is-fresh {
  background-color: var(--mist);
}
.cal__day.is-key .cal__date {
  color: var(--canal);
}
.cal.is-sent .cal__t::after {
  content: "  Sent";
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--canal);
  letter-spacing: 0.02em;
}

/* ---------- Footer ---------- */
.foot {
  padding: clamp(80px, 10vw, 140px) var(--gut) 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.foot__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  gap: 24px;
  align-items: start;
  font-size: 15px;
  color: var(--grey);
}
.foot__row p {
  margin: 0;
}
.foot__row a {
  color: var(--ink);
  justify-self: start;
}
.foot__mail {
  font-size: 22px;
  letter-spacing: -0.01em;
}
.foot__mark {
  margin: clamp(40px, 6vw, 80px) 0 0;
  font-size: clamp(120px, 33vw, 560px);
  line-height: 0.74;
  letter-spacing: -0.07em;
  font-weight: var(--mark-w, 460);
  color: var(--ink);
  white-space: nowrap;
  transform: translateX(-0.04em);
  transition: font-weight 0.9s var(--ease), color 0.6s;
  padding-bottom: 0.02em;
}

/* ---------- Case view ---------- */
.case {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--paper);
}
.case[hidden] {
  display: none;
}
.case__in {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.case__bar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px var(--gut);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.case__crumb {
  flex: 1;
  color: var(--grey);
}
.case__crumb b {
  color: var(--ink);
  font-weight: 500;
}
.case__count {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--grey);
}
.case__close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px 0 16px;
  border: 1px solid var(--ink);
  border-radius: 10px;
}
.case__close:hover {
  background: var(--ink);
  color: #fff;
}
.case__body {
  padding: clamp(48px, 7vw, 104px) var(--gut) 0;
}
.cv__title {
  margin: 0;
  font-size: var(--t-display);
  line-height: 0.9;
  letter-spacing: -0.052em;
  font-weight: 500;
}
.cv__line {
  margin: 22px 0 0;
  font-size: var(--t-head);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--grey);
  max-width: 16em;
  text-wrap: balance;
}
.cv__meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 18px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.cv__meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 16px;
}
.cv__meta dt {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--grey);
}
.cv__meta dd {
  margin: 0;
}
.cv__hero {
  margin: clamp(40px, 5vw, 64px) 0 0;
}
.cv__hero img,
.cv__ph img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--mist);
}
.cv__text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 72px);
  margin: clamp(56px, 7vw, 104px) 0;
}
.cv__text h3 {
  margin: 0 0 14px;
}
.cv__text p {
  margin: 0;
  max-width: 30em;
}
.cv__screens {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(40px, 5vw, 72px) 16px;
  border-radius: 20px;
  background: var(--mist);
  overflow: hidden;
}
.cv__screens figure {
  margin: 0;
}
.cv__screens figcaption {
  margin-top: 14px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--grey);
  text-align: center;
}
.cv__out {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
  margin: clamp(56px, 7vw, 104px) 0 0;
}
.cv__ph {
  margin: 0;
}
.cv__ph img {
  aspect-ratio: 4 / 3;
}
.cv__outline {
  margin: 0;
  font-size: var(--t-head);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: var(--canal);
  text-wrap: balance;
}
.cv__credits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 72px);
  margin: clamp(56px, 7vw, 104px) 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 16px;
}
.cv__credits ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cv__credits li {
  padding: 6px 0;
}
.cv__credits li span {
  color: var(--grey);
}
.cv__next {
  display: block;
  margin: clamp(72px, 9vw, 140px) calc(var(--gut) * -1) 0;
  padding: clamp(40px, 5vw, 72px) var(--gut) clamp(56px, 6vw, 96px);
  border-top: 1px solid var(--ink);
  color: var(--ink);
}
.cv__next small {
  display: block;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--grey);
  margin-bottom: 14px;
}
.cv__next span {
  font-size: var(--t-display);
  line-height: 0.9;
  letter-spacing: -0.052em;
  font-weight: 500;
  transition: color 0.3s;
}
.cv__next:hover span {
  color: var(--canal);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .proto {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
  }
  .proto > .proto__copy > .hero,
  .proto > .proto__copy > .describe,
  .proto__stage {
    grid-area: auto;
  }
  .hero {
    min-height: auto;
    padding: 140px 0 48px;
  }
  .stage {
    position: relative;
    height: auto;
    padding: 8px 0 24px;
  }
  .proto__stage {
    order: 0;
  }
  .describe {
    min-height: auto;
    padding-top: 72px;
  }
  .proto__copy {
    display: contents;
  }
  .hero {
    order: -1;
  }
  .describe {
    order: 1;
  }
  .work__head,
  .method__head,
  .sprint__head,
  .method__end,
  .studio__cols,
  .cv__out {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
  }
  .work__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .frame {
    display: none;
  }
  .idx__media {
    display: block;
    margin: 0 0 28px;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    position: relative;
  }
  .idx__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .days {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .days li:nth-child(6) {
    border-left: 0;
    padding-left: 0;
  }
  .days li:nth-child(n + 6) {
    border-top: 1px solid var(--line);
  }
  .days b {
    margin-top: 14px;
  }
  .agents {
    margin-top: 48px;
  }
  .foot__row {
    grid-template-columns: 1fr 1fr;
  }
  .cal__days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cal__day,
  .cal__day:nth-child(5n + 1) {
    min-height: 0;
    border-left: 0;
    padding: 14px 14px 16px 0;
  }
  .cal__day:nth-child(even) {
    border-left: 1px solid var(--line);
    padding-left: 14px;
  }
}
@media (max-width: 700px) {
  .say {
    left: 12px;
    right: 12px;
    top: 12px;
    display: flex;
    justify-content: space-between;
  }
  .say__rest {
    display: none;
  }
  .say__line {
    padding: 10px 14px;
    font-size: 16px;
  }
  .say__menu {
    display: block;
    height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: var(--paper);
    font-size: 15px;
    color: var(--ink);
  }
  .hero {
    padding-top: 112px;
  }
  .hero__h {
    letter-spacing: -0.045em;
  }
  .wheels {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .ask {
    flex-wrap: wrap;
  }
  .ask__in {
    flex-basis: 100%;
  }
  .log__row {
    grid-template-columns: 62px minmax(0, 1fr);
  }
  .log__t {
    display: none;
  }
  .idx__row {
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-areas: "n name" "n line" "n meta";
  }
  .idx__meta {
    text-align: left;
  }
  .days {
    grid-template-columns: minmax(0, 1fr);
  }
  .days li,
  .days li:nth-child(6) {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 2px;
    padding: 14px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .days li:first-child {
    border-top: 0;
  }
  .days__d {
    grid-row: span 2;
    padding-top: 4px;
  }
  .days b {
    margin-top: 0;
  }
  .names {
    grid-template-columns: minmax(0, 1fr);
  }
  .faces {
    gap: 8px;
  }
  .faces figcaption span {
    font-size: 13px;
  }
  .faces figcaption {
    font-size: 14px;
  }
  .cb__q {
    flex-wrap: wrap;
    padding: 16px 16px 0;
  }
  .cb__ask {
    flex-basis: 100%;
    order: 2;
  }
  .cb__step {
    margin-left: auto;
  }
  .cb__bar {
    margin: 12px 8px 0;
  }
  .cb__list {
    margin: 6px 8px 0;
  }
  .cb__status {
    padding: 14px 16px;
  }
  .cb__keys {
    display: none;
  }
  .cal__days {
    grid-template-columns: minmax(0, 1fr);
  }
  .cal__day:nth-child(even) {
    border-left: 0;
    padding-left: 0;
  }
  .foot__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .cv__meta,
  .cv__text,
  .cv__credits {
    grid-template-columns: minmax(0, 1fr);
  }
  .cv__screens {
    flex-direction: column;
    align-items: center;
  }
}

/* ---------- Static and reduced motion ---------- */
.is-static .frame__layer {
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
