/* Greek characters & motion kit, site rules (.docs/specs/2026-11-28-greek-characters-integration). */

/* The dark site paints the kit's "paper" with its own background (curtains, bubbles). */
html[data-hf-palette="marble"] { --hf-paper: #050505; }

/* Line-art backgrounds stay faint: text keeps AA even right over a stroke (AC-7). */
.hf-bg { opacity: .24; }
.hf-bg--agora { opacity: 1; }
/* Contact: calm sea behind the form, no ship sailing under the fields. */
.hf-bg--sea { opacity: .2; }
.hf-bg--sea .hf-ship { display: none; }

/* D3: GSAP reveals the content ([data-reveal], [data-reveal-words]); the kit only frames the
   section (curtain, rods, meander band, draw). Its per-child fade would reveal things twice. */
[data-hf-enter] .hf-enter-item { opacity: 1; translate: none; transition: none; }
[data-hf-enter="unroll"] > .hf-enter-item { transition: clip-path 1.2s var(--hf-ease); }

/* D4: an agora stage gets its own floor under the content, so characters never stand behind text. */
.section[data-hf-bg="agora"] { padding-bottom: calc(clamp(72px, 11vw, 140px) + 210px); }
.section[data-hf-bg="agora"] .hf-bg__stage { height: 200px; }

/* Walker dividers between sections */
.hf-divider { --hf-divider-h: 96px; margin: 0 auto; max-width: var(--max, 1240px); }

/* A line-art rule traced by data-hf-enter="draw" */
.hf-rule { display: block; width: min(240px, 60%); height: 20px; margin: 18px 0 0; overflow: visible; }
.hf-rule path { fill: none; stroke: var(--hf-gold); stroke-width: 1.6; stroke-linecap: square; }
