/* ==========================================================
   GGIGGL.com — Skeuomorphic-Futuristic Magazine
   ========================================================== */

/* --- Custom Properties / Palette --- */
:root {
    --burgundy: #7B2D3B;
    --burgundy-dark: #4A1A24;
    --cream: #FAF3E8;
    --cream-light: #FFF9F0;
    --gold: #C4943A;
    --gold-light: #D4A84A;
    --charcoal: #2C2426;
    --rose: #D4919A;
    --mist: #E8E0D6;

    --shadow-lift: 0 4px 16px rgba(88, 24, 36, 0.12);
    --shadow-edge: 0 1px 2px rgba(88, 24, 36, 0.18);
    --shadow-deep: 0 8px 32px rgba(74, 26, 36, 0.2);
    --shadow-inset: inset 0 2px 6px rgba(44, 36, 38, 0.15);
    --shadow-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.3);

    --font-headline: 'Jost', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-accent: 'Fraunces', serif;
    --font-mono: 'JetBrains Mono', monospace;

    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--cream);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Grain Overlay --- */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.06;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 300px 300px;
}

/* --- Linen Texture (micro bg) --- */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(44, 36, 38, 0.08) 2px,
        rgba(44, 36, 38, 0.08) 3px
    ),
    repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(44, 36, 38, 0.06) 2px,
        rgba(44, 36, 38, 0.06) 3px
    );
}

/* --- Navigation Tabs (Skeuomorphic Leather) --- */
.nav-tabs {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 12px 24px 0;
    pointer-events: none;
}

.nav-tabs-inner {
    display: flex;
    gap: 4px;
    pointer-events: all;
}

.nav-tab {
    position: relative;
    padding: 10px 24px 8px;
    background: linear-gradient(180deg, #5a2230 0%, var(--burgundy-dark) 100%);
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    box-shadow:
        0 -2px 8px rgba(74, 26, 36, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    transform: translateY(2px);
    user-select: none;
}

.nav-tab::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--gold);
    transition: transform 0.3s var(--ease-smooth);
}

.nav-tab.active {
    background: linear-gradient(180deg, var(--burgundy) 0%, #5a2230 100%);
    transform: translateY(0);
    box-shadow:
        0 -4px 16px rgba(74, 26, 36, 0.3),
        var(--shadow-lift),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.nav-tab.active::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-tab:not(.active):hover {
    transform: translateY(1px);
    background: linear-gradient(180deg, #6a2535 0%, var(--burgundy-dark) 100%);
}

.nav-tab:not(.active):active {
    transform: translateY(3px);
}

.nav-tab-text {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Scroll Container --- */
.scroll-container {
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

/* --- Magazine Page (Base) --- */
.magazine-page {
    min-height: 100vh;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}

.page-content {
    position: relative;
    min-height: 100vh;
    padding: 80px 48px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}

.page-dark {
    background: var(--burgundy-dark);
    color: var(--cream);
}

/* --- Page Numbers --- */
.page-number {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 300;
    font-size: 14px;
    color: var(--rose);
    display: block;
    margin-bottom: 12px;
}

.page-number-light {
    color: var(--gold);
}

/* --- Orbital Arcs --- */
.orbital-arc {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    pointer-events: none;
    opacity: 0.2;
}

.orbital-arc-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    border-style: solid;
    border-color: var(--gold) transparent transparent transparent;
    animation: orbit-rotate 60s linear infinite;
}

.orbital-arc-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -150px;
    border-style: solid;
    border-color: transparent transparent var(--gold) transparent;
    animation: orbit-rotate 45s linear infinite reverse;
}

.orbital-arc-3 {
    width: 500px;
    height: 500px;
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
    border-style: solid;
    border-color: var(--gold) transparent transparent var(--gold);
    animation: orbit-rotate 55s linear infinite;
}

.orbital-arc-4 {
    width: 700px;
    height: 700px;
    top: -250px;
    left: -200px;
    border-style: solid;
    border-color: transparent var(--gold) transparent transparent;
    animation: orbit-rotate 70s linear infinite;
    opacity: 0.15;
}

.orbital-arc-5 {
    width: 350px;
    height: 350px;
    bottom: 10%;
    right: 5%;
    border-style: solid;
    border-color: var(--gold) transparent var(--gold) transparent;
    animation: orbit-rotate 50s linear infinite reverse;
}

.orbital-arc-6 {
    width: 450px;
    height: 450px;
    top: 10%;
    left: -100px;
    border-style: solid;
    border-color: transparent transparent var(--gold) transparent;
    animation: orbit-rotate 65s linear infinite;
}

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

/* --- Hexagonal Watermark --- */
.hex-watermark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52'%3E%3Cpath d='M30 0 L60 15 L60 37 L30 52 L0 37 L0 15 Z' fill='none' stroke='%237B2D3B' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 60px 52px;
}

/* --- Corner Flourishes --- */
.corner-flourish {
    position: absolute;
    width: 60px;
    height: 60px;
    pointer-events: none;
    opacity: 0.3;
}

.corner-tl {
    top: 24px;
    left: 24px;
    border-top: 2px solid var(--burgundy);
    border-left: 2px solid var(--burgundy);
    border-top-left-radius: 8px;
}

.corner-br {
    bottom: 24px;
    right: 24px;
    border-bottom: 2px solid var(--burgundy);
    border-right: 2px solid var(--burgundy);
    border-bottom-right-radius: 8px;
}

.corner-flourish-gold {
    border-color: var(--gold) !important;
}

/* --- Circuit Trace Decoration --- */
.circuit-trace {
    width: 100%;
    height: 20px;
    margin: 12px 0;
    position: relative;
    opacity: 0.3;
}

.circuit-trace::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), var(--gold) 30%, transparent 30%, transparent 35%, var(--gold) 35%, var(--gold) 60%, transparent 60%, transparent 65%, var(--gold) 65%, var(--gold));
}

.circuit-trace::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 30%;
    width: 6px;
    height: 6px;
    border: 1px solid var(--gold);
    border-radius: 50%;
}

/* --- Mono Label --- */
.mono-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
}

/* --- Status LED --- */
.status-led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rose);
    box-shadow: 0 0 4px rgba(212, 145, 154, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    display: inline-block;
    vertical-align: middle;
}

.status-led-active {
    background: var(--gold);
    box-shadow: 0 0 6px rgba(196, 148, 58, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    animation: led-pulse 2s ease-in-out infinite;
}

@keyframes led-pulse {
    0%, 100% { box-shadow: 0 0 4px rgba(196, 148, 58, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.3); }
    50% { box-shadow: 0 0 12px rgba(196, 148, 58, 0.8), 0 0 20px rgba(196, 148, 58, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.3); }
}

/* --- Skeuomorphic Button --- */
.skeuo-button {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cream);
    background: linear-gradient(180deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s var(--ease-smooth);
    box-shadow:
        var(--shadow-lift),
        var(--shadow-edge),
        var(--shadow-highlight);
}

.skeuo-button::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s var(--ease-smooth);
}

.skeuo-button:hover {
    background: linear-gradient(180deg, var(--burgundy-dark) 0%, var(--burgundy) 100%);
    box-shadow:
        var(--shadow-deep),
        0 1px 3px rgba(88, 24, 36, 0.2),
        var(--shadow-highlight);
}

.skeuo-button:hover::after {
    width: 60%;
}

.skeuo-button:active {
    transform: translateY(1px);
    box-shadow:
        0 2px 8px rgba(88, 24, 36, 0.15),
        var(--shadow-edge);
}

/* ==========================================================
   PAGE 1: COVER
   ========================================================== */

.page-cover {
    background: var(--cream);
}

.cover-layout {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    width: 100%;
}

.cover-issue {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.cover-title {
    font-family: var(--font-headline);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 28px;
}

.title-line {
    display: block;
    font-size: clamp(48px, 8vw, 110px);
    color: var(--burgundy-dark);
}

.title-accent {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cover-subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--charcoal);
    max-width: 560px;
    margin-bottom: 32px;
}

.cover-sidebar {
    position: relative;
}

.marginalia {
    padding: 24px;
    border-left: 2px solid var(--burgundy);
    position: relative;
}

.marginalia-text {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.6;
    color: var(--burgundy);
    margin: 8px 0;
}

.sidebar-rule {
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin: 16px 0;
}

/* ==========================================================
   PAGE 2: VISION
   ========================================================== */

.page-vision {
    background: var(--cream-light);
}

.spread-layout {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-headline {
    font-family: var(--font-headline);
    font-weight: 800;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
    color: var(--burgundy-dark);
    margin-bottom: 28px;
}

.section-headline-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.editorial-columns {
    column-count: 2;
    column-gap: 32px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--charcoal);
}

.editorial-columns p {
    margin-bottom: 16px;
    break-inside: avoid;
}

.editorial-columns-narrow {
    column-count: 2;
    column-gap: 40px;
}

/* --- Pull Quote --- */
.pull-quote {
    position: relative;
    padding: 32px;
    background: var(--cream);
    border-radius: 4px;
    box-shadow: var(--shadow-lift), var(--shadow-edge);
    margin-bottom: 32px;
}

.pull-quote-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.pull-quote-border svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.quote-border-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 0.8s var(--ease-smooth);
}

.pull-quote.is-visible .quote-border-path {
    stroke-dashoffset: 0;
}

.quote-text {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 300;
    font-size: 22px;
    line-height: 1.5;
    color: var(--burgundy);
}

.quote-text-wide {
    font-size: 20px;
    text-align: center;
}

.quote-cite {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-style: normal;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 12px;
}

/* --- Data Cards --- */
.data-card {
    padding: 16px 20px;
    background: var(--cream);
    border-radius: 4px;
    box-shadow: var(--shadow-edge), var(--shadow-highlight), var(--shadow-inset);
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.data-value {
    font-family: var(--font-headline);
    font-weight: 800;
    font-size: 32px;
    color: var(--burgundy);
}

.margin-bottom {
    margin-top: auto;
}

/* ==========================================================
   PAGE 3: CRAFT (Dark)
   ========================================================== */

.page-craft {
    background: var(--burgundy-dark);
}

.craft-layout {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.craft-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.craft-intro {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--mist);
}

.craft-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.craft-card {
    position: relative;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(123, 45, 59, 0.5) 0%, rgba(74, 26, 36, 0.8) 100%);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(196, 148, 58, 0.15);
    transition: all 0.4s var(--ease-smooth);
}

.craft-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    border-color: rgba(196, 148, 58, 0.35);
}

.craft-card-inner {
    padding: 32px 24px;
    text-align: center;
}

.craft-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
}

.craft-icon svg {
    width: 100%;
    height: 100%;
}

.craft-card-title {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 12px;
}

.craft-card-desc {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.65;
    color: var(--mist);
}

/* ==========================================================
   PAGE 4: SIGNALS
   ========================================================== */

.page-signals {
    background: var(--cream);
}

.signals-layout {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.signals-header {
    margin-bottom: 36px;
}

.signals-spread {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.signal-panel {
    background: var(--cream-light);
    border-radius: 6px;
    border: 1px solid var(--mist);
    box-shadow: var(--shadow-lift), var(--shadow-edge);
    transition: all 0.3s var(--ease-smooth);
}

.signal-panel:hover {
    box-shadow: var(--shadow-deep), var(--shadow-edge);
    transform: translateY(-2px);
}

.signal-panel-inner {
    padding: 32px;
}

.signal-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.signal-title {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 24px;
    color: var(--burgundy-dark);
    margin-bottom: 12px;
}

.signal-body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--charcoal);
    margin-bottom: 24px;
}

.signal-data {
    display: flex;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--mist);
}

.signal-datum {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.datum-val {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 20px;
    color: var(--burgundy);
}

/* --- Pull Quote Inline --- */
.pull-quote-inline {
    padding: 24px 40px;
    text-align: center;
}

/* --- Signals Footer --- */
.signals-footer {
    max-width: 800px;
    margin: 0 auto;
}

/* ==========================================================
   PAGE 5: INDEX / COLOPHON
   ========================================================== */

.page-index {
    background: var(--cream-light);
}

.index-layout {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.colophon-details {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.colophon-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid var(--mist);
}

.colophon-value {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    color: var(--charcoal);
}

/* --- Index Card (TOC) --- */
.index-card {
    background: var(--cream);
    border-radius: 6px;
    padding: 28px;
    box-shadow: var(--shadow-lift), var(--shadow-edge), var(--shadow-highlight);
    border: 1px solid rgba(123, 45, 59, 0.1);
}

.index-card-title {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 20px;
    color: var(--burgundy-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--burgundy);
}

.toc-list {
    list-style: none;
}

.toc-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.25s var(--ease-smooth);
}

.toc-item:hover {
    background: rgba(123, 45, 59, 0.06);
}

.toc-item:hover .toc-name {
    color: var(--burgundy);
}

.toc-num {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 300;
    font-size: 14px;
    color: var(--rose);
    min-width: 28px;
}

.toc-name {
    font-family: var(--font-headline);
    font-weight: 500;
    font-size: 16px;
    color: var(--charcoal);
    transition: color 0.25s var(--ease-smooth);
}

/* --- Footer Branding --- */
.footer-branding {
    margin-top: 32px;
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--mist);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.brand-mark {
    font-family: var(--font-headline);
    font-weight: 800;
    font-size: 28px;
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================
   ANIMATIONS
   ========================================================== */

/* Slide Up */
.anim-slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-spring);
}

.anim-slide-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade In (with stagger via JS) */
.anim-fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.anim-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scale In */
.anim-scale-in {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-spring);
}

.anim-scale-in.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* Border Draw (Pull Quote) */
.anim-border-draw .quote-border-path {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
}

.anim-border-draw.is-visible .quote-border-path {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s var(--ease-smooth);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1024px) {
    .cover-layout,
    .spread-layout,
    .index-layout {
        grid-template-columns: 1fr;
    }

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

    .signals-spread {
        grid-template-columns: 1fr;
    }

    .editorial-columns {
        column-count: 1;
    }

    .editorial-columns-narrow {
        column-count: 1;
    }

    .cover-sidebar {
        display: none;
    }

    .page-content {
        padding: 80px 24px 32px;
    }
}

@media (max-width: 640px) {
    .craft-grid {
        grid-template-columns: 1fr;
    }

    .nav-tab {
        padding: 8px 14px 6px;
    }

    .nav-tab-text {
        font-size: 11px;
    }

    .page-content {
        padding: 72px 16px 24px;
    }

    .signal-data {
        flex-direction: column;
        gap: 12px;
    }
}
