/* ============================================================
   lupin.day v2  -  Botanical telemetry / HUD overlay
   Palette:
     #F5E0D5 cream petal
     #722F37 burgundy stem
     #C87088 rose pink
     #5A7A50 leaf muted green
     #3A1520 dark wine
     #D4A848 gold pollen
     #FFFFFF glitch white
   Fonts:
     Playfair Display - logotype + headings
     Nunito           - body text
     Share Tech Mono  - HUD readouts
   ============================================================ */

:root {
    --cream: #F5E0D5;
    --burgundy: #722F37;
    --rose: #C87088;
    --leaf: #5A7A50;
    --wine: #3A1520;
    --pollen: #D4A848;
    --glitch: #FFFFFF;

    --burgundy-60: rgba(114, 47, 55, 0.6);
    --burgundy-30: rgba(114, 47, 55, 0.3);
    --burgundy-15: rgba(114, 47, 55, 0.15);
    --panel-fill: rgba(245, 224, 213, 0.85);
    --panel-fill-strong: rgba(245, 224, 213, 0.94);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    background: var(--cream);
    color: var(--wine);
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

body {
    position: relative;
    padding: 56px 32px 64px 32px;
    background:
        radial-gradient(ellipse at 18% 20%, rgba(200, 112, 136, 0.08), transparent 55%),
        radial-gradient(ellipse at 82% 78%, rgba(212, 168, 72, 0.07), transparent 55%),
        radial-gradient(ellipse at 50% 110%, rgba(90, 122, 80, 0.10), transparent 60%),
        var(--cream);
}

/* Subtle paper-grain texture using a layered repeating gradient */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    background:
        repeating-linear-gradient(0deg,
            rgba(114, 47, 55, 0.025) 0px,
            rgba(114, 47, 55, 0.025) 1px,
            transparent 1px,
            transparent 3px),
        repeating-linear-gradient(90deg,
            rgba(58, 21, 32, 0.018) 0px,
            rgba(58, 21, 32, 0.018) 1px,
            transparent 1px,
            transparent 4px);
    z-index: 1;
    mix-blend-mode: multiply;
}

/* ============================================================
   Botanical ground layer
   ============================================================ */
.botanical-ground {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    animation: groundFadeIn 1.2s ease-out 0.1s forwards;
}

.lupine {
    position: absolute;
    height: auto;
    opacity: 0.78;
    filter: drop-shadow(0 0 0.5px rgba(114, 47, 55, 0.2));
}

.lupine--alpha {
    width: 220px;
    height: 720px;
    top: -40px;
    left: -20px;
    transform: rotate(-3deg);
}

.lupine--beta {
    width: 220px;
    height: 720px;
    top: 40px;
    right: -30px;
    transform: rotate(2.5deg) scaleX(-1);
}

.lupine--gamma {
    width: 180px;
    height: 540px;
    top: 38vh;
    left: 50%;
    transform: translateX(-50%) rotate(1deg);
    opacity: 0.5;
}

@keyframes groundFadeIn {
    to { opacity: 1; }
}

/* Slow breathing motion for the lupines */
.lupine--alpha { animation: groundFadeIn 1.2s ease-out 0.1s forwards, breatheLeft 11s ease-in-out 1.5s infinite; }
.lupine--beta { animation: groundFadeIn 1.2s ease-out 0.1s forwards, breatheRight 13s ease-in-out 1.8s infinite; }
.lupine--gamma { animation: groundFadeIn 1.2s ease-out 0.1s forwards, breatheCenter 15s ease-in-out 2.2s infinite; }

@keyframes breatheLeft {
    0%, 100% { transform: rotate(-3deg) translateY(0); }
    50%      { transform: rotate(-2.4deg) translateY(-6px); }
}

@keyframes breatheRight {
    0%, 100% { transform: rotate(2.5deg) scaleX(-1) translateY(0); }
    50%      { transform: rotate(1.9deg) scaleX(-1) translateY(-5px); }
}

@keyframes breatheCenter {
    0%, 100% { transform: translateX(-50%) rotate(1deg) translateY(0); }
    50%      { transform: translateX(-50%) rotate(0.4deg) translateY(-4px); }
}

/* Stroke-draw effect for lupine line work */
.lupine path { stroke-dasharray: 1500; stroke-dashoffset: 1500; animation: drawLine 2.4s ease-out 0.3s forwards; }
.lupine .lupine-leaves path { animation-delay: 0.5s; animation-duration: 2.0s; }
.lupine .lupine-spike path { animation-delay: 0.9s; animation-duration: 2.0s; }
.lupine .lupine-rose path { animation-delay: 1.3s; animation-duration: 1.6s; }

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

/* ============================================================
   Wave-form decorative bands
   ============================================================ */
.wave-decor {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 110%;
    left: -5%;
    height: 80px;
    opacity: 0.22;
    color: var(--burgundy);
}

.wave--top { top: 32%; animation: waveDrift 22s linear infinite; }
.wave--mid { top: 68%; animation: waveDrift 28s linear infinite reverse; opacity: 0.18; }

@keyframes waveDrift {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100px); }
}

/* ============================================================
   Page-level reticules (HUD chrome)
   ============================================================ */
.reticule {
    position: fixed;
    width: 56px;
    height: 56px;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    animation: reticuleIn 0.6s ease-out 0.4s forwards;
}

.reticule svg { width: 100%; height: 100%; }

.reticule--tl { top: 14px; left: 14px; }
.reticule--tr { top: 14px; right: 14px; }
.reticule--bl { bottom: 14px; left: 14px; }
.reticule--br { bottom: 14px; right: 14px; }

@keyframes reticuleIn {
    from { opacity: 0; transform: scale(0.7); }
    to   { opacity: 1; transform: scale(1); }
}

/* ============================================================
   Top status bar
   ============================================================ */
.status-bar {
    position: fixed;
    top: 14px;
    left: 80px;
    right: 80px;
    height: 38px;
    z-index: 6;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.4fr 1fr;
    gap: 18px;
    padding: 0 18px;
    background: var(--panel-fill-strong);
    border: 1px solid var(--burgundy-60);
    align-items: center;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: rgba(114, 47, 55, 0.85);
    transform: translateY(-60px);
    opacity: 0;
    animation: statusIn 0.7s cubic-bezier(0.34, 1.4, 0.64, 1) 0.3s forwards;
}

@keyframes statusIn {
    to { transform: translateY(0); opacity: 1; }
}

.status-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    white-space: nowrap;
}

.status-cell--right { justify-content: flex-end; }

.status-tag {
    color: var(--burgundy);
    opacity: 0.55;
    font-weight: 400;
}

.status-val {
    color: var(--wine);
    font-weight: 400;
}

.link-ok {
    color: var(--leaf);
    position: relative;
    padding-left: 12px;
}

.link-ok::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 7px; height: 7px;
    background: var(--leaf);
    border-radius: 50%;
    transform: translateY(-50%);
    animation: pulseOk 1.6s ease-in-out infinite;
}

@keyframes pulseOk {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(90, 122, 80, 0.6); }
    50%      { opacity: 0.55; box-shadow: 0 0 0 4px rgba(90, 122, 80, 0); }
}

/* ============================================================
   Canvas + HUD panel base
   ============================================================ */
.canvas {
    position: relative;
    z-index: 4;
    max-width: 1280px;
    margin: 32px auto 32px auto;
    padding-top: 48px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(40px, auto);
    gap: 28px 24px;
}

.hud-panel {
    --panel-rotation: 0deg;
    position: relative;
    background: var(--panel-fill);
    border: 1px solid var(--burgundy-60);
    padding: 24px 26px 22px 26px;
    transform: rotate(var(--panel-rotation));
    box-shadow:
        0 1px 0 rgba(114, 47, 55, 0.12),
        0 12px 30px -18px rgba(58, 21, 32, 0.35);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hud-panel:hover {
    --panel-rotation: 0deg !important;
}

/* Corner brackets - L-shape */
.bracket {
    position: absolute;
    width: 14px;
    height: 14px;
    pointer-events: none;
}

.bracket::before,
.bracket::after {
    content: '';
    position: absolute;
    background: var(--burgundy);
}

.bracket::before { width: 14px; height: 1.5px; }
.bracket::after  { width: 1.5px; height: 14px; }

.bracket--tl { top: -1px; left: -1px; }
.bracket--tl::before { top: 0; left: 0; }
.bracket--tl::after  { top: 0; left: 0; }

.bracket--tr { top: -1px; right: -1px; }
.bracket--tr::before { top: 0; right: 0; }
.bracket--tr::after  { top: 0; right: 0; }

.bracket--bl { bottom: -1px; left: -1px; }
.bracket--bl::before { bottom: 0; left: 0; }
.bracket--bl::after  { bottom: 0; left: 0; }

.bracket--br { bottom: -1px; right: -1px; }
.bracket--br::before { bottom: 0; right: 0; }
.bracket--br::after  { bottom: 0; right: 0; }

/* Bracket draw-in animation */
.hud-panel .bracket::before { transform: scaleX(0); transform-origin: left center; animation: bracketGrowH 0.35s ease-out forwards; }
.hud-panel .bracket::after  { transform: scaleY(0); transform-origin: top center;  animation: bracketGrowV 0.35s ease-out forwards; }

.hud-panel .bracket--tl::before { animation-delay: 0.5s; transform-origin: left center; }
.hud-panel .bracket--tl::after  { animation-delay: 0.55s; transform-origin: top center; }
.hud-panel .bracket--tr::before { animation-delay: 0.6s; transform-origin: right center; }
.hud-panel .bracket--tr::after  { animation-delay: 0.65s; transform-origin: top center; }
.hud-panel .bracket--bl::before { animation-delay: 0.7s; transform-origin: left center; }
.hud-panel .bracket--bl::after  { animation-delay: 0.75s; transform-origin: bottom center; }
.hud-panel .bracket--br::before { animation-delay: 0.8s; transform-origin: right center; }
.hud-panel .bracket--br::after  { animation-delay: 0.85s; transform-origin: bottom center; }

@keyframes bracketGrowH { to { transform: scaleX(1); } }
@keyframes bracketGrowV { to { transform: scaleY(1); } }

/* Panel slide-in entry from edges */
.hud-panel { opacity: 0; }
.hud-panel.visible { animation: panelIn 0.6s cubic-bezier(0.34, 1.4, 0.64, 1) forwards; }
.hud-panel[data-edge="left"]   { transform: rotate(var(--panel-rotation)) translateX(-60px); }
.hud-panel[data-edge="right"]  { transform: rotate(var(--panel-rotation)) translateX(60px); }
.hud-panel[data-edge="top"]    { transform: rotate(var(--panel-rotation)) translateY(-40px); }
.hud-panel[data-edge="bottom"] { transform: rotate(var(--panel-rotation)) translateY(40px); }

@keyframes panelIn {
    to {
        opacity: 1;
        transform: rotate(var(--panel-rotation)) translate(0, 0);
    }
}

/* Glitch effect */
.hud-panel.glitching {
    animation: glitchShake 0.15s steps(2) forwards;
}

.hud-panel.glitching::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        transparent 0%, transparent 40%,
        rgba(255, 255, 255, 0.65) 41%, rgba(255, 255, 255, 0.65) 42%,
        transparent 43%, transparent 100%);
    pointer-events: none;
    animation: scanlineSweep 0.18s linear forwards;
    z-index: 2;
}

@keyframes glitchShake {
    0%   { transform: rotate(var(--panel-rotation)) translateX(0); clip-path: inset(0 0 0 0); }
    25%  { transform: rotate(var(--panel-rotation)) translateX(2px); clip-path: inset(30% 0 60% 0); }
    50%  { transform: rotate(var(--panel-rotation)) translateX(-2px); clip-path: inset(60% 0 25% 0); }
    75%  { transform: rotate(var(--panel-rotation)) translateX(1px); clip-path: inset(10% 0 75% 0); }
    100% { transform: rotate(var(--panel-rotation)) translateX(0); clip-path: inset(0 0 0 0); }
}

@keyframes scanlineSweep {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* Panel header convention */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: rgba(114, 47, 55, 0.8);
    border-bottom: 1px dashed var(--burgundy-30);
    padding-bottom: 10px;
    margin-bottom: 16px;
}

.panel-tag { font-weight: 400; }
.panel-meta { opacity: 0.7; }

.panel-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: clamp(20px, 2.4vw, 30px);
    color: var(--wine);
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.body-text {
    font-size: clamp(14px, 1vw, 16px);
    color: var(--wine);
    margin-bottom: 12px;
}

.body-text em {
    color: var(--burgundy);
    font-style: italic;
}

.readout {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.04em;
    color: rgba(114, 47, 55, 0.85);
}

/* ============================================================
   Panel placement (12-col grid)
   ============================================================ */
.hud-hero      { grid-column: 1 / span 8;  --panel-rotation: -1.1deg; }
.hud-intro     { grid-column: 9 / span 4;  --panel-rotation: 0.9deg; min-height: 360px; }
.hud-telemetry { grid-column: 1 / span 12; --panel-rotation: -0.6deg; }
.hud-scope     { grid-column: 1 / span 8;  --panel-rotation: 1.2deg; }
.hud-index     { grid-column: 9 / span 4;  --panel-rotation: -1.4deg; }
.hud-palette   { grid-column: 1 / span 5;  --panel-rotation: 0.7deg; }
.hud-log       { grid-column: 6 / span 7;  --panel-rotation: -0.8deg; }
.hud-floret    { grid-column: 1 / span 7;  --panel-rotation: 1.0deg; }
.hud-almanac   { grid-column: 8 / span 5;  --panel-rotation: -0.5deg; }
.hud-colophon  { grid-column: 1 / span 12; --panel-rotation: 0.6deg; }

/* ============================================================
   Hero panel
   ============================================================ */
.logotype {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: clamp(48px, 9vw, 128px);
    color: var(--wine);
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin: 18px 0 14px 0;
}

.logotype-word { color: var(--wine); }
.logotype-word--accent { color: var(--burgundy); font-style: italic; }
.logotype-dot { color: var(--rose); }

.tagline {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-style: italic;
    font-size: clamp(16px, 1.6vw, 22px);
    color: var(--burgundy);
    max-width: 540px;
    margin-bottom: 22px;
}

.panel-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px dashed var(--burgundy-30);
    padding-top: 12px;
}

#floret-count {
    color: var(--pollen);
    font-weight: 600;
}

/* ============================================================
   Telemetry gauges
   ============================================================ */
.gauges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 4px;
}

.gauge {
    text-align: center;
    padding: 12px 8px;
    border: 1px solid var(--burgundy-15);
    background: rgba(245, 224, 213, 0.5);
}

.gauge-svg {
    width: 100%;
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto 4px auto;
}

.gauge-arc {
    transition: stroke-dasharray 1.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gauge-needle {
    transform-origin: 60px 60px;
    transform: rotate(-90deg);
    transition: transform 1.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gauge-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--burgundy);
    opacity: 0.85;
    margin-top: 4px;
}

.gauge-value {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--wine);
    margin-top: 4px;
}

.gauge-unit {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 11px;
    color: var(--burgundy);
    margin-left: 2px;
}

/* ============================================================
   Scope panel
   ============================================================ */
.scope {
    display: grid;
    grid-template-columns: 1fr 140px;
    gap: 16px;
    align-items: stretch;
}

.scope-svg {
    width: 100%;
    height: 200px;
    background: rgba(245, 224, 213, 0.4);
    border: 1px solid var(--burgundy-15);
    display: block;
}

.scope-readouts {
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
    padding-left: 8px;
    border-left: 1px dashed var(--burgundy-30);
}

.scope-readout {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.scope-tag {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    color: rgba(114, 47, 55, 0.65);
    letter-spacing: 0.06em;
}

.scope-val {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--burgundy);
}

/* ============================================================
   Specimen index list
   ============================================================ */
.specimen-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.specimen-row {
    display: grid;
    grid-template-columns: 50px 1fr auto auto;
    gap: 10px;
    align-items: center;
    padding: 10px 6px;
    border-bottom: 1px dotted var(--burgundy-30);
    font-size: 13px;
    transition: background 0.18s ease;
}

.specimen-row:last-child { border-bottom: 0; }
.specimen-row:hover { background: rgba(200, 112, 136, 0.10); }

.specimen-id {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--burgundy);
    letter-spacing: 0.04em;
}

.specimen-name {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
    color: var(--wine);
}

.specimen-color {
    display: inline-flex;
    gap: 2px;
}

.specimen-color i {
    width: 12px; height: 12px;
    display: inline-block;
    border: 1px solid var(--burgundy-30);
}

.specimen-stat {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--burgundy);
    opacity: 0.85;
}

/* ============================================================
   Palette swatches
   ============================================================ */
.palette {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.swatch {
    padding: 14px 14px 14px 14px;
    border: 1px solid var(--burgundy-30);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 78px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.04em;
    transition: transform 0.25s ease;
}

.swatch:hover { transform: translateY(-2px); }

.swatch-tag { font-weight: 700; opacity: 0.85; }
.swatch-hex { opacity: 0.7; margin-top: 6px; }

/* ============================================================
   Logbook
   ============================================================ */
.log-stream {
    list-style: none;
    counter-reset: logline;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 240px;
    overflow: hidden;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11.5px;
    letter-spacing: 0.03em;
    color: var(--wine);
}

.log-stream li {
    display: grid;
    grid-template-columns: 70px 60px 1fr;
    gap: 12px;
    padding: 4px 0;
    border-bottom: 1px dotted var(--burgundy-15);
    opacity: 0;
    animation: logRowIn 0.25s ease-out forwards;
}

.log-stream li:last-child { border-bottom: 0; }

.log-time { color: var(--burgundy); opacity: 0.75; }
.log-tag {
    color: var(--leaf);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.log-tag--warn { color: var(--pollen); }
.log-tag--alert { color: var(--rose); }

@keyframes logRowIn {
    from { opacity: 0; transform: translateX(-6px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   Floret close-up
   ============================================================ */
.floret-figure {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 18px;
    align-items: start;
    padding-top: 4px;
}

.floret-svg {
    width: 100%;
    max-width: 240px;
    height: auto;
    border: 1px solid var(--burgundy-15);
    background: rgba(245, 224, 213, 0.35);
}

.floret-rings circle { transform-origin: 110px 110px; animation: floretSpin 60s linear infinite; }
.floret-rings circle:nth-child(2) { animation-duration: 80s; animation-direction: reverse; }
.floret-rings circle:nth-child(4) { animation-duration: 100s; }

@keyframes floretSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.floret-annot {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: start;
    padding: 8px 4px;
    border-bottom: 1px dotted var(--burgundy-15);
    font-size: 13px;
}

.floret-annot:last-child { border-bottom: 0; }

.annot-key {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--burgundy);
    color: var(--burgundy);
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    background: var(--cream);
}

.annot-text {
    color: var(--wine);
    line-height: 1.55;
}

/* ============================================================
   Almanac grid
   ============================================================ */
.almanac-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.almanac-cell {
    padding: 14px 12px;
    border: 1px solid var(--burgundy-15);
    background: rgba(245, 224, 213, 0.5);
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.almanac-cell:hover {
    border-color: var(--burgundy-60);
    transform: translateY(-2px);
}

.almanac-num {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 26px;
    color: var(--burgundy);
    letter-spacing: -0.01em;
    line-height: 1;
}

.almanac-tag {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    color: rgba(114, 47, 55, 0.7);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ============================================================
   Colophon
   ============================================================ */
.colophon-text {
    font-size: 14px;
    color: var(--wine);
    margin-bottom: 14px;
    max-width: 920px;
}

.colophon-text em {
    color: var(--burgundy);
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.colophon-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px dashed var(--burgundy-30);
    padding-top: 12px;
}

/* ============================================================
   Bottom HUD scrolling marquee
   ============================================================ */
.hud-strip {
    position: fixed;
    bottom: 14px;
    left: 80px;
    right: 80px;
    height: 32px;
    z-index: 6;
    background: var(--panel-fill-strong);
    border: 1px solid var(--burgundy-60);
    overflow: hidden;
    transform: translateY(60px);
    opacity: 0;
    animation: stripIn 0.7s cubic-bezier(0.34, 1.4, 0.64, 1) 0.5s forwards;
}

@keyframes stripIn {
    to { transform: translateY(0); opacity: 1; }
}

.strip-track {
    display: flex;
    height: 100%;
    align-items: center;
    white-space: nowrap;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--burgundy);
    animation: stripScroll 60s linear infinite;
}

.strip-track span {
    padding: 0 24px;
    flex-shrink: 0;
}

@keyframes stripScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .canvas {
        grid-template-columns: repeat(6, 1fr);
        gap: 22px 16px;
    }
    .hud-hero      { grid-column: 1 / span 6; }
    .hud-intro     { grid-column: 1 / span 6; min-height: auto; }
    .hud-telemetry { grid-column: 1 / span 6; }
    .hud-scope     { grid-column: 1 / span 6; }
    .hud-index     { grid-column: 1 / span 6; }
    .hud-palette   { grid-column: 1 / span 6; }
    .hud-log       { grid-column: 1 / span 6; }
    .hud-floret    { grid-column: 1 / span 6; }
    .hud-almanac   { grid-column: 1 / span 6; }
    .hud-colophon  { grid-column: 1 / span 6; }

    .gauges { grid-template-columns: repeat(2, 1fr); }
    .scope  { grid-template-columns: 1fr; }
    .scope-readouts {
        flex-direction: row;
        border-left: 0;
        border-top: 1px dashed var(--burgundy-30);
        padding-left: 0;
        padding-top: 8px;
    }
    .floret-figure { grid-template-columns: 1fr; }
    .floret-svg { max-width: 280px; margin: 0 auto; }

    .status-bar { left: 60px; right: 60px; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
    .status-bar .status-cell:nth-child(4),
    .status-bar .status-cell:nth-child(5) { display: none; }
    .hud-strip { left: 60px; right: 60px; }
}

@media (max-width: 640px) {
    body { padding: 64px 14px 56px 14px; }
    .canvas { gap: 18px 0; padding-top: 32px; }
    .lupine--gamma { display: none; }
    .lupine--alpha { width: 140px; height: 460px; opacity: 0.55; }
    .lupine--beta  { width: 140px; height: 460px; opacity: 0.55; }
    .reticule { width: 36px; height: 36px; }
    .status-bar { left: 14px; right: 14px; padding: 0 10px; gap: 8px; font-size: 10px; }
    .hud-strip { left: 14px; right: 14px; }
    .palette { grid-template-columns: 1fr; }
    .almanac-grid { grid-template-columns: repeat(2, 1fr); }
    .gauges { grid-template-columns: 1fr 1fr; }
    .specimen-row { grid-template-columns: 46px 1fr auto; }
    .specimen-row .specimen-color { display: none; }
    .logotype { font-size: clamp(40px, 16vw, 80px); }
}
