/* Eagle Lion Kobra: parent landing page.
   Palette follows The Weave's universe theme (the-weave/the-weave/shared/universe-theme.css);
   the rose accent marks ELK as the Rose flower. */
:root {
  --cream: #f6f3e9;
  --surface: #fffdf4;
  --yellow: #f4e5a8;
  --yellow-soft: #faf1cf;
  --gold: #b18a29;
  --gold-dark: #735818;
  --text: #302c20;
  --muted: #5f5844;
  --line: #d9cda6;
  --green: #5d7350;
  --rose: #a34555;
  --rose-dark: #7e2f3c;
  --rose-soft: #f6dfe0;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(80, 64, 20, .08);
  --font-display: "Young Serif", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--text); font: 17px/1.6 var(--font-body); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--gold-dark); text-underline-offset: 3px; }
a:hover { color: var(--rose-dark); }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 22ch; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--surface); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--rose-dark); margin-bottom: .8em; }
.lead { font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 40ch; }
.lead-sm { font-size: 1.12rem; }
.section-lead { max-width: 62ch; color: var(--muted); font-size: 1.08rem; }
.cite { font-size: .8rem; color: var(--muted); font-style: normal; letter-spacing: .01em; }
.cite::before { content: "Source · "; font-weight: 600; }
.note { color: var(--muted); }
.tag { display: inline-block; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 1px 10px; font-size: .82rem; margin: 2px 2px 2px 0; }
.text-link { font-weight: 600; }
.text-link::after { content: " →"; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(246, 243, 233, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); margin-right: auto; }
.brand strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; line-height: 1.1; }
.brand small { display: block; font-size: .74rem; color: var(--muted); }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 8px 11px; border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 500; font-size: .94rem; }
.site-nav a:hover { background: var(--yellow-soft); color: var(--text); }
.menu-toggle { display: none; font: 600 .95rem var(--font-body); background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--gold-dark); color: var(--gold-dark); background: var(--surface); text-decoration: none; font-weight: 600; }
.btn:hover { background: var(--yellow-soft); }
.btn-primary { background: var(--rose-dark); border-color: var(--rose-dark); color: #fff; }
.btn-primary:hover { background: var(--rose); color: #fff; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); background: radial-gradient(1200px 500px at 85% 10%, var(--yellow-soft), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 28px; }
.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 28px; padding: 0; margin: 0; }
.hero-stats strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 2rem; color: var(--rose-dark); line-height: 1; }
.hero-stats span { font-size: .88rem; color: var(--muted); }
.hero-art { margin: 0; text-align: center; }
.hero-art figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.rose-wheel { width: min(420px, 100%); height: auto; }
.rose-wheel .ring { fill: none; stroke: var(--line); stroke-width: 1.5; }
.rose-wheel .ring-soft { stroke-dasharray: 4 6; }
.rose-wheel .petal { fill: var(--yellow); stroke: var(--gold-dark); stroke-width: 1.4; opacity: .9; }
.rose-wheel .petal-rose { fill: #e7a6ad; stroke: var(--rose-dark); }
.rose-wheel .petal-bud { fill: var(--surface); stroke-dasharray: 5 4; }
.rose-wheel .loom { fill: var(--gold-dark); }
.rose-wheel .loom-label { fill: var(--surface); font: 600 13px var(--font-body); }
.rose-wheel .petal-label { fill: var(--rose-dark); font: 600 13px var(--font-body); }
@media (prefers-reduced-motion: no-preference) {
  .rose-wheel .petals { transform-origin: center; animation: wheel 90s linear infinite; }
  @keyframes wheel { to { transform: rotate(360deg); } }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-yellow { background: linear-gradient(180deg, var(--yellow-soft), var(--cream)); }
.section-soft { background: var(--surface); border-top: 1px solid var(--line); }
.vision-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; margin-top: 18px; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.facts .cite { display: block; margin-top: 4px; }
.values { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); align-self: start; }
.values ol { padding-left: 1.3em; margin: 0 0 12px; }
.values li { padding: 3px 0; font-weight: 500; }

/* Six flowers */
.flowers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px 0 8px; }
.flower { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.flower h3 span { display: block; font: 600 .82rem var(--font-body); color: var(--muted); margin-top: 4px; }
.flower[data-flower="Rose"] { border-color: var(--rose); background: linear-gradient(180deg, #fff, var(--rose-soft)); }
/* JS-enhanced wheel: one flower shown at a time */
.flowers.is-tabbed { display: grid; grid-template-columns: minmax(300px, 460px) 1fr; align-items: center; gap: 40px; }
/* The wheel follows The Weave's own six-flower view: flower faces on a vine ring */
.flower-wheel { position: relative; width: 100%; aspect-ratio: 1; max-width: 460px; margin: 16px auto; container-type: inline-size; }
.flower-vine { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.vine-stem { fill: none; stroke: #839667; stroke-width: .8; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.vine-branch { stroke: #6f8a5a; stroke-width: .55; }
.vine-leaf { transform-box: fill-box; transform-origin: 0 100%; }
.flower-wheel button { position: absolute; width: 24%; aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer; transform: translate(-50%, -50%); transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), filter .35s; color: var(--text); -webkit-tap-highlight-color: transparent; }
.flower-face { position: absolute; inset: -9%; width: 118%; height: 118%; max-width: none; overflow: visible; filter: drop-shadow(0 6px 8px rgba(92, 81, 53, .25)); transition: transform .6s ease; }
.flower-core { position: absolute; inset: 17%; display: grid; place-content: center; text-align: center; border-radius: 50%; background: #fffdf1; box-shadow: inset 0 0 0 1.5px rgba(115, 88, 24, .35); padding: 2px; }
.flower-sym { color: var(--flower); font-size: 3.6cqw; line-height: 1; }
.flower-name { font: 400 2.85cqw/1.1 var(--font-display); color: var(--text); white-space: nowrap; }
.flower-tag { font: 700 1.9cqw/1.2 var(--font-body); letter-spacing: .08em; color: var(--rose-dark); }
.flower-wheel button:hover { transform: translate(-50%, -50%) scale(1.07); }
.flower-wheel button:hover .flower-face { transform: rotate(22.5deg); }
.flower-wheel button[aria-selected="true"] { transform: translate(-50%, -50%) scale(1.14); z-index: 2; }
.flower-wheel button[aria-selected="true"] .flower-face { filter: drop-shadow(0 0 10px color-mix(in srgb, var(--flower) 70%, #fff)) drop-shadow(0 8px 12px rgba(92, 81, 53, .35)); }
.flower-wheel button[aria-selected="true"] .flower-core { box-shadow: inset 0 0 0 2.5px var(--flower); }
.flower-wheel button:focus-visible { outline: none; }
.flower-wheel button:focus-visible .flower-core { outline: 3px solid var(--rose); outline-offset: 3px; }
.flower-wheel button.is-loom { width: 30%; }
.flower-wheel button.is-loom .flower-face { inset: -6%; width: 112%; height: 112%; }
.loom-glow { fill: #f0dc9a; stroke: #fff8d8; stroke-width: 8; }
.flower-wheel button.is-loom .flower-core { inset: 12%; background: radial-gradient(circle at 50% 40%, #fbf0c4, #ecd388); }
.flower-wheel button.is-loom .flower-sym { font-size: 5cqw; color: var(--flower); }
.flower-wheel button.is-loom .flower-name { font-size: 3.4cqw; }
.flowers.is-tabbed .flower { display: none; }
.flowers.is-tabbed .flower.is-shown { display: block; padding: 28px; box-shadow: var(--shadow); border-color: var(--flower); border-top: 5px solid var(--flower); background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--flower) 9%, #fffdf4)); }
.flowers.is-tabbed .flower.is-shown h3 { color: var(--flower); }
@media (prefers-reduced-motion: no-preference) {
  .vine-stem { transition: stroke-dashoffset 2.2s cubic-bezier(.4, 0, .2, 1); }
  .vine-branch { transition-delay: .8s; }
  .vine-leaf { transition: transform .7s cubic-bezier(.3, 1.5, .5, 1) calc(.6s + var(--i) * 45ms), opacity .4s calc(.6s + var(--i) * 45ms); animation: leaf-sway 5s ease-in-out calc(1.8s + var(--i) * 45ms) infinite; }
  .flower-wheel.vine-wait .vine-stem { stroke-dashoffset: 1; }
  .flower-wheel.vine-wait .vine-leaf { transform: scale(0); opacity: 0; animation: none; }
  .flower-wheel button[aria-selected="true"] .flower-face { animation: flower-breathe 4s ease-in-out infinite; }
}
@keyframes leaf-sway { 50% { transform: rotate(6deg); } }
@keyframes flower-breathe { 50% { transform: rotate(10deg) scale(1.04); } }
.weave-doors { margin-top: 40px; }
.door-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.door-list a { display: block; height: 100%; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
.door-list a:hover { border-color: var(--gold); transform: translateY(-2px); }
.door-list strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; }
.door-list span { font-size: .9rem; color: var(--muted); }

/* Ecosystem map */
.map-frame { background: #faf0c9; border: 1px solid var(--line); border-radius: var(--radius); padding: 0; margin: 24px 0 20px; box-shadow: var(--shadow); overflow: hidden; }
/* Solar map: Eagle Lion Kobra as the sun, each website a planet on an orbit (SMIL animateMotion).
   elk.js pauses the sky on hover or focus, and keeps it still for reduced motion. */
.solar { display: block; width: 100%; height: auto; }
.solar .sky { fill: url(#sky-bg); }
.sky-stars circle { fill: var(--gold); opacity: .45; }
.orbits .orbit { fill: none; stroke: rgba(115, 88, 24, .38); stroke-width: 1.3; stroke-dasharray: 3 6; }
.sun-glow { fill: url(#sun-glow); }
.sun-body { fill: url(#sun-grad); stroke: #fff8dc; stroke-width: 3; filter: drop-shadow(0 0 16px rgba(163, 69, 85, .35)) drop-shadow(0 6px 14px rgba(115, 88, 24, .3)); }
.sun-rays path { fill: #c9771e; opacity: .7; }
.sun-name { font: 400 17px var(--font-display); fill: #4a1d26; letter-spacing: .02em; }
.sun:focus-visible { outline: none; }
.sun:focus-visible .sun-body { stroke: var(--rose); stroke-width: 5; }
.planet { cursor: pointer; }
.pl-body { fill: var(--pl); stroke: #fffdf4; stroke-width: 2; filter: drop-shadow(0 4px 6px rgba(80, 64, 20, .25)); transition: transform .25s; transform-box: fill-box; transform-origin: center; }
.pl-halo { fill: var(--pl); opacity: .14; transition: opacity .25s; }
.pl-ring { fill: none; stroke: var(--gold-dark); stroke-width: 1.8; }
.planet.is-folder .pl-ring { stroke: var(--muted); stroke-dasharray: 4 4; }
.pl-glyph { fill: var(--ink); stroke: none; pointer-events: none; }
.pl-glyph .pl-line { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.pl-glyph .pl-ball { fill: #fffcf5; }
.pl-glyph .pl-choc { fill: #3b1f17; }
.pl-name { font: 700 13px var(--font-body); fill: var(--text); paint-order: stroke; stroke: #fffbe9; stroke-width: 4px; pointer-events: none; }
.planet:hover .pl-body, .planet:focus-visible .pl-body, .planet.is-lit .pl-body { transform: scale(1.15); }
.planet:hover .pl-halo, .planet:focus-visible .pl-halo, .planet.is-lit .pl-halo { opacity: .55; }
.planet:focus-visible { outline: none; }
.planet:focus-visible .pl-ring { stroke: var(--rose); stroke-width: 3; }
.solar.has-focus .planet:not(.is-lit) { opacity: .45; }
.solar.has-focus .planet.is-lit .pl-ring { stroke: var(--rose-dark); stroke-width: 2.4; }
.solar .planet { transition: opacity .25s; }
@media (prefers-reduced-motion: no-preference) {
  .sun-rays { animation: sig-spin 60s linear infinite; transform-box: fill-box; transform-origin: center; }
  .sky-stars circle { animation: sig-twinkle 3.6s ease-in-out var(--d) infinite; }
  .sun-glow { animation: sun-pulse 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
}
@keyframes sun-pulse { 50% { transform: scale(1.08); opacity: .8; } }
@media (max-width: 640px) {
  .pl-name { font-size: 22px; stroke-width: 5px; }
  .sun-name { font-size: 19px; }
}
.map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .85rem; color: var(--muted); padding: 6px 8px 2px; }
.lg { display: inline-block; width: 18px; height: 18px; border: 2px solid var(--gold); border-radius: 50%; vertical-align: middle; }
.lg-folder { border: 2px dashed var(--muted); }
.relations { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.relations li { padding-left: 18px; position: relative; }
.relations li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.relations .cite { display: block; }
.sr-heading { font-size: 1.15rem; }

/* Journey stations */
.journey { position: relative; overflow: hidden; }
.journey-rail { position: sticky; top: calc(var(--header-h) + 8px); z-index: 20; margin: 18px 0 8px; }
.journey-rail ol { list-style: none; display: flex; gap: 8px; overflow-x: auto; padding: 8px; margin: 0; background: rgba(255, 253, 244, .94); border: 1px solid var(--line); border-radius: 999px; scrollbar-width: none; width: max-content; max-width: 100%; }
.journey-rail ol::-webkit-scrollbar { display: none; }
.journey-rail a { display: block; white-space: nowrap; padding: 6px 13px; border-radius: 999px; text-decoration: none; color: var(--text); font-size: .88rem; font-weight: 600; }
.journey-rail a:hover { background: var(--yellow-soft); }
.journey-rail a.is-active { background: var(--rose-dark); color: #fff; }
.stations { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: clamp(90px, 14vh, 150px); position: relative; z-index: 2; }
.station { display: grid; grid-template-columns: repeat(12, 1fr); }
.station-card { grid-column: 1 / span 7; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); transition: border-color .4s, box-shadow .4s, transform .4s; }
.station:nth-child(even) .station-card { grid-column: 6 / span 7; }
.station.is-active .station-card { border-color: var(--gold); box-shadow: 0 16px 40px rgba(115, 88, 24, .16), 0 0 0 4px rgba(244, 229, 168, .7); }
.station-card h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.station-card h3 a { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.station-card h3 a:hover { color: var(--rose-dark); }
.station-logo { width: 40px; height: 30px; color: var(--gold-dark); }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.badge { display: inline-block; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin: 0; }
.badge-doc { background: var(--yellow); color: var(--gold-dark); }
.badge-folder { background: #ece7d6; color: var(--muted); }
.badge-soon { background: var(--rose-soft); color: var(--rose-dark); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 16px; }
.chips li { font-size: .8rem; padding: 3px 10px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); }
.station-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 14px 0 0; margin: 0; border-top: 1px solid var(--line); }
.station-links a { font-weight: 600; font-size: .95rem; }
.station-links a::after { content: " →"; }

/* Station signatures: each card opens with a scene in its child website's own palette.
   The scene draws itself the first time the dragonfly reaches the card (.is-seen, set by
   dragonfly-journey.js) and moves while the card is active. Without JS or with reduced
   motion the scene is simply shown, complete and still. */
[data-brand="weave"] { --bg: #eef2e1; --b1: #3f6b2f; --b2: #6b4a2a; --b3: #c9971f; }
[data-brand="melipona"] { --bg: #f3e9d2; --b1: #213342; --b2: #d99932; --b3: #4f7756; }
[data-brand="nap"] { --bg: #f5f3ee; --b1: #15171a; --b2: #ba1e2d; --b3: #8b8f94; }
[data-brand="pantala"] { --bg: #f7efdc; --b1: #6b4a2a; --b2: #c9971f; --b3: #3f6b2f; }
[data-brand="skynetwork"] { --bg: #e9efe6; --b1: #1f3b2d; --b2: #e3a857; --b3: #6b4410; }
[data-brand="saharacup"] { --bg: #fbf1dc; --b1: #1f2a44; --b2: #e8a33d; --b3: #5e8a4e; }
[data-brand="ritu"] { --bg: #f3e7dc; --b1: #3b1f17; --b2: #c7a35a; --b3: #6e4a2e; }
[data-brand="leo"] { --bg: #17243a; --b1: #246348; --b2: #d8b96f; --b3: #173d35; }
.station-card { border-top: 4px solid var(--b2, var(--gold)); }
.station.is-active .station-card { border-top-color: var(--b2, var(--gold)); }
.station-card h3 a:hover { color: var(--b2, var(--rose-dark)); }
.station-card .station-logo { width: 34px; height: 34px; flex: none; border-radius: 8px; }
.scene { display: block; width: calc(100% + 2 * clamp(22px, 3vw, 34px)); max-width: none; height: auto; aspect-ratio: 600 / 160; margin: calc(-1 * clamp(22px, 3vw, 34px)) calc(-1 * clamp(22px, 3vw, 34px)) 20px; border-radius: calc(var(--radius) - 4px) calc(var(--radius) - 4px) 0 0; background: var(--bg); }
.scene .ln, .scene .ln2, .scene .ln3 { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.scene .ln { stroke: var(--b1); }
.scene .ln2 { stroke: var(--b2); }
.scene .ln3 { stroke: var(--b3); }
.scene .thin { stroke-width: 1.4; }
.scene .dash { stroke-dasharray: 7 8; }
.scene .dash-w { stroke-dasharray: 12 10; stroke-width: 3; }
.scene .fl0 { fill: var(--bg); }
.scene .fl1 { fill: var(--b1); }
.scene .fl2 { fill: var(--b2); }
.scene .fl3 { fill: var(--b3); }
.scene .soft { opacity: .22; }
.scene .net { opacity: .55; }
.scene .rotor { fill: var(--b1); opacity: .55; }
.scene .mesh-node { fill: var(--b2); }
.scene .star { fill: var(--b2); }
.scene .spin, .scene .spin-slow, .scene .rotor, .scene .grow, .scene .roll, .scene .hover, .scene .buzz, .scene .takeoff, .scene .glide, .scene .snap, .scene .mesh-node, .scene .film { transform-box: fill-box; transform-origin: center; }
.scene .grow { transform-origin: 50% 100%; }

@media (prefers-reduced-motion: no-preference) {
  .scene .sd { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s cubic-bezier(.4, 0, .2, 1) var(--d, 0s); }
  .scene .fade { transition: opacity .9s ease calc(.5s + var(--d, 0s)); }
  .scene .soft.fade { transition-property: opacity; }
  .scene .grow { transition: transform 1.1s cubic-bezier(.3, 1.4, .5, 1) calc(.4s + var(--d, 0s)); }
  .journey.sig-anim .station:not(.is-seen) .scene .sd { stroke-dashoffset: 1; }
  .journey.sig-anim .station:not(.is-seen) .scene .fade { opacity: 0; }
  .journey.sig-anim .station:not(.is-seen) .scene .grow { transform: scaleY(0); }

  .station.is-active .scene .spin { animation: sig-spin 2.4s linear infinite; }
  .station.is-active .scene .spin-slow { animation: sig-spin 18s linear infinite; }
  .station.is-active .scene .rotor { animation: sig-rotor .18s linear infinite; }
  .station.is-active .scene .hover { animation: sig-hover 3.2s ease-in-out infinite; }
  .station.is-active .scene .buzz { animation: sig-buzz 4s ease-in-out infinite; }
  .station.is-active .scene .takeoff { animation: sig-takeoff 5s ease-in-out infinite; }
  .station.is-active .scene .glide { animation: sig-glide 6s ease-in-out infinite; }
  .station.is-active .scene .film { animation: sig-film 3s linear infinite; }
  .station.is-active .scene .mesh-node { animation: sig-pulse 2.2s ease-in-out infinite; }
  .station.is-active .scene .roll { animation: sig-roll 4.5s cubic-bezier(.45, .05, .4, 1) infinite; }
  .station.is-active .scene .snap { animation: sig-snap 3.6s ease-in-out infinite; }
  .station.is-active .scene .star { animation: sig-twinkle 2.6s ease-in-out var(--d, 0s) infinite; }
  .station.is-active .scene .infinity { stroke-dasharray: .7 .3; animation: sig-trace 6s linear infinite; }
  .station.is-active .scene .grow { animation: sig-sway 3.4s ease-in-out calc(1.5s + var(--d, 0s)) infinite; }
}
@keyframes sig-spin { to { transform: rotate(360deg); } }
@keyframes sig-rotor { 50% { transform: scaleX(.25); } }
@keyframes sig-hover { 50% { transform: translateY(-7px); } }
@keyframes sig-buzz { 25% { transform: translate(-22px, -8px); } 50% { transform: translate(-40px, 6px); } 75% { transform: translate(-14px, 10px); } }
@keyframes sig-takeoff { 0% { transform: translate(-60px, 10px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translate(180px, -30px); opacity: 0; } }
@keyframes sig-glide { 50% { transform: translate(40px, -10px) rotate(3deg); } }
@keyframes sig-film { to { transform: translateX(-28px); } }
@keyframes sig-pulse { 50% { transform: scale(1.7); opacity: .5; } }
@keyframes sig-roll { 0%, 10% { transform: translateX(0) rotate(0); } 70%, 100% { transform: translateX(380px) rotate(720deg); } }
@keyframes sig-snap { 0%, 30%, 100% { transform: translateX(0) rotate(0); } 55%, 80% { transform: translateX(14px) rotate(8deg); } }
@keyframes sig-twinkle { 50% { opacity: .25; } }
@keyframes sig-trace { to { stroke-dashoffset: -1; } }
@keyframes sig-sway { 50% { transform: rotate(3deg); } }

.station-ties { font-size: .9rem; color: var(--muted); margin: -4px 0 14px; }
.station-ties span { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; margin-right: 4px; }

/* Sitemap as a tree: each website is a folder that opens to show its pages */
.tree-tools { display: flex; gap: 8px; margin: 0 0 14px; }
.tree-tools button { font: 600 .82rem var(--font-body); color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 999px; padding: 5px 13px; cursor: pointer; opacity: .85; }
.tree-tools button:hover { opacity: 1; }
.tree, .tree ul { list-style: none; margin: 0; padding: 0; }
.tree { font: 15px/1.5 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; columns: 2 320px; column-gap: 40px; }
.tree > li { break-inside: avoid; padding: 2px 0; }
.tree summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 10px; padding: 3px 6px; border-radius: 6px; }
.tree summary::-webkit-details-marker { display: none; }
.tree summary::before { content: "▸"; display: inline-block; width: 1ch; transition: transform .2s; }
.tree details[open] > summary::before { transform: rotate(90deg); }
.tree summary:hover { background: rgba(255, 255, 255, .08); }
.tree .tree-dir { font-weight: 700; }
.tree .tree-count { opacity: .65; font-size: .85em; }
.tree details ul { margin: 2px 0 8px 1.15ch; }
.tree details li { position: relative; padding-left: 4ch; }
.tree details li::before { content: "├──"; position: absolute; left: 0; opacity: .5; }
.tree details li:last-child::before { content: "└──"; }
.tree details a { text-decoration: none; }
.tree details a:hover { text-decoration: underline; }
.tree .tree-file { opacity: .6; margin-left: 1ch; font-size: .85em; }

/* Directory */
.directory [data-brand] a { border-top: 3px solid var(--b2); }
.directory-tools { display: grid; gap: 14px; margin: 20px 0; }
.search { display: grid; gap: 6px; max-width: 460px; font-weight: 600; font-size: .9rem; }
.search input { font: 1rem var(--font-body); padding: 12px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); }
.search input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px var(--yellow); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { font: 600 .88rem var(--font-body); padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.filter:hover { border-color: var(--gold); }
.filter.is-on { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.dir-count { font-size: .9rem; color: var(--muted); margin: 0; }
.directory { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.directory li[hidden] { display: none; }
.directory a { display: block; height: 100%; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--text); }
.directory a:hover { border-color: var(--gold); }
.directory strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; }
.directory span { font-size: .9rem; color: var(--muted); }
.journeys-title { font-size: 1.6rem; }
.journeys { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.route { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.route h4 { font-size: 1.15rem; }
.route ol { list-style: none; padding: 0; margin: 0 0 12px; counter-reset: step; }
.route li { counter-increment: step; position: relative; padding: 0 0 12px 36px; }
.route li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); color: var(--gold-dark); font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.route li:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 26px; bottom: 2px; border-left: 2px dotted var(--gold); }

/* Rose registry */
.rose-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 22px; }
.rose-list summary { cursor: pointer; font-weight: 700; padding: 14px 0; color: var(--rose-dark); }
.brands { list-style: none; padding: 0 0 18px; margin: 0; columns: 3 260px; column-gap: 28px; }
.brands li { break-inside: avoid; padding: 7px 0; border-bottom: 1px dotted var(--line); }
.brands a, .brands span { font-weight: 600; }
.brands small { display: block; color: var(--muted); font-size: .84rem; }

/* Research */
.research { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.research-card { border: 1.5px dashed var(--line); border-radius: 16px; padding: 22px; background: var(--cream); }
.research-card .badge { margin-bottom: 12px; }
.stack { font-size: .85rem; color: var(--muted); margin: 0; }

/* Footer sitemap */
.site-footer { background: #2e2a1f; color: #efe8d2; padding: 64px 0 36px; }
.site-footer h2 { color: #fff; }
.site-footer a { color: #f4e5a8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.sitemap { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px; margin-top: 20px; }
.sitemap h3 { font-size: 1.1rem; color: #fff; margin-bottom: 10px; }
.sitemap ul { list-style: none; padding: 0; margin: 0 0 16px; }
.sitemap li { padding: 3px 0; font-size: .92rem; }
.sitemap .soon-heading { font-size: .95rem; margin-top: 8px; color: #e7c1c6; }
.sitemap .soon li { color: #bdb49a; }
.footer-note { margin: 36px 0 0; padding-top: 20px; border-top: 1px solid #4a4433; font-size: .85rem; color: #bdb49a; }

/* Responsive */
@media (max-width: 980px) {
  .menu-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 10px 16px 16px; }
  .site-nav a { padding: 12px 14px; }
  .no-js .site-nav { display: block; position: static; box-shadow: none; border: 0; background: none; }
  .no-js .site-nav ul { flex-direction: row; padding: 0; }
  .no-js .menu-toggle { display: none; }
  .no-js .header-row { flex-wrap: wrap; }
}
@media (max-width: 860px) {
  .hero-grid, .vision-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .rose-wheel { width: min(260px, 70%); }
  .flowers.is-tabbed { grid-template-columns: 1fr; }
  .station-card, .station:nth-child(even) .station-card { grid-column: 1 / -1; }
  .journey.has-flight .station-card { margin-left: 44px; }
  .stations { gap: 72px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand small { display: none; }
}
@media print {
  .site-header, .journey-rail, .df-layer { display: none !important; }
}

/* Dragonfly Journey (assets/js/dragonfly-journey.js) */
.df-layer { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.df-path { position: absolute; left: 0; top: 0; overflow: visible; }
.df-track { fill: none; stroke: var(--line); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.df-trail { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; opacity: .75; filter: drop-shadow(0 0 4px rgba(244, 229, 168, .9)); }
.df-stop circle { fill: var(--surface); stroke: var(--gold); stroke-width: 2; transform-box: fill-box; transform-origin: center; transition: transform .5s ease, fill .4s, stroke .4s, opacity .4s; }
.df-stop.is-on circle { transform: scale(7); fill: rgba(244, 229, 168, .45); stroke: rgba(177, 138, 41, .35); stroke-width: .4; }
.df { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; z-index: 3; text-decoration: none; will-change: transform; }
.df-bob { position: absolute; left: -48px; top: -40px; width: 96px; height: 80px; display: block; pointer-events: auto; cursor: pointer; }
.df-rot { display: block; width: 100%; height: 100%; will-change: transform; }
.df-svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 3px 4px rgba(80, 64, 20, .25)); }
.df-wings path:not(.df-vein) { fill: rgba(255, 250, 230, .72); stroke: #b18a29; stroke-width: .9; }
.df-spot { fill: #b18a29; }
.df-vein, .df-seg { stroke: rgba(115, 88, 24, .5); stroke-width: .7; fill: none; }
.df-seg { stroke: rgba(255, 253, 244, .55); }
.df-wings { transform-box: fill-box; }
.df-wings-top { transform-origin: 50% 100%; }
.df-wings-bottom { transform-origin: 50% 0%; }
.df-label { position: absolute; left: 0; top: -46px; transform: translate(-50%, -100%) translateY(6px); white-space: nowrap; background: var(--surface); color: var(--text); border: 1px solid var(--gold); border-radius: 999px; padding: 4px 12px; font: 600 .82rem var(--font-body); box-shadow: var(--shadow); opacity: 0; transition: opacity .35s, transform .35s; }
.df.is-docked .df-label { opacity: 1; transform: translate(-50%, -100%); }
@media (prefers-reduced-motion: no-preference) {
  .df-wings-top { animation: df-flap-top .16s ease-in-out infinite alternate; }
  .df-wings-bottom { animation: df-flap-bottom .16s ease-in-out infinite alternate; animation-delay: -.08s; }
  .df:not(.is-flying) .df-wings { animation-duration: .5s; }
  .df.is-docked:not(.is-flying) .df-bob { animation: df-hover 3.2s ease-in-out infinite; }
  @keyframes df-flap-top { to { transform: scaleY(.55); } }
  @keyframes df-flap-bottom { to { transform: scaleY(.55); } }
  @keyframes df-hover {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(7px, -5px); }
    50% { transform: translate(0, -9px); }
    75% { transform: translate(-7px, -5px); }
  }
}
.df-reduced .df-trail { opacity: .45; }
@media (max-width: 860px) {
  .df-bob { left: -19px; top: -16px; width: 38px; height: 32px; }
  .df-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Eagle · Lion · Kobra emblems (inline SVG symbols in index.html) */
.sr-only-svg { position: absolute; width: 0; height: 0; overflow: hidden; }
.emb-line { fill: none; stroke: var(--gold-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.emb-fill { fill: var(--yellow); }
.emb-soft { fill: var(--surface); }
.emb-mane ellipse { fill: #efd27e; }
.emb-accent { fill: var(--rose-dark); stroke: var(--rose-dark); }
.emb-eye { fill: var(--text); stroke: none; }
.emb-tongue { stroke: var(--rose); }

/* Hero crest: the ELK logo itself, each animal a link to its name (assets/img/elk-logo.svg) */
.crest-logo { width: min(420px, 100%); height: auto; overflow: visible; filter: drop-shadow(0 18px 30px rgba(115, 88, 24, .18)); }
.crest-part { cursor: pointer; }
.crest-part:hover > g, .crest-part:focus-visible > g { filter: drop-shadow(0 0 6px rgba(163, 69, 85, .55)); }
.crest-part:focus-visible { outline: none; }
.crest-logo .wing-l, .crest-logo .wing-r { transform-box: view-box; transform-origin: 98px 100px; }
.crest-logo .logo-mane { transform-box: view-box; transform-origin: 100px 122px; }
@media (prefers-reduced-motion: no-preference) {
  .crest-logo .wing-l, .crest-logo .wing-r { animation: wing-beat 4.8s ease-in-out infinite; }
  .crest-logo .logo-hood { animation: hood-sway 5.5s ease-in-out infinite; }
  .crest-logo .logo-mane { animation: sig-spin 60s linear infinite; }
}
@keyframes wing-beat { 0%, 100% { transform: rotate(0); } 45% { transform: rotate(-7deg); } 60% { transform: rotate(2deg); } }
@keyframes hood-sway { 50% { transform: translateY(-3px); } }

/* The name section */
.section-name { background: linear-gradient(180deg, var(--surface), var(--cream)); border-top: 1px solid var(--line); }
.names { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0 22px; }
.name-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 22px; box-shadow: var(--shadow); overflow: hidden; }
.name-card:target { border-color: var(--rose); box-shadow: 0 0 0 4px var(--rose-soft), var(--shadow); }
.name-emblem { width: 92px; height: 92px; display: block; margin-bottom: 8px; }
.name-letter { position: absolute; right: 18px; top: 4px; margin: 0; font: 400 6.5rem/1 var(--font-display); color: var(--yellow); pointer-events: none; }
.name-card h3 { font-size: 1.7rem; position: relative; }
.name-card h3 span { font-size: 1.1rem; color: var(--rose-dark); }
.name-place { font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.name-card blockquote { margin: 0 0 12px; padding-left: 14px; border-left: 3px solid var(--gold); font-size: .98rem; }
.name-when { font-size: .9rem; color: var(--green); font-weight: 600; margin-bottom: 6px; }
.name-foot { max-width: 70ch; }
.name-foot strong { color: var(--rose-dark); font-family: var(--font-display); font-weight: 400; font-size: 1.15em; }
@media (max-width: 860px) {
  .names { grid-template-columns: 1fr; }
  .crest-svg { width: min(320px, 85%); }
}
