/* ============================================================================
   HEKA EVOLUTION — component & motion layer
   Loads after sacred.css. Celestial-instrument aesthetic:
   glass, gold hairlines, mono telemetry, Cinzel display, phi timings.
   ============================================================================ */

:root {
    --hka-gold: #d4af37;
    --hka-gold-bright: #f0d878;
    --hka-copper: #b87333;
    --hka-void: #040408;
    --hka-line: rgba(212, 175, 55, 0.16);
    --hka-line-strong: rgba(212, 175, 55, 0.38);
    --hka-panel: rgba(255, 255, 255, 0.03);
    --hka-text: #ece7db;
    --hka-dim: #9c9689;
    --hka-faint: #6b665c;
    --hka-mono: 'JetBrains Mono', monospace;
    --hka-serif: 'Cinzel', serif;
    --hka-wisdom: 'Cormorant Garamond', serif;
    --hka-blue: #5b8def;
    --hka-purple: #a06bf0;
    --hka-red: #e0564b;
    --hka-green: #3fae6a;
    --hka-ease: cubic-bezier(0.22, 0.9, 0.28, 1);
}

/* ---------------------------------------------------------------- SECTIONS */

.hka-sec {
    padding: clamp(76px, 10vw, 140px) 0;
    position: relative;
}

.hka-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

.hka-head {
    max-width: 780px;
    margin: 0 auto clamp(44px, 6vw, 72px);
    text-align: center;
}

.hka-head.left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.hka-eyebrow {
    font-family: var(--hka-mono);
    font-size: 0.66rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--hka-gold);
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.hka-eyebrow::before {
    content: '';
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hka-gold));
}

.hka-eyebrow::after {
    content: '';
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, var(--hka-gold), transparent);
}

.hka-head.left .hka-eyebrow::before {
    display: none;
}

.hka-title {
    font-family: var(--hka-serif);
    font-weight: 600;
    font-size: clamp(1.9rem, 4.4vw, 3.3rem);
    line-height: 1.1;
    letter-spacing: 0.01em;
    margin: 20px 0 18px;
    background: linear-gradient(180deg, #f7eed6 25%, var(--hka-gold) 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-wrap: balance;
}

.hka-head.left .hka-title {
    margin-left: 0;
}

.hka-sub {
    font-family: var(--hka-wisdom);
    font-style: italic;
    font-size: clamp(1.02rem, 1.6vw, 1.22rem);
    color: var(--hka-dim);
    line-height: 1.75;
    margin: 0;
}

.hka-sub b, .hka-sub strong {
    color: var(--hka-text);
    font-weight: 600;
}

/* ------------------------------------------------------------------- GLASS */

.hka-card {
    position: relative;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012) 55%);
    border: 1px solid var(--hka-line);
    border-radius: 16px;
    padding: clamp(22px, 3vw, 34px);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: transform 0.55s var(--hka-ease), border-color 0.55s, box-shadow 0.55s;
}

.hka-card:hover {
    transform: translateY(-5px);
    border-color: var(--hka-line-strong);
    box-shadow: 0 24px 60px -28px rgba(212, 175, 55, 0.35);
}

.hka-card-k {
    font-family: var(--hka-mono);
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--hka-gold);
}

.hka-card h3 {
    font-family: var(--hka-serif);
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--hka-text);
    margin: 0 0 10px;
    letter-spacing: 0.02em;
}

.hka-card p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--hka-dim);
    margin: 0;
}

.hka-card .hka-foot {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.hka-card.accent-blue { border-top: 2px solid var(--hka-blue); }
.hka-card.accent-gold { border-top: 2px solid var(--hka-gold); }
.hka-card.accent-purple { border-top: 2px solid var(--hka-purple); }
.hka-card.accent-red { border-top: 2px solid var(--hka-red); }
.hka-card.accent-green { border-top: 2px solid var(--hka-green); }

/* ------------------------------------------------------------------ CHIPS */

.hka-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hka-chip {
    font-family: var(--hka-mono);
    font-size: 0.63rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hka-gold);
    border: 1px solid var(--hka-line);
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.05);
    white-space: nowrap;
}

/* -------------------------------------------------------------- TELEMETRY */

.hka-tele {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 22px;
    font-family: var(--hka-mono);
    font-size: 0.63rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--hka-faint);
}

.hka-tele .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hka-gold);
    box-shadow: 0 0 10px var(--hka-gold);
    animation: hka-pulse 2.6s ease-in-out infinite;
    flex-shrink: 0;
}

.hka-tele b {
    color: var(--hka-text);
    font-weight: 500;
}

.hka-tele .sep {
    color: rgba(212, 175, 55, 0.25);
}

@keyframes hka-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

/* ------------------------------------------------------------------ STATS */

.hka-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--hka-line);
    border-bottom: 1px solid var(--hka-line);
}

.hka-stat {
    padding: clamp(20px, 3vw, 32px) clamp(16px, 2.5vw, 28px);
    border-left: 1px solid var(--hka-line);
}

.hka-stat:first-child {
    border-left: 0;
}

.hka-stat b {
    font-family: var(--hka-serif);
    font-weight: 600;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--hka-gold);
    display: block;
    line-height: 1.1;
    margin-bottom: 8px;
}

.hka-stat span {
    font-family: var(--hka-mono);
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--hka-faint);
    line-height: 1.7;
    display: block;
}

/* ----------------------------------------------------------------- BUTTONS */

.hka-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 17px 34px;
    font-family: var(--hka-mono);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.4s var(--hka-ease), box-shadow 0.4s, background 0.4s, color 0.4s, border-color 0.4s;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.hka-btn-gold {
    background: linear-gradient(180deg, var(--hka-gold-bright), var(--hka-gold));
    color: #191204;
    font-weight: 700;
    box-shadow: 0 10px 34px -12px rgba(212, 175, 55, 0.55);
}

.hka-btn-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s var(--hka-ease);
}

.hka-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 44px -12px rgba(212, 175, 55, 0.75);
}

.hka-btn-gold:hover::after {
    left: 130%;
}

.hka-btn-ghost {
    border-color: var(--hka-line-strong);
    color: var(--hka-gold);
    background: rgba(212, 175, 55, 0.04);
}

.hka-btn-ghost:hover {
    background: rgba(212, 175, 55, 0.12);
    transform: translateY(-2px);
}

/* ------------------------------------------------------------- INSTRUMENT */

.hka-instrument {
    position: relative;
    border-radius: 18px;
    border: 1px solid var(--hka-line);
    background: rgba(4, 4, 9, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    overflow: hidden;
    box-shadow: 0 28px 64px -32px rgba(0, 0, 0, 0.9);
}

.hka-instrument::before,
.hka-instrument::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-color: var(--hka-gold);
    border-style: solid;
    opacity: 0.55;
    z-index: 3;
    pointer-events: none;
}

.hka-instrument::before {
    top: 10px;
    left: 10px;
    border-width: 1px 0 0 1px;
}

.hka-instrument::after {
    bottom: 10px;
    right: 10px;
    border-width: 0 1px 1px 0;
}

.hka-instrument-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 20px;
    border-top: 1px solid var(--hka-line);
    font-family: var(--hka-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--hka-faint);
}

.hka-instrument-bar .live {
    color: var(--hka-gold);
}

/* -------------------------------------------------------------- FEATURE ROWS */

.hka-feats {
    display: flex;
    flex-direction: column;
}

.hka-feat {
    display: flex;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.09);
    align-items: flex-start;
}

.hka-feat:last-child {
    border-bottom: 0;
    padding-bottom: 4px;
}

.hka-feat-ico {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border: 1px solid var(--hka-line);
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: var(--hka-gold);
    background: rgba(212, 175, 55, 0.05);
    font-size: 1rem;
}

.hka-feat strong {
    font-family: var(--hka-serif);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--hka-text);
    display: block;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}

.hka-feat p {
    font-size: 0.9rem;
    color: var(--hka-dim);
    line-height: 1.65;
    margin: 0;
}

/* ---------------------------------------------------------------- COMPARE */

.hka-compare {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(20px, 3vw, 36px);
    align-items: stretch;
}

.hka-vs {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    align-self: center;
}

.hka-vs-line {
    width: 1px;
    height: 70px;
    background: linear-gradient(180deg, transparent, var(--hka-line-strong), transparent);
}

.hka-vs-sigil {
    width: 52px;
    height: 52px;
    border: 1px solid var(--hka-line-strong);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--hka-serif);
    font-size: 0.85rem;
    color: var(--hka-gold);
    background: rgba(212, 175, 55, 0.06);
    box-shadow: 0 0 30px -8px rgba(212, 175, 55, 0.4);
}

.hka-metric {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 13px 2px;
    border-bottom: 1px dashed rgba(212, 175, 55, 0.14);
}

.hka-metric:last-of-type {
    border-bottom: 0;
}

.hka-metric b {
    font-family: var(--hka-serif);
    font-size: 1.45rem;
    font-weight: 600;
    white-space: nowrap;
}

.hka-metric.gold b { color: var(--hka-gold); }
.hka-metric.red b { color: var(--hka-red); }

.hka-metric span {
    font-family: var(--hka-mono);
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--hka-faint);
    text-align: right;
}

.hka-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.hka-list li {
    display: flex;
    gap: 12px;
    align-items: baseline;
    padding: 8px 0;
    font-size: 0.92rem;
    color: var(--hka-dim);
    line-height: 1.55;
}

.hka-list li::before {
    content: '✦';
    color: var(--hka-gold);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.hka-list.gold li {
    color: var(--hka-text);
}

/* ------------------------------------------------------------- PHONE FRAME */

.hka-phone {
    position: relative;
    border-radius: 34px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    overflow: hidden;
    box-shadow:
        0 30px 64px -30px rgba(0, 0, 0, 0.9),
        0 0 52px -20px rgba(212, 175, 55, 0.4);
    background: #000;
}

.hka-phone img {
    display: block;
    width: 100%;
    height: auto;
}

.hka-phone::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 34%;
    height: 16px;
    border-radius: 999px;
    background: #000;
    border: 1px solid rgba(212, 175, 55, 0.18);
    z-index: 2;
}

@keyframes hka-float {
    0%, 100% { transform: perspective(1300px) rotateY(-9deg) rotateX(2.5deg) translateY(0); }
    50% { transform: perspective(1300px) rotateY(-6deg) rotateX(2.5deg) translateY(-14px); }
}

.hka-phone.float {
    animation: hka-float 7.5s ease-in-out infinite;
    transform: perspective(1300px) rotateY(-9deg) rotateX(2.5deg);
    transform-style: preserve-3d;
}

/* --------------------------------------------------------------- OBSERVATORY */

.hka-obs {
    overflow: hidden;
    background:
        radial-gradient(ellipse 95% 65% at 50% 115%, rgba(212, 175, 55, 0.09), transparent 62%),
        radial-gradient(ellipse 60% 45% at 85% 0%, rgba(153, 102, 204, 0.06), transparent 60%),
        #030307;
}

.hka-obs-stars {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hka-obs-constellation {
    position: absolute;
    top: 4%;
    right: -4%;
    width: min(56vw, 720px);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.hka-obs-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: clamp(40px, 6vw, 84px);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hka-obs-stage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hka-obs-glow {
    position: absolute;
    inset: 6% 2%;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.2), transparent 68%);
    pointer-events: none;
}

.hka-obs-stage .hka-phone {
    max-width: 300px;
    width: 72%;
}

.hka-obs-cap {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--hka-mono);
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--hka-faint);
    white-space: nowrap;
}

.hka-obs .hka-stats {
    position: relative;
    z-index: 2;
    margin-top: clamp(48px, 7vw, 84px);
}

/* --------------------------------------------------------------------- FAQ */

.hka-faq {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hka-faq details {
    border: 1px solid var(--hka-line);
    border-radius: 14px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008) 60%);
    backdrop-filter: blur(4px);
    overflow: hidden;
    transition: border-color 0.4s;
}

.hka-faq details[open] {
    border-color: var(--hka-line-strong);
}

.hka-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-family: var(--hka-serif);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--hka-text);
    letter-spacing: 0.02em;
    transition: color 0.3s;
}

.hka-faq summary::-webkit-details-marker {
    display: none;
}

.hka-faq summary:hover {
    color: var(--hka-gold-bright);
}

.hka-faq summary::after {
    content: '+';
    font-family: var(--hka-mono);
    font-size: 1.1rem;
    color: var(--hka-gold);
    flex-shrink: 0;
    transition: transform 0.4s var(--hka-ease);
}

.hka-faq details[open] summary::after {
    transform: rotate(45deg);
}

.hka-faq .hka-faq-a {
    padding: 0 26px 24px;
    color: var(--hka-dim);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* --------------------------------------------------------------- CTA BAND */

.hka-band {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--hka-line);
    border-radius: 22px;
    padding: clamp(44px, 7vw, 84px) clamp(24px, 5vw, 64px);
    text-align: center;
    background:
        radial-gradient(ellipse 90% 130% at 50% -30%, rgba(212, 175, 55, 0.16), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.hka-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(1px 1px at 20% 30%, rgba(212, 175, 55, 0.5), transparent 100%),
        radial-gradient(1px 1px at 75% 60%, rgba(212, 175, 55, 0.4), transparent 100%),
        radial-gradient(1.5px 1.5px at 45% 80%, rgba(255, 255, 255, 0.35), transparent 100%),
        radial-gradient(1px 1px at 90% 20%, rgba(212, 175, 55, 0.35), transparent 100%),
        radial-gradient(1px 1px at 8% 75%, rgba(255, 255, 255, 0.25), transparent 100%);
    pointer-events: none;
}

.hka-band-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin: 34px 0 30px;
    position: relative;
}

.hka-steps {
    max-width: 560px;
    margin: 0 auto;
    text-align: left;
    position: relative;
}

.hka-steps .hka-step {
    display: flex;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px dashed rgba(212, 175, 55, 0.13);
    color: var(--hka-dim);
    font-size: 0.93rem;
    line-height: 1.6;
    align-items: baseline;
}

.hka-steps .hka-step:last-child {
    border-bottom: 0;
}

.hka-steps .hka-step i {
    font-family: var(--hka-wisdom);
    font-style: normal;
    color: var(--hka-gold);
    font-size: 1.05rem;
    flex-shrink: 0;
    width: 26px;
}

/* ------------------------------------------------------------ GRID HELPERS */

.hka-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.hka-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.hka-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); }

.hka-split {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

/* ------------------------------------------------------------------ REVEAL */

.hka-rv {
    opacity: 0;
    transform: translateY(26px) scale(0.99);
    transition: opacity 0.8s ease, transform 0.8s var(--hka-ease);
}

.hka-rv.on {
    opacity: 1;
    transform: none;
}

.hka-rv.d1 { transition-delay: 0.08s; }
.hka-rv.d2 { transition-delay: 0.16s; }
.hka-rv.d3 { transition-delay: 0.24s; }
.hka-rv.d4 { transition-delay: 0.32s; }
.hka-rv.d5 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
    .hka-rv {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hka-phone.float {
        animation: none;
        transform: perspective(1300px) rotateY(-9deg) rotateX(2.5deg);
    }
    .hka-tele .dot { animation: none; }
}

/* ---------------------------------------------------- NAV SCROLL STATE */

.navbar.scrolled {
    background: rgba(4, 4, 8, 0.86);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    transition: background 0.4s ease, border-color 0.4s ease;
}

/* ------------------------------------------------- PERFORMANCE (MOBILE) */
/* backdrop-filter re-blurs every frame of anything scrolling beneath it —
   on phones that is the single biggest scroll-jank source on these pages.
   The kit's glass backgrounds read identically without it, so below 901px
   we drop the blur, slim the heavy shadows, and quiet the ambient motion. */

@media (max-width: 900px) {
    .hka-card,
    .hka-instrument,
    .hka-faq details,
    .feature-tile,
    .info-card,
    .temporal-page .info-card,
    .blog-callout {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .navbar.scrolled {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(4, 4, 8, 0.97);
    }

    .hka-phone {
        box-shadow:
            0 24px 54px -28px rgba(0, 0, 0, 0.85),
            0 0 44px -20px rgba(212, 175, 55, 0.35);
    }

    .hka-instrument {
        box-shadow: 0 22px 50px -30px rgba(0, 0, 0, 0.85);
    }
}

/* =================================================================== */
/* MOBILE EVOLUTION — compression + composition repair                 */
/* =================================================================== */

@media (max-width: 900px) {
    .hka-grid-3, .hka-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hka-split, .hka-obs-grid { grid-template-columns: 1fr; gap: 44px; }
    .hka-stats { grid-template-columns: repeat(2, 1fr); }
    .hka-stat:nth-child(odd) { border-left: 0; }
    .hka-stat:nth-child(n+3) { border-top: 1px solid var(--hka-line); }
    .hka-compare { grid-template-columns: 1fr; }
    .hka-vs { flex-direction: row; width: 100%; }
    .hka-vs-line { width: auto; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--hka-line-strong), transparent); }
    .hka-obs-stage { order: -1; }
    .hka-obs-stage .hka-phone { max-width: 250px; width: 66%; }
    .hka-obs-constellation { width: 110vw; right: -30%; opacity: 0.32; }
}

@media (max-width: 768px) {
    /* vertical rhythm — kill the dead space */
    .section { padding: 58px 0; }
    .section-header { margin-bottom: 34px; }
    .section-title, h2.section-title { font-size: 1.85rem !important; line-height: 1.16; }
    .section-subtitle { font-size: 1rem; }

    /* hero */
    .hero { min-height: auto; padding: 128px 0 56px; }
    .hero-content { gap: 34px; }
    .hero-seal { margin-bottom: 22px; }
    .seal-cell { padding: 13px 4px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }

    /* arc cards — compact horizontal */
    .arc-container { gap: 14px; margin: 30px 0; }
    .arc-card {
        text-align: left;
        padding: 18px 20px;
        display: flex;
        gap: 16px;
        align-items: flex-start;
    }
    .arc-card canvas.heka-medallion { width: 54px !important; height: 54px !important; flex-shrink: 0; margin: 0; }
    .arc-card .arc-name { margin-top: 0; font-size: 0.95rem; }
    .arc-card .arc-months { font-size: 0.78rem; }
    .arc-card .arc-energy { font-size: 0.68rem; }
    .arc-card p { margin-top: 8px !important; font-size: 0.85rem !important; }

    /* two-modes tablets */
    .section .tablet > div { padding: 24px !important; }
    .section .tablet h3 { font-size: 1.4rem !important; }

    /* pillars / compare legacy */
    .pillars { grid-template-columns: 1fr; gap: 22px; }
    .pillar-divider { flex-direction: row; align-items: center; }
    .pillar-line { height: 1px; flex: 1; width: auto; }
    .pillar-metric { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; margin-bottom: 14px; }
    .tablet-body { padding: 20px; }
    .tablet { padding: 0; }

    /* faq */
    .hka-faq summary { padding: 18px 20px; font-size: 0.95rem; }
    .hka-faq .hka-faq-a { padding: 0 20px 20px; font-size: 0.9rem; }

    /* buttons full width in bands */
    .hka-band-actions { flex-direction: column; align-items: stretch; }
    .hka-band-actions .hka-btn { width: 100%; }
    #download .btn { width: 100%; max-width: 360px; }

    /* chips wrap tighter */
    .hka-chips { gap: 8px; }
    .hka-chip { font-size: 0.58rem; padding: 6px 11px; }
}

@media (max-width: 560px) {
    .hka-grid-3, .hka-grid-4 { grid-template-columns: 1fr; }
    .hka-grid-2 { grid-template-columns: 1fr; }
    .hka-stats { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------------------- SUBPAGE HERO COMPRESSION */
.hero {
    min-height: 68vh;
}

/* subpage feature tiles — icon chips + glass hover */
.features-grid-elite {
    gap: clamp(14px, 2vw, 24px);
}

.feature-tile {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012) 55%);
    border: 1px solid var(--hka-line);
    border-radius: 16px;
    padding: clamp(20px, 2.6vw, 30px);
    backdrop-filter: blur(4px);
    transition: transform 0.55s var(--hka-ease), border-color 0.55s, box-shadow 0.55s;
}

.feature-tile:hover {
    transform: translateY(-5px);
    border-color: var(--hka-line-strong);
    box-shadow: 0 24px 60px -28px rgba(212, 175, 55, 0.3);
}

.feature-tile-icon {
    font-size: 1.3rem !important;
    width: 52px;
    height: 52px;
    display: grid !important;
    place-items: center;
    border: 1px solid var(--hka-line);
    border-radius: 13px;
    background: rgba(212, 175, 55, 0.06);
    margin-bottom: 16px;
    line-height: 1;
}

.feature-tile-title {
    font-family: var(--hka-serif);
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .hero { min-height: auto; padding-bottom: 40px; }
    .feature-tile-icon { width: 46px; height: 46px; font-size: 1.15rem !important; }
}

/* ------------------------------------------------- TEMPORAL TEST RESTYLE */
.temporal-page .info-card,
.info-card {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012) 55%);
    border: 1px solid var(--hka-line);
    border-radius: 16px;
    padding: clamp(22px, 3vw, 34px);
    backdrop-filter: blur(5px);
}

.info-card h3 {
    font-family: var(--hka-serif);
    letter-spacing: 0.03em;
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.info-card p {
    color: var(--hka-dim);
    line-height: 1.75;
}

.days-comparison {
    gap: 14px;
}

.days-box {
    background: rgba(4, 4, 9, 0.55);
    border: 1px solid var(--hka-line);
    border-radius: 12px;
    padding: 20px 12px;
    transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s var(--hka-ease);
}

.days-box:hover {
    transform: translateY(-3px);
    border-color: var(--hka-line-strong);
    box-shadow: 0 16px 40px -20px rgba(212, 175, 55, 0.35);
}

.days-number {
    font-family: var(--hka-serif);
    font-weight: 600;
    font-size: 1.9rem;
}

.days-box.heka .days-number { color: var(--hka-gold); }
.days-box.greg .days-number { color: var(--hka-red); }

.days-label {
    font-family: var(--hka-mono);
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--hka-faint);
}

/* --------------------------------------------------------- BLOG EVOLUTION */
.blog-prose {
    font-size: 1.02rem;
}

.blog-prose p,
.blog-prose li {
    color: var(--hka-dim);
    line-height: 1.85;
}

.blog-prose h2 {
    font-family: var(--hka-serif);
    font-size: 1.55rem;
    letter-spacing: 0.02em;
    margin: 2.2em 0 0.7em;
    background: linear-gradient(180deg, #f7eed6 30%, var(--hka-gold) 110%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.blog-prose h3 {
    font-family: var(--hka-serif);
    font-size: 1.15rem;
    color: var(--hka-text);
    letter-spacing: 0.02em;
    margin: 1.8em 0 0.6em;
}

.blog-prose a {
    color: var(--hka-copper);
    text-decoration: none;
    border-bottom: 1px solid rgba(184, 115, 51, 0.5);
    transition: color 0.3s, border-color 0.3s;
}

.blog-prose a:hover {
    color: var(--hka-gold-bright);
    border-color: var(--hka-gold);
}

.blog-prose blockquote,
.blog-quote {
    border-left: 2px solid var(--hka-gold);
    padding-left: 22px;
    font-family: var(--hka-wisdom);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--hka-text);
}

.blog-callout {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012) 55%);
    border: 1px solid var(--hka-line);
    border-radius: 16px;
    padding: clamp(24px, 4vw, 40px);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.blog-callout::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 120% at 50% -30%, rgba(212, 175, 55, 0.12), transparent 60%);
    pointer-events: none;
}

.blog-callout-kicker {
    font-family: var(--hka-mono);
    font-size: 0.62rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--hka-gold);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.blog-callout-kicker::after {
    content: '';
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, var(--hka-gold), transparent);
}

.blog-callout p {
    color: var(--hka-dim);
    line-height: 1.75;
    margin: 14px 0 20px;
}

.blog-callout-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* blog index cards */
.blog-card {
    transition: transform 0.55s var(--hka-ease), border-color 0.55s, box-shadow 0.55s;
    border: 1px solid var(--hka-line) !important;
    border-radius: 16px;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--hka-line-strong) !important;
    box-shadow: 0 24px 60px -28px rgba(212, 175, 55, 0.3);
}

.blog-card-kicker {
    font-family: var(--hka-mono);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--hka-gold) !important;
}

.blog-card-title,
.blog-card-title a {
    font-family: var(--hka-serif);
    letter-spacing: 0.02em;
}

.blog-card-meta {
    font-family: var(--hka-mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hka-faint) !important;
}

@media (max-width: 768px) {
    .blog-callout-actions .btn { width: 100%; }
}

@media (max-width: 768px) {
    .feature-showcase { gap: 0; }
    .feature-visual-side {
        min-height: 180px !important;
        padding: 28px !important;
    }
    .feature-icon-large { font-size: 3.2rem !important; }
}
