/* ==========================================================================
   VERONA AI — veronaai.co
   Agent catalogue / storefront layout · violet accent · Cormorant Garamond / Work Sans / Fira Mono
   Vocabulary: storefront · shelf · listing · chip · showcase · deploy-steps
   State classes: is-* / has-*
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --canvas: #FBFAF8;
  --canvas-lift: #FFFFFF;
  --canvas-sunk: #F4F2EE;

  --type: #17151F;
  --type-quiet: #514D5E;
  --type-faint: #8B8798;

  --edge: #E7E4DE;
  --edge-firm: #D8D4CC;

  --violet-deep: #38288F;
  --violet: #4534B8;
  --violet-lit: #5B49D6;
  --violet-wash: #ECE9FA;
  --violet-mist: #F5F3FC;
  --copper: #B0672E;
  --live: #1E7F4F;

  --shade: 250 20% 20%;
  --lift-1: 0 1px 2px hsl(var(--shade)/.05), 0 1px 1px hsl(var(--shade)/.03);
  --lift-2: 0 1px 2px hsl(var(--shade)/.05), 0 4px 12px hsl(var(--shade)/.06);
  --lift-3: 0 2px 4px hsl(var(--shade)/.05), 0 12px 32px hsl(var(--shade)/.08);

  /* Cormorant Garamond sets a smaller image than most display serifs at the
     same px. The display steps therefore gain most at the wide end, where the
     extra size reads as elegance, and only a little on a phone, where a taller
     headline would just cost another line. */
  --fs-title: clamp(2.625rem, 1.95rem + 3.5vw, 4.875rem);
  --fs-title-xl: clamp(3.125rem, 2.3rem + 4.6vw, 5.875rem);
  --fs-head: clamp(1.95rem, 1.5rem + 1.8vw, 3.25rem);
  --fs-name: clamp(1.375rem, 1.2rem + .7vw, 1.75rem);
  --fs-sub: clamp(1.1875rem, 1.08rem + .5vw, 1.4375rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fs-text: 1rem;
  --fs-fine: 0.875rem;
  --fs-code: 0.75rem;

  --face-display: "Cormorant Garamond", Georgia, serif;
  --face-text: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --face-code: "Fira Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --aisle: 1140px;
  --aisle-narrow: 880px;
  --aisle-wide: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --radius-tile: 12px;
  --radius-listing: 20px;
  --radius-pill: 999px;

  --glide: cubic-bezier(.2, .6, .2, 1);
  --stack-pad: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --bar-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--face-text);
  font-size: var(--fs-text);
  line-height: 1.6;
  color: var(--type);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: none; padding: 0; cursor: pointer; }
a { color: inherit; }
table { border-collapse: collapse; }

::selection { background: var(--violet-wash); }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- Type helpers ---------- */
.title {
  font-family: var(--face-display);
  font-weight: 600;
  font-size: var(--fs-title);
  line-height: 1.08;
  letter-spacing: -0.005em;
}
.title.is-xl { font-size: var(--fs-title-xl); line-height: 1.04; }
h2, .h2 {
  font-family: var(--face-display);
  font-weight: 600;
  font-size: var(--fs-head);
  line-height: 1.16;
  letter-spacing: 0;
}
h3, .h3 {
  font-family: var(--face-text);
  font-weight: 600;
  font-size: var(--fs-sub);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.tagline {
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--type-quiet);
  max-width: 56ch;
}
.code { font-family: var(--face-code); font-variant-numeric: tabular-nums; }
.quiet { color: var(--type-quiet); }
.note { font-size: var(--fs-fine); color: var(--type-quiet); }
.is-small { font-size: var(--fs-fine); }
.is-centred { text-align: center; }
.rule { border: 0; border-top: 1px solid var(--edge); margin: 0; }

p a, .copy a, .inline-link {
  color: var(--type);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--violet-lit);
  transition: color 160ms var(--glide);
}
p a:hover, .copy a:hover, .inline-link:hover { color: var(--violet); }

/* ---------- Aisles (layout widths) ---------- */
.aisle { max-width: var(--aisle); margin-inline: auto; padding-inline: var(--gutter); }
.aisle.is-narrow { max-width: var(--aisle-narrow); }
.aisle.is-wide { max-width: var(--aisle-wide); }

/* ---------- Stacks (vertical rhythm) ---------- */
.stack { padding-block: var(--stack-pad); }
.stack.is-tight { padding-block: clamp(2.5rem, 2rem + 2vw, 3.75rem); }
.stack.is-sunk {
  background: var(--canvas-sunk);
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
}
.stack.is-ruled { border-top: 1px solid var(--edge); }

.heading { max-width: 760px; margin-bottom: 2.75rem; }
.heading.is-centred { margin-inline: auto; text-align: center; }
.heading .tagline { margin-top: 1.125rem; }
.heading.is-centred .tagline { margin-inline: auto; }
.heading__kicker {
  display: block;
  font-family: var(--face-code);
  font-weight: 500;
  font-size: var(--fs-code);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--violet);
  margin-bottom: .875rem;
}

/* ---------- Jump (skip) link ---------- */
.jump {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 300;
  background: var(--type);
  color: var(--canvas);
  padding: .625rem 1.25rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--fs-fine);
  transition: top 160ms var(--glide);
}
.jump:focus { top: 1rem; }

/* ---------- Actions ---------- */
.act {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1;
  padding: 12px 24px;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 160ms var(--glide), border-color 160ms var(--glide),
              color 160ms var(--glide), transform 160ms var(--glide), box-shadow 160ms var(--glide);
}
.act.is-primary {
  background: var(--violet);
  color: #fff;
  border-color: var(--violet);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}
.act.is-primary:hover {
  background: var(--violet-deep);
  border-color: var(--violet-deep);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), var(--lift-2);
}
.act.is-primary:active { transform: translateY(0); }
.act.is-quiet {
  background: transparent;
  border-color: var(--edge-firm);
  color: var(--type);
}
.act.is-quiet:hover { border-color: var(--type); background: rgba(23, 21, 31, .03); }
.act.is-compact { padding: 10px 20px; font-size: 0.875rem; }

.go {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--violet);
  text-decoration: none;
}
.go__tip { transition: transform 160ms var(--glide); }
.go:hover .go__tip { transform: translateX(4px); }

/* ---------- Storefront bar ---------- */
.storefront {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 248, .86);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--glide), box-shadow 200ms var(--glide);
}
.storefront.is-stuck { border-bottom-color: var(--edge); box-shadow: 0 1px 0 rgba(23, 21, 31, .02); }
.storefront__inner {
  max-width: var(--aisle-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: var(--bar-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

/* Logo lockup */
.mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--type);
}
.mark__glyph { width: 24px; height: 24px; flex: none; }
.mark__word {
  font-family: var(--face-text);
  font-weight: 640;
  font-size: 1.3125rem;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: lowercase;
  transform: translateY(-1px);
}
.mark__word .mark__ai { margin-left: 0.28em; }

/* Catalogue tabs */
.tabs {
  justify-self: center;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs__list {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tabs__link {
  display: block;
  font-family: var(--face-code);
  font-weight: 500;
  font-size: var(--fs-code);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--type-quiet);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background-color 160ms var(--glide), color 160ms var(--glide);
}
.tabs__link:hover { background: rgba(23, 21, 31, .045); color: var(--type); }
.tabs__link.is-current {
  background: var(--violet-mist);
  color: var(--violet);
}

.storefront__acts { display: flex; align-items: center; gap: .75rem; justify-self: end; }

/* Drawer toggle */
.toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--edge-firm);
  color: var(--type);
}
.toggle svg { width: 20px; height: 20px; }
.toggle__shut { display: none; }
.toggle[aria-expanded="true"] .toggle__open { display: none; }
.toggle[aria-expanded="true"] .toggle__shut { display: block; }

/* Drawer + scrim */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(23, 21, 31, .42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms var(--glide), visibility 200ms var(--glide);
}
.scrim.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 120;
  width: min(340px, 86vw);
  background: var(--canvas);
  border-left: 1px solid var(--edge);
  box-shadow: var(--lift-3);
  padding: 1rem 1.5rem 2.5rem;
  overflow-y: auto;
  transform: translateX(101%);
  visibility: hidden;
  transition: transform 260ms var(--glide), visibility 260ms var(--glide);
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.drawer__label {
  font-family: var(--face-code);
  font-size: var(--fs-code);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--type-quiet);
}
.drawer__shut {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--edge-firm);
}
.drawer__shut svg { width: 18px; height: 18px; }
.drawer__list { list-style: none; margin: 1rem 0 0; padding: 0; }
.drawer__list li { border-bottom: 1px solid var(--edge); }
.drawer__link {
  display: block;
  padding: 1rem 0;
  font-family: var(--face-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0;
  color: var(--type);
  text-decoration: none;
}
.drawer__link[aria-current="page"] { color: var(--violet); }
.drawer__cta { margin-top: 1.75rem; }
.drawer__cta .act { width: 100%; justify-content: center; padding: 14px 24px; }
body.is-locked { overflow: hidden; }

@media (min-width: 1041px) {
  .drawer, .scrim { display: none; }
}
@media (max-width: 1040px) {
  :root { --bar-h: 56px; }
  .storefront__inner {
    grid-template-columns: auto auto;
    grid-template-rows: var(--bar-h) auto;
    gap: 0 1rem;
    padding-bottom: 0;
  }
  .mark { grid-column: 1; grid-row: 1; }
  .storefront__acts { grid-column: 2; grid-row: 1; }
  .tabs {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-top: 1px solid var(--edge);
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs__list { gap: .125rem; padding-block: 6px; }
  .toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .storefront__acts .act { display: none; }
}

/* ---------- Marquee (centred hero) ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem) clamp(2.5rem, 2rem + 2vw, 3.5rem);
  text-align: center;
}
.marquee::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/hero-orchestration-field.webp") center top / cover no-repeat;
  opacity: .35;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 70%);
}
.marquee > .aisle { position: relative; z-index: 1; }
.marquee .chip { margin-bottom: 1.5rem; }
.marquee .title { max-width: 15ch; margin-inline: auto; }
.marquee .tagline { max-width: 56ch; margin: 1.5rem auto 0; }
.marquee__acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.125rem;
  margin-top: 2.25rem;
}
.marquee__verticals {
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--edge);
}
.marquee__verticals .note { margin-bottom: .625rem; }
.marquee__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 2rem;
  font-family: var(--face-code);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--type-quiet);
  opacity: .8;
}

/* Compact marquee for inner pages */
.marquee.is-compact {
  padding-block: clamp(2.5rem, 2rem + 2.5vw, 4rem) clamp(2rem, 1.75rem + 1.5vw, 3rem);
}
.marquee.is-compact::before { opacity: .22; }
.marquee.is-compact .title { max-width: 20ch; }
.marquee.is-plain::before { content: none; }
.marquee__stamp {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.5rem;
  margin-top: 1.5rem;
  font-family: var(--face-code);
  font-size: var(--fs-code);
  letter-spacing: 0.06em;
  color: var(--type-quiet);
  text-transform: uppercase;
}
.marquee__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.25rem; }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-family: var(--face-code);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  border: 1px solid var(--edge-firm);
  color: var(--type-quiet);
  background: var(--canvas-lift);
  white-space: nowrap;
}
.chip.is-early { border-color: var(--violet); color: var(--violet); background: var(--violet-mist); }
.chip.is-dev { border-color: var(--edge-firm); color: var(--type-quiet); }
.chip.is-later { border-style: dashed; color: var(--type-quiet); background: transparent; }

/* ---------- Shelf (full-bleed catalogue rail) ---------- */
.shelf { position: relative; padding-top: 0; }
.shelf__hint {
  max-width: var(--aisle);
  margin-inline: auto;
  padding-inline: var(--gutter);
  font-family: var(--face-code);
  font-size: var(--fs-code);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--type-quiet);
  padding-bottom: 1rem;
}
.shelf__rail {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(var(--gutter), calc((100% - var(--aisle)) / 2 + var(--gutter)));
  padding-inline: max(var(--gutter), calc((100% - var(--aisle)) / 2 + var(--gutter)));
  padding-block: .25rem 3.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.shelf__rail::-webkit-scrollbar { display: none; }
.shelf::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 3.25rem;
  width: 110px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(251, 250, 248, 0), var(--canvas) 78%);
}
.shelf__item {
  flex: 0 0 clamp(240px, 26vw, 300px);
  scroll-snap-align: start;
  background: var(--canvas-lift);
  border: 1px solid var(--edge);
  border-radius: var(--radius-tile);
  padding: 18px;
  box-shadow: var(--lift-1);
  display: flex;
  flex-direction: column;
  min-height: 236px;
  text-decoration: none;
  color: inherit;
  transition: border-color 200ms var(--glide), box-shadow 200ms var(--glide), transform 200ms var(--glide);
}
a.shelf__item:hover { border-color: var(--edge-firm); box-shadow: var(--lift-2); transform: translateY(-2px); }
.shelf__mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--violet-mist);
  color: var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .875rem;
}
.shelf__mark svg { width: 20px; height: 20px; }
.shelf__name { font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; }
.shelf__role {
  font-family: var(--face-code);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--type-quiet);
  margin-top: .25rem;
}
.shelf__strip {
  margin-top: auto;
  padding-top: .875rem;
  border-top: 1px solid var(--edge);
  font-family: var(--face-code);
  font-size: 0.625rem;
  line-height: 1.9;
  color: var(--type-quiet);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shelf__strip span { display: block; overflow: hidden; text-overflow: ellipsis; }
.shelf__strip .is-agent { color: var(--violet); }
.shelf__item.is-ghost {
  background: transparent;
  border-style: dashed;
  box-shadow: none;
}
.shelf__item.is-ghost .shelf__mark { background: transparent; border: 1px dashed var(--edge-firm); color: var(--type-faint); }
.shelf__item.is-ghost .shelf__name { color: var(--type-quiet); }
.shelf__item.is-ghost .shelf__strip {
  white-space: normal;
  line-height: 1.6;
  font-size: 0.6875rem;
  color: var(--type-quiet);
}

/* ---------- Gallery of listings ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.gallery.is-single { grid-template-columns: 1fr; gap: 2.5rem; }
.gallery.is-trio { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 980px) { .gallery.is-trio { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr; } }

.listing {
  background: var(--canvas-lift);
  border: 1px solid var(--edge);
  border-radius: var(--radius-listing);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--lift-2);
  display: flex;
  flex-direction: column;
  min-height: 560px;
}
.listing__head {
  padding: 32px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.listing__mark {
  width: 56px; height: 56px;
  flex: none;
  border-radius: var(--radius-tile);
  background: var(--violet-mist);
  color: var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
}
.listing__mark svg { width: 26px; height: 26px; }
.listing__mark.is-num {
  font-family: var(--face-code);
  font-size: 1.0625rem;
  color: var(--copper);
  background: transparent;
  border: 1px solid var(--edge-firm);
}
.listing__id { min-width: 0; }
.listing__name {
  font-family: var(--face-text);
  font-weight: 600;
  font-size: var(--fs-name);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.listing__meta {
  font-family: var(--face-code);
  font-size: var(--fs-code);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--type-quiet);
  margin-top: .375rem;
}
.listing__head .chip { margin-left: auto; flex: none; }
.listing__body { padding: 0 32px 24px; }
.listing__desc { color: var(--type-quiet); font-size: 0.9375rem; }
.listing__specs { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.listing__specs li {
  display: flex;
  gap: .625rem;
  align-items: flex-start;
  padding: .625rem 0;
  font-size: 0.9375rem;
  color: var(--type-quiet);
  border-top: 1px solid var(--edge);
}
.listing__specs li::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  margin-top: .5rem;
  border-radius: 2px;
  background: var(--violet);
  transform: rotate(45deg);
}
.listing__preview {
  margin-top: auto;
  background: var(--canvas-sunk);
  border-top: 1px solid var(--edge);
  padding: 20px 24px;
  height: 186px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
}
.listing__preview > * {
  transform: scale(.86);
  transform-origin: top left;
  width: 116%;
}
.listing__foot {
  padding: 18px 32px;
  border-top: 1px solid var(--edge);
}
.listing.is-ghost {
  background: transparent;
  border-style: dashed;
  box-shadow: none;
}
.listing.is-ghost .listing__mark { background: transparent; border: 1px dashed var(--edge-firm); color: var(--type-faint); }
.listing.is-ghost .listing__preview { background: transparent; }

/* Slim listing — no preview strip (used on about / contact) */
.listing.is-slim { min-height: 0; }
.listing.is-slim .listing__head { padding-bottom: 0; }
.listing.is-slim .listing__body { padding-bottom: 28px; }
.listing.is-slim .listing__foot { margin-top: auto; }
.gallery.is-trio .listing__head { padding: 26px 26px 0; gap: 14px; }
.gallery.is-trio .listing__body { padding: 0 26px 24px; }
.gallery.is-trio .listing__foot { padding: 16px 26px; }
.gallery.is-trio .listing__mark { width: 46px; height: 46px; }
.gallery.is-trio .listing__mark svg { width: 22px; height: 22px; }
.gallery.is-trio .listing__name { font-size: 1.1875rem; }

/* Full listing — expanded catalogue entry (agents / how-it-works) */
.listing.is-full { min-height: 0; }
.listing.is-full .listing__body {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(1.75rem, 3.5vw, 3.25rem);
  align-items: start;
  padding-bottom: 32px;
}
.listing.is-full .listing__preview {
  margin-top: 0;
  background: transparent;
  border-top: 0;
  padding: 0;
  height: auto;
  overflow: visible;
}
.listing.is-full .listing__preview {
  -webkit-mask-image: none;
  mask-image: none;
}
.listing.is-full .listing__preview > * { transform: none; width: auto; }
@media (max-width: 860px) {
  .listing.is-full .listing__body { grid-template-columns: 1fr; }
}

/* ---------- Showcase ---------- */
.showcase {
  position: relative;
  overflow: hidden;
  background: var(--canvas-sunk);
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  padding-block: var(--stack-pad);
  text-align: center;
}
.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/agents-constellation.webp") center center / cover no-repeat;
  opacity: .16;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(90% 80% at 50% 50%, #000 0%, transparent 78%);
  mask-image: radial-gradient(90% 80% at 50% 50%, #000 0%, transparent 78%);
}
.showcase > .aisle { position: relative; z-index: 1; }
.showcase .heading { margin-bottom: 2.25rem; }
.showcase__piece { max-width: 560px; margin-inline: auto; }
.showcase__piece .convo { width: 100%; }
.showcase__mark { width: clamp(140px, 20vw, 200px); margin-inline: auto; color: var(--type); }
.showcase.is-plain::before { content: none; }
.showcase.is-plain .showcase__piece { max-width: 680px; }
.showcase.is-plain .tagline { margin-inline: auto; }

/* ---------- Deploy steps ---------- */
.deploy {
  padding-block: clamp(2.75rem, 2.25rem + 2vw, 3.75rem);
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
}
.deploy__lead {
  font-family: var(--face-code);
  font-size: var(--fs-code);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--type-quiet);
  text-align: center;
  margin-bottom: 1.5rem;
}
.deploy-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.deploy-step { max-width: 212px; }
.deploy-step__num {
  font-family: var(--face-code);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: var(--copper);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: .375rem;
}
.deploy-step__label { font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; }
.deploy-step__sub { font-size: var(--fs-fine); color: var(--type-quiet); margin-top: .25rem; }
.deploy-arrow { color: var(--type-faint); font-size: 1.25rem; line-height: 1; flex: none; }
.deploy__more { text-align: center; margin-top: 1.75rem; }
@media (max-width: 720px) {
  .deploy-steps { flex-direction: column; gap: 1rem; }
  .deploy-step { max-width: 320px; text-align: center; }
  .deploy-arrow { transform: rotate(90deg); }
}

/* ---------- Spec bar ---------- */
.specbar {
  background: var(--canvas-sunk);
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  padding-block: clamp(2rem, 1.75rem + 1.5vw, 2.75rem);
}
.specbar__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 0;
}
.specbar__cell {
  flex: 1 1 200px;
  padding-inline: clamp(1rem, 2vw, 1.75rem);
  border-left: 1px solid var(--edge-firm);
}
.specbar__cell:first-child { border-left: 0; padding-left: 0; }
.specbar__value {
  font-family: var(--face-code);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2.125rem);
  line-height: 1.1;
  color: var(--type);
}
.specbar__cell:first-child .specbar__value { color: var(--copper); }
.specbar__label { margin-top: .5rem; font-size: var(--fs-fine); color: var(--type-quiet); }
@media (max-width: 720px) {
  .specbar__cell { flex: 1 1 45%; border-left: 0; padding-left: 0; padding-right: 1rem; }
}

/* ---------- Ledger (definition table) ---------- */
.ledger { margin: 0; display: grid; }
.ledger__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--edge);
}
.ledger__row:last-child { border-bottom: 1px solid var(--edge); }
.ledger__term {
  font-family: var(--face-code);
  font-size: var(--fs-code);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet);
  padding-top: .1875rem;
}
.ledger.is-plain .ledger__term { color: var(--type-quiet); }
.ledger__desc { margin: 0; color: var(--type-quiet); }
.ledger.is-plain .ledger__desc { color: var(--type); }
@media (max-width: 640px) {
  .ledger__row { grid-template-columns: 1fr; gap: .375rem; }
}

/* ---------- Queries (FAQ) ---------- */
.queries { margin-inline: auto; }
.queries__item { border-top: 1px solid var(--edge); }
.queries__item:last-child { border-bottom: 1px solid var(--edge); }
.queries__ask {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  padding: 1.25rem 0;
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--type);
}
.queries__plus {
  flex: none;
  width: 20px; height: 20px;
  color: var(--type-faint);
  transition: transform 240ms var(--glide);
}
.queries__ask[aria-expanded="true"] .queries__plus { transform: rotate(45deg); }
.queries__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 240ms var(--glide);
}
.queries__answer > div { overflow: hidden; }
.queries__answer p { color: var(--type-quiet); padding-bottom: 1.25rem; max-width: 65ch; }
.queries__item.is-open .queries__answer { grid-template-rows: 1fr; }

/* ---------- Closer ---------- */
.closer { text-align: center; border-top: 1px solid var(--edge); }
.closer h2 { max-width: 20ch; margin-inline: auto; }
.closer .chip { margin-bottom: 1.25rem; }
.closer .tagline { margin: 1.25rem auto 0; }
.closer__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: .875rem; margin-top: 2rem; }
.closer .note { margin-top: 1.25rem; }

/* ---------- Mockups: conversation ---------- */
.convo {
  position: relative;
  width: 380px;
  max-width: 100%;
  background: var(--canvas-lift);
  border: 1px solid var(--edge);
  border-radius: 16px;
  box-shadow: var(--lift-3);
}
.convo__bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1.125rem;
  border-bottom: 1px solid var(--edge);
}
.convo__dots { display: flex; gap: 5px; flex: none; }
.convo__dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--edge-firm); }
.convo__who {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--type);
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
}
.convo__who .convo__where { font-weight: 400; color: var(--type-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--live); flex: none; }
.convo__tag {
  margin-left: auto;
  font-family: var(--face-code);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  color: var(--type-faint);
  border: 1px solid var(--edge);
  border-radius: var(--radius-pill);
  padding: 3px 8px;
  flex: none;
}
.convo__body { padding: 1.125rem; display: flex; flex-direction: column; gap: .625rem; }
.bubble {
  max-width: 85%;
  padding: .625rem .875rem;
  font-size: 0.875rem;
  line-height: 1.5;
}
.bubble.is-agent {
  align-self: flex-start;
  background: var(--canvas-sunk);
  border-radius: 14px 14px 14px 4px;
  color: var(--type);
}
.bubble.is-guest {
  align-self: flex-end;
  background: var(--violet-wash);
  border-radius: 14px 14px 4px 14px;
  color: var(--type);
}
.slip {
  margin-top: .5rem;
  padding: .625rem .75rem;
  background: var(--canvas-lift);
  border: 1px solid var(--edge);
  border-radius: 8px;
  font-family: var(--face-code);
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.7;
  color: var(--type-quiet);
  white-space: nowrap;
  overflow-x: auto;
}
.slip__row { display: flex; justify-content: space-between; gap: 1.5rem; }
.slip__row strong { color: var(--type); font-weight: 500; }
.slip__row .is-ok { color: var(--live); }

@keyframes bubble-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.convo__body .bubble { opacity: 0; animation: bubble-in 420ms var(--glide) forwards; }
.convo__body .bubble:nth-child(1) { animation-delay: 160ms; }
.convo__body .bubble:nth-child(2) { animation-delay: 280ms; }
.convo__body .bubble:nth-child(3) { animation-delay: 400ms; }
.convo__body .bubble:nth-child(4) { animation-delay: 520ms; }
.convo__body .bubble:nth-child(5) { animation-delay: 640ms; }
@media (prefers-reduced-motion: reduce) {
  .convo__body .bubble { opacity: 1; animation: none; }
}
.disclaimer { margin-top: .875rem; text-align: center; font-size: var(--fs-fine); color: var(--type-quiet); }

/* ---------- Mockups: docket (document extraction) ---------- */
.docket {
  width: 380px;
  max-width: 100%;
  background: var(--canvas-lift);
  border: 1px solid var(--edge);
  border-radius: 16px;
  box-shadow: var(--lift-3);
}
.docket__file {
  font-family: var(--face-code);
  font-size: 0.75rem;
  color: var(--type-quiet);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.docket__fields { padding: 1.125rem; }
.docket__fields table { width: 100%; font-family: var(--face-code); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.docket__fields th, .docket__fields td { text-align: left; padding: .5rem .25rem; border-bottom: 1px solid var(--edge); }
.docket__fields th { font-weight: 500; color: var(--type-faint); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; }
.docket__fields td { color: var(--type); }
.docket__fields tr:last-child td { border-bottom: 0; }
.docket__fields .is-ok { color: var(--live); }
.docket__status {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.125rem;
  border-top: 1px solid var(--edge);
  font-size: 0.8125rem;
  color: var(--type-quiet);
}

/* Field strip used inside listing previews */
.fields {
  font-family: var(--face-code);
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
  color: var(--type-quiet);
  background: var(--canvas-lift);
  border: 1px solid var(--edge);
  border-radius: 10px;
  padding: .75rem .875rem;
  width: 330px;
  max-width: 100%;
}
.fields__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--type-faint);
  padding-bottom: .5rem;
  margin-bottom: .5rem;
  border-bottom: 1px solid var(--edge);
}

/* ---------- Mockups: runlist (workflow) ---------- */
.runlist {
  width: 380px;
  max-width: 100%;
  background: var(--canvas-lift);
  border: 1px solid var(--edge);
  border-radius: 16px;
  box-shadow: var(--lift-3);
}
.runlist__steps { padding: 1.125rem; display: flex; flex-direction: column; }
.runlist__step {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .75rem .25rem;
  font-size: 0.8125rem;
  color: var(--type-quiet);
}
.runlist__step + .runlist__step { border-top: 1px solid var(--edge); }
.runlist__state {
  margin-left: auto;
  font-family: var(--face-code);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--type-faint);
}
.runlist__step.is-done .runlist__state { color: var(--live); }
.runlist__step.is-running .runlist__state { color: var(--violet); }
.runlist__dot {
  width: 20px; height: 20px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--edge-firm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--live);
}
.runlist__step.is-done .runlist__dot { border-color: var(--live); }
.runlist__step.is-running .runlist__dot { border-color: var(--violet); }
.runlist__dot svg { width: 11px; height: 11px; }

/* Mini task timeline used inside listing previews */
.tasks { width: 330px; max-width: 100%; }
.tasks__row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem 0;
  font-size: 0.8125rem;
  color: var(--type-quiet);
  border-top: 1px solid var(--edge);
}
.tasks__row:first-child { border-top: 0; }
.tasks__num {
  font-family: var(--face-code);
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
  color: var(--copper);
  flex: none;
}
.tasks__state {
  margin-left: auto;
  font-family: var(--face-code);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--type-faint);
}

/* ---------- Tiers (pricing shelf) ---------- */
.tiers__note {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: var(--type-quiet);
  font-size: var(--fs-fine);
}
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.tier {
  background: var(--canvas-lift);
  border: 1px solid var(--edge);
  border-radius: var(--radius-listing);
  padding: 32px;
  box-shadow: var(--lift-1);
  display: flex;
  flex-direction: column;
}
.tier.is-featured { border-color: var(--violet); box-shadow: var(--lift-2); position: relative; }
.tier__flag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--face-code);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--violet);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  white-space: nowrap;
}
.tier__name { font-weight: 600; font-size: 1.0625rem; margin-bottom: .25rem; }
.tier__for { font-size: var(--fs-fine); color: var(--type-quiet); min-height: 2.6em; }
.tier__price {
  font-family: var(--face-display);
  font-weight: 600;
  font-size: 2.875rem;
  letter-spacing: -0.005em;
  line-height: 1;
  margin: 1.25rem 0 .25rem;
}
.tier__price .tier__per { font-family: var(--face-code); font-size: 0.8125rem; font-weight: 400; color: var(--type-faint); letter-spacing: 0; }
.tier__cadence { font-size: 0.75rem; color: var(--type-quiet); font-family: var(--face-code); }
.tier__specs { list-style: none; margin: 1.5rem 0 2rem; padding: 0; flex: 1; }
.tier__specs li {
  display: flex;
  gap: .625rem;
  align-items: flex-start;
  padding: .625rem 0;
  font-size: 0.9375rem;
  color: var(--type-quiet);
  border-top: 1px solid var(--edge);
}
.tier__specs li::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  margin-top: .5rem;
  border-radius: 2px;
  background: var(--violet);
  transform: rotate(45deg);
}
.tier .act { justify-content: center; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* ---------- Case (editorial image plate) ---------- */
.case { margin: 0 auto; padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.case__frame {
  border: 1px solid var(--edge);
  border-radius: 14px;
  overflow: hidden;
  background: var(--canvas-lift);
}
.case.has-lift .case__frame { box-shadow: var(--lift-2); }
.case__frame img { width: 100%; height: auto; display: block; }
.case__note { margin-top: .875rem; font-size: var(--fs-fine); color: var(--type-quiet); }

/* ---------- Copy (prose / legal) ---------- */
.copy { color: var(--type-quiet); }
.copy h2 {
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
  color: var(--type);
  margin: 3rem 0 1rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--edge);
  scroll-margin-top: 130px;
}
.copy h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.copy h3 { font-size: 1.0625rem; color: var(--type); margin: 1.75rem 0 .625rem; scroll-margin-top: 130px; }
.copy p { margin: 0 0 1rem; }
.copy ul, .copy ol { margin: 0 0 1rem; padding-left: 1.5rem; }
.copy li { margin-bottom: .5rem; }
.copy li::marker { color: var(--type-faint); }
.copy strong { color: var(--type); font-weight: 600; }
.scrollbox { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--edge); border-radius: var(--radius-tile); }
.copy table { width: 100%; font-size: var(--fs-fine); background: var(--canvas-lift); min-width: 560px; }
/* Broad inventory tables (6–7 columns): more room per column, scrolls inside its own box */
.scrollbox.is-broad table { min-width: 1040px; }
.scrollbox.is-broad th, .scrollbox.is-broad td { padding-inline: .875rem; }
.copy th {
  text-align: left;
  font-family: var(--face-code);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--type-faint);
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--edge-firm);
  background: var(--canvas-sunk);
}
.copy td { padding: .75rem 1rem; border-bottom: 1px solid var(--edge); vertical-align: top; color: var(--type-quiet); }
.copy tr:last-child td { border-bottom: 0; }
.aside {
  background: var(--violet-mist);
  border: 1px solid var(--violet-wash);
  border-radius: var(--radius-tile);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  color: var(--type-quiet);
  font-size: 0.9375rem;
}
.aside strong { color: var(--type); }

/* Legal contents index */
.index {
  background: var(--canvas-lift);
  border: 1px solid var(--edge);
  border-radius: var(--radius-listing);
  padding: 1.75rem 2rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--lift-1);
}
.index h2 {
  font-family: var(--face-code);
  font-size: var(--fs-code);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 1rem;
}
.index ol {
  margin: 0;
  padding: 0 0 0 1.5rem;
  columns: 2;
  column-gap: 3rem;
  font-size: var(--fs-fine);
  color: var(--type-quiet);
}
.index li { padding: .25rem 0; break-inside: avoid; }
.index a { text-decoration: none; color: var(--type-quiet); }
.index a:hover { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 620px) { .index ol { columns: 1; } }

/* ---------- Rise (reveal on scroll) ---------- */
.has-js .rise { opacity: 0; transform: translateY(12px); transition: opacity 500ms var(--glide), transform 500ms var(--glide); }
.has-js .rise.is-shown { opacity: 1; transform: none; }
.gallery > .rise:nth-child(2) { transition-delay: 80ms; }
.gallery > .rise:nth-child(3) { transition-delay: 160ms; }
.gallery > .rise:nth-child(4) { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  .has-js .rise { opacity: 1; transform: none; transition: none; }
}

/* ---------- Dock (footer) ---------- */
.dock {
  background: var(--type);
  color: rgba(251, 250, 248, .7);
  font-size: var(--fs-fine);
}
.dock__inner { padding-block: clamp(3.5rem, 3rem + 2vw, 5rem) 0; }
.dock__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.dock__brand .mark__glyph { width: 28px; height: 28px; color: var(--canvas); margin-bottom: 1rem; }
.dock__brand p { max-width: 34ch; }
.dock__col h2 {
  font-family: var(--face-text);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--canvas);
  margin-bottom: 1rem;
}
.dock__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .625rem; }
.dock__col a { color: rgba(251, 250, 248, .7); text-decoration: none; transition: color 160ms var(--glide); }
.dock__col a:hover { color: var(--canvas); }
.dock__legal {
  border-top: 1px solid rgba(251, 250, 248, .12);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.dock__reg { max-width: 62ch; font-size: 0.8125rem; line-height: 1.6; }
.dock__legal a { color: rgba(251, 250, 248, .7); }
.dock__legal a:hover { color: var(--canvas); }
.dock__pills { display: flex; gap: .5rem; flex-wrap: wrap; }
.dock__pill {
  font-family: var(--face-code);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(251, 250, 248, .25);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  color: rgba(251, 250, 248, .7);
  white-space: nowrap;
}
@media (max-width: 900px) { .dock__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dock__grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Anchor offset ---------- */
[id] { scroll-margin-top: 130px; }
