/* 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);
    }

    .header-brand {
      max-width: var(--wide);
      margin: 0 auto;
      padding: 0.85rem 1.5rem 0.65rem;
      display: flex;
      justify-content: center;
    }

    .header-bar {
      position: sticky;
      top: 0;
      z-index: 10;
      border-top: 1px solid var(--border);
      background: rgba(14, 18, 24, 0.85);
      backdrop-filter: blur(12px);
    }

    .header-bar__inner {
      max-width: var(--wide);
      margin: 0 auto;
      padding: 0.45rem 1.5rem;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      grid-template-areas: "nav cta";
      column-gap: 1.25rem;
      align-items: center;
    }

    .logo {
      display: flex;
      justify-content: center;
      width: 100%;
      min-width: 0;
      text-decoration: none;
    }

    .logo__img {
      display: block;
      height: clamp(5.5rem, 11vw, 7.25rem);
      width: auto;
      max-width: min(100%, 42rem);
    }

    .logo:hover .logo__img { opacity: 0.92; }

    .header-cta {
      grid-area: cta;
      justify-self: end;
      white-space: nowrap;
      min-height: 34px;
      padding: 0.4rem 0.95rem;
      font-size: 0.8125rem;
    }

    .site-nav {
      grid-area: nav;
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 0 1.25rem;
      justify-self: start;
    }

    .site-nav a {
      font-size: 0.75rem;
      color: var(--text-muted);
      text-decoration: none;
      letter-spacing: 0.02em;
    }

    .site-nav a:hover { color: var(--text); text-decoration: none; }

    .btn,
    .btn-primary,
    .btn-secondary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      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;
    }

    /* Mobile-only intake in nav drawer - must follow .btn display rules */
    .site-nav .site-nav__cta { display: none; }

    main { overflow-x: hidden; }

    img:not(.logo__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; }

    .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;
      flex-shrink: 0;
    }

    @media (max-width: 720px) {
      .header-brand {
        padding: 0.65rem 1rem 0.5rem;
      }

      .header-bar__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "nav toggle";
        padding: 0.4rem 1rem;
      }

      .header-cta { display: none; }

      .nav-toggle {
        display: inline-flex;
        grid-area: toggle;
        justify-self: end;
      }

      .logo__img {
        height: clamp(4.25rem, 16vw, 5.75rem);
        max-width: 100%;
      }

      .site-nav {
        display: none;
        align-items: flex-start;
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.65rem 0 0.15rem;
        border-top: 1px solid var(--border);
      }

      .site-nav.is-open { display: flex; }

      .site-nav a {
        font-size: 0.875rem;
        padding: 0.4rem 0;
      }

      .site-nav .site-nav__cta {
        display: inline-flex;
        margin-top: 0.35rem;
        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); }

    .site-footer__links {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .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;
    }


  