/* Kinetic phrases + the supplied monogram redrawn as one continuous cubic route. */
.hero { padding-inline: 24px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: 32px; }
.hero-heading-grid { display: contents; }
.hero-heading-grid h1 { grid-column: 1; grid-row: 1; }
.hero > .lead { grid-column: 1; grid-row: 2; }
.hero-heading-grid h1 { min-width: 0; font-size: clamp(2rem, 4.1vw, 3.2rem); line-height: 1.12; letter-spacing: -0.045em; }
.hero-line { display: block; overflow: clip; padding: .18em .14em .14em; margin: -.18em -.14em -.14em; }
.hero-line-inner { display: block; transform: none; }
.hero-heading-grid .hero-outline { color: transparent; -webkit-text-stroke: 1.25px var(--accent); }
[data-theme="retro"] .hero-heading-grid .hero-outline { -webkit-text-stroke: 1.4px var(--text); }
.hero[data-hero-intro] .hero-line-inner { animation: hero-kinetic-in 1050ms cubic-bezier(.16,1,.3,1) backwards; }
.hero-line:nth-child(2) .hero-line-inner { animation-delay: 110ms; }
.hero-line:nth-child(3) .hero-line-inner { animation-delay: 220ms; }
.hero-line:nth-child(4) .hero-line-inner { animation-delay: 330ms; }
@keyframes hero-kinetic-in { from { transform: translateX(-110%) skewX(-7deg); } to { transform: none; } }
.hero-art { width: 100%; min-width: 0; margin: 0; pointer-events: none; grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: center; }
.hero-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero-construction { stroke: var(--border); stroke-width: 1; opacity: .6; }
.hero-guide-lines { stroke: var(--accent); stroke-width: 1; opacity: .35; }
.hero-guide-rules { opacity: .65; }
.hero-guide-nodes { fill: var(--bg); stroke: var(--accent); stroke-width: 1; }
.hero-interface { opacity: 0; }
.hero-frame-shadow { fill: var(--border); opacity: .25; }
.hero-frame-fill { fill: var(--panel); }
.hero-ui-rule { stroke: var(--border); stroke-width: 1.5; }
.hero-ui-brand { fill: var(--text); font: 600 12px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: -.3px; }
.hero-window-dot { fill: var(--muted); opacity: .6; }
.hero-nav-active { fill: var(--accent); fill-opacity: .2; }
.hero-ui-ink { stroke: var(--text); stroke-width: 2.5; stroke-linecap: round; opacity: .48; }
.hero-panel-fill { fill: var(--accent); fill-opacity: .2; stroke: var(--border); }
.hero-panel-b .hero-panel-fill { fill: var(--accent-2); }
.hero-panel-c .hero-panel-fill { fill: var(--muted); fill-opacity: .16; }
.hero-list-fill { fill: var(--panel-2); stroke: var(--border); }
.hero-thread { stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hero-brand-mark { transform: translate(130px,60px) scale(.36); transform-origin: 0 0; transform-box: view-box; }
.hero-brand-path { stroke: var(--accent); stroke-opacity: .3; stroke-width: 12; stroke-linejoin: round; fill: var(--text); fill-opacity: .03; }
.hero-brand-bridge { stroke: var(--accent); stroke-width: 7; }
.hero-tracer { fill: var(--accent); opacity: 0; }
[data-theme="retro"] .hero-thread { stroke: var(--text); stroke-width: 3; }
[data-theme="retro"] .hero-frame-shadow { fill: var(--text); opacity: 1; }
[data-theme="retro"] .hero-panel-a .hero-panel-fill { fill: var(--pastel-pink); fill-opacity: 1; }
[data-theme="retro"] .hero-panel-b .hero-panel-fill { fill: var(--pastel-blue); fill-opacity: 1; }
[data-theme="retro"] .hero-panel-c .hero-panel-fill { fill: var(--pastel-mint); fill-opacity: 1; }
@media (max-width: 760px) {
  .hero { display: block; }
  .hero-heading-grid { display: grid; }
  .hero-heading-grid { grid-template-columns: 1fr; gap: 4px; }
  .hero-heading-grid h1 { grid-column: auto; grid-row: auto; }
  .hero-heading-grid h1 { font-size: clamp(1.85rem, 7.8vw, 3.2rem); }
  .hero-art { width: min(90%, 360px); grid-column: auto; grid-row: auto; justify-self: center; margin-top: 4px; }
  .hero .lead { margin-top: 8px; }
}
html[data-motion-reduced="true"] .hero-line-inner { animation: none !important; transform: none !important; }
html[data-motion-reduced="true"] .hero-interface { opacity: 1 !important; }
html[data-motion-reduced="true"] .hero-ui-piece { opacity: 1 !important; transform: none !important; }
html[data-motion-reduced="true"] .hero-thread { stroke-dashoffset: 0 !important; }
html[data-motion-reduced="true"] .hero-brand-mark { transform: translate(62px,54px) scale(.045) !important; }
html[data-motion-reduced="true"] .hero-brand-path { fill-opacity: 1 !important; }
html[data-motion-reduced="true"] .hero-tracer { opacity: 0 !important; }
@media (prefers-reduced-motion: reduce) {
  .hero-line-inner { animation: none !important; transform: none !important; }
  .hero-interface, .hero-ui-piece { opacity: 1 !important; }
  .hero-ui-piece { transform: none !important; }
  .hero-thread { stroke-dashoffset: 0 !important; }
  .hero-brand-mark { transform: translate(62px,54px) scale(.045) !important; }
  .hero-brand-path { fill-opacity: 1 !important; }
  .hero-tracer { opacity: 0 !important; }
}
