/*
 * Flatpack & Kingdom — site stylesheet
 * Moved from Customizer > Additional CSS (Astra) on 2026-10-14.
 * Fonts are loaded in functions.php (Cormorant Garamond, Libre Baskerville, DM Sans).
 * Edit this file, not Additional CSS.
 */

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

  :root {
    --parch: #EEF2F7;
    --parch-dark: #E3E9F2;
    --parch-mid: #D6DFE9;
    --ink: #1A2840;
    --ink-mid: #2A3F5F;
    --ink-light: #4A6080;
    --ink-faint: #6B7F99;
    --royal: #2A3F5F;
    --royal-light: #4A7AB5;
    --royal-pale: #B5C8E0;
    --gold: #9E7B2A;
    --gold-light: #D4A832;
    --gold-pale: #F0E2B8;
    --gold-faint: #F7F0DC;
    --white: #FAFCFE;
    --border: rgba(42, 63, 95, 0.12);
    --border-strong: rgba(42, 63, 95, 0.25);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Libre Baskerville', Georgia, serif;
    background-color: var(--parch);
    color: var(--ink);
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* ── PARCHMENT TEXTURE ── */
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9998;
  }

  /* ── TRE KRONOR SVG ORNAMENT ── */
  .tre-kronor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.18;
  }

  .ornament-divider {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin: 0 auto;
    opacity: 0.22;
  }

  .ornament-divider::before,
  .ornament-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gold);
  }

  .ornament-divider-dark {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin: 0 auto;
    opacity: 0.3;
  }

  .ornament-divider-dark::before,
  .ornament-divider-dark::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gold-light);
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3.5rem;
    height: 66px;
    background: rgba(238, 242, 247, 0.93);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .nav-logo-crown {
    width: 18px;
    height: 18px;
    opacity: 0.65;
  }

  .nav-logo span { color: var(--gold); }

  .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
  }

  .nav-links a {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ink-light);
    text-decoration: none;
    transition: color 0.2s;
  }

  .nav-links a:hover { color: var(--royal); }

  .nav-cta {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--royal);
    border: none;
    padding: 0.55rem 1.4rem;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
  }

  .nav-cta:hover { background: var(--ink); }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 66px;
    position: relative;
    overflow: hidden;
  }

  .hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 4rem 6rem 5rem;
    position: relative;
    z-index: 2;
  }

  /* Watermark tre kronor background */
  .hero-left::before {
    content: '';
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    width: 180px;
    height: 180px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ctext y='35' x='12' font-size='22' fill='%232A3F5F'%3E♛%3C/text%3E%3Ctext y='65' x='2' font-size='22' fill='%232A3F5F'%3E♛%3C/text%3E%3Ctext y='65' x='42' font-size='22' fill='%232A3F5F'%3E♛%3C/text%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.04;
    pointer-events: none;
  }

  .hero-eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }

  .hero-eyebrow::before {
    content: '';
    display: block;
    width: 2rem;
    height: 1px;
    background: var(--gold);
  }

  .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 4.8vw, 4.6rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--ink);
    margin-bottom: 1.8rem;
    letter-spacing: -0.01em;
  }

  .hero-title em {
    font-style: italic;
    color: var(--royal-light);
  }

  .hero-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: var(--ink-light);
    max-width: 44ch;
    line-height: 1.8;
    margin-bottom: 2.5rem;
  }

  .hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
  }

  .btn-primary {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--royal);
    border: 1.5px solid var(--royal);
    padding: 0.9rem 2rem;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.2s;
  }

  .btn-primary:hover { background: var(--ink); border-color: var(--ink); }

  .btn-secondary {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-mid);
    background: transparent;
    border: 1.5px solid var(--border-strong);
    padding: 0.9rem 2rem;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.2s;
  }

  .btn-secondary:hover { border-color: var(--royal); color: var(--royal); }

  .hero-stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
  }

  .stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
  }

  .stat-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-top: 0.3rem;
  }

  /* ── HERO RIGHT — DYNAMIC LATEST POST ── */
  .hero-right {
    position: relative;
    display: flex;
    align-items: stretch;
    background: var(--parch-dark);
    border-left: 1px solid var(--border);
    overflow: hidden;
  }

  .hero-right-bg {
    position: absolute;
    inset: 0;
    background-image:
      repeating-linear-gradient(
        0deg,
        transparent,
        transparent 39px,
        rgba(42,63,95,0.04) 39px,
        rgba(42,63,95,0.04) 40px
      );
  }

  /* Large watermark crown */
  .hero-right-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18rem;
    color: var(--royal);
    opacity: 0.04;
    pointer-events: none;
    line-height: 1;
    user-select: none;
  }

  .hero-latest {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 4rem;
    width: 100%;
  }

  .hero-latest-tag {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .hero-latest-tag::before {
    content: '';
    width: 1.5rem;
    height: 1px;
    background: var(--gold);
    display: block;
  }

  .hero-latest-img {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--parch-mid);
    border-radius: 3px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .hero-latest-img-placeholder {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-style: italic;
    color: var(--ink-faint);
  }

  /* PHP will replace this with actual featured image */
  .hero-latest-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-latest-category {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--royal-light);
    background: rgba(74, 122, 181, 0.1);
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 2px;
    margin-bottom: 0.85rem;
  }

  .hero-latest-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ink);
    margin-bottom: 0.75rem;
  }

  .hero-latest-excerpt {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--ink-light);
    line-height: 1.7;
    margin-bottom: 1.25rem;
  }

  .hero-latest-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
  }

  .hero-latest-date {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    color: var(--ink-faint);
  }

  .hero-latest-link {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--royal-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s;
  }

  .hero-latest-link:hover { gap: 0.6rem; }
  .hero-latest-link::after { content: '→'; }

  /* Recent posts mini list */
  .hero-recent {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border);
    padding: 1.25rem 4rem;
    display: flex;
    gap: 1.5rem;
    background: rgba(238, 242, 247, 0.5);
  }

  .hero-recent-item {
    flex: 1;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.75rem;
    border-radius: 3px;
    transition: background 0.2s;
    border: 1px solid transparent;
  }

  .hero-recent-item:hover {
    background: var(--white);
    border-color: var(--border);
  }

  .hero-recent-cat {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
  }

  .hero-recent-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
  }

  /* ── TICKER ── */
  .ticker-bar {
    background: var(--gold);
    padding: 0.65rem 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(158, 123, 42, 0.4);
    border-bottom: 1px solid rgba(158, 123, 42, 0.4);
  }

  .ticker-inner {
    display: inline-flex;
    gap: 3rem;
    animation: ticker 32s linear infinite;
  }

  .ticker-item {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink);
    flex-shrink: 0;
  }

  .ticker-crown {
    color: var(--ink);
    opacity: 0.5;
    font-size: 0.6rem;
    margin: 0 1rem;
  }

  @keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* ── ABOUT STRIP ── */
  .about-strip {
    background: var(--ink);
    padding: 5.5rem 5rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    overflow: hidden;
  }

  /* Subtle crown pattern background */
  .about-strip::before {
    content: '♛ ♛ ♛ ♛ ♛ ♛ ♛ ♛ ♛ ♛ ♛ ♛ ♛ ♛ ♛ ♛';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    font-size: 4rem;
    color: var(--royal-light);
    opacity: 0.03;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    letter-spacing: 2rem;
    line-height: 2;
    pointer-events: none;
    overflow: hidden;
  }

  .strip-ornament {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--gold-light);
    opacity: 0.5;
    letter-spacing: 0.5rem;
  }

  .strip-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 700;
    font-style: italic;
    color: var(--gold-light);
    line-height: 1.15;
    position: relative;
    z-index: 1;
  }

  .strip-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: rgba(238, 242, 247, 0.78);
    line-height: 1.85;
    max-width: 58ch;
    position: relative;
    z-index: 1;
  }

  .strip-text strong {
    color: var(--parch);
    font-weight: 500;
  }

  /* ── SHOWS SECTION ── */
  .shows-section {
    padding: 7rem 5rem;
    background: var(--white);
    position: relative;
  }

  .shows-section::before {
    content: '';
    position: absolute;
    top: 0; left: 5rem; right: 5rem;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-strong), transparent);
  }

  .section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.5rem;
  }

  .section-eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
  }

  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.15;
  }

  .section-link {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-light);
    text-decoration: none;
    border-bottom: 1px solid var(--border-strong);
    padding-bottom: 2px;
    transition: color 0.2s;
    white-space: nowrap;
  }

  .section-link:hover { color: var(--royal); border-color: var(--royal); }

  .section-ornament {
    margin-bottom: 3.5rem;
  }

  .shows-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 1.5rem;
  }

  .show-card {
    background: var(--parch);
    border: 1px solid var(--border);
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    position: relative;
  }

  .show-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(26,40,64,0.1);
  }

  .show-card-banner { height: 5px; }
  .show-card-banner.royal { background: var(--royal); }
  .show-card-banner.gold { background: var(--gold); }

  .show-card-body {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .show-card-crown {
    font-size: 1.5rem;
    color: var(--gold);
    opacity: 0.3;
    margin-bottom: 1rem;
  }

  .show-tag {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 0.75rem;
  }

  .show-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 1rem;
  }

  .show-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--ink-light);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    flex: 1;
  }

  .show-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
  }

  .show-eps {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    color: var(--ink-faint);
  }

  .show-eps strong { font-weight: 500; color: var(--ink-mid); }

  .show-listen {
    margin-left: auto;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--royal-light);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.2s;
  }

  .show-listen::after { content: '→'; }
  .show-card:hover .show-listen { gap: 0.7rem; }

  /* ── RESOURCES ── */
  .resources-section {
    padding: 7rem 5rem;
    background: var(--parch);
    position: relative;
  }

  .resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
  }

  .resource-card {
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 2rem;
    background: var(--white);
    transition: all 0.25s;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
  }

  .resource-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--royal-light);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
  }

  .resource-card:hover { border-color: var(--royal-pale); }
  .resource-card:hover::after { transform: scaleX(1); }

  .resource-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 1.1rem;
  }

  .resource-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--royal-light);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .resource-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.5rem;
  }

  .resource-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.83rem;
    font-weight: 300;
    color: var(--ink-light);
    line-height: 1.65;
  }

  .resource-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 1.1rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--royal-light);
    transition: gap 0.2s;
  }

  .resource-link::after { content: '→'; }
  .resource-card:hover .resource-link { gap: 0.5rem; }

  /* ── HOSTS ── */
  .hosts-section {
    background: var(--ink);
    padding: 7rem 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    overflow: hidden;
  }

  .hosts-section::after {
    content: '♛';
    position: absolute;
    right: -2rem;
    bottom: -3rem;
    font-size: 20rem;
    color: var(--royal-light);
    opacity: 0.04;
    pointer-events: none;
    line-height: 1;
  }

  .hosts-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.65rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.55;
    color: var(--parch);
    margin-bottom: 2rem;
    padding-left: 1.75rem;
    border-left: 2px solid var(--gold-light);
    position: relative;
    z-index: 1;
  }

  .hosts-body {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 300;
    color: rgba(238, 242, 247, 0.65);
    line-height: 1.85;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
  }

  .btn-ghost {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--parch);
    background: transparent;
    border: 1px solid rgba(238, 242, 247, 0.25);
    padding: 0.8rem 1.8rem;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
    position: relative;
    z-index: 1;
  }

  .btn-ghost:hover { border-color: rgba(238, 242, 247, 0.6); }

  .hosts-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
  }

  .host-card {
    background: rgba(238, 242, 247, 0.05);
    border: 1px solid rgba(238, 242, 247, 0.1);
    border-radius: 3px;
    padding: 1.4rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: background 0.2s;
  }

  .host-card:hover { background: rgba(238, 242, 247, 0.08); }

  .host-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(212, 168, 50, 0.15);
    border: 1.5px solid rgba(212, 168, 50, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gold-light);
    flex-shrink: 0;
  }

  .host-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--parch);
  }

  .host-role {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    color: rgba(238, 242, 247, 0.45);
    margin-top: 0.2rem;
  }

  .contact-card {
    background: rgba(238, 242, 247, 0.05);
    border: 1px solid rgba(238, 242, 247, 0.1);
    border-radius: 3px;
    padding: 1.4rem 1.75rem;
  }

  .contact-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(238, 242, 247, 0.3);
    margin-bottom: 0.6rem;
  }

  .contact-email {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--royal-pale);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
  }

  .contact-email:hover { color: var(--parch); }

  .contact-social {
    display: flex;
    gap: 1.25rem;
  }

  .contact-social a {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: rgba(238, 242, 247, 0.35);
    text-decoration: none;
    transition: color 0.2s;
  }

  .contact-social a:hover { color: var(--gold-light); }

  /* ── TOUR ── */
  .tour-section {
    background: var(--royal);
    padding: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    overflow: hidden;
  }

  .tour-section::before {
    content: '♛ ✦ ♛ ✦ ♛ ✦ ♛';
    position: absolute;
    top: 1.5rem;
    left: 0; right: 0;
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 2rem;
    color: rgba(238,242,247,0.12);
    pointer-events: none;
  }

  .tour-section::after {
    content: '♛ ✦ ♛ ✦ ♛ ✦ ♛';
    position: absolute;
    bottom: 1.5rem;
    left: 0; right: 0;
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 2rem;
    color: rgba(238,242,247,0.12);
    pointer-events: none;
  }

  .tour-eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(238, 242, 247, 0.5);
    margin-bottom: 0.75rem;
  }

  .tour-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--parch);
    line-height: 1.2;
    max-width: 26ch;
  }

  .tour-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(238, 242, 247, 0.65);
    margin-top: 1rem;
    max-width: 44ch;
    line-height: 1.8;
  }

  .btn-tour {
    flex-shrink: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--royal);
    background: var(--parch);
    border: none;
    padding: 1rem 2.2rem;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    position: relative;
    z-index: 1;
  }

  .btn-tour:hover { background: var(--white); }

  /* ── FOOTER ── */
  footer {
    background: #111820;
    padding: 5rem;
    color: rgba(238, 242, 247, 0.5);
  }

  .footer-crown-divider {
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 1.5rem;
    color: var(--gold);
    opacity: 0.25;
    margin-bottom: 3.5rem;
  }

  .footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(238, 242, 247, 0.07);
    margin-bottom: 2.5rem;
  }

  .footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--parch);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .footer-logo span { color: var(--gold-light); }

  .footer-tagline {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.7;
    max-width: 28ch;
    margin-bottom: 1.5rem;
  }

  .footer-social {
    display: flex;
    gap: 1.25rem;
  }

  .social-link {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(238, 242, 247, 0.3);
    text-decoration: none;
    transition: color 0.2s;
  }

  .social-link:hover { color: var(--gold-light); }

  .footer-col-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(238, 242, 247, 0.28);
    margin-bottom: 1.25rem;
  }

  .footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }

  .footer-links a {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(238, 242, 247, 0.5);
    text-decoration: none;
    transition: color 0.2s;
  }

  .footer-links a:hover { color: var(--parch); }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    color: rgba(238, 242, 247, 0.22);
  }

  /* ── ANIMATIONS ── */
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-eyebrow { animation: fadeInUp 0.7s ease both; }
  .hero-title { animation: fadeInUp 0.7s 0.12s ease both; }
  .hero-desc { animation: fadeInUp 0.7s 0.22s ease both; }
  .hero-actions { animation: fadeInUp 0.7s 0.32s ease both; }
  .hero-stats { animation: fadeInUp 0.7s 0.42s ease both; }
  .hero-latest { animation: fadeInUp 0.9s 0.2s ease both; }

  /* ── RESPONSIVE ── */
  @media (max-width: 960px) {
    nav { padding: 0 1.5rem; }
    .nav-links { display: none; }
    .hero { grid-template-columns: 1fr; }
    .hero-right { display: none; }
    .hero-left { padding: 4rem 2rem 5rem; }
    .about-strip { grid-template-columns: 1fr; padding: 4rem 2rem; gap: 2rem; }
    .shows-section, .resources-section, .hosts-section, .tour-section, footer { padding: 5rem 2rem; }
    .shows-grid { grid-template-columns: 1fr; }
    .resources-grid { grid-template-columns: 1fr 1fr; }
    .hosts-section { grid-template-columns: 1fr; gap: 3rem; }
    .tour-section { flex-direction: column; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  }
#masthead, .site-header, .ast-primary-header-bar {
  display: none !important;
}
/*.entry-content, .ast-container, .site-content, #content, #primary, .ast-article-single {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}*/
/* ── SINGLE POST ── */
.flatpack-single {
    max-width: 780px;
    margin: 100px auto 6rem;
    padding: 0 2rem;
}

.flatpack-single-hero {
    margin-bottom: 3rem;
}

.flatpack-single-meta {
    margin-bottom: 1rem;
}

.flatpack-single-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.flatpack-single-date {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    color: var(--ink-faint);
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
}

.flatpack-single-img {
    width: 100%;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    border: 1px solid var(--border);
}

.flatpack-single-img img {
    width: 100%;
    height: auto;
    display: block;
}

.flatpack-single-content {
    font-family: 'Libre Baskerville', serif;
    font-size: 1rem;
    line-height: 1.85;
    color: var(--ink);
}

.flatpack-single-content p {
    margin-bottom: 1.5rem;
}

.flatpack-single-content strong {
    font-weight: 700;
    color: var(--ink);
}

.flatpack-single-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
/* ── ARCHIVE ── */
.flatpack-archive {
    max-width: 1200px;
    margin: 100px auto 6rem;
    padding: 0 3rem;
}

.flatpack-archive-hero {
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.flatpack-archive-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 0.75rem;
    text-transform: capitalize;
}

.flatpack-archive-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--ink-light);
    max-width: 50ch;
}

.flatpack-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.flatpack-archive-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 3px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.flatpack-archive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(26,40,64,0.1);
}

.flatpack-archive-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.flatpack-archive-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flatpack-archive-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.flatpack-archive-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
}

.flatpack-archive-card-excerpt {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--ink-light);
    line-height: 1.65;
    flex: 1;
}

.flatpack-archive-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
}

@media (max-width: 960px) {
    .flatpack-archive-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .flatpack-archive-grid { grid-template-columns: 1fr; }
}
.nav-logo, .nav-logo:visited {
    color: var(--ink) !important;
}
/* ── STATIC PAGES ── */
.flatpack-page {
    max-width: 780px;
    margin: 100px auto 6rem;
    padding: 0 2rem;
}

.flatpack-page-hero {
    padding-bottom: 2rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
}

.flatpack-page-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.15;
}

.flatpack-page-content {
    font-family: 'Libre Baskerville', serif;
    font-size: 1rem;
    line-height: 1.85;
    color: var(--ink);
}

.flatpack-page-content p {
    margin-bottom: 1.5rem;
}

.flatpack-page-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ink);
    margin: 2.5rem 0 1rem;
}

.flatpack-page-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--ink);
    margin: 2rem 0 0.75rem;
}

.flatpack-page-content ul, .flatpack-page-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.flatpack-page-content li {
    margin-bottom: 0.5rem;
}
/* ── EPISODE PLAYER ── */
.episode-player-wrap {
    background: var(--parch-dark);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 2rem;       border-bottom: 2px solid var(--gold);
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
}

.episode-audio {
    margin-bottom: 1.25rem;
}

.episode-audio audio {
    width: 100%;
    height: 44px;
    border-radius: 3px;
}

.episode-platforms {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.episode-platforms-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-faint);
    width: 100%;
    margin-bottom: 0.25rem;
}

.platform-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    border-radius: 2px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--white);
    background: var(--royal);
    border: 1.5px solid var(--royal);
    transition: all 0.2s;
}

.platform-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: var(--white);
}

.platform-btn:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.platform-btn:hover svg {
    color: var(--white);
}

.platform-placeholder {
    opacity: 0.35;
    cursor: not-allowed;
}

.platform-placeholder:hover {
    background: var(--royal);
    border-color: var(--royal);
}

.episode-description {
    font-family: 'Libre Baskerville', serif;
    font-size: 1rem;
    line-height: 1.85;
    color: var(--ink);
}
/* ── EPISODE BADGE & NOTICE ── */
.episode-number-badge {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--royal);
    padding: 0.3rem 0.8rem;
    border-radius: 2px;
    margin-bottom: 0.85rem;
}

.episode-edit-notice {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    color: var(--ink-mid);
    background: var(--gold-faint);
    border: 1px solid var(--gold-pale);
    border-radius: 3px;
    padding: 0.65rem 1rem;
    margin-bottom: 1.5rem;
}

.episode-edit-notice a {
    color: var(--royal-light);
    font-weight: 500;
}
/* ── SPOILER IMAGES ── */
.spoiler-wrap {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.spoiler-wrap img {
    filter: blur(12px);
    transition: filter 0.4s ease;
    display: block;
}

.spoiler-wrap.revealed img {
    filter: blur(0);
}

.spoiler-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(26, 40, 64, 0.45);
    border-radius: 3px;
    transition: opacity 0.4s ease;
	bottom: 50px;
}

.spoiler-wrap.revealed .spoiler-overlay {
    opacity: 0;
    pointer-events: none;
}

.spoiler-btn {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--royal);
    border: 1.5px solid var(--gold);
    padding: 0.7rem 1.5rem;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s;
}

.spoiler-btn:hover {
    background: var(--ink);
}

.spoiler-warning {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    color: var(--gold-light);
    margin-bottom: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
	text-align:center;
}
/* Spoiler grid layout */
.flatpack-page-content .spoiler-wrap,
.flatpack-single-content .spoiler-wrap {
    width: calc(50% - 0.75rem);
    vertical-align: top;
}

.flatpack-page-content figure.spoiler-wrap,
.flatpack-single-content figure.spoiler-wrap {
    width: calc(50% - 0.75rem);
    display: inline-block;
    margin: 0.5rem 0.375rem;
}

.flatpack-page-content figure.spoiler-wrap img,
.flatpack-single-content figure.spoiler-wrap img {
    width: 100% !important;
    height: auto !important;
}
@media (max-width: 600px) {
    .flatpack-page-content figure.spoiler-wrap,
    .flatpack-single-content figure.spoiler-wrap {
        width: calc(50% - 0.5rem);
    }
}
.flatpack-single-content .wp-block-image.spoiler-wrap,
.flatpack-single-content figure.spoiler-wrap {
    width: calc(50% - 0.75rem) !important;
    max-width: calc(50% - 0.75rem) !important;
}

/* ═══════════════════════════════════════════════════════════
   ADDITIONS — 2026-10-14 template rebuild
   (pieces the rebuilt single/archive/page/404 templates need)
   ═══════════════════════════════════════════════════════════ */

/* Keep the parchment background on every template, whatever Astra layout class the body gets */
body.ast-separate-container,
body.ast-plain-container,
body.ast-two-container,
body.ast-narrow-container {
    background-color: var(--parch);
}

/* Links and images inside post / page content */
.flatpack-single-content a,
.flatpack-page-content a {
    color: var(--royal-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.flatpack-single-content a:hover,
.flatpack-page-content a:hover { color: var(--royal); }

.flatpack-single-content a.platform-btn,
.flatpack-single-content a.platform-btn:hover {
    color: var(--white);
    text-decoration: none;
}

.flatpack-single-content img,
.flatpack-page-content img {
    max-width: 100%;
    height: auto;
}

.flatpack-single-content h2,
.flatpack-single-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
    margin: 2.5rem 0 1rem;
}
.flatpack-single-content h2 { font-size: 1.8rem; }
.flatpack-single-content h3 { font-size: 1.4rem; font-weight: 600; }

.flatpack-single-content ul,
.flatpack-single-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Previous / next + back link at the foot of a post */
.flatpack-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.flatpack-post-nav a {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-decoration: none;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 3px;
    background: var(--white);
    transition: border-color 0.2s, transform 0.2s;
}
.flatpack-post-nav a:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}
.flatpack-post-nav-next { text-align: right; }
.flatpack-post-nav-label,
.flatpack-back-link,
.flatpack-archive-card-date,
.flatpack-archive-card-more {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.flatpack-post-nav-label { color: var(--gold); }
.flatpack-post-nav-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
}
.flatpack-back-link {
    color: var(--royal-light);
    text-decoration: none;
}
.flatpack-back-link::before { content: '← '; }
.flatpack-back-link:hover { color: var(--royal); }

/* Archive cards */
.flatpack-archive-card-date { color: var(--ink-faint); font-weight: 400; }
.flatpack-archive-card-more { color: var(--royal-light); }
.flatpack-archive-card-more::after { content: ' →'; }
.flatpack-archive-card .episode-number-badge { margin-bottom: 0.25rem; }
.flatpack-archive .section-eyebrow { margin-bottom: 0.75rem; }

/* Pagination */
.flatpack-pagination {
    margin-top: 3.5rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.flatpack-pagination .page-numbers {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    color: var(--ink-light);
    text-decoration: none;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 2px;
    background: var(--white);
}
.flatpack-pagination .page-numbers.current,
.flatpack-pagination a.page-numbers:hover {
    background: var(--royal);
    border-color: var(--royal);
    color: var(--white);
}
.flatpack-pagination .page-numbers.dots {
    border-color: transparent;
    background: none;
}

/* Empty archive / search */
.flatpack-empty {
    padding: 3rem 0;
    font-family: 'DM Sans', sans-serif;
    color: var(--ink-light);
}
.flatpack-empty p { margin-bottom: 1.5rem; }

/* 404 */
.flatpack-404 .section-eyebrow { margin-bottom: 0.75rem; }
.flatpack-404 .hero-actions { margin-top: 2rem; animation: none; }

/* Spoiler overlay must sit above the blurred image */
.spoiler-overlay { z-index: 2; }

@media (max-width: 600px) {
    .flatpack-post-nav { grid-template-columns: 1fr; }
    .flatpack-post-nav-next { text-align: left; }
    .flatpack-archive { padding: 0 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE MENU — 2026-10-14
   Menu button shown below 960px; opens the same menu as a
   drop-down panel under the fixed nav bar.
   ═══════════════════════════════════════════════════════════ */

/* Current page in the menu */
.nav-links .current-menu-item > a,
.nav-links .current-menu-ancestor > a { color: var(--royal); }

.nav-toggle { display: none; }

@media (max-width: 960px) {
    nav.site-nav {
        justify-content: flex-start;
        gap: 0.75rem;
        padding: 0 1.25rem;
    }

    nav.site-nav .nav-logo {
        white-space: nowrap;
        min-width: 0;
    }

    nav.site-nav .nav-cta {
        margin-left: auto;
        padding: 0.5rem 0.85rem;
        font-size: 0.72rem;
        white-space: nowrap;
    }

    /* "nav.site-nav" prefix beats Astra's own button styles */
    nav.site-nav .nav-toggle,
    nav.site-nav .nav-toggle:hover,
    nav.site-nav .nav-toggle:focus {
        display: inline-flex;
        padding: 0;
        margin: 0;
        min-width: 40px;
        color: var(--ink);
        box-shadow: none;
        line-height: 1;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        background: transparent;
        border: 1px solid var(--border-strong);
        border-radius: 2px;
        cursor: pointer;
        transition: border-color 0.2s;
    }
    nav.site-nav .nav-toggle:hover,
    nav.site-nav .nav-toggle:focus-visible { border-color: var(--royal); }

    .nav-toggle-bar {
        display: block;
        width: 18px;
        height: 1.5px;
        background: var(--ink);
        transition: transform 0.25s, opacity 0.2s;
    }

    nav.site-nav.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
    nav.site-nav.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
    nav.site-nav.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

    nav.site-nav.is-open .nav-links {
        display: flex;
        margin: 0;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        max-height: calc(100vh - 66px);
        overflow-y: auto;
        padding: 0.5rem 1.5rem 1.25rem;
        background: var(--parch);
        border-bottom: 2px solid var(--gold);
        box-shadow: 0 18px 40px rgba(26, 40, 64, 0.12);
        animation: flatpackMenuIn 0.2s ease both;
    }

    nav.site-nav.is-open .nav-links li { border-bottom: 1px solid var(--border); }
    nav.site-nav.is-open .nav-links li:last-child { border-bottom: none; }

    nav.site-nav.is-open .nav-links a {
        display: block;
        padding: 0.95rem 0;
        font-size: 0.85rem;
        color: var(--ink-mid);
    }
}

@media (max-width: 360px) {
    nav.site-nav .nav-cta { display: none; }
    nav.site-nav .nav-toggle { margin-left: auto; }
}

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