/* Dry Ink page CSS: only what sits inside the page's own visuals (the fan stage, the lot catalogue, the platform
   window, the channel demo, the step panels) plus the self-hosted face and the browser's own surfaces. */
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/HankenGrotesk-100-900-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/HankenGrotesk-100-900-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --fx-bg: #1b1b19; --fx-surface: #242422; --fx-ink: #fbfaf7; --fx-muted: #a9a7a0; --fx-accent: #f4b400; --fx-accent-ink: #121211;
  --ui-font: var(--font-text); --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  caret-color: #f4b400; scrollbar-color: #4a4944 #121211;
}
::selection { background: #f4b400; color: #121211; }
.ground-inverse ::selection { background: #121211; color: #fbfaf7; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.nav__logo img { display: block; width: auto; height: 26px; }
.footer__logo { display: block; width: auto; height: 40px; }
.menu-card__icons { --p-h: 120px; display: flex; align-items: center; justify-content: center; gap: var(--s-4); }

/* Hero stage: the poster stands until the 3D fan is ready, then the canvas fades in over it */
.fan__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 700ms var(--ease-out); }
.fan.is-live .fan__canvas { opacity: 1; }
.fan__poster { transition: opacity 700ms var(--ease-out); }
.fan.is-live .fan__poster { opacity: 0; }

/* The lot catalogue: ruled rows; the number in turmeric foil inside the heading, the line under it on the left
   line; the numbered contents map and the channels' real marks on the page's split line */
.lots, .lot__map { list-style: none; margin: 0; padding: 0; }
.lot { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter, 24px); align-items: start;
  padding: 18px 0; border-bottom: 1px solid color-mix(in oklab, var(--ink) 14%, transparent); }
.lot:first-child { border-top: 1px solid color-mix(in oklab, var(--ink) 14%, transparent); }
.lot__head { grid-column: 1 / span 6; }
.lot__head h3 { margin: 0; font-size: var(--t-card); line-height: 1.3; font-weight: 500; }
.lot__num { display: inline-block; min-width: 2.4ch; margin-right: var(--s-3); color: var(--p-accent); font-variant-numeric: tabular-nums; }
.lot__head p { margin: var(--s-1) 0 0; color: var(--muted); }
.lot__body { grid-column: 7 / -1; display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-5); }
.lot__map { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); counter-reset: map; }
.lot__map li { position: relative; counter-increment: map; }
/* the contents numbers hang in the gutter, so every item's words start on the grid line */
.lot__map li::before { content: counter(map); position: absolute; right: 100%; margin-right: 6px; color: var(--p-accent); font-variant-numeric: tabular-nums; }
.lot__map { padding-left: 0; }
.lot__icons { display: flex; flex: none; align-items: center; gap: var(--s-3); padding-top: 3px; }
.lot__icons img { display: block; width: auto; height: 24px; }
.lot__status { margin: 0; padding: 4px 12px; border: 1px dashed color-mix(in oklab, var(--p-accent) 70%, transparent); border-radius: 999px; color: var(--p-accent); font-size: 14px; font-weight: 500; }
.lot--ghost .lot__num { color: var(--p-accent); }
.lot--ghost h3 { color: var(--muted); }
/* the pointer warms the lot under it: a turmeric rule draws along its foot */
.lot::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--p-accent); transform: scaleX(0); transform-origin: left center; transition: transform 320ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .lot:hover::after { transform: scaleX(1); } }
@media (max-width: 1023px) {
  .lot { row-gap: var(--s-3); }
  .lot__head, .lot__body { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .lot { padding: var(--s-4) 0; }
  .lot__body { flex-direction: column; gap: var(--s-3); }
  .lot__status { align-self: stretch; text-align: center; }
}

/* The platform window (sections-library app-frame recipe) */
.platform__head { align-items: start; }
.app { --fx-bg: #fbfaf7; --fx-surface: #f1f0ec; --fx-ink: #121211; --fx-muted: #4a4944; --fx-accent: #f4b400; --fx-accent-ink: #121211; }
.platform__head p { margin: 0; }
.app.ui { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: var(--s-7); background: var(--u-bg); border: 1px solid var(--u-border); border-radius: var(--u-r); box-shadow: var(--u-shadow); }
.app > .app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.app > .app__pane + .app__pane { border-left: 1px solid var(--u-line); }
.app > .app__pane > .ui-panel { width: 100%; border: 0; border-radius: 0; box-shadow: none; }
.app > .app__pane::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, var(--u-bg)); pointer-events: none; }
@media (min-width: 1024px) and (max-width: 1279px) { .app.ui { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
@media (max-width: 1023px) {
  .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .app > .app__pane--list { max-height: 252px; }
  .app > .app__pane--list::after { display: none; }
  .app .ui-win__side { display: none; }
  .app .ui-win__body { grid-template-columns: minmax(0, 1fr); }
  .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid var(--u-line); }
}
@media (max-width: 639px) {
  .app.ui { grid-template-rows: minmax(0, 1fr); }
  .app > .app__pane--list { display: none; }
  .app > .app__pane + .app__pane { border-top: 0; }
}
.ui-avatar.ch { display: grid; place-items: center; background: var(--u-fill-2); color: inherit; }
.ui-avatar.ch img { width: 14px; height: auto; }
.ui-win__crumb .ui-brand { width: 14px; height: 14px; }
.ch-icon { width: 20px; height: 20px; flex: none; }

/* The channel demo on the paper band: five channels at one scale on one baseline; the swatches re-colour all */
#system { --demo: #f4b400; --demo-ink: #121211; }
#system:has(input[value="cinnamon"]:checked) { --demo: #c2410c; --demo-ink: #fbfaf7; }
#system:has(input[value="tea"]:checked) { --demo: #2f6b3a; --demo-ink: #fbfaf7; }
#system:has(input[value="ocean"]:checked) { --demo: #1d5fae; --demo-ink: #fbfaf7; }
.system__head { align-items: start; }
.system__head p { margin: 0; }
.swatches { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.swatch { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 10px; border: 1px solid color-mix(in oklab, var(--ink) 18%, transparent);
  border-radius: 999px; font-size: 16px; font-weight: 500; cursor: pointer; transition: border-color 160ms ease, transform 160ms var(--ease-out); }
.swatch input { appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.14); cursor: pointer; }
.swatch:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.swatch:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.swatch:active { transform: scale(0.97); }

/* the tray holds the five channels stand on its one baseline at one scale */
.tray { display: flex; align-items: flex-end; justify-content: center; margin-top: var(--s-9); }
.channels { --H: min(230px, calc((100vw - 2 * var(--gut, 80px) - 2 * var(--s-6) - 64px) / 5.65)); display: flex; align-items: flex-end; justify-content: center; gap: var(--s-4); }
.ch-mock { position: relative; flex: none; height: var(--H); overflow: hidden; border-radius: 10px; padding: calc(var(--H) * 0.07);
  display: flex; flex-direction: column; justify-content: space-between; font-family: var(--font-display); letter-spacing: -0.02em;
  box-shadow: 0 1px 2px rgb(18 18 17 / 0.08), 0 14px 30px -14px rgb(18 18 17 / 0.35);
  transition: background-color 420ms var(--ease-out), color 420ms var(--ease-out); }
.ch-mock .cm-h { margin: 0; font-size: max(13px, calc(var(--H) * 0.088)); line-height: 1.12; text-wrap: balance; }
.ch-mock .cm-small { font-size: 13px; letter-spacing: 0; opacity: 0.8; }
.cm-logo { display: block; width: 54px; height: 13px; background: currentColor; -webkit-mask: url(lockup-ink.svg) no-repeat left center / contain; mask: url(lockup-ink.svg) no-repeat left center / contain; }
.ch-mock--web { aspect-ratio: 16 / 10; background: #121211; color: #fbfaf7; }
.ch-mock--web .cm-bar { display: flex; align-items: center; justify-content: space-between; }
.ch-mock--web .cm-bar img { width: 54px; height: auto; }
.ch-mock--web .cm-btn { padding: 3px 9px; border-radius: 6px; background: var(--demo); color: var(--demo-ink); font-size: 13px; font-weight: 500; letter-spacing: 0; transition: background-color 420ms var(--ease-out), color 420ms var(--ease-out); }
.ch-mock--web .cm-h { max-width: 70%; }
.cm-sheets { display: flex; gap: 6px; }
.cm-sheets i { width: 30px; aspect-ratio: 1; background: #fbfaf7; clip-path: polygon(0 0, 58% 0, 100% 42%, 100% 100%, 0 100%); position: relative; }
.cm-sheets i::after { content: ""; position: absolute; left: 58%; top: 0; width: 42%; height: 42%; background: var(--demo); clip-path: polygon(0 0, 100% 100%, 0 100%); transition: background-color 420ms var(--ease-out); }
.ch-mock--post { aspect-ratio: 1; background: var(--demo); color: var(--demo-ink); }
.ch-mock--post .cm-num { font-size: calc(var(--H) * 0.3); line-height: 0.9; letter-spacing: -0.04em; }
.ch-mock--status { aspect-ratio: 9 / 16; background: var(--demo); color: var(--demo-ink); justify-content: center; gap: 8px; text-align: center; align-items: center; }
.ch-mock--flyer { aspect-ratio: 148 / 210; background: #fbfaf7; color: #121211; }
.ch-mock--flyer .cm-ear { position: absolute; top: 0; right: 0; width: 34%; aspect-ratio: 1; background: var(--demo); clip-path: polygon(0 0, 100% 100%, 0 100%); transition: background-color 420ms var(--ease-out); }
.ch-mock--flyer .cm-h { margin-top: 38%; }
.ch-mock--video { aspect-ratio: 16 / 9; background: #121211; color: #fbfaf7; }
.ch-mock--video .cm-play { width: calc(var(--H) * 0.24); aspect-ratio: 1; border-radius: 50%; background: var(--demo); position: relative; transition: background-color 420ms var(--ease-out); }
.ch-mock--video .cm-play::after { content: ""; position: absolute; inset: 30% 28% 30% 38%; background: var(--demo-ink); clip-path: polygon(0 0, 100% 50%, 0 100%); }
@media (max-width: 639px) {
  .channels { --H: 118px; flex-wrap: wrap; justify-content: flex-start; gap: var(--s-3); }
}

/* Step panels: small pictures of each step's result, drawn in the fragment kit's tokens */
.step-panel { --p-h: 320px; --ground-bg: #fbfaf7; --ground-surface: #fbfaf7; display: grid; place-items: center; }
@media (max-width: 639px) { .step-panel { --p-h: 320px; } }
.step-panel::before { display: none; } /* flat paper, no sand halo from the kit's lit ground */
.step-panel > .ui { width: min(260px, 80%); padding: 16px; }
.slots__title, .kit__name, .slots__foot { margin: 0; font-size: 13px; color: var(--u-muted); }
.slots__title { color: var(--u-ink); font-weight: 500; }
.slots__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 12px 0; }
.slots__row span { padding: 8px 0; text-align: center; border: 1px solid var(--u-line-2); border-radius: 8px; font-size: 13px; font-variant-numeric: tabular-nums; }
.slots__row span.is-on { background: var(--u-accent); border-color: var(--u-accent); color: var(--u-accent-ink); font-weight: 500; }
.kit { display: grid; gap: 8px; }
.kit__chips { display: flex; gap: 8px; }
.kit__chips i { width: 36px; aspect-ratio: 1; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px var(--u-line-2); }
.kit__aa { margin: 0; font-family: var(--font-display); font-size: 56px; line-height: 1; letter-spacing: -0.04em; color: var(--u-ink); }
.launch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.launch span { display: grid; gap: 8px; justify-items: start; padding: 10px; border-radius: 8px; background: var(--u-fill); }
.launch img { width: 20px; height: 20px; }
.launch i { width: 100%; aspect-ratio: 1; border-radius: 4px; background: var(--u-accent); clip-path: polygon(0 0, 58% 0, 100% 42%, 100% 100%, 0 100%); }

/* The brief form on the alternate ground; the honeypot sits off screen for bots only */
.brief__form { padding: var(--s-7); border-radius: var(--r-lg); background: var(--p-surface); }
.brief__form .btn--secondary { background: color-mix(in oklab, var(--ink) 14%, var(--p-surface)); }
.brief__form .btn--secondary:hover { background: color-mix(in oklab, var(--ink) 20%, var(--p-surface)); }
.brief__form textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 639px) { .brief__form { padding: 0; background: none; } }

/* Screen fits (layout-v4: every section one or two screens at every judged width) */
@media (min-width: 1024px) { .brief__form textarea { min-height: 200px; } }
@media (min-width: 1024px) and (max-width: 1279px) { #lots { --h: 2; } #lots .lot { padding: var(--s-7) 0; } }
@media (min-width: 640px) and (max-width: 1023px) { #lots .lot__head p { display: none; } #same .mo-la__type { font-size: 15vw; } }
/* the calendar and its time slots need the room: Process takes two screens from tablet up */
@media (min-width: 640px) { #how { --h: 2; } }
@media (max-width: 639px) {
  #lots, #how { --hm: 2; }
  #same .mo-la__type { font-size: 18.5vw; }
  .hero--product .hero__head h1 { font-size: 34px; }
}

/* the statement's channels, in their real marks; black marks turn white on the ink ground */
.ic-dark .ic-ink, .ic-dark img.ic-ink { filter: invert(1); }
.same__icons { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-6); margin: var(--s-7) 0 0; padding: 0; list-style: none; }
.same__icons img { display: block; width: auto; height: 40px; }
.same__icons li:first-child img { height: 34px; }
@media (min-width: 1024px) { #same .mo-la__type { font-size: min(10.5vw, 150px); } }
@media (max-width: 639px) { .same__icons { gap: var(--s-5); } .same__icons img { height: 32px; } .same__icons li:first-child img { height: 28px; } #same .mo-la__sub { font-size: 18px; } }
.ch-mock .cm-small { overflow-wrap: anywhere; }
@media (min-width: 640px) and (max-width: 1023px) {
  .channels { --H: 170px; flex-wrap: wrap; gap: var(--s-4); }
}

/* The platform window is a preview: its tag says so on every width (the chat header is all a phone shows) */
.ui-preview { flex: none; margin-left: 10px; padding: 2px 8px; border: 1px dashed color-mix(in oklab, #b88700 80%, transparent); border-radius: 999px; color: #7a5a00; font-size: 12px; font-weight: 500; white-space: nowrap; }

/* Process: three ruled steps on the left, the real Cal.com calendar on the split line */
#how h2 { margin: 0 0 var(--s-7); }
.lot__head--full { grid-column: 1 / -1; }
.steps .lot { grid-template-columns: minmax(0, 1fr); padding: var(--s-5) 0; }
.cal-frame { min-height: 560px; border-radius: var(--r-lg); background: var(--p-surface); overflow: hidden; display: grid; }
.cal-frame__fallback { margin: 0; align-self: start; color: var(--muted); }
.cal-frame:has(iframe) .cal-frame__fallback { display: none; }
.cal-frame iframe { width: 100% !important; min-height: 560px; }
@media (max-width: 1023px) { .cal-frame { margin-top: var(--s-7); } }

/* the footer keeps the page's ink; a hairline parts it from the brief */
footer.closing.footer--dark { background: var(--p-bg); border-top: 1px solid color-mix(in oklab, var(--ink) 12%, transparent); }

/* phones and tablets: the contents numbers sit inside the column, and short channel text never breaks mid-word */
@media (max-width: 1023px) { .lot__map li { padding-left: 1.6ch; } .lot__map li::before { left: 0; right: auto; margin-right: 0; } }
.ch-mock--status .cm-small { overflow-wrap: normal; white-space: nowrap; font-size: max(11px, calc(var(--H) * 0.06)); }

/* on the ink ground the channel and AI marks stand as paper silhouettes, so the page keeps ink, paper and turmeric;
   inside the platform preview they keep their own colours, as a real app shows them */
.lot__icons img, .same__icons img { filter: brightness(0) invert(1); opacity: 0.92; }

/* the space the loaded calendar takes (month and its time slots), held from the first paint so nothing jumps */
@media (min-width: 640px) { .cal-frame { min-height: 980px; } }
