/* ==========================================================================
   Design round 4: About and Contact (new site). Ported from the design's
   about.css and contact.css with the transform of docs/site-next/KIT.md
   (#cp-site / #cp-site -> #cp-site). Classes: ab- (About), ct- (Contact).
   Markup: src/components/next/figures/about-contact.tsx (pictures),
   NextCardGrid "people", NextContactForm (contact_form layout "next").
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO (split hero with figure, as Solutions)
   -------------------------------------------------------------------------- */
#cp-site .ab-hero { --cp-pt: 32px; --cp-pb: 72px; overflow: clip; }
#cp-site .ab-hero__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: var(--cp-col-gap); align-items: center;
}
#cp-site .ab-hero__copy { position: relative; z-index: 2; padding-block: 24px; }
#cp-site .ab-hero__lead { margin-top: 28px; max-width: 26em; }
#cp-site .ab-hero__art { position: relative; min-width: 0; }

#cp-site .ab-map {
  --bleed: max(var(--cp-gutter), calc((100vw - var(--cp-container)) / 2 + var(--cp-gutter)));
  position: relative; margin: 0 0 0 -8px;
  width: min(calc(100% + var(--bleed) - 8px), 1000px);
}
#cp-site .ab-map__box { container-type: inline-size; position: relative; aspect-ratio: 840 / 600; }
#cp-site .ab-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#cp-site .ab-svg--h {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 100%);
}
#cp-site .ab-svg--v { display: none; }

/* the field */
#cp-site .ab-dot { fill: #CFCFD6; transition: opacity 700ms var(--cp-ease-out) var(--d); }
.cp-js #cp-site:not(.is-entered) .ab-dot { opacity: 0 !important; transition: none; }

/* the people: dark nodes, soft halo per group, collaboration links */
#cp-site .ab-halo { fill: rgba(99, 102, 241, 0.03); transition: opacity 900ms var(--cp-ease-out) 200ms; }
.cp-js #cp-site:not(.is-entered) .ab-halo { opacity: 0; transition: none; }
#cp-site .ab-node {
  fill: #27272A; stroke: #fff; stroke-width: 2;
  transform-box: fill-box; transform-origin: center;
  transition: opacity 400ms var(--cp-ease-out) var(--d), transform 600ms cubic-bezier(0.34, 1.4, 0.5, 1) var(--d);
}
.cp-js #cp-site:not(.is-entered) .ab-node { opacity: 0; transform: scale(0.2); transition: none; }
#cp-site .ab-link {
  fill: none; stroke: #A1A1AA; stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0.75;
  stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 600ms var(--cp-ease-out) var(--d);
}
#cp-site .ab-link--x { opacity: 0.4; }
.cp-js #cp-site:not(.is-entered) .ab-link { stroke-dashoffset: 1; transition: none; }

/* threads: every person into the method point */
#cp-site .ab-thread {
  fill: none; stroke: color-mix(in srgb, var(--c) 38%, transparent); stroke-width: 1.2; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 900ms cubic-bezier(0.45, 0, 0.55, 1) var(--d);
}
.cp-js #cp-site:not(.is-entered) .ab-thread { stroke-dashoffset: 1; transition: none; }

/* the method point and the brand line into the panel */
#cp-site .ab-focus-halo { transition: opacity 900ms var(--cp-ease-out) 1300ms; }
.cp-js #cp-site:not(.is-entered) .ab-focus-halo { opacity: 0; transition: none; }
#cp-site .ab-focus { transform-box: fill-box; transform-origin: center; transition: opacity 400ms var(--cp-ease-out) var(--d), transform 700ms cubic-bezier(0.34, 1.4, 0.5, 1) var(--d); }
.cp-js #cp-site:not(.is-entered) .ab-focus { opacity: 0; transform: scale(0.3); transition: none; }
#cp-site .ab-focus__ring { fill: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
#cp-site .ab-focus__core { fill: #18181B; }
#cp-site .ab-line {
  fill: none; stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 600ms cubic-bezier(0.45, 0, 0.55, 1) 1450ms;
}
.cp-js #cp-site:not(.is-entered) .ab-line { stroke-dashoffset: 1; transition: none; }
#cp-site .ab-glow {
  fill: none; stroke: rgba(133, 44, 254, 0.12); stroke-width: 22; stroke-linecap: round; filter: blur(7px);
  transition: opacity 900ms var(--cp-ease-out) 1500ms;
}
.cp-js #cp-site:not(.is-entered) .ab-glow { opacity: 0; transition: none; }

/* group names (mono, inside the figure) */
#cp-site .ab-tag {
  font-family: var(--cp-mono); font-size: 13px; letter-spacing: 0.02em; fill: var(--fig-muted);
  transition: opacity 500ms var(--cp-ease-out) var(--d);
}
.cp-js #cp-site:not(.is-entered) .ab-tag { opacity: 0; transition: none; }

/* the chip naming the people */
#cp-site .ab-chip {
  position: absolute; left: var(--hx); top: var(--hy); z-index: 3;
  width: max-content; max-width: clamp(150px, 25cqw, 210px);
  padding: 9px 13px 10px; text-align: center;
  background: #fff; border: 1px solid var(--cp-line); border-radius: 10px;
  box-shadow: 0 1px 0 rgba(24, 24, 27, 0.02), 0 10px 24px -14px rgba(2, 33, 105, 0.28);
  transform: translate(-50%, -50%);
  transition: opacity 450ms var(--cp-ease-out) var(--d), transform 650ms var(--cp-ease-out) var(--d);
}
#cp-site .ab-chip__text {
  display: block; font-size: clamp(13px, 1.8cqw, 15px); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; color: var(--cp-ink);
  text-wrap: balance;
}
.cp-js #cp-site:not(.is-entered) .ab-chip { opacity: 0; transform: translate(-50%, calc(-50% + 6px)); transition: none; }

/* the CogniPulse result panel (kit instrument look, abstract, no numbers) */
#cp-site .ab-panel {
  position: absolute; z-index: 2; left: var(--hx); top: var(--hy); width: var(--hw);
  padding: 18px 20px 20px;
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.04), 0 28px 56px -30px rgba(2, 33, 105, 0.35), 0 0 0 6px rgba(133, 44, 254, 0.04);
  transform: translateY(-50%);
  transition: opacity 600ms var(--cp-ease-out) 1650ms, transform 900ms var(--cp-ease-out) 1650ms;
}
.cp-js #cp-site:not(.is-entered) .ab-panel { opacity: 0; transform: translate(10px, -50%); transition: none; }
#cp-site .ab-panel__head { padding-bottom: 12px; margin-bottom: 16px; align-items: center; }
#cp-site .ab-panel__title { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; }
#cp-site .ab-panel__mark {
  width: 14px; height: 14px; border-radius: 50%; background: var(--cp-gradient);
  box-shadow: 0 0 0 3px rgba(133, 44, 254, 0.12);
}
#cp-site .ab-panel__dots { display: inline-flex; gap: 4px; }
#cp-site .ab-panel__dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--fig-line-strong); opacity: 0.6; }
#cp-site .ab-panel__rows { display: grid; gap: 13px; }
#cp-site .ab-row { display: grid; grid-template-columns: 34% minmax(0, 1fr) 8px; gap: 12px; align-items: center; }
#cp-site .ab-row__label { display: block; height: 7px; width: calc(var(--lw) * 220%); max-width: 100%; border-radius: 4px; background: var(--fig-line); }
#cp-site .ab-row__track { position: relative; height: 6px; border-radius: 3px; background: var(--fig-line); overflow: hidden; }
#cp-site .ab-row__fill {
  position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); border-radius: 3px;
  transform-origin: left center;
  transition: transform 1100ms var(--cp-ease-out) calc(1900ms + var(--i) * 110ms);
}
#cp-site .ab-row__fill--ok { background: var(--fig-ok); }
#cp-site .ab-row__fill--warn { background: var(--fig-warn); }
.cp-js #cp-site:not(.is-entered) .ab-row__fill { transform: scaleX(0); transition: none; }
#cp-site .ab-row__dot { width: 8px; height: 8px; border-radius: 50%; }
#cp-site .ab-row__dot--ok { background: var(--fig-ok); }
#cp-site .ab-row__dot--warn { background: var(--fig-warn); }
#cp-site .ab-panel__well { margin-top: 18px; padding: 8px 6px; border-radius: 10px; background: var(--fig-panel); border: 1px solid var(--fig-line); }
#cp-site .ab-mini { display: block; width: 100%; height: auto; }
#cp-site .ab-mini__link { fill: none; stroke: var(--fig-line-strong); stroke-width: 1; opacity: 0.6; vector-effect: non-scaling-stroke; }
#cp-site .ab-mini__nodes circle {
  fill: #27272A; stroke: var(--fig-bg); stroke-width: 1.5;
  transform-box: fill-box; transform-origin: center;
  transition: transform 500ms cubic-bezier(0.34, 1.4, 0.5, 1) calc(2100ms + var(--i) * 50ms);
}
#cp-site .ab-mini__nodes .ab-mini__hub { fill: var(--cp-violet); }
.cp-js #cp-site:not(.is-entered) .ab-mini__nodes circle { transform: scale(0); transition: none; }

@media (max-width: 1199px) {
  #cp-site .ab-hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  #cp-site .ab-hero__copy { padding-block: 0; max-width: 720px; }
  #cp-site .ab-map { width: 100%; max-width: 900px; margin: 0 auto; }
  #cp-site .ab-svg--h { -webkit-mask-image: none; mask-image: none; }
}
/* phones: the picture stands upright, the line runs down into the panel */
@media (max-width: 767px) {
  #cp-site .ab-hero { --cp-pt: 24px; --cp-pb: 48px; }
  #cp-site .ab-map { width: calc(100% + 2 * var(--cp-gutter)); max-width: none; margin-left: calc(-1 * var(--cp-gutter)); }
  #cp-site .ab-map__box { aspect-ratio: 600 / 880; }
  #cp-site .ab-svg--h { display: none; }
  #cp-site .ab-svg--v {
    display: block;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 5%, #000 100%);
            mask-image: linear-gradient(180deg, transparent 0, #000 5%, #000 100%);
  }
  #cp-site .ab-chip { left: var(--vx); top: var(--vy); max-width: 70cqw; }
  #cp-site .ab-chip__text { font-size: 14px; }
  #cp-site .ab-panel { left: var(--vx); top: var(--vy); width: var(--vw); transform: translateX(-50%); }
  .cp-js #cp-site:not(.is-entered) .ab-panel { transform: translate(-50%, 10px); }
}

/* --------------------------------------------------------------------------
   PLATFORM (text split, figure "platform-layers"; About, round 6). Copy left (6 cols): label,
   h2, the lead, two paragraphs; the three layers right (5 cols); the closing statement under
   both, after a rule. Below 1024px the figure goes under the copy.
   -------------------------------------------------------------------------- */
#cp-site .ab-platform__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cp-col-gap); align-items: center;
}
#cp-site .ab-platform__copy { grid-column: 1 / span 6; min-width: 0; }
#cp-site .ab-platform__title { max-width: 15em; }
#cp-site .ab-platform__lead {
  margin-top: 28px; max-width: 34em;
  font-size: var(--cp-fs-lead); font-weight: 300; line-height: 1.55; color: var(--cp-text); text-wrap: pretty;
}
#cp-site .ab-platform__text {
  margin-top: 20px; max-width: 38em;
  font-size: 17px; font-weight: 300; line-height: 1.7; color: var(--cp-text-muted); text-wrap: pretty;
}
#cp-site .ab-platform__fig { grid-column: 7 / span 6; min-width: 0; margin: 0; padding-left: 24px; }
#cp-site .ab-platform__close { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--cp-line); }
#cp-site .ab-platform__statement {
  max-width: 30em;
  font-size: var(--cp-fs-large); font-weight: 300; letter-spacing: -0.015em; line-height: 1.4;
  color: var(--cp-text-muted); text-wrap: balance;
}
#cp-site .ab-platform__statement strong { display: block; font-weight: 400; color: var(--cp-text); }

/* the figure: three plates on one axis, each named */
#cp-site .ab-layers { position: relative; }
#cp-site .ab-layers__title {
  font-family: var(--cp-mono); font-size: 12px; letter-spacing: 0.02em; color: var(--fig-muted);
  margin-bottom: 20px;
}
#cp-site .ab-layers__body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 28px; align-items: stretch; }
#cp-site .ab-layers__art { display: block; width: 100%; height: auto; overflow: visible; }
#cp-site .ab-layers__axis {
  fill: none; stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: 0.8;
  vector-effect: non-scaling-stroke; transition: stroke-dashoffset 900ms var(--cp-ease-out) 500ms;
}
#cp-site .ab-layer__top { stroke-width: 1; vector-effect: non-scaling-stroke; }
#cp-site .ab-layer__side { stroke: none; }
#cp-site .ab-layer__grid { fill: none; stroke: var(--fig-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
#cp-site .ab-layer--a .ab-layer__top { fill: #F4F6FF; stroke: #C9D3FE; }
#cp-site .ab-layer--a .ab-layer__side { fill: #E3E9FF; }
#cp-site .ab-layer--b .ab-layer__top { fill: #F7F3FF; stroke: #D9C6FE; }
#cp-site .ab-layer--b .ab-layer__side { fill: #ECE3FF; }
#cp-site .ab-layer--c .ab-layer__top { fill: #FDF4FF; stroke: #F3C4FE; }
#cp-site .ab-layer--c .ab-layer__side { fill: #F9E3FE; }
#cp-site .ab-layer__node {
  fill: #fff; stroke-width: 2; vector-effect: non-scaling-stroke;
  transform-box: fill-box; transform-origin: center;
  transition: transform 500ms cubic-bezier(0.34, 1.4, 0.5, 1) 900ms;
}
#cp-site .ab-layer__node--a { stroke: #0B40FE; }
#cp-site .ab-layer__node--b { stroke: #852CFE; }
#cp-site .ab-layer__node--c { stroke: #F21BFE; }
.cp-js #cp-site .ab-layers:not(.is-inview) .ab-layer__node { transform: scale(0); transition: none; }
#cp-site .ab-layer {
  transform-box: view-box;
  transition: opacity 600ms var(--cp-ease-out) calc(var(--i) * 140ms), transform 800ms var(--cp-ease-out) calc(var(--i) * 140ms);
}
.cp-js #cp-site .ab-layers:not(.is-inview) .ab-layer { opacity: 0; transform: translateY(14px); transition: none; }
.cp-js #cp-site .ab-layers:not(.is-inview) .ab-layers__axis { stroke-dashoffset: 1; transition: none; }
#cp-site .ab-layers__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-rows: repeat(3, minmax(0, 1fr));
}
#cp-site .ab-layers__item { display: flex; flex-direction: column; justify-content: center; gap: 4px; border-left: 1px solid var(--cp-line); padding-left: 16px; }
#cp-site .ab-layers__name { font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; color: var(--cp-ink); }
#cp-site .ab-layers__words { font-size: 14px; font-weight: 300; line-height: 1.45; color: var(--cp-muted); }

@media (max-width: 1199px) {
  #cp-site .ab-platform__copy { grid-column: 1 / span 7; }
  #cp-site .ab-platform__fig { grid-column: 8 / span 5; padding-left: 0; }
}
@media (max-width: 1023px) {
  #cp-site .ab-platform__copy, #cp-site .ab-platform__fig { grid-column: 1 / -1; }
  #cp-site .ab-platform__fig { margin-top: 48px; max-width: 560px; padding-left: 0; }
  #cp-site .ab-platform__close { margin-top: 56px; }
}
@media (max-width: 767px) {
  #cp-site .ab-layers__body { grid-template-columns: 144px minmax(0, 1fr); column-gap: 16px; }
  #cp-site .ab-layers__name { font-size: 15px; }
  #cp-site .ab-layers__words { font-size: 13px; }
  #cp-site .ab-platform__close { margin-top: 48px; padding-top: 32px; }
}

/* --------------------------------------------------------------------------
   PEOPLE (card_grid "people"): the design's person card in a grid. Heading left (4 cols, at
   the top of its column, level with the first row of cards), cards right (8 cols), three per row; below 1200px the heading goes above, two per row on
   tablets, one on phones (the phone card keeps the design's horizontal form).
   -------------------------------------------------------------------------- */
#cp-site .ab-people { --cp-pt: 112px; }
#cp-site .ab-people__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cp-col-gap); align-items: start;
}
#cp-site .ab-people__head { grid-column: 1 / span 4; }
#cp-site .ab-people__head .cp-h2 { text-wrap: balance; }
#cp-site .ab-people__lead { margin-top: 16px; }
#cp-site .ab-people__list {
  grid-column: 5 / span 8; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
#cp-site .ab-person {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
  padding: 28px 24px 28px;
  background: var(--cp-white); border: 1px solid var(--cp-line); border-radius: var(--cp-r-lg);
  box-shadow: var(--fig-shadow);
}
#cp-site .ab-mono { position: relative; display: grid; place-items: center; width: 80px; height: 80px; flex: none; }
#cp-site .ab-mono__ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(#fff, #fff) padding-box, var(--cp-gradient) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 0 0 8px rgba(133, 44, 254, 0.06), 0 10px 24px -14px rgba(2, 33, 105, 0.35);
  transition: transform 900ms var(--cp-ease-out), opacity 500ms var(--cp-ease-out);
}
#cp-site .ab-mono__ini { position: relative; font-size: 22px; font-weight: 400; letter-spacing: 0.02em; color: var(--cp-ink); }
#cp-site .ab-person__copy { min-width: 0; }
#cp-site .ab-person__name { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; color: var(--cp-ink); }
#cp-site .ab-person__role { margin-top: 6px; font-size: 16px; font-weight: 300; line-height: 1.5; color: var(--cp-muted); }

/* scroll-in (figures only; text never moves): the monogram ring draws in */
.cp-js #cp-site .ab-people__list:not(.is-inview) .ab-mono__ring { transform: scale(0.6); opacity: 0; transition: none; }

@media (max-width: 1199px) {
  #cp-site .ab-people__head { grid-column: 1 / -1; margin-bottom: var(--cp-head-gap); }
  #cp-site .ab-people__list { grid-column: 1 / -1; }
}
@media (max-width: 1023px) {
  #cp-site .ab-people__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  #cp-site .ab-people { --cp-pt: 80px; }
  #cp-site .ab-people__list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  #cp-site .ab-person { flex-direction: row; align-items: center; padding: 24px 20px; gap: 18px; }
  #cp-site .ab-mono { width: 72px; height: 72px; }
  #cp-site .ab-mono__ini { font-size: 20px; }
  #cp-site .ab-person__name { font-size: 20px; }
  #cp-site .ab-person__role { font-size: 15px; }
}

/* --------------------------------------------------------------------------
   PEOPLE, profiles (NextPeople, when a card has a photo or a bio; About, 23 Nov 2026).
   From 1200px: the head left (4 cols, top), the profiles as ruled rows in the other 8 cols;
   a row = the 4:5 portrait (the monogram when there is no photo) beside name, line and bio.
   Tablets: the head above, rows full width. Phones: a small portrait beside name and line,
   the bio below at full width. Quiet: no hover, no motion beyond the monogram ring.
   -------------------------------------------------------------------------- */
#cp-site .ab-people--profiles .ab-people__grid { align-items: start; }
#cp-site .ab-people__list--profiles { display: block; }
#cp-site .ab-profile {
  display: grid; grid-template-columns: 192px minmax(0, 1fr); grid-template-rows: auto 1fr;
  grid-template-areas: "media head" "media bio";
  column-gap: 40px; padding-block: 40px;
  border-top: 1px solid var(--cp-line);
}
#cp-site .ab-profile:first-child { border-top: 0; padding-top: 0; }
#cp-site .ab-profile:last-child { padding-bottom: 0; }
#cp-site .ab-profile__media {
  grid-area: media; position: relative; overflow: hidden;
  display: grid; place-items: center; aspect-ratio: 4 / 5;
  background: var(--cp-ground); border: 1px solid var(--cp-line); border-radius: var(--cp-r-md);
}
#cp-site .ab-profile__photo { display: block; width: 100%; height: 100%; object-fit: cover; }
#cp-site .ab-profile__head { grid-area: head; min-width: 0; padding-top: 4px; }
#cp-site .ab-profile__name { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; color: var(--cp-ink); }
#cp-site .ab-profile__role { margin-top: 6px; font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--cp-indigo-text); }
#cp-site .ab-profile__bio { grid-area: bio; min-width: 0; max-width: 32em; margin-top: 20px; }
#cp-site .ab-profile__bio p { font-size: 16px; font-weight: 300; line-height: 1.7; color: var(--cp-ink-2); }
#cp-site .ab-profile__bio p + p { margin-top: 12px; }

@media (max-width: 1199px) {
  #cp-site .ab-people--profiles .ab-people__head { margin-bottom: 48px; }
}
@media (max-width: 767px) {
  #cp-site .ab-profile {
    grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto;
    grid-template-areas: "media head" "bio bio";
    column-gap: 20px; padding-block: 32px;
  }
  #cp-site .ab-profile__head { align-self: center; padding-top: 0; }
  #cp-site .ab-profile__name { font-size: 20px; }
  #cp-site .ab-profile__role { font-size: 15px; }
  #cp-site .ab-profile__bio { max-width: none; margin-top: 20px; }
  #cp-site .ab-profile__bio p { font-size: 16px; }
  #cp-site .ab-profile__media .ab-mono { width: 56px; height: 56px; }
  #cp-site .ab-profile__media .ab-mono__ini { font-size: 17px; }
}

/* --------------------------------------------------------------------------
   CONTACT: HERO + FORM
   -------------------------------------------------------------------------- */
#cp-site .ct-hero { --cp-pt: 32px; }
#cp-site .ct-hero__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cp-col-gap);
  align-items: start;
}
#cp-site .ct-hero__copy { grid-column: 1 / span 5; padding-top: 40px; }
#cp-site .ct-hero__form { grid-column: 7 / span 6; min-width: 0; }
#cp-site .ct-hero__title { margin-top: 20px; }
#cp-site .ct-hero__lead { margin-top: 28px; max-width: 24em; }

/* what happens next: a small instrument panel */
#cp-site .ct-next { margin-top: 48px; max-width: 460px; }
#cp-site .ct-next__body { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: center; }
#cp-site .ct-dial { width: 112px; height: 112px; overflow: visible; }
#cp-site .ct-dial__track { fill: var(--fig-panel); stroke: var(--fig-line); stroke-width: 6; }
#cp-site .ct-dial__ticks path { fill: none; stroke: var(--fig-line-strong); stroke-width: 1.5; stroke-linecap: round; }
#cp-site .ct-dial__arc {
  fill: none; stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
  transition: stroke-dashoffset 1400ms cubic-bezier(0.45, 0, 0.55, 1) 350ms;
}
.cp-js #cp-site .ct-next:not(.is-inview) .ct-dial__arc { stroke-dashoffset: 1; transition: none; }
#cp-site .ct-dial__num { font-size: 30px; font-weight: 400; letter-spacing: -0.03em; fill: var(--fig-text); }
#cp-site .ct-dial__unit { font-family: var(--cp-mono); font-size: 13px; fill: var(--fig-muted); }

#cp-site .ct-data { width: 100%; height: auto; display: block; }
#cp-site .ct-data__well { fill: var(--fig-panel); stroke: var(--fig-line); }
#cp-site .ct-data__track { fill: var(--fig-line); }
#cp-site .ct-data__fill {
  fill: var(--fig-accent); opacity: 0.85;
  transform-box: fill-box; transform-origin: left center;
  transition: transform 1100ms var(--cp-ease-out) calc(500ms + var(--i) * 120ms);
}
.cp-js #cp-site .ct-next:not(.is-inview) .ct-data__fill { transform: scaleX(0); transition: none; }
#cp-site .ct-data__net circle { fill: #27272A; stroke: var(--fig-bg); stroke-width: 1.5; }
#cp-site .ct-data__net .ct-data__hub { fill: var(--cp-violet); }
#cp-site .ct-data__link { fill: none; stroke: var(--fig-line-strong); stroke-width: 1; opacity: 0.7; }
#cp-site .ct-data__line {
  fill: none; stroke: var(--cp-magenta); stroke-width: 1.6; stroke-linecap: round; opacity: 0.7;
  stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1100ms var(--cp-ease-out) 900ms;
}
.cp-js #cp-site .ct-next:not(.is-inview) .ct-data__line { stroke-dashoffset: 1; transition: none; }

#cp-site .ct-next__notes {
  list-style: none; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--fig-line);
  display: flex; flex-wrap: wrap; gap: 8px 24px;
}
#cp-site .ct-next__notes li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 400; color: var(--fig-text); }
#cp-site .ct-next__notes svg {
  width: 20px; height: 20px; flex: none; padding: 2px; border-radius: 50%;
  background: color-mix(in srgb, var(--fig-ok) 10%, transparent);
  fill: none; stroke: var(--fig-ok); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   THE FORM CARD (contact_form layout "next": a real <form>, posts to /api/contact)
   -------------------------------------------------------------------------- */
#cp-site .ct-form {
  display: grid; gap: 22px;
  padding: 40px 40px 36px;
  background: var(--cp-white); border: 1px solid var(--cp-line); border-radius: var(--cp-r-lg);
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.04), 0 24px 48px -28px rgba(2, 33, 105, 0.22);
}
#cp-site .ct-form__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
#cp-site .ct-field { display: grid; gap: 8px; min-width: 0; }
#cp-site .ct-field__label {
  font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--cp-ink); letter-spacing: -0.005em;
}
#cp-site .ct-input {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 15px; font-weight: 400; color: var(--cp-ink);
  background: var(--cp-white); border: 1px solid var(--cp-line-strong); border-radius: var(--cp-r-sm);
  transition: border-color var(--cp-dur) var(--cp-ease), box-shadow var(--cp-dur) var(--cp-ease);
}
#cp-site .ct-input--area { min-height: 112px; resize: vertical; line-height: 1.55; }
#cp-site .ct-input:hover { border-color: #A1A1AA; }
#cp-site .ct-input:focus { outline: none; }
#cp-site .ct-input:focus-visible {
  border-color: var(--cp-focus); box-shadow: 0 0 0 3px rgba(100, 103, 242, 0.22);
}

/* choices: radio groups as clearly clickable boxes */
#cp-site .ct-set { margin: 0; padding: 0; border: 0; min-width: 0; }
#cp-site .ct-set > legend { padding: 0; margin-bottom: 8px; }
#cp-site .ct-choices { display: grid; gap: 8px; }
#cp-site .ct-choices--size { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#cp-site .ct-choices--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#cp-site .ct-choice {
  position: relative; display: flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 10px 14px 10px 12px;
  background: var(--cp-white); border: 1px solid var(--cp-line-strong); border-radius: var(--cp-r-sm);
  font-size: 14px; font-weight: 400; line-height: 1.35; color: var(--cp-ink-2);
  cursor: pointer; user-select: none;
  transition: border-color var(--cp-dur) var(--cp-ease), background-color var(--cp-dur) var(--cp-ease), box-shadow var(--cp-dur) var(--cp-ease);
}
#cp-site .ct-choices--size .ct-choice { justify-content: flex-start; font-variant-numeric: tabular-nums; white-space: nowrap; gap: 8px; padding-inline: 10px 8px; }
/* the radio itself stays a real, focusable input, drawn as a ring */
#cp-site .ct-choice input {
  -webkit-appearance: none; appearance: none; flex: none; margin: 0;
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid #A1A1AA; background: var(--cp-white);
  display: grid; place-items: center; cursor: pointer;
  transition: border-color var(--cp-dur) var(--cp-ease);
}
#cp-site .ct-choice input::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cp-indigo-text);
  transform: scale(0); transition: transform var(--cp-dur-fast) var(--cp-ease);
}
#cp-site .ct-choice input:checked { border-color: var(--cp-indigo-text); }
#cp-site .ct-choice input:checked::before { transform: scale(1); }
#cp-site .ct-choice input:focus { outline: none; }
#cp-site .ct-choice:hover { border-color: #A1A1AA; background: var(--cp-ground); }
#cp-site .ct-choice:has(input:checked) {
  border-color: var(--cp-indigo-text); background: rgba(79, 70, 229, 0.05);
  box-shadow: inset 0 0 0 1px var(--cp-indigo-text);
  color: var(--cp-ink);
}
#cp-site .ct-choice:has(input:focus-visible) { outline: 2px solid var(--cp-focus); outline-offset: 2px; }
#cp-site .ct-choice__glyph { flex: none; width: 24px; height: 24px; color: var(--cp-navy); }
#cp-site .ct-choice__glyph svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
#cp-site .ct-choice:has(input:checked) .ct-choice__glyph { color: var(--cp-indigo-text); }

#cp-site .ct-form__actions { margin-top: 6px; }

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  #cp-site .ct-hero__copy { grid-column: 1 / span 5; }
  #cp-site .ct-hero__form { grid-column: 6 / span 7; }
  #cp-site .ct-form { padding: 32px 28px 28px; }
}
@media (max-width: 1023px) {
  #cp-site .ct-hero__grid { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  #cp-site .ct-hero__copy, #cp-site .ct-hero__form { grid-column: 1 / -1; }
  #cp-site .ct-hero__copy { padding-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--cp-col-gap); align-items: end; }
  #cp-site .ct-hero__copy { grid-template-rows: 1fr auto auto auto; }
  #cp-site .ct-hero__copy > :not(.ct-next) { grid-column: 1; }
  #cp-site .ct-hero__copy > .cp-label { grid-row: 2; }
  #cp-site .ct-hero__copy > .ct-hero__title { grid-row: 3; }
  #cp-site .ct-hero__copy > .ct-hero__lead { grid-row: 4; }
  #cp-site .ct-next { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; max-width: none; }
}
@media (max-width: 767px) {
  #cp-site .ct-hero { --cp-pt: 24px; }
  #cp-site .ct-hero__copy { display: block; padding-top: 8px; }
  #cp-site .ct-next { margin-top: 32px; }
  #cp-site .ct-form { padding: 24px 18px 22px; gap: 20px; margin-inline: calc(-1 * var(--cp-gutter) + 8px); }
  #cp-site .ct-choices--size { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #cp-site .ct-choices--two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  #cp-site .ct-form__pair { grid-template-columns: minmax(0, 1fr); }
  #cp-site .ct-next__body { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; }
  #cp-site .ct-dial { width: 88px; height: 88px; }
}

/* --------------------------------------------------------------------------
   Port additions: the real form's states (not in the static design)
   -------------------------------------------------------------------------- */
#cp-site .ct-form .cp-btn { cursor: pointer; }
#cp-site .ct-form .cp-btn[disabled] { opacity: 0.6; cursor: not-allowed; }
#cp-site .ct-form .cp-btn[aria-busy="true"]::after { display: none; }
#cp-site .ct-form__error { font-size: 14px; line-height: 1.5; color: #BE123C; }
#cp-site .ct-input:user-invalid { border-color: #E11D48; }
#cp-site .ct-set:has(input:user-invalid) .ct-choice { border-color: #E11D48; }
#cp-site .ct-done {
  display: grid; justify-items: start; gap: 12px; padding: 48px 40px;
  background: var(--cp-white); border: 1px solid var(--cp-line); border-radius: var(--cp-r-lg);
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.04), 0 24px 48px -28px rgba(2, 33, 105, 0.22);
}
#cp-site .ct-done:focus { outline: none; }
#cp-site .ct-done__icon {
  width: 40px; height: 40px; padding: 8px; border-radius: 50%;
  background: color-mix(in srgb, var(--fig-ok) 10%, transparent);
  fill: none; stroke: var(--fig-ok); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
#cp-site .ct-done__title { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; color: var(--cp-ink); }
#cp-site .ct-done__text { font-size: 16px; font-weight: 300; line-height: 1.55; color: var(--cp-muted); }
@media (max-width: 767px) {
  #cp-site .ct-done { padding: 32px 20px; margin-inline: calc(-1 * var(--cp-gutter) + 8px); }
}
