/* =========================================================
   EMLAN — HOMEPAGE VERSION 2
   style_v2.css

   FINAL STONE — CSS CONSOLIDATION

   Foundation / Header / Command Center / Dashboard /
   Network / Final Signal / Responsive System
========================================================= */


/* =========================================================
   1. EMLAN V2 VARIABLES
========================================================= */

:root {
    --emlan-v2-black: #000000;
    --emlan-v2-black-soft: #090909;
    --emlan-v2-panel: #111111;
    --emlan-v2-panel-light: #171717;

    --emlan-v2-gold: #d4af37;
    --emlan-v2-gold-soft: #c8a96a;
    --emlan-v2-gold-light: #f5e6a8;

    --emlan-v2-green: #1f7a3a;
    --emlan-v2-green-dark: #163d22;

    --emlan-v2-blue: #2474ff;
    --emlan-v2-red: #d94747;

    --emlan-v2-cream: #f5f0e6;
    --emlan-v2-white: #ffffff;
    --emlan-v2-muted: #aaa69d;

    --emlan-v2-border: rgba(212, 175, 55, 0.24);
    --emlan-v2-border-strong: rgba(212, 175, 55, 0.55);

    --emlan-v2-radius: 14px;
    --emlan-v2-radius-small: 9px;

    --emlan-v2-shadow:
        0 18px 45px rgba(0, 0, 0, 0.34);

    --emlan-v2-page-width: 1280px;
}


/* =========================================================
   2. PAGE FOUNDATION
========================================================= */

.emlan-home-v2 {
    width: 100%;
    min-height: 100vh;

    background:
        radial-gradient(
            circle at top right,
            rgba(31, 122, 58, 0.08),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #050505 0%,
            #000000 100%
        );

    color: var(--emlan-v2-cream);
    overflow: hidden;
}


/* =========================================================
   3. SHARED TYPOGRAPHY
========================================================= */

.emlan-home-v2 h1,
.emlan-home-v2 h2,
.emlan-home-v2 h3,
.emlan-home-v2 p {
    margin-top: 0;
}

.emlan-home-v2 h1 {
    color: var(--emlan-v2-white);
    font-size: clamp(2.7rem, 6vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    font-weight: 650;
}

.emlan-home-v2 h1 span {
    color: var(--emlan-v2-gold);
}

.emlan-home-v2 h2 {
    margin-bottom: 16px;

    color: var(--emlan-v2-white);
    font-size: clamp(1.55rem, 2.5vw, 2.25rem);
    line-height: 1.15;
    font-weight: 600;
}

.emlan-home-v2 p {
    color: var(--emlan-v2-muted);
    line-height: 1.75;
}

/* =========================================================
   3.1 EMLAN FINAL SIGNAL ICON
========================================================= */

.emlan-v2-final-signal .emlan-v2-signal-icon {
  display: block;
  width: 75px;
  max-width: 75px;
  height: auto;
  margin: 0 auto;
}

/* =========================================================
   4. KICKER / SYSTEM LABEL
========================================================= */

.emlan-v2-kicker,
.emlan-v2-panel-label {
    display: inline-block;
    margin-bottom: 16px;

    color: var(--emlan-v2-gold-soft);
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}


/* =========================================================
   5. CONTROL HEADER
========================================================= */

.emlan-v2-control-header {
    width: calc(100% - 48px);
    max-width: var(--emlan-v2-page-width);
    margin: 0 auto;
    padding: 34px 0 52px;

    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: stretch;
}


/* =========================================================
   6. CONTROL COPY PANEL
========================================================= */

.emlan-v2-control-copy {
    position: relative;

    width: 100%;
    min-height: auto;
    padding: 54px 56px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border: 1px solid var(--emlan-v2-border);
    border-radius: var(--emlan-v2-radius);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.025),
            rgba(212, 175, 55, 0.015)
        ),
        var(--emlan-v2-panel);

    box-shadow: var(--emlan-v2-shadow);
    overflow: hidden;
}

.emlan-v2-control-copy::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 110px;
    height: 3px;

    background: var(--emlan-v2-gold);
}

.emlan-v2-control-copy::after {
    content: "";

    position: absolute;
    right: -150px;
    bottom: -180px;

    width: 300px;
    height: 300px;

    border-radius: 50%;
    background: rgba(212, 175, 55, 0.055);
    filter: blur(3px);
}

.emlan-v2-control-copy h1 {
    max-width: 820px;
}

.emlan-v2-intro {
    max-width: 700px;
    margin-bottom: 30px;

    font-size: clamp(1rem, 1.5vw, 1.16rem);
}


/* =========================================================
   7. CONTROL BUTTONS
========================================================= */

.emlan-v2-control-actions {
    margin-top: 0;

    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.emlan-v2-button {
    min-height: 48px;
    padding: 12px 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.045em;

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}

.emlan-v2-button:hover {
    transform: translateY(-2px);
}

.emlan-v2-button-primary {
    border: 1px solid var(--emlan-v2-gold);

    background: var(--emlan-v2-gold);
    color: #080808;
}

.emlan-v2-button-primary:hover {
    border-color: var(--emlan-v2-gold-light);
    background: var(--emlan-v2-gold-light);
}

.emlan-v2-button-secondary {
    border: 1px solid var(--emlan-v2-border-strong);

    background: transparent;
    color: var(--emlan-v2-gold-light);
}

.emlan-v2-button-secondary:hover {
    background: rgba(212, 175, 55, 0.075);
}


/* =========================================================
   8. LEGACY BRAND PANEL
   Retained for compatibility; no longer part of the
   primary Command Center presentation.
========================================================= */

.emlan-v2-brand-panel {
    min-height: 390px;
    padding: 38px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    border: 1px solid var(--emlan-v2-border);
    border-radius: var(--emlan-v2-radius);

    background:
        linear-gradient(
            180deg,
            rgba(31, 122, 58, 0.08),
            rgba(0, 0, 0, 0.4)
        ),
        var(--emlan-v2-panel-light);

    box-shadow: var(--emlan-v2-shadow);
}

.emlan-v2-brand-word {
    margin: 0 0 8px;

    color: var(--emlan-v2-white);
    font-size: clamp(2.4rem, 4vw, 4.6rem);
    line-height: 1;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.emlan-v2-brand-line {
    max-width: 310px;
    margin-bottom: 0;

    color: var(--emlan-v2-gold-soft);
    font-size: 0.95rem;
}


/* =========================================================
   9. SIGNAL BARS
========================================================= */

.emlan-v2-signal-bars {
    height: 78px;
    margin-bottom: 30px;

    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.emlan-v2-bar {
    display: block;

    width: 9px;

    border-radius: 6px 6px 2px 2px;
}

.emlan-v2-bar-blue {
    height: 52%;
    background: var(--emlan-v2-blue);
}

.emlan-v2-bar-green {
    height: 76%;
    background: var(--emlan-v2-green);
}

.emlan-v2-bar-red {
    height: 100%;
    background: var(--emlan-v2-red);
}


/* =========================================================
   10. DASHBOARD FRAME
========================================================= */

.emlan-v2-dashboard {
    width: calc(100% - 48px);
    max-width: var(--emlan-v2-page-width);
    margin: 0 auto;
    padding-bottom: 34px;

    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}


/* =========================================================
   11. GENERAL DASHBOARD PANEL
========================================================= */

.emlan-v2-panel {
    position: relative;

    grid-column: span 4;

    min-height: 265px;
    padding: 28px;

    display: flex;
    flex-direction: column;

    border: 1px solid var(--emlan-v2-border);
    border-radius: var(--emlan-v2-radius);

    background:
        linear-gradient(
            160deg,
            rgba(255, 255, 255, 0.025),
            rgba(255, 255, 255, 0)
        ),
        var(--emlan-v2-panel);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);

    transition:
        transform 190ms ease,
        border-color 190ms ease,
        background 190ms ease;
}

.emlan-v2-panel:hover {
    transform: translateY(-3px);

    border-color: var(--emlan-v2-border-strong);

    background:
        linear-gradient(
            160deg,
            rgba(212, 175, 55, 0.045),
            rgba(255, 255, 255, 0)
        ),
        var(--emlan-v2-panel-light);
}

.emlan-v2-panel p {
    margin-bottom: 18px;
}

.emlan-v2-panel h2 {
    margin-bottom: 14px;
    line-height: 1.12;
}

.emlan-v2-panel > .emlan-v2-text-link,
.emlan-v2-panel > .emlan-v2-panel-button {
    margin-top: auto;
}

.emlan-v2-panel-live > .emlan-v2-panel-button {
    margin-top: 24px;
}

/* =========================================================
   12. LARGE FEATURED PANEL
========================================================= */

.emlan-v2-panel-featured {
    grid-column: span 8;

    min-height: 410px;
    padding: 32px;
}

.emlan-v2-featured-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    align-items: start;
}

.emlan-v2-book-cover img {
    display: block;

    width: 100%;
    height: auto;
}

.emlan-v2-featured-content {
    padding-top: 4px;
}


/* =========================================================
   13. DANICE LIVE PANEL
========================================================= */

.emlan-v2-panel-live {
    grid-column: span 4;

    min-height: 410px;

    background:
        linear-gradient(
            150deg,
            rgba(31, 122, 58, 0.11),
            rgba(0, 0, 0, 0.15)
        ),
        var(--emlan-v2-panel);
}


/* =========================================================
   14. PANEL TOP ROW
========================================================= */

.emlan-v2-panel-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}


/* =========================================================
   15. STATUS LABELS
========================================================= */

.emlan-v2-status {
    display: inline-block;

    width: fit-content;
    margin-bottom: 12px;

    color: var(--emlan-v2-green);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.emlan-v2-status-coming {
    color: var(--emlan-v2-gold-soft);
}

.emlan-v2-status-dot {
    position: relative;

    padding-left: 16px;

    color: var(--emlan-v2-green);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.emlan-v2-status-dot::before {
    content: "";

    position: absolute;
    left: 0;
    top: 50%;

    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: var(--emlan-v2-green);

    transform: translateY(-50%);

    box-shadow: 0 0 12px rgba(31, 122, 58, 0.7);
}


/* =========================================================
   16. PANEL LINKS
========================================================= */

.emlan-v2-text-link {
    width: fit-content;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--emlan-v2-gold-light);

    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.025em;

    transition:
        color 160ms ease,
        transform 160ms ease;
}

.emlan-v2-text-link::after {
    content: "→";
    transition: transform 160ms ease;
}

.emlan-v2-text-link:hover {
    color: var(--emlan-v2-white);
}

.emlan-v2-text-link:hover::after {
    transform: translateX(4px);
}


/* =========================================================
   17. PANEL BUTTON
========================================================= */

.emlan-v2-panel-button {
    width: fit-content;
    min-height: 46px;
    padding: 11px 18px;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    border: 1px solid rgba(31, 122, 58, 0.7);
    border-radius: var(--emlan-v2-radius-small);

    background: rgba(31, 122, 58, 0.12);
    color: var(--emlan-v2-cream);

    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;

    transition:
        background 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.emlan-v2-panel-button:hover {
    transform: translateY(-2px);

    border-color: var(--emlan-v2-green);
    background: rgba(31, 122, 58, 0.22);
}


/* =========================================================
   18. METRIC DISPLAY
========================================================= */

.emlan-v2-metric {
    margin-bottom: 12px;

    color: var(--emlan-v2-gold);
    font-size: clamp(2.6rem, 4vw, 4rem);
    line-height: 0.9;
    font-weight: 700;
    letter-spacing: -0.06em;
}


/* =========================================================
   19. EMLAN COMMAND HEADER
========================================================= */

.site-header-v2 {
    width: 100%;

    background:
        linear-gradient(
            90deg,
            rgba(212, 175, 55, 0.035),
            transparent 38%,
            rgba(31, 122, 58, 0.035)
        ),
        #050505;

    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.site-header-inner {
    width: calc(100% - 48px);
    max-width: var(--emlan-v2-page-width);
    min-height: 132px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}


/* =========================================================
   20. COMMAND HEADER — BRAND
========================================================= */

.site-header-v2 .brand-link {
    display: flex;
    align-items: center;
    gap: 14px;

    color: inherit;
    text-decoration: none;
}

.site-header-v2 .emlan-main-logo {
    display: block;

    width: 380px;
    max-width: 100%;
    height: auto;
}

.site-header-v2 .logo {
    display: block;

    width: 76px;
    height: 76px;

    object-fit: contain;
    flex: 0 0 76px;
}

.site-header-v2 .brand-copy {
    display: flex;
    align-items: center;
}

.site-header-v2 .brand-copy h1 {
    margin: 0;

    color: var(--emlan-v2-gold);
    font-size: clamp(4.4rem, 6.2vw, 5.8rem);
    font-weight: 700;
    letter-spacing: 0.015em;
}

/*
   "Start the Signal" is intentionally removed from
   the header presentation. It is used as the closing
   EMLAN call-to-action.
*/

.site-header-v2 .site-signal {
    display: none;
}


/* =========================================================
   21. COMMAND HEADER — STATUS
========================================================= */

.header-status {
    max-width: 420px;
    padding-left: 32px;

    border-left: 1px solid rgba(212, 175, 55, 0.25);

    text-align: right;
}

.header-status-label {
    margin: 0 0 7px;

    color: var(--emlan-v2-gold-soft);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-header-v2 .tagline {
    margin: 0;

    color: var(--emlan-v2-muted);
    font-size: clamp(0.9rem, 1.3vw, 1.05rem);
    line-height: 1.45;
    font-weight: 400;
}


/* =========================================================
   22. COMMAND NAVIGATION
========================================================= */

.main-navigation {
    width: 100%;
    margin: 0;
    padding: 0;

    background: #090909;

    border-top: 1px solid rgba(255, 255, 255, 0.025);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.main-navigation ul {
    width: calc(100% - 48px);
    max-width: var(--emlan-v2-page-width);
    min-height: 58px;
    margin: 0 auto;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;

    list-style: none;
}

.main-navigation li {
    margin: 0;
    padding: 0;
}

.main-navigation a {
    position: relative;

    min-height: 58px;
    padding: 0 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--emlan-v2-muted);

    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.095em;
    text-transform: uppercase;

    transition:
        color 170ms ease,
        background 170ms ease;
}

.main-navigation a:hover {
    color: var(--emlan-v2-white);
    background: rgba(212, 175, 55, 0.035);
    text-shadow: none;
}

.main-navigation a.active {
    background: none;
    color: var(--emlan-v2-gold-light);
}

/* =========================================================
   23. COMMAND CENTER
========================================================= */

.emlan-command-logo {
    display: flex;
    align-items: center;
}

.emlan-dashboard-logo {
    display: block;

    width: clamp(240px, 32vw, 420px);
    height: auto;
}

.emlan-command-header {
    width: 100%;
    margin: 0 0 22px;
}

.emlan-command-kicker {
    display: block;
    margin: 0 0 14px;

    color: var(--emlan-v2-gold-soft);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.emlan-command-title {
    margin: 0;

    color: var(--emlan-v2-white);
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 1;
    letter-spacing: -0.035em;
}

.emlan-command-intro {
    max-width: 620px;
    margin: 22px 0 0;

    color: var(--emlan-v2-muted);
    font-size: 1rem;
    line-height: 1.75;
}


/* =========================================================
   24. COMMAND CENTER — THREE PILLARS
========================================================= */

.emlan-command-status {
    width: 100%;
    margin: 0 0 30px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.command-item {
    min-width: 0;
    min-height: 105px;
    padding: 20px 22px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.018);

    transition: 0.25s;
}

.command-item:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.45);
}

.command-label {
    display: block;
    margin: 0 0 9px;

    color: var(--emlan-v2-gold-soft);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.command-item strong {
    display: block;

    color: var(--emlan-v2-cream);
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 600;
}

/* BLUE — Independent Publishing */
.emlan-command-status .command-item:nth-child(1) {
    border-top: 3px solid var(--emlan-v2-blue);
}

/* GREEN — Living Ideas */
.emlan-command-status .command-item:nth-child(2) {
    border-top: 3px solid var(--emlan-v2-green);
}

/* RED — Meaningful Conversations */
.emlan-command-status .command-item:nth-child(3) {
    border-top: 3px solid var(--emlan-v2-red);
}


/* =========================================================
   25. FEATURED BOOK + DANICE LIVE
========================================================= */

.emlan-v2-feature-row {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 16px;
    align-items: stretch;
}

.emlan-v2-feature-row > * {
    height: 100%;
}

.emlan-v2-featured-book,
.emlan-v2-live-panel {
    min-height: 100%;
}


/* =========================================================
   26. EMLAN NETWORK
========================================================= */

.emlan-v2-network {
    width: calc(100% - 48px);
    max-width: var(--emlan-v2-page-width);
    margin: 32px auto 0;
    padding: 34px 32px;

    border: 1px solid rgba(212, 175, 55, 0.32);
    border-radius: var(--emlan-v2-radius);

    background:
        linear-gradient(
            160deg,
            rgba(255, 255, 255, 0.025),
            rgba(255, 255, 255, 0)
        ),
        var(--emlan-v2-panel);
}

.emlan-v2-network-heading {
    margin-bottom: 24px;
}

.emlan-v2-network-heading h2 {
    margin: 7px 0 0;

    color: var(--emlan-v2-cream);
    font-size: clamp(1.7rem, 3vw, 2rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.emlan-v2-network-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.emlan-v2-network-item {
    position: relative;

    min-height: 112px;
    padding: 18px 16px;

    display: flex;
    flex-direction: column;

    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--emlan-v2-radius-small);

    background: rgba(0, 0, 0, 0.12);

    color: var(--emlan-v2-cream);
    text-decoration: none;

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}

.emlan-v2-network-item span {
    margin-bottom: 10px;

    color: var(--emlan-v2-gold);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.14em;
}

.emlan-v2-network-item strong {
    margin-bottom: 7px;

    color: var(--emlan-v2-cream);
    font-size: 0.95rem;
    line-height: 1.2;
}

.emlan-v2-network-item small {
    margin-top: auto;

    color: var(--emlan-v2-muted);
    font-size: 0.72rem;
    line-height: 1.4;
}

.emlan-v2-network-item:hover {
    transform: translateY(-2px);

    border-color: rgba(212, 175, 55, 0.55);
    background: rgba(212, 175, 55, 0.035);
}


/* =========================================================
   27. FINAL SIGNAL
========================================================= */

.emlan-v2-final-signal {
    width: calc(100% - 48px);
    max-width: var(--emlan-v2-page-width);
    margin: 28px auto 40px;
    padding: 38px 32px 36px;

    border: 1px solid rgba(212, 175, 55, 0.32);
    border-radius: var(--emlan-v2-radius);

    background:
        linear-gradient(
            135deg,
            rgba(212, 175, 55, 0.055),
            rgba(31, 122, 58, 0.045)
        ),
        var(--emlan-v2-panel);

    text-align: center;
}

.emlan-v2-final-signal p {
    margin: 14px 0 8px;

    color: var(--emlan-v2-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.emlan-v2-final-signal h2 {
    margin: 0 0 22px;

    color: var(--emlan-v2-cream);
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.emlan-v2-final-signal .emlan-v2-button {
    display: inline-flex;
}

.emlan-v2-signal-bars-small {
    height: 34px;
    margin: 0 auto;

    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 5px;
}

.emlan-v2-signal-bars-small .emlan-v2-bar {
    display: block;

    width: 7px;

    border-radius: 2px 2px 0 0;
}

.emlan-v2-signal-bars-small .emlan-v2-bar-blue {
    height: 20px;
    background: #2f9df4;
}

.emlan-v2-signal-bars-small .emlan-v2-bar-green {
    height: 34px;
    background: var(--emlan-v2-green);
}

.emlan-v2-signal-bars-small .emlan-v2-bar-red {
    height: 23px;
    background: #f04b23;
}

/* =========================================================
   28. RESPONSIVE — 1050px
========================================================= */

@media (max-width: 1050px) {

    .emlan-v2-brand-panel {
        min-height: 260px;
    }

    .emlan-v2-panel {
        grid-column: span 6;
    }

    .emlan-v2-panel-featured {
        grid-column: span 12;
    }

    .emlan-v2-panel-live {
        grid-column: span 6;
        min-height: 300px;
    }
}


/* =========================================================
   29. RESPONSIVE — 900px
========================================================= */

@media (max-width: 900px) {

    .site-header-inner {
        min-height: 116px;
        gap: 24px;
    }

    .site-header-v2 .logo {
        width: 64px;
        height: 64px;
    }

    .header-status {
        max-width: 330px;
        padding-left: 22px;
    }

    .main-navigation a {
        padding-left: 17px;
        padding-right: 17px;
    }

    .emlan-v2-control-copy {
        padding: 28px 25px;
    }

    .emlan-command-status {
        grid-template-columns: 1fr;
    }

    .command-item {
        min-height: 86px;
    }

    .emlan-v2-feature-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .emlan-v2-feature-row > * {
        height: auto;
    }

    .emlan-v2-featured-book,
    .emlan-v2-live-panel {
        min-height: auto;
    }

    .emlan-v2-featured-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .emlan-v2-book-cover {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .emlan-v2-featured-content {
        padding-top: 0;
    }

    .emlan-v2-network-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   30. RESPONSIVE — 700px
========================================================= */

@media (max-width: 700px) {

    .emlan-home-v2,
    .site-header-v2,
    .main-navigation,
    .emlan-v2-control-header,
    .emlan-v2-dashboard,
    .emlan-v2-network,
    .emlan-v2-final-signal {
        max-width: 100%;
        box-sizing: border-box;
    }

    img,
    svg {
        max-width: 100%;
        height: auto;
    }

    .site-header-inner {
        width: 100%;
        min-height: auto;
        padding: 22px 24px;

        flex-direction: column;
        align-items: center;
        gap: 18px;

        box-sizing: border-box;
    }

    .site-header-v2 .brand-link {
        width: 100%;
        justify-content: center;
    }

    .site-header-v2 .emlan-main-logo {
        width: min(100%, 560px);
        margin: 0 auto;
    }

    .site-header-v2 .logo {
        width: 58px;
        height: 58px;
    }

    .site-header-v2 .brand-copy h1 {
        font-size: 2.2rem;
    }

    .header-status {
        width: 100%;
        max-width: none;
        padding: 15px 0 0;

        border-left: 0;
        border-top: 1px solid rgba(212, 175, 55, 0.18);

        text-align: center;
    }

    .main-navigation {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-navigation ul {
        width: 100%;
        min-width: 0;
        padding: 0 10px;

        justify-content: space-between;
    }

    .main-navigation a {
        min-height: 52px;
        padding: 0 8px;

        white-space: nowrap;

        font-size: 0.66rem;
        letter-spacing: 0.07em;
    }

    .main-navigation a.active::after {
        left: 8px;
        right: 8px;
    }

    .emlan-v2-control-header,
    .emlan-v2-dashboard {
        width: calc(100% - 30px);
    }

    .emlan-v2-control-header {
        padding-top: 22px;
        padding-bottom: 30px;
    }

    .emlan-v2-brand-panel {
        padding: 28px 24px;
    }

    .emlan-v2-control-actions {
        flex-direction: column;
    }

    .emlan-v2-button {
        width: 100%;
    }

    .emlan-v2-dashboard {
        grid-template-columns: 1fr;
    }

    .emlan-v2-panel,
    .emlan-v2-panel-featured,
    .emlan-v2-panel-live {
        grid-column: 1;
        min-height: auto;
    }

    .emlan-v2-panel {
        padding: 25px 22px;
    }

    .emlan-dashboard-logo {
        width: 210px;
        max-width: 70%;
    }

    .emlan-v2-network,
    .emlan-v2-final-signal {
        width: calc(100% - 30px);
        margin-left: auto;
        margin-right: auto;
    }

    .emlan-v2-network {
        padding: 28px 22px;
    }

    .emlan-v2-network-heading {
        margin-bottom: 20px;
    }

    .emlan-v2-network-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .emlan-v2-network-item {
        min-height: 96px;
        padding: 18px 20px;
    }

    .emlan-v2-final-signal {
        margin-top: 22px;
        margin-bottom: 32px;
        padding: 32px 22px 30px;
    }

    .emlan-v2-final-signal h2 {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;

        font-size: clamp(1.65rem, 7vw, 2rem);
        line-height: 1.12;
        letter-spacing: -0.02em;
    }

    .emlan-v2-final-signal p {
        font-size: 0.88rem;
        line-height: 1.55;
    }

    .emlan-v2-final-signal .emlan-v2-button {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================
   PUBLISHING PIPELINE — FULL WIDTH
========================================================= */

.emlan-v2-dashboard > .emlan-v2-panel-pipeline {
    grid-column: 1 / 13 !important;
    width: 100%;
}

/* =========================================================
   PUBLISHING PIPELINE STATUS
========================================================= */

.emlan-v2-pipeline-status {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.emlan-v2-pipeline-item {
    padding: 16px;
    border: 1px solid var(--emlan-v2-border);
    border-radius: var(--emlan-v2-radius-small);
}

.emlan-v2-pipeline-item span,
.emlan-v2-pipeline-item strong,
.emlan-v2-pipeline-item small {
    display: block;
}

.emlan-v2-pipeline-item span {
    margin-bottom: 8px;
    color: var(--emlan-v2-gold);
    font-size: 0.72rem;
    font-weight: 700;
}

.emlan-v2-pipeline-item strong {
    margin-bottom: 5px;
}

.emlan-v2-pipeline-item small {
    color: var(--emlan-v2-muted);
}

@media (max-width: 700px) {

    .emlan-v2-pipeline-status {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
  Block 31 - EMLAN HOME — IPHONE DASHBOARD FIX
========================================================= */

@media (max-width: 700px) {

  .emlan-home-v2 {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .emlan-v2-dashboard {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 16px !important;
    box-sizing: border-box;
    gap: 16px;
  }

  .emlan-v2-dashboard > article,
  .emlan-v2-dashboard > .emlan-v2-panel {
    grid-column: 1 !important;
    grid-row: auto !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    box-sizing: border-box;
  }

  .emlan-v2-panel-featured,
  .emlan-v2-panel-live,
  .emlan-v2-panel-wide,
  .emlan-v2-panel-pipeline {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
  }

  .emlan-v2-featured-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

}

/* =========================================================
   EMLAN FORM — IPHONE STACK FIX
========================================================= */

@media (max-width: 700px) {

  .grid,
  .order-form {
    grid-template-columns: 1fr !important;
  }

}

/* =========================================================
   EMLAN FORM — IPHONE FULL WIDTH
========================================================= */

@media (max-width: 700px) {

  .order-form,
  .order-form > *,
  .grid,
  .grid > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

}
