/* Vessel restraint, 2026-11-17. Loaded after vessel-20261109-1.css on every vessel page.
   Human: "We are keeping it minimalist and modern, with japanese-infused. Not a renaissance of Edo."
   Ronova keeps its bone and glaze grounds, its type, its asymmetric editorial grid and one gesture: the gold seam
   that draws down the page as it is read. The quoted ceramic goes: no ash band, crazing or full-strength grain, no
   torn or uneven edges, no staggered or tilting cards, no crack web over the hero, no vessel sights or ensō as
   chrome, and no pinned shard scene (the bowl is shown whole). Surfaces are flat fields with a hairline and a small
   square radius. The artwork files are unchanged; new or changed images go to ChatGPT or Codex.
   See "Domain identity and format contract — 2026-11-11, amended 2026-11-17" in AGENTS.md. */

html body[data-shell-identity="vessel"][data-tds-product="ronova"] {
  --vessel-radius: 3px;
  /* Control edges hold 3:1 in both appearances: the text colour at 60%, not the faint ceramic rule. */
  --control-edge: color-mix(in srgb, var(--tds-text) 60%, transparent);
}

/* Ground: one barely visible texture, no ash band. */
html body[data-shell-identity="vessel"][data-tds-product="ronova"] {
  background-image:
    linear-gradient(color-mix(in srgb, var(--tds-bg) 90%, transparent), color-mix(in srgb, var(--tds-bg) 90%, transparent)),
    var(--vessel-grain);
  background-size: auto, 900px 900px;
}

html body[data-shell-identity="vessel"][data-tds-product="ronova"]::before {
  display: none;
}

/* Surfaces: flat fields with a hairline. */
html body[data-shell-identity="vessel"][data-tds-product="ronova"] .glass-panel,
html body[data-shell-identity="vessel"][data-tds-product="ronova"].portal-page :is(.portal-trust-card, .portal-state-panel, .portal-launcher) {
  background-image: none;
  border: 1px solid var(--tds-border);
  border-radius: var(--vessel-radius);
}

html body[data-shell-identity="vessel"][data-tds-product="ronova"] :is(.project-card, .info-card, .community-choice) {
  clip-path: none;
  border: 1px solid var(--tds-border);
  border-radius: var(--vessel-radius);
}

html body[data-shell-identity="vessel"][data-tds-product="ronova"] .site-preferences {
  border-radius: var(--vessel-radius);
}

html body[data-shell-identity="vessel"][data-tds-product="ronova"] .site-drawer,
html body[data-shell-identity="vessel"][data-tds-product="ronova"].portal-page {
  background-image: none;
}

/* Controls: plain rectangles. */
html body[data-shell-identity="vessel"][data-tds-product="ronova"] :is(.button, .form-field input, .form-field textarea, .form-field select) {
  border-color: var(--control-edge);
  border-radius: var(--vessel-radius);
}

html body[data-shell-identity="vessel"][data-tds-product="ronova"] .site-header__action {
  border-radius: var(--vessel-radius);
}

html body[data-shell-identity="vessel"][data-tds-product="ronova"] :is(.site-header__action--renkan-id, .site-header__action--menu) {
  border-color: var(--control-edge);
}

html body[data-shell-identity="vessel"][data-tds-product="ronova"] .button--primary {
  border-color: var(--tds-text);
}

html body[data-shell-identity="vessel"][data-tds-product="ronova"] .site-nav__link::after {
  border-radius: 0;
}

html body[data-shell-identity="vessel"][data-tds-product="ronova"] .status-pill::before {
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  transform: none;
}

/* Cards hold the editorial grid without tilting or stepping. */
html.vessel-motion body[data-shell-identity="vessel"][data-tds-product="ronova"] :is(.project-card, .info-card, .community-choice)[data-fx],
html.vessel-motion.js.reveal-ready body[data-shell-identity="vessel"][data-tds-product="ronova"] :is(.project-card, .info-card, .community-choice).fade-up[data-fx] {
  transform: none;
}

html body[data-shell-identity="vessel"][data-tds-product="ronova"] .vessel-shards .project-card:nth-of-type(n) {
  margin: 0;
}

/* Home: the portrait as a plain image, no crack web behind the name. */
html body[data-shell-identity="vessel"][data-tds-product="ronova"] .hero__portrait img {
  clip-path: none;
  border-radius: var(--vessel-radius);
}

html body[data-shell-identity="vessel"][data-tds-product="ronova"] .hero-cracks {
  display: none;
}

/* The page seam is the one gesture, so the per-page vessel sights and the footer ensō step aside. */
html body[data-shell-identity="vessel"][data-tds-product="ronova"] :is(.vessel-sight, .site-footer__enso) {
  display: none;
}

/* The bowl is shown whole: no pinned scene, no shards flying in. */
html.vessel-motion body[data-shell-identity="vessel"][data-tds-product="ronova"] .vessel-assembly {
  --p: 1;
  height: auto;
}

html.vessel-motion body[data-shell-identity="vessel"][data-tds-product="ronova"] .vessel-assembly__stage {
  position: relative;
  top: auto;
  height: auto;
  padding-block: clamp(3rem, 8vw, 6rem);
}

/* The script still writes --p while scrolling, so the shards and the bowl's seam are fixed in their final place here. */
html body[data-shell-identity="vessel"][data-tds-product="ronova"] .vessel-assembly .shard {
  transform: none;
}

html body[data-shell-identity="vessel"][data-tds-product="ronova"] .vessel-assembly .v-seam--assembly {
  stroke-dashoffset: 0;
}

/* The first-visit language line sits in the page, under the header, and scrolls away with it: a fixed corner note
   covered content on phones (independent review 22a02421304c4187). Body is a column flex box, so order places it. */
html body[data-shell-identity="vessel"][data-tds-product="ronova"] > :is(main, .site-footer) {
  order: 2;
}

html body[data-shell-identity="vessel"][data-tds-product="ronova"] > .site-preferences-note {
  position: static;
  order: 1;
  align-self: flex-end;
  max-width: calc(100% - 2 * var(--tds-page-gutter, 1rem));
  margin: var(--tds-space-3, 0.75rem) var(--vessel-edge, var(--tds-page-gutter, 1rem)) 0;
  border-color: var(--control-edge);
  border-radius: var(--vessel-radius);
}
