/* Brand meaning of "gush": hero definition card + "Why Gush" confluence figure. */

.brand-define { display: inline-flex; min-height: 44px; padding: 5px 6px 5px 18px; border: 1px solid var(--line-strong); border-radius: 999px; align-items: center; gap: 12px; color: var(--text-2); background: rgba(255, 255, 255, 0.03); font-size: 13px; line-height: 1.4; }
.brand-define .brand-head { display: inline-flex; align-items: baseline; gap: 10px; }
.brand-word { position: relative; color: var(--text-1); font-family: var(--font-mono); font-size: 15px; font-weight: 600; letter-spacing: 0.02em; }
.brand-wave { position: absolute; bottom: -7px; left: -1px; width: calc(100% + 2px); height: 6px; overflow: visible; }
.brand-wave path { fill: none; stroke: var(--brand-1); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; animation: wave-draw 1100ms var(--ease-out) 600ms both; }
.brand-ipa { color: var(--text-3); font-family: var(--font-mono); font-size: 13px; }
.brand-sep { width: 1px; height: 16px; background: var(--line-strong); }
.brand-gloss em { margin-right: 6px; color: var(--text-3); font-style: italic; }
.brand-gloss b { color: var(--text-1); font-weight: 600; }
.brand-say { display: inline-grid; width: 32px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 50%; place-items: center; color: var(--text-2); background: transparent; cursor: pointer; transition: color 160ms ease, border-color 160ms ease, background 160ms ease; }
.brand-say:hover { border-color: rgba(38, 220, 236, 0.45); color: var(--brand-1); background: rgba(38, 220, 236, 0.06); }
.brand-say[hidden] { display: none; }
.brand-say svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.brand-say .say-wave { opacity: 0.45; transition: opacity 160ms ease; }
.brand-say.is-playing { color: var(--brand-1); border-color: rgba(38, 220, 236, 0.45); }
.brand-say.is-playing .say-wave { animation: say-pulse 700ms ease-in-out infinite alternate; }
.brand-say.is-playing .say-wave + .say-wave { animation-delay: 180ms; }
.hero-meta a, .page-hero-meta a { color: var(--text-2); text-decoration: none; transition: color 160ms ease; }
.hero-meta a:hover, .page-hero-meta a:hover { color: var(--brand-1); }
.page-hero .brand-define { margin-bottom: 24px; }

/* Why Gush */
.why-gush { display: grid; align-items: center; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 88px); }
.why-gush .section-head { margin-bottom: 0; }
.meaning-list { display: grid; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.meaning-list li { display: grid; padding: 22px 0; border-bottom: 1px solid var(--line); grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
.meaning-list li > span { padding-top: 5px; color: var(--brand-1); font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; }
.meaning-list h3 { margin: 0; color: var(--text-1); font-size: 18px; font-weight: 600; line-height: 1.4; }
.meaning-list h3 small { margin-left: 8px; color: var(--text-3); font-family: var(--font-mono); font-size: 13px; font-weight: 400; }
.meaning-list p { margin: 6px 0 0; color: var(--text-2); font-size: 15px; line-height: 1.7; }
.brand-signature { margin: 32px 0 0; color: var(--text-1); font-size: clamp(22px, 2.2vw, 28px); font-weight: 650; line-height: 1.3; letter-spacing: -0.01em; }
.brand-signature span { display: block; margin-top: 4px; color: var(--text-3); font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; }

.gush-flow { margin: 0; padding: clamp(18px, 2.6vw, 32px); border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--bg-2); box-shadow: var(--shadow-card); }
.gush-flow svg { display: block; width: 100%; height: auto; overflow: visible; }
.gush-flow figcaption { margin-top: 14px; color: var(--text-3); font-size: 13px; text-align: center; }
.gush-flow text { font-family: var(--font-sans); }
.flow-chip rect { fill: var(--bg-1); stroke: var(--line-strong); }
.flow-chip text { fill: var(--text-1); font-size: 14px; font-weight: 600; }
.flow-base { fill: none; stroke: rgba(255, 255, 255, 0.09); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 0; }
.flow-stream { fill: none; stroke: url(#gushStream); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 10; }
.flow-hub circle.hub-core { fill: var(--bg-1); stroke: rgba(38, 220, 236, 0.5); stroke-width: 1.5; }
.flow-hub circle.hub-ring { fill: none; stroke: var(--brand-1); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.flow-hub, .flow-line { transform-box: fill-box; }
.flow-hub { transform-origin: center; }
.flow-hub .hub-label { fill: var(--text-2); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; }
.flow-card rect.card-body { fill: var(--bg-1); stroke: var(--line-strong); }
.flow-card .card-rule { stroke: var(--line); }
.flow-card .card-label { fill: var(--brand-1); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; }
.flow-card .card-status { fill: var(--text-3); font-family: var(--font-mono); font-size: 11px; }
.flow-card .card-dot { fill: var(--ok); }
.flow-line { fill: rgba(255, 255, 255, 0.13); transform-origin: left center; }
.flow-line.is-accent { fill: rgba(38, 220, 236, 0.55); }

html.reveal-on .gush-flow .flow-base { stroke-dashoffset: 1; }
html.reveal-on .gush-flow .flow-stream { opacity: 0; }
html.reveal-on .gush-flow .flow-hub { opacity: 0; transform: scale(0.82); }
html.reveal-on .gush-flow .flow-line { transform: scaleX(0); }
html.reveal-on .gush-flow.is-visible .flow-base { animation: flow-draw 1000ms var(--ease-out) var(--d, 0ms) forwards; }
html.reveal-on .gush-flow.is-visible .flow-stream { animation: flow-in 500ms ease var(--d, 0ms) forwards, flow-run 1.1s linear infinite; }
html.reveal-on .gush-flow.is-visible .flow-hub { animation: hub-in 600ms var(--ease-out) 550ms forwards; }
html.reveal-on .gush-flow.is-visible .hub-ring { animation: hub-ring 2.6s ease-out 1.2s infinite; }
html.reveal-on .gush-flow.is-visible .flow-line { animation: line-grow 700ms var(--ease-out) var(--d, 0ms) forwards; }

@keyframes wave-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes say-pulse { from { opacity: 0.3; } to { opacity: 1; } }
@keyframes flow-draw { to { stroke-dashoffset: 0; } }
@keyframes flow-in { to { opacity: 1; } }
@keyframes flow-run { to { stroke-dashoffset: -24; } }
@keyframes hub-in { to { opacity: 1; transform: none; } }
@keyframes hub-ring { 0% { opacity: 0.55; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes line-grow { to { transform: scaleX(1); } }

@media (max-width: 1024px) {
  .why-gush { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand-define { padding: 10px 14px; border-radius: var(--radius-lg); flex-wrap: wrap; justify-content: center; row-gap: 6px; }
  .brand-sep { display: none; }
  .brand-gloss { width: 100%; text-align: center; }
  .meaning-list li { grid-template-columns: 1fr; gap: 4px; }
}
