/* Ownchats hero v2: brand green field, the "bubble ribbon" carries a chat into a document; the logo dot lights at the count.
   Palette C (user choice 2026-10-14). Stage geometry in CSS variables; hero.js animates once, reduced motion shows the end state. */
@font-face { font-family: "Archivo"; src: url("../assets/fonts/archivo-latin-variable.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

body.oc-field { --field: #0b7a63; --field-deep: #05473a; --field-light: #2bb08c; --mint: #d4f1e7; --under: #03362b; }
body.oc-field .site-head { background: var(--field-deep); border-bottom-color: rgba(255,255,255,.12); }
body.oc-field .site-head .wordmark, body.oc-field .site-nav a { color: #fff; }
body.oc-field .site-nav a:hover { color: var(--mint); }

.och { position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: radial-gradient(900px 640px at 86% 0%, var(--field-light), rgba(43,176,140,0) 62%),
              radial-gradient(820px 620px at 0% 100%, var(--field-deep), rgba(5,71,58,0) 70%), var(--field); }
.och::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .08; mix-blend-mode: overlay; pointer-events: none;
  background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.och .wrap { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 2.5rem; align-items: center; padding: 4.5rem 0 5rem; }
.och h1 { font-family: "Archivo", var(--display); font-weight: 820; font-stretch: 76%; font-size: clamp(3.2rem, 6.2vw, 5rem); line-height: .94; letter-spacing: -.012em; max-width: 12ch; }
.och .lede { margin-top: 1.4rem; max-width: 30rem; color: var(--mint); font-size: 1.12rem; }
.och .notify label { color: #fff; }
.och .notify input[type="email"] { background: rgba(255,255,255,.96); border-color: transparent; color: #0f231d; }
.och .notify .btn-primary { background: #fff; color: var(--field); border-color: #fff; }
.och .notify .btn-primary:hover { background: var(--mint); border-color: var(--mint); }
.och .notify-msg, .och .note { color: var(--mint); }
.och :focus-visible { outline-color: #fff; }

/* Stage: a fixed 600x560 design canvas scaled to its column. */
.och-stage { position: relative; width: 100%; aspect-ratio: 600 / 560; margin: 0; }
.och-canvas { position: absolute; left: 0; top: 0; width: 600px; height: 560px; transform-origin: 0 0; transform: scale(var(--s, 1)); }
.och-chat { position: absolute; left: 0; top: 196px; width: 236px; padding: 14px 13px 16px; border-radius: 16px; font-size: 12.5px; line-height: 1.4;
  background: rgba(4,40,32,.28); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px);
  transform: perspective(1400px) rotateY(16deg) rotateX(4deg); transform-origin: right center; }
.och-chat .bar { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 11px; color: var(--mint); }
.och-chat .bar i { width: 7px; height: 7px; border-radius: 50%; background: #10a37f; }
.och-b { margin-top: 9px; color: #e6f7f1; }
.och-b.u { margin-left: 28px; padding: 8px 11px; border-radius: 13px 13px 4px 13px; background: rgba(255,255,255,.16); color: #fff; }
.och-doc { position: absolute; left: 286px; top: 40px; width: 280px; height: 440px; overflow: hidden; border-radius: 6px; background: #fff;
  box-shadow: 0 40px 90px rgba(2,30,24,.5), 0 0 0 1px rgba(0,0,0,.06); transform: perspective(1400px) rotateY(-10deg) rotateX(3deg); transform-origin: left center; }
.och-doc img { display: block; width: 100%; height: auto; }
.och-doc::after { content: ""; position: absolute; inset: auto 0 0; height: 80px; background: linear-gradient(rgba(255,255,255,0), #fff); }
.och-ribbon { position: absolute; inset: 0; overflow: visible; pointer-events: none; }
.och-ribbon .under { stroke: var(--under); opacity: .35; }
.och-ribbon .glow { stroke: #fff; opacity: .22; filter: url(#och-blur); }
.och-ribbon .core { stroke: #fff; }
.och-dot-glow { fill: #fff; opacity: .25; filter: url(#och-blur); }
.och-dot { fill: #fff; stroke: var(--under); stroke-opacity: .35; stroke-width: 3; }
.och-tally { position: absolute; left: 262px; top: 494px; display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.och-tally b { font-family: "Archivo", var(--display); font-weight: 860; font-stretch: 76%; font-size: 56px; line-height: 1; font-variant-numeric: tabular-nums; min-width: 2.2ch; text-align: right; }
.och-tally span { font-size: 16px; font-weight: 600; color: var(--mint); }

@media (max-width: 900px) {
  .och .wrap { grid-template-columns: 1fr; padding: 3rem 0 3.5rem; gap: 2rem; }
  .och h1 { max-width: 12ch; }
}
