/* ============================================================
   dogoda. - ContentOps landing (/contentops/)
   ------------------------------------------------------------
   Lives in the dogoda chrome (cream, walnut ink, one red moment)
   and borrows exactly one thing from the product's own brand:
   pen-ink, the pen you initial with (since brand kit v2.1 a
   blue-violet ink, OKLCH hue 278, decision D18). It appears on
   the paraph stroke, the GOEDGEKEURD stamp and the gate numbers.
   Red stays reserved for the design-partner CTA and, once, for
   the AI-SLOP stamp (red is the parent saying no). The product's
   own marks (brand kit v2.2, contentops repo) come in as vector
   files from assets/img/contentops/: the horizontal lockup in the
   hero kicker, the stacked lockup as the story's reveal, the field
   symbol as a section marker on the product chapters.

   Story mechanics: one sticky stage (.co-stage) that changes
   state as text steps scroll past it. State is written by
   assets/js/contentops.js onto [data-scrolly][data-active].
   Mobile first: stage pinned in the top third, steps rise from
   below and disappear under it. Desktop: two columns, the text
   column the wider one and the stage a capped panel, so the
   narration carries the section and the stage illustrates it.

   The console tour (.co-tour) is the second moving element: one
   paper frame with real screens of the console, a tab list that
   doubles as the scannable copy, auto-advancing while in view
   (assets/js/contentops.js writes aria-selected and .is-active).
   ============================================================ */

:root {
  --penink: #31307f;        /* ContentOps pen-ink 9 (brand kit v2.1, K3) */
  --penink-deep: #17164a;   /* pen-ink 12 */
  --penink-wash: #f5e6cf;   /* the product's beige wash: selection, quiet fills */
  --manila: #8a6420;
  --co-top: clamp(64px, 5vw, 86px);     /* fixed header height (site.css .nav) */
}

/* ---------- Reading progress (2px, top) ------------------- */
.co-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 110; pointer-events: none; }
.co-progress i { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- Hero ------------------------------------------ */
.co-hero {
  min-height: 86svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--co-top) + clamp(2rem, 1.5rem + 3vw, 4rem));
  padding-bottom: clamp(2rem, 1.5rem + 3vw, 4rem);
}
.co-kicker {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin: 0;
  font-family: var(--mono); font-size: var(--fs-eyebrow); font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute);
}
.co-kicker-mark { display: block; height: 38px; width: auto; }   /* horizontal lockup without tag: 139 px wide here, above the 120 px floor */
.co-kicker-text { padding-left: 1rem; border-left: 1px solid var(--rule); line-height: 1.3; }
@media (max-width: 599px) {
  /* the row wraps: the lockup on its own line, the eyebrow and the language link on the next, no orphaned rules */
  .co-kicker-mark { flex-basis: 100%; }
  .co-kicker-text { padding-left: 0; border-left: 0; }
  .co-kicker .co-lang { margin-left: 0; padding-left: 0; border-left: 0; }
}
.co-h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.6rem, 1.6rem + 5.2vw, 5.6rem);
  line-height: 0.96; letter-spacing: -0.03em;
  max-width: 14ch; margin-top: clamp(1.2rem, 1rem + 1.5vw, 2rem);
}
.co-hero .lead { max-width: 46ch; margin-top: clamp(1.4rem, 1rem + 1.5vw, 2rem); }
.co-hero .scroll-cue { margin-top: clamp(2rem, 1.5rem + 3vw, 4rem); }

/* ---------- Scrolly section ------------------------------- */
/* Two materials, on purpose: the stage is a sand panel (the "screen" the
   story plays on), the narration is plain ink on cream underneath. Phone:
   panel pinned in the top third, narration centred in the window between
   panel and the fixed CTA bar. Desktop: two columns, panel capped. */
.co-scrolly { position: relative; }
.co-stage {
  position: sticky; top: var(--co-top); z-index: 2;
  height: 34svh; min-height: 280px; max-height: 350px;
  padding: 0.5rem 0 0.9rem;
  background: var(--cream);
}
.co-stage-inner {
  position: relative; width: 100%; height: 100%;
  background: var(--sand);
  border-radius: 22px;
  box-shadow: 0 1px 2px rgba(42,31,27,0.05), 0 18px 40px -26px rgba(42,31,27,0.4);
  overflow: hidden;
}
.co-steps { position: relative; z-index: 1; padding-block: 2svh 20svh; }
.co-step { min-height: 42svh; display: flex; align-items: center; padding-block: 0.5rem; }
.co-step p {
  margin: 0; max-width: 32ch; padding: 0 0.15rem;
  font-size: clamp(1.15rem, 1.05rem + 0.6vw, 1.45rem); line-height: 1.45; color: var(--ink);
  letter-spacing: -0.005em;
  opacity: 0.28; transform: translateY(10px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
.co-step.is-active p { opacity: 1; transform: none; }

/* progress ticks inside the panel: one per step, filled up to the active one */
.co-dots { position: absolute; left: 1.1rem; top: 1rem; z-index: 4; display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.co-dots li { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); opacity: 0.18; transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out); }
.co-scrolly[data-active="0"] .co-dots li:nth-child(-n+1),
.co-scrolly[data-active="1"] .co-dots li:nth-child(-n+2),
.co-scrolly[data-active="2"] .co-dots li:nth-child(-n+3),
.co-scrolly[data-active="3"] .co-dots li:nth-child(-n+4),
.co-scrolly[data-active="4"] .co-dots li:nth-child(-n+5),
.co-scrolly[data-active="5"] .co-dots li:nth-child(-n+6) { opacity: 0.85; }
.co-scrolly[data-active="0"] .co-dots li:nth-child(1),
.co-scrolly[data-active="1"] .co-dots li:nth-child(2),
.co-scrolly[data-active="2"] .co-dots li:nth-child(3),
.co-scrolly[data-active="3"] .co-dots li:nth-child(4),
.co-scrolly[data-active="4"] .co-dots li:nth-child(5),
.co-scrolly[data-active="5"] .co-dots li:nth-child(6) { transform: scale(1.35); }

@media (min-width: 600px) and (max-width: 899px) {
  /* Tablets keep the phone layout (stage above, narration below) but the panel is capped and
     centred, so the props fill it instead of floating in a full-width band, and the narration
     sits under it at a book measure. */
  .co-stage { height: 38svh; min-height: 300px; max-height: 420px; }
  .co-stage-inner { width: min(100%, 540px); margin-inline: auto; }
  .co-step { min-height: 36svh; justify-content: center; }
  .co-step p { max-width: 34ch; width: 100%; }
}
@media (min-width: 900px) {
  /* The narration owns the section: the wider column, a longer measure, and a stage
     capped at 460 x 600 that sits under the header instead of filling the window. */
  .co-scrolly { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 4vw, 5rem); align-items: start; }
  .co-stage { order: 2; top: var(--co-top); height: calc(100svh - var(--co-top)); min-height: 0; max-height: none; padding: 1.5rem 0; display: flex; align-items: center; }
  .co-stage-inner { width: min(100%, 460px); height: min(calc(100svh - var(--co-top) - 3rem), 600px); margin-inline: auto; border-radius: 26px; }
  .co-steps { order: 1; padding-block: 8svh 26svh; }   /* 26svh: the stage holds until step 6 has passed the trigger band */
  .co-step { min-height: 56svh; }
  .co-step p {
    max-width: 36ch;
    font-size: clamp(1.25rem, 1rem + 0.9vw, 1.7rem); line-height: 1.42; letter-spacing: -0.01em;
  }
}

/* --- the feed of slop ------------------------------------- */
.co-feed { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; transition: transform 0.8s var(--ease-out), opacity 0.6s var(--ease-out), filter 0.6s var(--ease-out); }
.co-card {
  position: absolute; left: 50%; top: 50%; width: min(84%, 330px);
  background: var(--paper); border-radius: 14px; padding: 0.9rem 1rem 1rem;
  box-shadow: 0 1px 2px rgba(42,31,27,0.05), 0 14px 32px -18px rgba(42,31,27,0.35);
  opacity: 0;
  transform: translate(-50%, -50%) translateY(56px) rotate(0deg);
  transition: transform 0.75s var(--ease-out), opacity 0.55s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.co-card-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.55rem; }
.co-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--sand); flex: none; }
.co-who { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.04em; color: var(--mute); line-height: 1.3; }
.co-who b { display: block; color: var(--ink-soft); font-weight: 600; letter-spacing: 0; }
.co-card p { margin: 0; font-size: 0.9rem; line-height: 1.45; color: var(--ink-soft); }

.co-scrolly[data-active="0"] .co-card:nth-child(1),
.co-scrolly[data-active="1"] .co-card,
.co-scrolly[data-active="2"] .co-card {
  opacity: 1;
  transform: translate(-50%, -50%) translate(var(--x, 0), var(--y, 0)) rotate(var(--r, 0deg));
}
.co-card:nth-child(1) { --x: 0; --y: 0; --r: 0deg; }
.co-card:nth-child(2) { --x: -5%; --y: -74%; --r: -2.5deg; --d: 0.05s; }
.co-card:nth-child(3) { --x: 6%;  --y: -37%; --r: 1.8deg;  --d: 0.12s; }
.co-card:nth-child(4) { --x: -4%; --y: 37%;  --r: -1.6deg; --d: 0.19s; }
.co-card:nth-child(5) { --x: 5%;  --y: 74%;  --r: 2.4deg;  --d: 0.26s; }
.co-scrolly[data-active="1"] .co-card:nth-child(1),
.co-scrolly[data-active="2"] .co-card:nth-child(1) { --y: 0; --r: -0.6deg; }

.co-scrolly[data-active="2"] .co-feed { filter: grayscale(1) blur(1.5px); opacity: 0.45; }
.co-scrolly:not([data-active="0"]):not([data-active="1"]):not([data-active="2"]) .co-feed {
  transform: translateY(70%); opacity: 0; pointer-events: none;
}

/* the two stamps: red says no, pen-ink says yes */
.co-stamp {
  position: absolute; z-index: 3;
  font-family: var(--mono); font-weight: 700; font-size: 0.86rem; letter-spacing: 0.24em; text-transform: uppercase;
  padding: 0.35em 0.75em; border: 2px solid currentColor; border-radius: 6px; background: var(--paper);
  opacity: 0; transform: rotate(-8deg) scale(1.35);
  transition: opacity 0.35s var(--ease-out), transform 0.5s var(--ease-out);
}
.co-stamp-slop { left: 50%; top: 50%; margin: -1.1em 0 0 -3.6em; color: var(--red); font-size: 1.1rem; }
.co-scrolly[data-active="2"] .co-stamp-slop { opacity: 0.95; transform: rotate(-8deg) scale(1); transition-delay: 0.35s; }

/* --- the draft that gets a paraph ------------------------- */
.co-draft {
  position: absolute; left: 50%; top: 50%; width: min(86%, 360px);
  transform: translate(-50%, -50%) translateY(60px);
  background: var(--paper); border: 1px solid var(--rule); border-radius: 16px;
  padding: 1rem 1.1rem 1.9rem;
  opacity: 0;
  transition: transform 0.8s var(--ease-out), opacity 0.6s var(--ease-out);
}
.co-scrolly[data-active="3"] .co-draft,
.co-scrolly[data-active="4"] .co-draft { opacity: 1; transform: translate(-50%, -50%); transition-delay: 0.25s; }
.co-scrolly[data-active="5"] .co-draft { opacity: 0; transform: translate(-50%, -50%) translateY(-40px) scale(0.97); }
.co-draft-head { position: relative; margin-bottom: 0.7rem; min-height: 1.2em; padding-right: 7rem; white-space: nowrap; }
.co-tag { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; }
.co-tag-wait { color: var(--manila); transition: opacity 0.4s; }
.co-tag-ok { color: var(--penink); position: absolute; left: 0; top: 0; opacity: 0; transition: opacity 0.4s 0.9s; }
.co-scrolly[data-active="4"] .co-tag-wait, .co-scrolly[data-active="5"] .co-tag-wait { opacity: 0; }
.co-scrolly[data-active="4"] .co-tag-ok, .co-scrolly[data-active="5"] .co-tag-ok { opacity: 1; }
.co-tag-example { color: var(--mute); position: absolute; left: 1.1rem; bottom: 0.55rem; }
.co-draft p { margin: 0; font-size: 0.98rem; line-height: 1.5; color: var(--ink); }
.co-draft p + p { margin-top: 0.6em; color: var(--ink-soft); }

.co-paraph { position: absolute; right: -8px; bottom: -14px; width: 118px; height: auto; color: var(--penink); pointer-events: none; }
.co-paraph path {
  stroke-dasharray: var(--len, 420);
  stroke-dashoffset: var(--len, 420);
  transition: stroke-dashoffset 1.15s var(--ease-out) 0.2s;
}
.co-scrolly[data-active="4"] .co-paraph path, .co-scrolly[data-active="5"] .co-paraph path { stroke-dashoffset: 0; }

.co-stamp-ok { right: 10px; top: -16px; color: var(--penink); transform: rotate(-6deg) scale(1.3); }
.co-scrolly[data-active="4"] .co-stamp-ok, .co-scrolly[data-active="5"] .co-stamp-ok { opacity: 0.95; transform: rotate(-6deg) scale(1); transition-delay: 1.05s; }

/* --- the reveal --------------------------------------------- */
.co-brand {
  position: absolute; left: 50%; top: 50%; width: min(86%, 400px);
  transform: translate(-50%, -50%) scale(0.96);
  text-align: center; opacity: 0;
  transition: opacity 0.7s var(--ease-out) 0.3s, transform 0.9s var(--ease-out) 0.3s;
}
.co-scrolly[data-active="5"] .co-brand { opacity: 1; transform: translate(-50%, -50%); }
/* the stacked lockup (primary form, clear space built into the file), on sand as the kit allows */
.co-lockup { display: block; width: min(76%, 300px); height: auto; margin: 0 auto; }
.co-credo { font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem); letter-spacing: -0.015em; line-height: 1.3; color: var(--ink); margin: 1.2rem auto 0; max-width: 20ch; }

/* narrow screens: the panel is ~41svh, so the props inside scale down with it */
@media (max-width: 899px) {
  .co-card { width: min(80%, 300px); padding: 0.7rem 0.85rem 0.85rem; border-radius: 12px; }
  .co-card-head { gap: 0.5rem; margin-bottom: 0.4rem; }
  .co-avatar { width: 24px; height: 24px; }
  .co-who { font-size: 0.62rem; }
  .co-card p { font-size: 0.82rem; line-height: 1.4; }
  .co-card:nth-child(2) { --y: -52%; }
  .co-card:nth-child(3) { --y: -26%; }
  .co-card:nth-child(4) { --y: 26%; }
  .co-card:nth-child(5) { --y: 52%; }
  .co-stamp-slop { font-size: 1rem; }
  .co-draft { width: min(84%, 340px); padding: 0.9rem 1rem 1.7rem; }
  .co-draft p { font-size: 0.92rem; }
  .co-paraph { width: 100px; }
  .co-lockup { width: min(52%, 190px); }
  .co-credo { font-size: 1.05rem; margin-top: 0.9rem; }
  /* keep the pile and the stamped concept clear of the ticks in the top-left */
  .co-feed { inset: 18px 0 0 0; }
  .co-scrolly[data-active="3"] .co-draft,
  .co-scrolly[data-active="4"] .co-draft { transform: translate(-50%, -50%) translateY(12px); }
}

/* ---------- Section headings -------------------------------- */
.co-section-head { max-width: 44ch; margin-bottom: clamp(1.75rem, 1.25rem + 2.5vw, 3rem); }
.co-eyebrow {
  display: flex; align-items: center; gap: 0.7rem; margin: 0 0 1rem;
  font-family: var(--mono); font-size: var(--fs-eyebrow); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute);
}
.co-mark { width: 34px; height: auto; flex: none; }   /* the field symbol as section marker; 24 px is its floor */
.co-section-head .title { font-size: var(--fs-h2); }
.co-section-head .lead { margin-top: var(--s-2); }

/* ---------- Four gates (sequence carries information) ------ */
.co-gates { list-style: none; margin: 0; padding: 0; counter-reset: gate; display: grid; gap: 1.3rem; }
.co-gate { position: relative; padding-left: 3.1rem; }
.co-gate::before {
  counter-increment: gate; content: "0" counter(gate);
  position: absolute; left: 0; top: 0.15rem;
  font-family: var(--mono); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.12em; color: var(--penink);
}
.co-gate h3 { font-family: var(--sans); font-weight: 600; font-size: 1.1rem; line-height: 1.3; }
.co-gate p { color: var(--ink-soft); margin: 0.3rem 0 0; }
@media (min-width: 600px) {
  .co-gates { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; }
  .co-gate { padding-left: 0; padding-top: 2.4rem; border-top: 1px solid var(--rule); }
  .co-gate::before { top: 0.85rem; }
}
@media (min-width: 900px) { .co-gates { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

.co-gates-head { margin: clamp(3rem, 2rem + 4vw, 5rem) 0 1rem; }
.co-gates-head .co-eyebrow { margin: 0; }
.co-when { margin: clamp(1.5rem, 1rem + 2vw, 2.5rem) 0 0; max-width: 60ch; }

/* ---------- Console tour ------------------------------------ */
.co-tour { display: grid; gap: 1.25rem; align-items: start; }
.co-tour-stage { order: 1; min-width: 0; }
.co-tour-list { order: 2; display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; margin: 0; padding: 0.25rem 0; -webkit-overflow-scrolling: touch; }
.co-tour-list::-webkit-scrollbar { display: none; }
.co-tour-tab {
  position: relative; flex: none; cursor: pointer; text-align: left;
  font: inherit; font-size: 0.92rem; line-height: 1.2; color: var(--ink-soft);
  background: var(--cream); border: 1px solid var(--rule); border-radius: var(--r-pill); padding: 0.6em 1em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.co-tour-tab:hover { border-color: var(--mute); }
.co-tour-tab:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.co-tour-tab[aria-selected="true"] { background: var(--penink); color: var(--cream); border-color: var(--penink); }   /* pen-ink: the chosen one, like the form's choice */
.co-tour-title, .co-tour-note, .co-tour-bar { display: none; }
html:not(.js) .co-tour-note { display: block; }   /* no script: the notes stay readable in the list */
.co-tour-frame {
  position: relative; aspect-ratio: 8 / 5;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden;
  box-shadow: var(--lift);
}
.co-tour-pane { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 0.5s var(--ease-out); }
.co-tour-pane.is-active { opacity: 1; }
html:not(.js) .co-tour-pane:not(.is-active) { display: none; }
.co-tour-pane img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
@media (max-width: 599px) {
  /* Phones: the whole tour fits one screen between the header and the CTA bar. Tabs first, so
     switching happens where the eye starts; then a portrait window on the screen (the image
     keeps its full height, --focus per pane picks the part that carries the caption); then the
     caption. Swiping the window also switches, see assets/js/contentops.js. */
  .co-tour { gap: 0.75rem; }
  .co-tour-list { order: 1; }
  .co-tour-stage { order: 2; }
  .co-tour-frame { aspect-ratio: auto; height: clamp(280px, calc(100svh - var(--co-top) - 17rem), 440px); border-radius: 14px; }
  .co-tour-pane img { object-position: var(--focus, 50% 50%); }
  .co-tour-caption { min-height: 0; margin-top: 0.7rem; font-size: 0.95rem; }
  .co-tour-foot { display: none; }   /* the source note is desktop reading; on a phone it costs two lines of the one screen */
}
.co-tour-caption { margin: 0.9rem 0 0; font-size: 0.98rem; line-height: 1.5; color: var(--ink-soft); min-height: 3em; text-wrap: pretty; }
.co-tour-caption b { color: var(--ink); font-weight: 600; }
.co-tour-foot { margin-top: 0.6rem; font-size: 0.72rem; text-transform: none; letter-spacing: 0.04em; }
@media (min-width: 900px) {
  .co-tour { grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); gap: clamp(2rem, 3vw, 4rem); align-items: center; }
  .co-tour-list { order: 1; flex-direction: column; gap: 0; padding: 0; overflow: visible; }
  .co-tour-stage { order: 2; }
  .co-tour-tab {
    display: block; width: 100%; border: 0; border-top: 1px solid var(--rule); border-radius: 0; background: none;
    padding: 0.9rem 0 0.9rem 1.2rem; color: var(--ink-soft);
  }
  .co-tour-tab:last-child { border-bottom: 1px solid var(--rule); }
  .co-tour-tab:hover { color: var(--ink); border-color: var(--rule); }
  .co-tour-tab[aria-selected="true"] { background: none; color: var(--ink); border-color: var(--rule); }
  .co-tour-name { display: block; font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); transition: color 0.3s var(--ease); }
  .co-tour-tab[aria-selected="true"] .co-tour-name { color: var(--penink); }
  .co-tour-title { display: block; font-weight: 600; font-size: 1.02rem; line-height: 1.3; margin-top: 0.2rem; }
  /* one pen-ink line on the left edge: full on the chosen tab, growing while the tour plays */
  .co-tour-bar { display: block; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px; background: transparent; }
  .co-tour-bar::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--penink); }
  .co-tour-tab[aria-selected="true"] .co-tour-bar::after { height: 100%; }
  .co-tour.is-playing .co-tour-tab[aria-selected="true"] .co-tour-bar::after { animation: co-tour-fill var(--dwell, 5.2s) linear forwards; }
  .co-tour-caption { font-size: 1.02rem; }
}
@keyframes co-tour-fill { from { height: 0; } to { height: 100%; } }

/* ---------- Full-bleed sand band (the proof chapter) -------- */
.co-band { background: var(--sand); }
.co-band .co-price-card, .co-band .co-form { background: var(--paper); }
.co-band .co-proof-facts { border-top-color: var(--mute); }
.co-band .btn.ghost::before { background: var(--ink); }

/* ---------- Van jullie: three short claims -------------------- */
.co-trio { display: grid; gap: 1.5rem; margin: 0; }
.co-trio > div { padding-top: 1.1rem; border-top: 1px solid var(--rule); }
.co-trio dt { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; line-height: 1.3; color: var(--ink); }
.co-trio dd { margin: 0.4rem 0 0; color: var(--ink-soft); max-width: 40ch; text-wrap: pretty; }
@media (min-width: 760px) { .co-trio { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

/* ---------- For whom + price ------------------------------- */
.co-split { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: start; }
@media (min-width: 820px) { .co-split { grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 1rem + 4vw, 5rem); } }
.co-price-card { background: var(--paper); border: 1px solid var(--rule); border-radius: 20px; padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); }
.co-price {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.7rem); letter-spacing: -0.03em; line-height: 1.05; margin: 0;
}
.co-price small { display: block; font-family: var(--mono); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); margin-top: 0.75rem; }
.co-price-card p { color: var(--ink-soft); }
.co-price-card p + p { margin-top: 0.9em; }
.co-price-card .co-price + p { margin-top: 1.3rem; }
.co-sum { border-top: 1px solid var(--rule); margin-top: 1.4rem; padding-top: 1.2rem; }
.co-sum strong { color: var(--ink); font-weight: 600; }

/* ---------- Proof -------------------------------------------- */
.co-proof { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: start; }
@media (min-width: 820px) { .co-proof { grid-template-columns: 1fr 0.9fr; } }
.co-proof-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 0; padding: 1.4rem 0 0; border-top: 1px solid var(--rule); }
.co-proof-facts div { min-width: 0; }
.co-proof-facts dt { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); }
.co-proof-facts dd { margin: 0.4rem 0 0; font-size: 0.92rem; color: var(--ink-soft); }
.co-proof .btn { margin-top: 1.6rem; }

/* ---------- The no-list ------------------------------------- */
.co-scope { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
@media (min-width: 760px) { .co-scope { grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 1rem + 4vw, 5rem); } }
.co-scope-title { font-family: var(--mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin: 0 0 0.6rem; }
.co-scope-title.co-scope-opt { color: var(--penink); }
.co-no { columns: 1; margin: 0; padding: 0; list-style: none; }
.co-no li { break-inside: avoid; padding: 0.55rem 0 0.55rem 1.6rem; position: relative; color: var(--ink-soft); border-bottom: 1px solid var(--ink-06); }
.co-no li::before { content: "\2715"; position: absolute; left: 0.3rem; top: 0.75rem; font-size: 0.7rem; color: var(--mute); font-weight: 700; }
.co-no.co-opt li::before { content: "+"; font-size: 0.95rem; top: 0.5rem; color: var(--penink); }
.co-scope .co-no { columns: 1; }

/* what design partner means: three numbered commitments */
.co-partner { list-style: none; margin: clamp(1.5rem, 1rem + 2vw, 2.5rem) 0 0; padding: 0; counter-reset: partner; display: grid; gap: 1.4rem; max-width: 52ch; }
.co-partner li { position: relative; padding-left: 2.6rem; }
.co-partner li::before { counter-increment: partner; content: counter(partner); position: absolute; left: 0; top: 0; width: 1.7rem; height: 1.7rem; border-radius: 50%; border: 1px solid var(--rule); display: grid; place-items: center; font-family: var(--mono); font-size: 0.78rem; font-weight: 600; color: var(--penink); }
.co-partner h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.co-partner p { margin: 0.3rem 0 0; color: var(--ink-soft); }
.co-check { list-style: none; margin: 1rem 0 0; padding: 0; }
.co-check li { position: relative; padding: 0.45rem 0 0.45rem 1.6rem; color: var(--ink-soft); border-bottom: 1px solid var(--ink-06); }
.co-check li:last-child { border-bottom: 0; }
.co-check li::before { content: "\2713"; position: absolute; left: 0.2rem; top: 0.6rem; font-size: 0.8rem; font-weight: 700; color: var(--penink); }
.co-price-card .kicker { margin-bottom: 0.8rem; }

/* language switch, tucked into the kicker */
.co-lang { display: inline-block; margin-left: 0.6em; padding-left: 0.6em; border-left: 1px solid var(--rule); color: var(--ink-soft); text-transform: none; letter-spacing: 0.02em; font-weight: 500; transition: color 0.3s var(--ease); }
.co-lang:hover { color: var(--red); }
.co-lang:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* ---------- Design-partner form ----------------------------- */
main section[id] { scroll-margin-top: var(--co-top); }
.co-form-wrap { display: grid; gap: clamp(1.75rem, 1rem + 3vw, 3.5rem); align-items: start; }
@media (min-width: 900px) { .co-form-wrap { grid-template-columns: 0.85fr 1.15fr; } .co-form-aside { position: sticky; top: calc(var(--co-top) + 1.5rem); } }
.co-form-aside .lead { max-width: 38ch; }
.co-form-aside .body { max-width: 42ch; margin-top: 1.2rem; }
.co-after { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); color: var(--ink-soft); max-width: 42ch; }
.co-after a { color: var(--ink); border-bottom: 1px solid var(--red); }
.co-after a:hover { color: var(--red); }

.co-form {
  background: var(--paper); border: 1px solid var(--rule); border-radius: 20px;
  padding: clamp(1.25rem, 1rem + 2vw, 2.4rem);
  display: grid; gap: 1.25rem;
}
.co-field label, .co-field .co-legend { display: block; font-weight: 600; font-size: 0.98rem; color: var(--ink); margin-bottom: 0.45rem; }
.co-field .hint { display: block; font-weight: 400; color: var(--mute); font-size: 0.88rem; line-height: 1.45; margin-top: 0.15rem; }
.co-field input[type="text"], .co-field input[type="email"], .co-field input[type="url"], .co-field textarea {
  width: 100%; font: inherit; font-size: max(1rem, 16px); line-height: 1.5; color: var(--ink);
  background: var(--cream); border: 1px solid var(--rule); border-radius: 12px; padding: 0.8em 1em;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.co-field input::placeholder, .co-field textarea::placeholder { color: var(--mute); opacity: 1; }
.co-field input:hover, .co-field textarea:hover { border-color: var(--mute); }
.co-field input:focus, .co-field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.co-field input:focus-visible, .co-field textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.co-field textarea { min-height: 7.5rem; resize: vertical; }
.co-field.is-invalid input, .co-field.is-invalid textarea { border-color: var(--red); }
.co-err { display: none; color: var(--red); font-size: 0.86rem; margin: 0.4rem 0 0; }
.co-field.is-invalid .co-err { display: block; }
.co-row { display: grid; gap: 1.25rem; }
@media (min-width: 600px) { .co-row { grid-template-columns: 1fr 1fr; } }

fieldset.co-field { border: 0; padding: 0; margin: 0; min-width: 0; }
/* three equal cells; the chosen one takes pen-ink, the colour of a paraaf, so it never competes
   with the red submit button or with the ink pills of the tour */
.co-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.co-choice { position: relative; display: flex; }
.co-choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.co-choice span {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 2.9rem;
  border: 1px solid var(--rule); border-radius: var(--r-sm);
  padding: 0.55em 0.7em; font-size: 0.92rem; line-height: 1.25; text-align: center; text-wrap: balance;
  color: var(--ink-soft); background: var(--cream);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.co-choice:hover span { border-color: var(--mute); }
.co-choice input:checked + span { background: var(--penink); color: var(--cream); border-color: var(--penink); }
.co-legend .hint { display: block; }
@media (max-width: 599px) {
  /* three cells across a phone leave 95 px each and three-line labels; stacked, each is one line and the same height */
  .co-choices { grid-template-columns: 1fr; }
  .co-choice span { min-height: 2.75rem; }
}
.co-choice input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

.co-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.co-form-foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 0.25rem; }
.co-form-foot .caption { text-transform: none; letter-spacing: 0.02em; font-size: 0.8rem; max-width: 30ch; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.co-status { border-radius: 12px; padding: 0.9rem 1.1rem; font-size: 0.95rem; line-height: 1.5; color: var(--ink); }
.co-status.ok { background: var(--sage-wash); }
.co-status.err { background: var(--red-wash); }
.co-status.note { background: var(--sand); }
.co-optional { margin: 0; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.5; padding: 0.9rem 1.1rem; background: var(--cream); border-radius: 12px; }

.co-success { background: var(--paper); border: 1px solid var(--rule); border-radius: 20px; padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem); position: relative; overflow: hidden; }
.co-success .kicker { max-width: 22ch; }
.co-success .body { margin-top: 1rem; max-width: 46ch; }
.co-success .co-stamp { position: absolute; right: 1.2rem; top: 1.2rem; opacity: 0.95; transform: rotate(-6deg); color: var(--penink); }

/* ---------- Mobile sticky CTA ------------------------------- */
.co-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: flex; justify-content: center;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom, 0px));
  background: color-mix(in oklab, var(--cream) 88%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--rule);
  transform: translateY(110%); transition: transform 0.5s var(--ease);
}
.co-sticky.is-visible { transform: none; }
.co-sticky .btn { width: 100%; max-width: 420px; justify-content: center; }
body.co-has-bar .site-footer { padding-bottom: 5rem; }
@media (min-width: 761px) { .co-sticky { display: none; } body.co-has-bar .site-footer { padding-bottom: 0; } }

/* ---------- Reduced motion ----------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .co-feed, .co-card, .co-stamp, .co-draft, .co-tag-wait, .co-tag-ok, .co-paraph path, .co-brand, .co-step p, .co-sticky, .co-dots li, .co-tour-pane { transition: none !important; }
  .co-tour-bar::after { animation: none !important; }
  .co-progress { display: none; }
}
