/* WW2 Heritage Workshop — shared site shell */


    :root {
      --bg: #0e1218;
      --bg-elevated: #151b24;
      --bg-card: #1a222c;
      --border: #2a3544;
      --text: #e6e9ed;
      --text-muted: #8b95a5;
      --accent: #6b9ec4;
      --accent-soft: rgba(107, 158, 196, 0.12);
      --gold: #c4a35a;
      --gold-soft: rgba(196, 163, 90, 0.15);
      --rust: #b85c5c;
      --navy: #3d5a80;
      --navy-deep: #243548;
      --burgundy: #6b4a4a;
      --olive: #5a6b4a;
      --max: 680px;
      --wide: 960px;
    }

    * { box-sizing: border-box; margin: 0; }

    html { scroll-behavior: smooth; }

    body {
      font-family: "DM Sans", system-ui, sans-serif;
      font-size: 16px;
      line-height: 1.65;
      background: var(--bg);
      color: var(--text);
      -webkit-font-smoothing: antialiased;
    }

    ::selection {
      background: var(--accent);
      color: var(--bg);
    }

    a {
      color: var(--accent);
      text-decoration: none;
    }

    a:hover { text-decoration: underline; }

    /* restrained patriotic edge */
    .edge {
      height: 4px;
      background: linear-gradient(
        90deg,
        var(--navy-deep) 0%,
        var(--navy) 18%,
        rgba(230, 233, 237, 0.35) 18.4%,
        rgba(230, 233, 237, 0.35) 19.2%,
        var(--burgundy) 19.2%,
        var(--burgundy) 22%,
        rgba(230, 233, 237, 0.35) 22.4%,
        rgba(230, 233, 237, 0.35) 23.2%,
        var(--navy) 23.2%,
        var(--navy-deep) 100%
      );
      opacity: 0.85;
    }

    header {
      border-bottom: 1px solid var(--border);
      background: rgba(14, 18, 24, 0.85);
      backdrop-filter: blur(12px);
      position: sticky;
      top: 0;
      z-index: 10;
    }

    .header-inner {
      max-width: var(--wide);
      margin: 0 auto;
      padding: 1rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }

    .logo {
      font-family: Lora, Georgia, serif;
      font-size: 1rem;
      font-weight: 500;
      color: var(--text);
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .logo__star {
      color: var(--gold);
      flex-shrink: 0;
    }

    .logo:hover { text-decoration: none; color: var(--gold); }

    .site-nav a {
      font-size: 0.875rem;
      color: var(--text-muted);
      margin-left: 1.5rem;
      text-decoration: none;
    }

    .site-nav a:hover { color: var(--text); }

    .btn,
    .btn-primary,
    .btn-secondary {
      display: inline-block;
      font-size: 0.875rem;
      font-weight: 600;
      padding: 0.65rem 1.25rem;
      border-radius: 6px;
      text-decoration: none;
      transition: background 0.15s, color 0.15s;
      border: none;
      cursor: pointer;
      font-family: inherit;
    }

    .btn--primary,
    .btn-primary {
      background: var(--accent);
      color: var(--bg);
    }

    .btn--primary:hover,
    .btn-primary:hover {
      background: #8ab4d4;
      text-decoration: none;
    }

    .btn--ghost,
    .btn-secondary {
      background: transparent;
      color: var(--text);
      border: 1px solid var(--border);
    }

    .btn--ghost:hover,
    .btn-secondary:hover {
      border-color: var(--text-muted);
      text-decoration: none;
    }

    main { overflow-x: hidden; }

    img {
      display: block;
      max-width: 100%;
      height: auto;
    }


    .skip-link {
      position: absolute;
      left: -9999px;
      top: 0.5rem;
      z-index: 100;
      background: var(--accent);
      color: var(--bg);
      padding: 0.5rem 0.75rem;
      font-size: 0.85rem;
      text-decoration: none;
      border-radius: 4px;
    }
    .skip-link:focus { left: 0.5rem; }

    header { position: sticky; z-index: 50; }
    .header-inner { position: relative; flex-wrap: wrap; }

    .nav-toggle {
      display: none;
      align-items: center;
      justify-content: center;
      font: inherit;
      font-size: 0.8125rem;
      font-weight: 600;
      color: var(--text);
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 0.45rem 0.75rem;
      cursor: pointer;
      margin-left: auto;
    }

    .site-nav { display: flex; align-items: center; }

    /* Desktop: CTA lives in .header-cta; mobile drawer uses nav button */
    .site-nav .btn--primary { display: none; }

    @media (max-width: 720px) {
      .nav-toggle { display: inline-flex; }
      .header-cta { display: none; }
      .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        order: 4;
        padding: 0.75rem 0 0.25rem;
        border-top: 1px solid var(--border);
        margin-top: 0.25rem;
      }
      .site-nav.is-open { display: flex; }
      .site-nav a {
        margin: 0;
        padding: 0.45rem 0;
        width: 100%;
      }
      .site-nav .btn--primary {
        display: inline-block;
        margin-top: 0.35rem;
        text-align: center;
        width: 100%;
      }
    }

    :root {
      --ink: var(--text);
      --muted: var(--text-muted);
      --line: var(--border);
      --paper: var(--bg);
      --white: var(--bg-card);
      --navy-hover: #8ab4d4;
      --serif: Lora, Georgia, serif;
      --sans: "DM Sans", system-ui, sans-serif;
    }

    .site-main {
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 1.5rem 4rem;
    }

    .legal-page {
      max-width: var(--max);
      margin: 0 auto;
      padding: 3rem 1.5rem 4rem;
    }
    .legal-page h1 {
      font-family: Lora, Georgia, serif;
      font-size: 1.75rem;
      font-weight: 500;
      margin-bottom: 0.5rem;
    }
    .legal-page .legal-meta {
      font-size: 0.875rem;
      color: var(--text-muted);
      margin-bottom: 2rem;
      line-height: 1.5;
    }
    .legal-page h2 {
      font-family: Lora, Georgia, serif;
      font-size: 1.125rem;
      font-weight: 500;
      margin: 2rem 0 0.75rem;
    }
    .legal-page p, .legal-page li {
      color: var(--text-muted);
      font-size: 0.9375rem;
      margin-bottom: 0.75rem;
      line-height: 1.6;
    }
    .legal-page ul { padding-left: 1.25rem; margin-bottom: 1rem; }
    .legal-page table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.875rem;
      margin: 1rem 0;
    }
    .legal-page th, .legal-page td {
      border: 1px solid var(--border);
      padding: 0.5rem 0.65rem;
      text-align: left;
      color: var(--text-muted);
    }
    .legal-page th { color: var(--text); background: var(--bg-card); }
    .legal-draft-banner {
      background: var(--gold-soft);
      border: 1px solid rgba(196, 163, 90, 0.35);
      border-radius: 8px;
      padding: 0.75rem 1rem;
      font-size: 0.8125rem;
      color: var(--text);
      margin-bottom: 1.5rem;
    }

    .preview-badge, .draft {
      position: fixed;
      bottom: 0.75rem;
      right: 0.75rem;
      font-size: 0.625rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      background: var(--border);
      color: var(--text-muted);
      padding: 0.3rem 0.5rem;
      border-radius: 4px;
      z-index: 20;
    }
    .preview-badge { display: none; }
    .preview-badge.visible { display: block; }

    footer {
      border-top: 1px solid var(--border);
      padding: 2rem 1.5rem 2.25rem;
      font-size: 0.8125rem;
      color: var(--text-muted);
      position: relative;
    }

    footer::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(
        90deg,
        var(--navy-deep) 0%,
        var(--navy) 18%,
        rgba(230, 233, 237, 0.2) 18.4%,
        rgba(230, 233, 237, 0.2) 19.2%,
        var(--burgundy) 19.2%,
        var(--burgundy) 22%,
        rgba(230, 233, 237, 0.2) 22.4%,
        rgba(230, 233, 237, 0.2) 23.2%,
        var(--navy) 23.2%,
        var(--navy-deep) 100%
      );
      opacity: 0.6;
    }

    footer .wrap--wide,
    .site-footer {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 0.75rem;
      max-width: var(--wide);
      margin: 0 auto;
      padding: 2rem 1.5rem 2.25rem;
      font-size: 0.8125rem;
      color: var(--text-muted);
    }

    .site-footer a { color: var(--text-muted); }
    .site-footer a:hover { color: var(--accent); }

    .draft {
      position: fixed;
      bottom: 0.75rem;
      right: 0.75rem;
      font-size: 0.625rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      background: var(--border);
      color: var(--text-muted);
      padding: 0.3rem 0.5rem;
      border-radius: 4px;
    }


  