/*
Theme Name: British Royalist Society
Theme URI: https://royalistsociety.org.uk
Author: British Royalist Society
Description: Bespoke theme for the British Royalist Society — bold, modern, custom-built (no page builder dependency).
Version: 2.14.4
Text Domain: brs-theme
*/

  :root {
    --navy-deep: #1a2d7a;
    --navy-royal: #223b97;
    --blue-bright: #4a66cc;
    --off-white: #f5f7fc;
    --ink: #10162b;
    --accent-red: #c8102e;
    --accent-red-dark: #9c0c23;
    --pale-blue: #eef1fb;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  /* Sizes are in rem so the whole site scales from this one value. Up to 1600px wide the
     root stays at 16px (1rem = 1px x 16, exactly as before). Above that it grows with the
     window, so large and 4K monitors get the same layout and proportions as a laptop
     instead of a narrow column of small text. */
  html { scroll-behavior: smooth; font-size: 16px; }
  @media (min-width: 1600px) {
    html { font-size: calc(0.75vw + 4px); }
  }

  body {
    font-family: 'Ubuntu', sans-serif;
    background: var(--off-white);
    color: var(--ink);
    overflow-x: hidden;
  }

  a { color: inherit; text-decoration: none; }

  /* Icons and images sized by their width/height attributes scale with the root size too.
     :where() keeps these at zero specificity, so any class that sizes an icon still wins. */
  :where(img[width="130"][height="48"]) { width: 8.125rem; height: 3rem; }
  :where(img[width="230"][height="180"]) { width: 14.375rem; height: 11.25rem; }
  :where(img[width="26"][height="32"]) { width: 1.625rem; height: 2rem; }
  :where(img[width="300"][height="400"]) { width: 18.75rem; height: 25rem; }
  :where(img[width="440"][height="330"]) { width: 27.5rem; height: 20.625rem; }
  :where(img[width="500"][height="375"]) { width: 31.25rem; height: 23.4375rem; }
  :where(img[width="500"][height="500"]) { width: 31.25rem; height: 31.25rem; }
  :where(img[width="700"][height="700"]) { width: 43.75rem; height: 43.75rem; }
  :where(img[width="92"][height="92"]) { width: 5.75rem; height: 5.75rem; }
  :where(svg[width="12"][height="12"]) { width: 0.75rem; height: 0.75rem; }
  :where(svg[width="13"][height="13"]) { width: 0.8125rem; height: 0.8125rem; }
  :where(svg[width="14"][height="14"]) { width: 0.875rem; height: 0.875rem; }
  :where(svg[width="15"][height="15"]) { width: 0.9375rem; height: 0.9375rem; }
  :where(svg[width="16"][height="16"]) { width: 1rem; height: 1rem; }
  :where(svg[width="18"][height="18"]) { width: 1.125rem; height: 1.125rem; }
  :where(svg[width="20"][height="20"]) { width: 1.25rem; height: 1.25rem; }
  :where(svg[width="22"][height="22"]) { width: 1.375rem; height: 1.375rem; }
  :where(svg[width="24"][height="24"]) { width: 1.5rem; height: 1.5rem; }
  :where(svg[width="26"][height="26"]) { width: 1.625rem; height: 1.625rem; }
  :where(svg[width="54"][height="32"]) { width: 3.375rem; height: 2rem; }
  :where(svg[width="60"][height="60"]) { width: 3.75rem; height: 3.75rem; }
  :where(svg[width="8"][height="8"]) { width: 0.5rem; height: 0.5rem; }


  .mark {
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 0 0.625rem 0.25rem;
  }

  /* ---------- NAV ---------- */
  header.site-nav {
    position: relative;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1.75rem 5vw;
  }

  .logo {
    text-align: center;
    justify-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
  }

  .logo-image {
    height: clamp(3.5rem, 6vw, 4.5rem);
    width: auto;
    display: block;
  }

  .logo-wordmark {
    font-size: clamp(0.875rem, 1.5vw, 1.0625rem);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--navy-royal);
    margin-top: 0.125rem;
  }

  .nav-links {
    display: none;
  }

  .globe-trigger {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--navy-royal);
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.0625rem;
    font-weight: 500;
    justify-self: start;
  }

  .globe-trigger svg { flex-shrink: 0; }

  .menu-trigger {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--navy-royal);
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.0625rem;
    font-weight: 500;
    justify-self: end;
  }

  .menu-trigger .hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 0.3125rem;
    width: 1.875rem;
  }

  .menu-trigger .hamburger-icon span {
    display: block;
    height: 0.1875rem;
    width: 100%;
    background: var(--navy-royal);
  }

  /* ---------- OFF-CANVAS MENU ---------- */
  .menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--navy-deep);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 200;
  }

  .menu-overlay.open {
    opacity: 0.55;
    pointer-events: auto;
  }

  .menu-panel {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 82vw;
    min-width: 51.25rem;
    max-width: 68.75rem;
    background: var(--off-white);
    box-shadow: -0.5rem 0 2.5rem rgba(16,22,43,0.15);
    z-index: 201;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: row;
  }

  .menu-panel.open {
    transform: translateX(0);
  }

  .menu-nav-pane {
    flex: 0 0 23.75rem;
    padding: 2.5rem 2.25rem;
    display: flex;
    flex-direction: column;
  }

  .menu-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 0.0625rem solid rgba(26,45,122,0.15);
    margin-bottom: 1.5rem;
  }

  .menu-panel-logo {
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--navy-royal);
  }

  .menu-panel-logo img,
  .side-panel-logo img {
    height: 3rem;
    width: auto;
    display: block;
  }

  .menu-close {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--navy-royal);
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
  }

  /* Tabs: Monarchy / Movement / Contact */
  .menu-tabs {
    display: grid;
    gap: 0.125rem;
    padding-bottom: 1.125rem;
    border-bottom: 0.0625rem solid rgba(26,45,122,0.1);
    margin-bottom: 1.375rem;
  }

  .menu-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: 0.75rem 0;
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.6875rem;
    font-weight: 700;
    color: var(--navy-royal);
    transition: color 0.2s ease;
  }

  .menu-tab svg {
    flex-shrink: 0;
    color: var(--navy-royal);
    transition: transform 0.2s ease;
  }

  .menu-tab.active,
  .menu-tab:hover {
    color: var(--blue-bright);
  }

  .menu-tab.active svg { transform: translateX(0.1875rem); }

  /* Quick links: Member's Zone / Press Releases / Donate */
  .menu-quick-links {
    display: grid;
    gap: 0.25rem;
    padding-bottom: 1.125rem;
    border-bottom: 0.0625rem solid rgba(26,45,122,0.1);
    margin-bottom: 1.375rem;
  }

  .menu-quick-links a {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--navy-royal);
    padding: 0.5rem 0;
    transition: color 0.2s ease;
  }

  .menu-quick-links a:hover { color: var(--blue-bright); }

  .menu-donate-btn {
    align-self: flex-start;
    margin-bottom: auto;
  }

  /* Legal block: Legal / Privacy / Transparency + socials */
  .menu-legal-block {
    padding-top: 1.375rem;
    border-top: 0.0625rem solid rgba(26,45,122,0.1);
  }

  .menu-legal-links {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1.125rem;
  }

  .menu-legal-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(16,22,43,0.6);
  }

  .menu-legal-links a:hover { color: var(--navy-royal); }

  .menu-social {
    display: grid;
    grid-template-columns: repeat(4, 2rem);
    gap: 0.625rem;
  }

  .menu-social a {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(34,59,151,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-royal);
    transition: background 0.2s ease;
  }

  .menu-social a:hover { background: rgba(34,59,151,0.18); }

  /* ---------- CONTENT PANE (right side, tinted) ---------- */
  .menu-content-pane {
    flex: 1;
    background: var(--pale-blue);
    padding: 3.5rem 2.75rem;
  }

  .menu-content-heading {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--navy-royal);
    margin-bottom: 2rem;
  }

  .menu-back-btn {
    display: none;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--navy-royal);
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0;
    margin-bottom: 1.5rem;
  }

  .menu-content-list {
    display: none;
    flex-direction: column;
  }

  .menu-content-list.active {
    display: flex;
  }

  .menu-content-list a {
    display: flex;
    align-items: center;
    gap: 1.125rem;
    padding: 1.25rem 0;
    border-bottom: 0.0625rem solid rgba(26,45,122,0.08);
  }

  .menu-content-icon {
    flex-shrink: 0;
    width: 2.625rem;
    height: 2.625rem;
    border-radius: 50%;
    background: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-royal);
  }

  .menu-content-icon svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .menu-content-label {
    flex: 1;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--navy-royal);
  }

  .menu-content-list a .menu-content-arrow {
    flex-shrink: 0;
    color: var(--navy-royal);
    opacity: 0;
    transform: translateX(-0.25rem);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .menu-content-list a:hover .menu-content-arrow {
    opacity: 1;
    transform: translateX(0);
  }

  /* ---------- LEFT PANEL (ADDITIONAL LINKS) ---------- */
  .side-panel {
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    width: 40%;
    min-width: 22.5rem;
    max-width: 32.5rem;
    background: var(--off-white);
    box-shadow: 0.5rem 0 2.5rem rgba(16,22,43,0.15);
    z-index: 201;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 2.5rem 4vw;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }

  .side-panel.open {
    transform: translateX(0);
  }

  .side-panel-close {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--navy-royal);
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    align-self: flex-end;
  }

  .side-panel-logo {
    font-size: clamp(1.875rem, 3.4vw, 2.625rem);
    font-weight: 700;
    color: var(--navy-royal);
    line-height: 1.15;
    margin-bottom: 3.5rem;
  }

  .side-panel-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-royal);
    margin-bottom: 1.5rem;
  }

  .side-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy-royal);
    position: relative;
    padding-bottom: 0.3125rem;
    margin-bottom: 3rem;
  }

  .side-text-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 0.125rem;
    background: var(--blue-bright);
    opacity: 0.4;
    transition: opacity 0.2s ease, background 0.2s ease;
  }

  .side-text-link:hover { color: var(--blue-bright); }
  .side-text-link:hover::after { opacity: 1; }
  .side-text-link svg { transition: transform 0.2s ease; }
  .side-text-link:hover svg { transform: translateX(0.1875rem); }

  .side-panel-groups {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 0.0625rem solid rgba(26,45,122,0.15);
  }

  .side-panel-groups h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-royal);
    margin-bottom: 0.75rem;
  }

  .isles-icon {
    flex-shrink: 0;
    display: block;
    object-fit: contain;
  }


  .side-panel-groups p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(16,22,43,0.65);
    margin-bottom: 1.25rem;
  }

  /* ---------- HERO ---------- */
  .hero {
    padding: 4.375rem 5vw 5.625rem;
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-inner {
    flex: 1 1 30rem;
    max-width: 41.25rem;
    position: relative;
    z-index: 2;
  }

  .hero-photo-link {
    display: block;
    flex: 0 1 clamp(20rem, 34vw, 27.5rem);
    max-width: 27.5rem;
    margin-left: -3rem;
    position: relative;
    z-index: 1;
  }

  .hero-photo-link .rotate-card {
    aspect-ratio: 4/3;
  }

  .headline {
    font-size: clamp(2.375rem, 4vw, 3.5rem);
    line-height: 1.18;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 2rem;
  }

  .headline-mobile { display: none; }

  .headline .mark {
    background: var(--navy-royal);
    color: var(--off-white);
  }

  .subtext {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(16,22,43,0.72);
    max-width: 30rem;
    margin-bottom: 2rem;
  }

  /* ---------- GLOSSARY TOOLTIP (buzzword definitions) ---------- */
  .glossary-term {
    position: relative;
    cursor: help;
    color: inherit;
    text-decoration-line: underline;
    text-decoration-style: wavy;
    text-decoration-color: var(--blue-bright);
    text-decoration-thickness: 0.0875rem;
    text-underline-offset: 0.25rem;
  }

  /* Placed by main.js in viewport coordinates, so it never runs off the screen and
     always sits against the line of text the reader is pointing at. */
  .glossary-tooltip {
    position: fixed;
    left: 0;
    top: 0;
    transform: translateY(0.375rem);
    width: min(17.5rem, calc(100vw - 1.5rem));
    background: var(--off-white);
    border-radius: 0.625rem;
    box-shadow: 0 1.125rem 2.75rem rgba(16,22,43,0.24);
    padding: 1.125rem 1.25rem;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
    z-index: 300;
    pointer-events: none;
    cursor: auto;
    font-style: normal;
  }

  /* An invisible bridge over the gap, so the pointer can move from the word onto the tooltip. */
  .glossary-tooltip::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 0.875rem;
  }
  .glossary-tooltip.is-below::before { top: auto; bottom: 100%; }

  .glossary-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: var(--arrow-x, 50%);
    transform: translateX(-50%);
    border: 0.4375rem solid transparent;
    border-top-color: var(--off-white);
  }
  .glossary-tooltip.is-below::after {
    top: auto;
    bottom: 100%;
    border-top-color: transparent;
    border-bottom-color: var(--off-white);
  }
  .glossary-tooltip.is-below { transform: translateY(-0.375rem); }

  .glossary-term-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    font-style: italic;
    color: var(--navy-royal);
    margin-bottom: 0.5rem;
  }

  .glossary-definition {
    display: block;
    font-size: 0.90625rem;
    line-height: 1.55;
    font-weight: 400;
    color: var(--ink);
  }

  .glossary-source {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.71875rem;
    font-style: italic;
    color: rgba(16,22,43,0.5);
  }

  .glossary-term.tooltip-open .glossary-tooltip {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
  }
  .glossary-term:focus-visible { outline: 0.125rem solid var(--blue-bright); outline-offset: 0.125rem; border-radius: 0.125rem; }

  .link-underline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--navy-royal);
    position: relative;
    padding-bottom: 0.25rem;
  }

  .link-underline::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 0.125rem;
    background: var(--navy-royal);
    opacity: 0.3;
    transition: opacity 0.2s ease;
  }

  .link-underline:hover::after { opacity: 1; }
  .link-underline svg { transition: transform 0.2s ease; }
  .link-underline:hover svg { transform: translateX(0.1875rem); }

  /* ---------- ROTATED CARD SECTION ---------- */
  .split-section {
    background: var(--navy-royal);
    padding: 5rem 5vw 5.625rem;
  }

  .split-section-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(13.75rem, 21.25rem) 1fr;
    gap: 3.75rem;
    align-items: start;
  }

  .split-more {
    padding-top: 0.5rem;
  }

  .split-more-mobile-title {
    display: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--off-white);
    margin-bottom: 1rem;
  }

  .split-more-photo {
    position: relative;
    aspect-ratio: 4/3;
    margin-bottom: 1.5rem;
  }

  .split-more-photo .rotate-card-backdrop {
    background: var(--navy-deep);
  }

  .split-more-text {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: rgba(245,247,252,0.85);
    margin-bottom: 1.25rem;
  }

  .split-more .link-underline {
    font-size: 1.1875rem;
    color: var(--off-white);
  }

  .split-more .link-underline::after {
    background: var(--off-white);
    opacity: 0.5;
  }

  .split-more .link-underline:hover::after {
    opacity: 1;
  }

  .rotate-card {
    position: relative;
    aspect-ratio: 4/3;
  }

  .rotate-card-backdrop {
    position: absolute;
    inset: 0;
    background: var(--navy-royal);
    transform: translate(0.625rem, 0.625rem);
  }

  .rotate-card-photo {
    position: absolute;
    inset: 0;
    background: var(--blue-bright);
    transform: rotate(-2deg);
    transition: transform 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--off-white);
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    padding: 1.25rem;
    overflow: hidden;
  }

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

  .hero-photo-link .rotate-card-photo {
    padding: 0;
  }

  .hero-photo-link:hover .rotate-card-photo {
    transform: rotate(-2deg) translate(-0.25rem, -0.25rem);
  }

  .join-panel {
    background: var(--off-white);
    border-radius: 0.375rem;
    box-shadow: 0 1.5rem 3.75rem rgba(16,22,43,0.28);
    padding: 3rem;
  }

  .join-panel h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-royal);
    margin-bottom: 1rem;
  }

  .join-panel p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(16,22,43,0.72);
    margin-bottom: 1.25rem;
  }

  .checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.75rem;
    margin-bottom: 1.5rem;
  }

  .checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 1rem;
    color: rgba(16,22,43,0.75);
  }

  .checklist-tick {
    width: 0.375rem;
    height: 1.25rem;
    background: var(--navy-royal);
    flex-shrink: 0;
    margin-top: 0.125rem;
  }

  .btn-primary {
    background: var(--navy-royal);
    color: var(--off-white);
    padding: 1.125rem 2.125rem;
    font-size: 1.0625rem;
    font-weight: 700;
    border-radius: 0.1875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s ease;
  }

  .btn-primary:hover { background: var(--navy-deep); }
  .btn-primary svg { transition: transform 0.2s ease; }
  .btn-primary:hover svg { transform: translateX(0.1875rem); }

  /* ---------- ACTION BUTTONS (Cornerstones / Donate / Toolkit) ---------- */
  .action-buttons {
    padding: 5.625rem 5vw 0.625rem;
    background: var(--off-white);
  }

  /* ---------- Our Campaigns ---------- */
  .campaigns-intro-wrap {
    padding: 5.625rem 5vw 0;
  }

  .campaigns-intro {
    max-width: 80rem;
    margin: 0 auto;
  }

  .campaigns-title {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 700;
    color: var(--navy-royal);
    margin-bottom: 0.75rem;
  }

  .campaigns-tagline {
    font-size: 1.0625rem;
    color: rgba(16,22,43,0.68);
    max-width: 40rem;
    line-height: 1.6;
  }

  .campaigns-band {
    position: relative;
    margin-top: 2.75rem;
    display: flex;
    flex-wrap: wrap;
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
  }

  .campaigns-panel {
    padding: 5rem 5vw 1.875rem;
  }

  .campaigns-panel-dark {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--navy-royal);
    flex: 1 1 58%;
  }

  /* Buckingham Palace footage behind the Campaigns panel. Multiply blend only ever darkens
     the navy, so the footage reads as deeper shadows and never washes the panel out. */
  .campaigns-panel-video {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    mix-blend-mode: multiply;
    pointer-events: none;
  }

  .campaigns-panel-light {
    background: var(--blue-bright);
    flex: 1 1 42%;
  }

  .campaigns-col-heading {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--off-white);
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
  }

  .campaigns-col-heading svg { flex-shrink: 0; }

  .campaigns-item {
    margin-bottom: 1.625rem;
  }
  .campaigns-item:last-child { margin-bottom: 0; }

  .campaigns-item-title-row {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.5rem;
  }

  .campaigns-item-icon {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    object-fit: contain;
    border-radius: 0.25rem;
  }

  .campaigns-item-title {
    display: inline-block;
    color: var(--off-white);
    font-size: 1.0625rem;
    font-weight: 700;
    border-bottom: 0.09375rem solid rgba(245,247,252,0.4);
    padding-bottom: 0.1875rem;
  }

  .campaigns-item-desc {
    color: rgba(245,247,252,0.78);
    font-size: 0.90625rem;
    line-height: 1.6;
    max-width: 23.75rem;
  }

  .news-item {
    border-left: 0.125rem solid rgba(245,247,252,0.4);
    padding: 0.25rem 0 0.25rem 0.875rem;
    margin-bottom: 1rem;
  }
  .news-item:last-child { margin-bottom: 0; }

  .news-item a {
    color: var(--off-white);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
  }
  .news-item a:hover { text-decoration: underline; }

  .action-grid {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3.5rem;
  }

  .action-card {
    display: block;
    position: relative;
    width: 21.25rem;
    height: 14.375rem;
    max-width: 100%;
  }

  .action-card-backdrop {
    position: absolute;
    inset: 0;
    background: var(--navy-deep);
    transform: translate(0.625rem, 0.625rem);
  }

  .action-card-fill {
    position: absolute;
    inset: 0;
    background: var(--blue-bright);
    transform: rotate(-1.5deg);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.625rem;
    overflow: hidden;
  }

  .action-card:hover .action-card-fill {
    transform: rotate(-1.5deg) translate(-0.25rem, -0.25rem);
  }

  .action-card-logo {
    position: absolute;
    top: -8%;
    right: -12%;
    width: 68%;
    height: auto;
    opacity: 0.2;
    pointer-events: none;
  }

  .action-card-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(16,22,43,0.8) 0%, rgba(16,22,43,0.15) 55%, rgba(16,22,43,0) 75%);
  }

  .action-card-text {
    position: relative;
    z-index: 2;
  }

  .action-card-label {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--off-white);
    margin-bottom: 0.375rem;
  }

  .action-card-sub {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(245,247,252,0.75);
  }

  /* ---------- VIDEO CAROUSEL (homepage reels) ---------- */
  .reels {
    background: var(--off-white);
    padding-bottom: 8.75rem;
    position: relative;
  }

  .reels-intro-wrap {
    padding: 5.625rem 5vw 0;
  }

  .reels-intro {
    max-width: 80rem;
    margin: 0 auto;
  }

  .reels-title {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 700;
    color: var(--navy-royal);
    margin-bottom: 0.75rem;
  }

  /* RoyalTok: the "o" carries the TikTok-style split-colour glitch */
  .reels-title-glitch {
    text-shadow: -0.05em -0.035em 0 #25f4ee, 0.05em 0.035em 0 #fe2c55;
  }

  .reels-tagline {
    font-size: 1.0625rem;
    color: rgba(16,22,43,0.68);
    max-width: 40rem;
    line-height: 1.6;
  }

  .reels-stage {
    --reel-w: 21.25rem;
    position: relative;
    margin-top: 2.5rem;
  }

  .reels-track {
    list-style: none;
    margin: 0;
    position: relative;
    display: flex;
    gap: 0.375rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    padding: 0.625rem calc(50% - var(--reel-w) / 2) 1.5rem;
    scrollbar-width: none;
    outline: none;
  }
  .reels-track::-webkit-scrollbar { display: none; }
  .reels-track:focus-visible .reel-frame.is-active .reel { outline: 0.1875rem solid var(--blue-bright); outline-offset: 0.25rem; }

  .reel-frame {
    position: relative;
    flex: 0 0 var(--reel-w);
    aspect-ratio: 9 / 16;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    transform: scale(0.92);
    opacity: 0.45;
    transition: transform 0.18s ease-out, opacity 0.18s ease-out;
    cursor: pointer;
  }

  .reel-frame.is-active {
    transform: none;
    opacity: 1;
    cursor: auto;
  }

  .reel-backdrop {
    position: absolute;
    inset: 0;
    background: var(--navy-deep);
    border-radius: 0.25rem;
    transform: translate(0.5625rem, 0.5625rem);
    opacity: 0;
    transition: opacity 0.18s ease-out;
  }
  .reel-frame.is-active .reel-backdrop { opacity: 1; }

  .reel {
    position: absolute;
    inset: 0;
    border-radius: 0.25rem;
    overflow: hidden;
    background: var(--navy-deep);
    color: var(--off-white);
    display: flex;
    flex-direction: column;
  }

  .reel-video,
  .reel-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .reel-video { object-fit: cover; }

  .reel-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-deep);
  }
  .reel-frame:nth-child(4n+2) .reel-placeholder { background: var(--navy-royal); }
  .reel-frame:nth-child(4n+3) .reel-placeholder { background: var(--blue-bright); }

  .reel-placeholder-logo {
    width: 80%;
    height: auto;
    opacity: 0.2;
  }

  .reel-scrim {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(16,22,43,0.55) 0%, rgba(16,22,43,0.12) 42%, rgba(16,22,43,0.12) 50%, rgba(16,22,43,0.85) 100%);
  }

  .reel-brand {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.125rem 1.25rem 0;
    font-size: 0.9375rem;
    font-weight: 700;
  }

  .reel-brand-logo {
    width: 1.875rem;
    height: 1.5rem;
    object-fit: contain;
  }

  .reel-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.375rem 1.25rem 1.5rem;
  }

  .reel-title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--off-white);
  }

  .reel-title .mark {
    background: var(--blue-bright);
    color: var(--off-white);
    padding: 0 0.5rem 0.1875rem;
  }

  .reel-body {
    margin-top: auto;
    font-size: 0.90625rem;
    line-height: 1.45;
    color: rgba(245,247,252,0.92);
    margin-bottom: 1rem;
    padding-right: 3.875rem;
  }

  .reel-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--off-white);
    color: var(--navy-deep);
    font-size: 0.9375rem;
    font-weight: 700;
    padding: 0.625rem 1.125rem;
    border-radius: 62.4375rem;
    transition: background 0.2s ease;
  }
  .reel-cta:hover { background: #fff; }
  .reel-cta svg { transition: transform 0.2s ease; }
  .reel-cta:hover svg { transform: translateX(0.1875rem); }

  .reel-rail {
    position: absolute;
    z-index: 3;
    right: 0.875rem;
    bottom: 6rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .reel-rail-btn {
    width: 2.875rem;
    height: 2.875rem;
    border-radius: 50%;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  .reel-rail-btn:hover { transform: scale(1.06); }
  .reel-rail-btn:focus-visible { outline: 0.125rem solid var(--off-white); outline-offset: 0.1875rem; }

  /* TikTok-style heart: red outline at rest, fills and pops when liked */
  .reel-like { background: var(--off-white); color: #fe2c55; }
  .reel-like[aria-pressed="true"] svg path { fill: currentColor; }
  .reel-like[aria-pressed="true"] svg { animation: reelHeartPop 0.35s cubic-bezier(0.2, 0.8, 0.2, 1.4); }

  @keyframes reelHeartPop {
    0% { transform: scale(0.6); }
    60% { transform: scale(1.25); }
    100% { transform: scale(1); }
  }
  .reel-share { background: var(--off-white); color: var(--navy-deep); }
  .reel-sound { background: rgba(16,22,43,0.55); color: var(--off-white); }
  .reel-sound .reel-sound-on { display: none; }
  .reel-sound[aria-pressed="true"] .reel-sound-on { display: block; }
  .reel-sound[aria-pressed="true"] .reel-sound-off { display: none; }

  .reel-frame:not(.is-active) .reel-content,
  .reel-frame:not(.is-active) .reel-rail,
  .reel-frame:not(.is-active) .reel-play { pointer-events: none; }

  /* Play button: frosted disc in the open middle of the card */
  .reel-play {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    width: 4.25rem;
    height: 4.25rem;
    margin: -2.125rem 0 0 -2.125rem;
    border-radius: 50%;
    border: 0.0625rem solid rgba(245,247,252,0.45);
    background: rgba(245,247,252,0.18);
    -webkit-backdrop-filter: blur(0.625rem);
    backdrop-filter: blur(0.625rem);
    color: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.18s ease-out;
  }
  .reel-play::after {
    content: "";
    position: absolute;
    inset: -0.0625rem;
    border-radius: 50%;
    border: 0.09375rem solid rgba(245,247,252,0.55);
    opacity: 0;
  }
  .reel-frame.is-active .reel-play::after { animation: reelPlayRing 2.6s ease-out infinite; }
  .reel-play:hover { transform: scale(1.08); background: rgba(245,247,252,0.28); }
  .reel-play:focus-visible { outline: 0.125rem solid var(--off-white); outline-offset: 0.25rem; }
  .reel-frame:not(.is-active) .reel-play { opacity: 0; }

  @keyframes reelPlayRing {
    0% { transform: scale(1); opacity: 0.7; }
    70%, 100% { transform: scale(1.45); opacity: 0; }
  }

  /* Watching: the reel restarts with sound; the play button steps aside
     and returns only while paused. A TikTok-style progress line runs along the foot. */
  .reel-frame.is-watching .reel-play { opacity: 0; transform: scale(0.7); pointer-events: none; }
  .reel-frame.is-watching .reel-play::after { animation: none; }
  .reel-frame.is-watching.is-paused .reel-play { opacity: 1; transform: none; pointer-events: auto; }
  .reel-frame.is-watching .reel-video { cursor: pointer; }

  /* The headline steps away while the full film plays */
  .reel-title { transition: opacity 0.3s ease, transform 0.3s ease; }
  .reel-frame.is-watching .reel-title { opacity: 0; transform: translateY(-0.625rem); }

  /* Mobile: a finger briefly demonstrates the swipe */
  .reels-swipe-hint {
    position: absolute;
    z-index: 5;
    left: 50%;
    top: 67%;
    width: 4.5rem;
    height: 4.5rem;
    margin: -2.25rem 0 0 -2.25rem;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--off-white);
    pointer-events: none;
    filter: drop-shadow(0 0.125rem 0.5rem rgba(16,22,43,0.7));
    opacity: 0;
  }
  .reels-swipe-hint.is-showing {
    display: flex;
    animation: reelSwipeHint 1.5s ease-in-out 2;
  }

  @keyframes reelSwipeHint {
    0% { opacity: 0; transform: translateX(2.5rem) scale(0.85); }
    18% { opacity: 1; transform: translateX(2.5rem) scale(1); }
    70% { opacity: 1; transform: translateX(-2.5rem) scale(1); }
    100% { opacity: 0; transform: translateX(-2.5rem) scale(0.9); }
  }

  @keyframes reelSwipeHintStill {
    0%, 100% { opacity: 0; }
    20%, 80% { opacity: 1; }
  }

  .reel-progress {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0.1875rem;
    background: rgba(245,247,252,0.22);
    opacity: 0;
    transition: opacity 0.25s ease;
  }
  .reel-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--off-white);
  }
  .reel-frame.is-watching .reel-progress { opacity: 1; }

  /* ---------- Our story slideshow ---------- */
  .story-slides { padding: 0; }

  .story-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1), transform 7s linear;
  }
  .story-slide.is-active { opacity: 1; transform: scale(1); }
  .story-slide.is-leaving { opacity: 0; transform: scale(1); transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1); }

  .reels-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.125rem;
  }

  .reels-arrow {
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    border-radius: 50%;
    border: 0;
    background: var(--navy-royal);
    color: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
  }
  .reels-arrow:hover { background: var(--navy-deep); }
  .reels-arrow:focus-visible { outline: 0.1875rem solid var(--blue-bright); outline-offset: 0.1875rem; }
  .reels-arrow[disabled] { opacity: 0.3; cursor: default; }
  .reels-arrow[disabled]:hover { background: var(--navy-royal); }

  .reels-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
  }

  .reels-dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: 0;
    border-radius: 62.4375rem;
    background: rgba(34,59,151,0.25);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
  }
  .reels-dot.is-active { width: 1.5rem; background: var(--navy-royal); }

  .reels-status {
    position: absolute;
    width: 0.0625rem;
    height: 0.0625rem;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .reels-toast {
    position: fixed;
    z-index: 200;
    left: 50%;
    bottom: 2rem;
    transform: translate(-50%, 1.25rem);
    background: var(--navy-deep);
    color: var(--off-white);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 0.25rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .reels-toast.show { opacity: 1; transform: translate(-50%, 0); }

  @media (max-width: 900px) {
    .reels-arrow { display: none; }
  }

  @media (max-width: 640px) {
    .reels { padding-bottom: 5rem; }
    .reels-intro-wrap { padding: 3.75rem 6vw 0; }
    .reels-stage { --reel-w: min(78vw, 21.25rem); margin-top: 1.75rem; }
    .reels-track { gap: 0.25rem; }
    .reel-title { font-size: 1.625rem; }
    .reel-body { font-size: 0.875rem; }
  }

  @media (prefers-reduced-motion: reduce) {
    .reel-frame,
    .reel-backdrop,
    .reels-dot,
    .reels-toast { transition: none; }
    .reel-frame.is-active .reel-play::after { animation: none; }
    .reel-like[aria-pressed="true"] svg { animation: none; }
    .reels-swipe-hint.is-showing { animation: reelSwipeHintStill 2.4s ease-in-out 1; }
    .story-slide,
    .story-slide.is-active,
    .story-slide.is-leaving { transform: none; }
  }

  /* ---------- FOOTER: DIAGONAL NAVY SECTION ---------- */
  .footer-diagonal {
    background: var(--navy-royal);
    clip-path: polygon(0% 12%, 100% 0%, 100% 100%, 0% 100%);
    margin-top: -3.75rem;
    padding: 7.5rem 5vw 2.5rem;
  }

  .footer-diagonal-inner {
    max-width: 80rem;
    margin: 0 auto;
  }

  .footer-big-statement {
    font-size: clamp(1.75rem, 4.6vw, 3.75rem);
    font-weight: 700;
    color: var(--off-white);
    line-height: 1.1;
    letter-spacing: -0.01em;
    white-space: nowrap;
    margin-bottom: 5rem;
  }

  .footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 2.5rem;
    padding-bottom: 3.125rem;
    border-top: 0.0625rem solid rgba(245,247,252,0.15);
    padding-top: 3.125rem;
  }

  .footer-columns h5 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--off-white);
    margin-bottom: 1.5rem;
  }

  .footer-col-links {
    display: grid;
    gap: 0.875rem;
  }

  .footer-col-links a {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(245,247,252,0.75);
    transition: color 0.2s ease;
  }

  .footer-col-links a:hover { color: var(--off-white); }

  .footer-contact-item {
    margin-bottom: 1.5rem;
  }

  .footer-contact-item .label {
    font-size: 0.8125rem;
    color: rgba(245,247,252,0.6);
    margin-bottom: 0.375rem;
  }

  .footer-contact-item a {
    font-size: 0.9375rem;
    color: var(--off-white);
    border-bottom: 0.0625rem solid rgba(245,247,252,0.4);
  }

  .footer-social {
    display: grid;
    grid-template-columns: repeat(4, 2.25rem);
    gap: 0.875rem;
  }

  .footer-social a {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(245,247,252,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--off-white);
    transition: background 0.2s ease;
  }

  .footer-social a:hover { background: rgba(245,247,252,0.25); }

  .footer-legal-bar {
    background: var(--off-white);
    padding: 1.75rem 5vw;
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.875rem;
  }

  .footer-legal-links a:not(:last-child)::after {
    content: '\2022';
    margin-left: 0.875rem;
    color: rgba(16,22,43,0.3);
  }

  .footer-legal-links a {
    font-size: 0.8125rem;
    color: rgba(16,22,43,0.6);
    transition: color 0.2s ease;
  }

  .footer-legal-links a:hover { color: var(--navy-royal); }

  .footer-legal-credit {
    font-size: 0.8125rem;
    color: rgba(16,22,43,0.6);
    white-space: nowrap;
  }

  /* ---------- RESPONSIVE: TABLET (641px–1024px) ---------- */
  @media (max-width: 1024px) {
    .campaigns-band { flex-direction: column; }
    .campaigns-panel-dark, .campaigns-panel-light { flex-basis: auto; }
    .footer-legal-credit { font-size: 0.75rem; }
    .menu-panel {
      width: 88%;
      min-width: 0;
      max-width: none;
      flex-direction: column;
    }
    .menu-nav-pane {
      flex: none;
      width: 100%;
    }
    .menu-content-pane {
      padding: 2.5rem 2.25rem;
      display: none;
    }
    .menu-panel.content-open .menu-nav-pane {
      display: none;
    }
    .menu-panel.content-open .menu-content-pane {
      display: block;
    }
    .menu-back-btn {
      display: flex;
    }
    .side-panel {
      width: 60%;
      min-width: 20rem;
    }
    .footer-columns {
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
    }
    .footer-social {
      display: flex;
      flex-wrap: wrap;
      gap: 0.875rem;
    }
    .hero {
      gap: 1.5rem;
    }
    .hero-photo-link {
      margin-left: -1.5rem;
    }
    .split-section-inner {
      grid-template-columns: minmax(12.5rem, 18.75rem) 1fr;
      gap: 2.5rem;
    }
    .join-panel {
      padding: 2.25rem;
    }
  }

  /* ---------- RESPONSIVE: SMALL TABLET (≤900px) — split section stacks ---------- */
  @media (max-width: 900px) {
    .split-section-inner {
      grid-template-columns: 1fr;
      gap: 2.5rem;
    }
    .split-more {
      max-width: 27.5rem;
    }
    .split-more-photo {
      max-width: 21.25rem;
    }
  }

  /* ---------- RESPONSIVE: MOBILE (≤640px) ---------- */
  @media (max-width: 640px) {
    .menu-social {
      grid-template-columns: repeat(7, 1fr);
      gap: 0.375rem;
    }
    .menu-social a { width: 100%; aspect-ratio: 1; }

    .campaigns-intro-wrap { padding: 3.75rem 6vw 0; }
    .campaigns-band {
      clip-path: none;
      margin-top: 1.5rem;
    }
    .campaigns-panel {
      background: none !important;
      padding: 0 6vw;
      flex-basis: auto;
    }
    .campaigns-panel-light { padding-top: 2.5rem; }
    .campaigns-panel-video { display: none; }
    .campaigns-col-heading,
    .campaigns-item-title,
    .news-item a {
      color: var(--navy-royal) !important;
    }
    .campaigns-item-desc { color: rgba(16,22,43,0.68) !important; }
    .campaigns-item-title { border-bottom-color: rgba(26,45,122,0.2) !important; }
    .news-item { border-left-color: rgba(26,45,122,0.25) !important; }


    header.site-nav {
      grid-template-columns: auto 1fr auto;
      padding: 1.25rem 5vw;
    }
    .globe-trigger span { display: none; }
    .nav-links { display: none; }

    .menu-panel,
    .side-panel {
      width: 100%;
      min-width: 0;
      max-width: none;
    }
    .menu-panel {
      flex-direction: column;
    }
    .menu-nav-pane {
      flex: none;
      width: 100%;
      padding: 2rem 6vw;
    }
    .menu-content-pane {
      padding: 2rem 6vw 3rem;
    }
    .menu-tab {
      font-size: 1.4375rem;
    }
    .menu-content-label {
      font-size: 1.125rem;
    }
    .menu-content-icon {
      width: 2.375rem;
      height: 2.375rem;
    }

    .hero {
      flex-direction: column;
      gap: 2rem;
      padding: 2.5rem 6vw 3.125rem;
    }
    .hero-photo-link {
      order: -1;
      width: min(85vw, 23.75rem);
      max-width: min(85vw, 23.75rem);
      margin-left: 0;
      flex-basis: auto;
    }
    .hero-inner {
      flex-basis: auto;
      max-width: 100%;
    }
    .headline { font-size: clamp(2.125rem, 10vw, 2.75rem); }
    .headline-desktop { display: none; }
    .headline-mobile { display: inline; }
    .subtext { font-size: 1rem; }

    .split-section { padding: 3.125rem 6vw 3.75rem; }
    .split-section-inner { grid-template-columns: 1fr; gap: 2rem; }
    .split-more-photo { display: none; }
    .split-more-mobile-title { display: block; }
    .checklist { grid-template-columns: 1fr; }
    .join-panel { padding: 2rem 1.5rem; }

    .action-buttons { padding: 3.125rem 6vw 0.625rem; }
    .action-grid { gap: 1.75rem; }
    .action-card { width: 100%; height: auto; aspect-ratio: 16/10; }


    .footer-diagonal { margin-top: -1.25rem; padding: 4.375rem 6vw 1.875rem; clip-path: polygon(0% 6%, 100% 0%, 100% 100%, 0% 100%); }
    .footer-big-statement { white-space: normal; font-size: clamp(1.75rem, 9vw, 2.375rem); margin-top: 1.5rem; }
    .footer-social { display: flex; flex-wrap: nowrap; gap: 0.75rem; }
    .footer-columns { grid-template-columns: 1fr; gap: 2rem; }

    .btn-primary { padding: 0.9375rem 1.625rem; font-size: 0.9375rem; }
    .menu-trigger .menu-label { display: none; }
    .footer-legal-bar { flex-direction: column; align-items: flex-start; padding: 1.5rem 6vw; }
    .footer-legal-credit { font-size: 0.6875rem; }
  }
  /* ================= MYTHBUSTER PAGE — REDESIGNED ================= */
  .mb-wrap {
    font-family: 'Ubuntu', sans-serif;
  }

  /* ---------- Banner: bold, asymmetric, diagonal-cut ---------- */
  .mb-banner {
    position: relative;
    background: var(--navy-deep);
    padding: 6.25rem 5vw 8.125rem;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  }

  .mb-banner-watermark {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -4%;
    width: auto;
    opacity: 0.22;
    pointer-events: none;
  }

  .mb-banner-inner {
    position: relative;
    z-index: 2;
    max-width: 80rem;
    margin: 0 auto;
  }

  .mb-banner h1 {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(2.75rem, 6.5vw, 4.875rem);
    line-height: 1.05;
    font-weight: 700;
    color: var(--off-white);
    max-width: 45rem;
  }

  .mb-banner h1 .mark {
    background: var(--accent-red);
    color: var(--off-white);
    padding: 0 0.75rem;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
  }

  /* ---------- Body / intro: bold statement, not a caption ---------- */
  .mb-body {
    max-width: 80rem;
    margin: 0 auto;
    padding: 4.375rem 5vw 6.25rem;
  }

  .mb-intro {
    max-width: 48.75rem;
    margin-bottom: 4.5rem;
  }

  .mb-intro h2 {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    color: var(--navy-royal);
    line-height: 1.25;
    margin-bottom: 1.125rem;
  }

  .mb-intro p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(16,22,43,0.68);
    line-height: 1.7;
  }

  /* ---------- Card grid ---------- */
  .mb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
  }

  /* Outer frame carries the offset backdrop (signature site treatment) */
  .mb-card-frame {
    position: relative;
    height: 25rem;
  }

  .mb-card-backdrop {
    position: absolute;
    inset: 0;
    background: var(--navy-deep);
    transform: translate(0.5625rem, 0.5625rem);
    border-radius: 0.25rem;
  }

  .mb-card {
    position: absolute;
    inset: 0;
    transform: rotate(-1.2deg);
  }

  .mb-card-flip {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 87.5rem;
    cursor: pointer;
  }

  .mb-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    transform: rotateY(0deg);
    will-change: transform;
  }

  .mb-card-flip.flipped .mb-card-inner {
    transform: rotateY(180deg);
  }

  .mb-card-front,
  .mb-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 0.25rem;
    padding: 1.875rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 1;
    z-index: 2;
    transition: opacity 0s linear 0.35s;
  }

  .mb-card-front {
    background: var(--blue-bright);
  }

  .mb-card-back {
    background: var(--off-white);
    border: 0.0625rem solid rgba(26,45,122,0.12);
    transform: rotateY(180deg);
    opacity: 0;
    z-index: 1;
  }

  .mb-card-flip.flipped .mb-card-front {
    opacity: 0;
    z-index: 1;
  }

  .mb-card-flip.flipped .mb-card-back {
    opacity: 1;
    z-index: 2;
  }

  .mb-card-watermark {
    position: absolute;
    bottom: -12%;
    right: -14%;
    width: 60%;
    height: auto;
    opacity: 0.16;
    pointer-events: none;
    z-index: 0;
  }

  .mb-myth-label {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--off-white);
    background: var(--accent-red);
    padding: 0.25rem 0.625rem;
    margin-bottom: 1.25rem;
    align-self: flex-start;
  }

  .mb-myth-text {
    position: relative;
    z-index: 1;
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.3125rem;
    font-weight: 700;
    color: var(--off-white);
    line-height: 1.35;
    flex: 1;
  }

  .mb-flip-hint {
    position: relative;
    z-index: 1;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(245,247,252,0.65);
    letter-spacing: 0.02em;
    margin-top: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.4375rem;
  }

  .mb-back-label {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--off-white);
    background: var(--navy-royal);
    padding: 0.25rem 0.625rem;
    margin-bottom: 1rem;
    align-self: flex-start;
  }

  .mb-back-text {
    position: relative;
    z-index: 1;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(16,22,43,0.78);
    line-height: 1.62;
    flex: 1;
    overflow-y: auto;
  }

  .mb-back-text p { margin-bottom: 0.625rem; }
  .mb-back-text p:last-child { margin-bottom: 0; }
  .mb-back-text strong { font-weight: 700; color: var(--navy-royal); }
  .mb-back-text a {
    color: var(--navy-royal);
    font-weight: 500;
    border-bottom: 0.0625rem solid rgba(34,59,151,0.35);
    text-decoration: none;
  }
  .mb-back-text a:hover { color: var(--blue-bright); border-bottom-color: var(--blue-bright); }

  .mb-source {
    position: relative;
    z-index: 1;
    margin-top: 0.875rem;
    padding-top: 0.875rem;
    border-top: 0.0625rem solid rgba(26,45,122,0.1);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .mb-source-icon {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 0.0625rem solid var(--navy-royal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.0625rem;
  }

  .mb-source-icon svg { color: var(--navy-royal); }

  .mb-source-text {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.71875rem;
    font-style: italic;
    color: rgba(16,22,43,0.5);
    line-height: 1.5;
  }

  /* ---------- Build Your Own Republic: diagonal navy band ---------- */
  .mb-counter-wrap {
    position: relative;
    margin: 5.625rem calc(-5vw) 0;
    z-index: 10;
  }

  .mb-counter {
    position: relative;
    background: var(--navy-royal);
    clip-path: polygon(0 6%, 100% 0%, 100% 100%, 0% 100%);
    padding: 5.625rem 5vw 6.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
  }

  .mb-counter-content {
    max-width: 38.75rem;
  }

  .mb-counter-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(1.75rem, 3.4vw, 2.625rem);
    font-weight: 700;
    color: var(--off-white);
    line-height: 1.15;
    margin-bottom: 1.125rem;
  }

  .mb-counter-body {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(245,247,252,0.8);
    line-height: 1.6;
    margin-bottom: 1.875rem;
    max-width: 30rem;
  }

  .mb-counter .btn-primary {
    background: var(--off-white);
    color: var(--navy-royal);
  }
  .mb-counter .btn-primary:hover {
    background: var(--blue-bright);
    color: var(--off-white);
  }

  /* Peeking caricature */
  .mb-peek-zone {
    position: absolute;
    bottom: 100%;
    right: 8vw;
    width: 16.25rem;
    height: 5.625rem;
    overflow: visible;
    clip-path: inset(-12.5rem 0 0 0);
    pointer-events: none;
    z-index: 20;
  }

  .mb-counter-caricature {
    position: absolute;
    bottom: 0; right: 1.25rem;
    width: 8.125rem;
    min-width: 8.125rem; max-width: 8.125rem;
    display: flex; flex-direction: column; align-items: center;
    overflow: visible;
    transform: translateY(100%);
    animation: mbBobPeek 10s ease-in-out infinite;
  }

  .mb-counter-caricature img {
    width: 8.125rem; height: auto; display: block; flex-shrink: 0;
    mask-image: linear-gradient(to bottom, black 55%, rgba(245,247,252,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 55%, rgba(245,247,252,0) 100%);
    animation: mbIdleBob 2.2s ease-in-out infinite;
  }

  .mb-speech-bubble {
    order: -1;
    flex-shrink: 0;
    align-self: center;
    margin-bottom: 0.5rem;
    background: #fffde7;
    border: 0.09375rem solid #f0c040;
    border-radius: 0.875rem 0.875rem 0.125rem 0.875rem;
    padding: 0.5rem 0.875rem;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.75rem;
    font-style: italic;
    color: var(--ink);
    white-space: nowrap;
    box-shadow: 0 0.125rem 0.5rem rgba(240,192,64,0.2);
    position: relative;
    opacity: 0;
    animation: mbBubblePop 10s ease-in-out infinite;
  }

  .mb-speech-bubble::after {
    content: '';
    position: absolute; bottom: -0.5rem; left: 50%;
    transform: translateX(-50%);
    border-left: 0.5rem solid transparent; border-right: 0.5rem solid transparent;
    border-top: 0.5rem solid #fffde7;
  }
  .mb-speech-bubble::before {
    content: '';
    position: absolute; bottom: -0.625rem; left: 50%;
    transform: translateX(-50%);
    border-left: 0.5rem solid transparent; border-right: 0.5rem solid transparent;
    border-top: 0.5rem solid #f0c040;
  }

  .mb-bubble-text {
    overflow: hidden; white-space: nowrap;
    display: inline-block; max-width: 0; width: max-content;
    vertical-align: middle;
    animation: mbTypewriter 10s ease-in-out infinite;
  }

  @keyframes mbBobPeek {
    0%,100% { transform: translateY(100%); }
    12%     { transform: translateY(-5%) rotate(-2deg); }
    18%     { transform: translateY(2%) rotate(1deg); }
    23%,72% { transform: translateY(0%); }
    80%     { transform: translateY(0%) rotate(1deg); }
    90%     { transform: translateY(100%); }
  }
  @keyframes mbIdleBob {
    0%,100% { transform: rotate(0deg) translateY(0); }
    25%     { transform: rotate(-1.5deg) translateY(-0.1875rem); }
    75%     { transform: rotate(1.5deg) translateY(-0.0625rem); }
  }
  @keyframes mbBubblePop {
    0%,25%   { opacity: 0; transform: scale(0.5); }
    33%      { opacity: 1; transform: scale(1.05); }
    38%,70%  { opacity: 1; transform: scale(1); }
    80%,100% { opacity: 0; transform: scale(0.5); }
  }
  @keyframes mbTypewriter {
    0%,32%   { max-width: 0; }
    55%      { max-width: 12.5rem; }
    70%      { max-width: 12.5rem; }
    80%,100% { max-width: 0; }
  }

  @media (max-width: 1024px) {
    .mb-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
    .mb-card-frame { height: 23.75rem; }
    .mb-peek-zone { width: 13.75rem; height: 10rem; right: 6vw; }
    .mb-counter-caricature img { width: 6.25rem; }
  }

  @media (max-width: 900px) {
    .mb-counter { padding: 5rem 6vw 5.625rem; }
  }

  @media (max-width: 640px) {
    .mb-banner { padding: 3.75rem 6vw 5.625rem; clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
    .mb-banner-watermark { right: -8%; opacity: 0.18; }
    .mb-body { padding: 3.125rem 6vw 3.75rem; }
    .mb-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .mb-card-frame { height: 22.5rem; }
    .mb-card-front, .mb-card-back { padding: 1.5rem; }
    .mb-myth-text { font-size: 1.125rem; }
    .mb-counter-wrap { margin: 3.75rem calc(-6vw) 0; }
    .mb-counter { clip-path: polygon(0 3% ,100% 0, 100% 100%, 0 100%); padding: 3.75rem 6vw 4.375rem; flex-direction: column; align-items: flex-start; }
    .mb-peek-zone { width: 11.25rem; height: 8.125rem; right: 6vw; }
    .mb-counter-caricature img { width: 4.625rem; }
    .mb-speech-bubble { font-size: 0.625rem; padding: 0.375rem 0.625rem; }
  }

  /* ================= BUILD YOUR OWN REPUBLIC — REDESIGNED ================= */
  .rg-wrap {
    font-family: 'Ubuntu', sans-serif;
  }

  /* ---------- Banner: bold, diagonal-cut, mark-highlighted ---------- */
  .rg-banner {
    position: relative;
    background: var(--navy-deep);
    padding: 6.25rem 5vw 8.125rem;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  }

  .rg-banner-watermark {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -6%;
    width: auto;
    opacity: 0.16;
    pointer-events: none;
  }

  .rg-banner-inner {
    position: relative;
    z-index: 2;
    max-width: 80rem;
    margin: 0 auto;
    text-align: left;
  }

  .rg-banner h1 {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(2.75rem, 6.5vw, 4.875rem);
    line-height: 1.08;
    font-weight: 700;
    color: var(--off-white);
    max-width: 38.75rem;
  }

  .rg-banner h1 .mark {
    background: var(--blue-bright);
    color: var(--off-white);
    padding: 0 0.75rem;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
  }

  /* ---------- Body ---------- */
  .rg-body {
    max-width: 62.5rem;
    margin: 0 auto;
    padding: 5rem 5vw 6.25rem;
  }

  /* ---------- Intro ---------- */
  .rg-intro {
    margin-bottom: 3.5rem;
  }

  .rg-intro h2 {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    color: var(--navy-royal);
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .rg-intro p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(16,22,43,0.68);
    line-height: 1.7;
    max-width: 43.75rem;
  }

  /* ---------- Scoreboard ---------- */
  .rg-scoreboard {
    background: var(--off-white);
    border: 0.0625rem solid rgba(26,45,122,0.12);
    border-radius: 0.375rem;
    padding: 2rem;
    margin-bottom: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    box-shadow: 0 0.75rem 2rem rgba(16,22,43,0.06);
  }

  .rg-score-left { flex: 1; }

  .rg-score-label {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-bright);
    margin-bottom: 0.5rem;
  }

  .rg-score-num {
    font-family: 'Ubuntu', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--navy-royal);
    transition: color 0.3s;
  }

  .rg-score-num.over { color: var(--accent-red); }
  .rg-score-num.under { color: #1a7a4a; }

  .rg-score-vs {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.8125rem;
    color: rgba(16,22,43,0.45);
    margin-top: 0.5rem;
  }

  .rg-score-right { flex: 1; max-width: 23.75rem; }

  .rg-progress-labels {
    display: flex;
    justify-content: space-between;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.6875rem;
    color: rgba(16,22,43,0.4);
    margin-bottom: 0.5rem;
  }

  .rg-progress-track {
    height: 0.625rem;
    background: rgba(26,45,122,0.08);
    border-radius: 0.3125rem;
    position: relative;
    overflow: visible;
  }

  .rg-progress-monarchy {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(34,59,151,0.06);
    border-radius: 0.3125rem;
  }

  .rg-progress-marker {
    position: absolute; top: -0.3125rem; right: 0; width: 0.125rem; height: 1.25rem;
    background: var(--navy-royal);
    border-radius: 0.0625rem;
  }

  .rg-progress-republic {
    position: absolute; top: 0; left: 0; height: 100%;
    background: linear-gradient(90deg, #1a7a4a, var(--accent-red));
    border-radius: 0.3125rem;
    transition: width 0.5s cubic-bezier(0.34,1.56,0.64,1);
    width: 0%;
  }

  .rg-progress-monarchy-label {
    position: absolute; top: 1.375rem; right: 0;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.6875rem;
    color: var(--navy-royal);
    font-weight: 500;
    white-space: nowrap;
  }

  /* ---------- Alarm banner ---------- */
  .rg-alarm-wrap {
    position: fixed;
    top: -8.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    min-width: 21.25rem;
    text-align: center;
    transition: top 0.5s cubic-bezier(0.34,1.4,0.64,1);
  }

  .rg-alarm-wrap.show { top: 1.5rem; }
  .rg-alarm-wrap.hide { top: -8.75rem; transition: top 0.35s ease; }

  .rg-alarm-box {
    background: var(--off-white);
    border-top: 0.25rem solid var(--accent-red);
    border-radius: 0 0 0.375rem 0.375rem;
    padding: 1.125rem 1.875rem 1rem;
    box-shadow: 0 0.75rem 2.25rem rgba(16,22,43,0.22);
  }

  .rg-alarm-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-red);
    margin-bottom: 0.25rem;
  }

  .rg-alarm-amount {
    font-family: 'Ubuntu', sans-serif;
    font-size: 2.125rem;
    font-weight: 700;
    color: var(--accent-red);
    line-height: 1;
    margin-bottom: 0.25rem;
  }

  .rg-alarm-sub {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.75rem;
    color: rgba(16,22,43,0.5);
  }

  @keyframes rg-shake {
    0%,100% { transform: translateX(-50%); }
    20% { transform: translateX(calc(-50% - 0.4375rem)); }
    40% { transform: translateX(calc(-50% + 0.4375rem)); }
    60% { transform: translateX(calc(-50% - 0.25rem)); }
    80% { transform: translateX(calc(-50% + 0.25rem)); }
  }
  .rg-alarm-wrap.shake { animation: rg-shake 0.45s ease 0.2s; }

  /* ---------- Sections ---------- */
  .rg-section { margin-bottom: 3.25rem; }

  .rg-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.375rem;
    padding-bottom: 1rem;
    border-bottom: 0.0625rem solid rgba(26,45,122,0.12);
  }

  .rg-section-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--navy-royal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--off-white);
  }

  .rg-section-icon svg { width: 1rem; height: 1rem; }

  .rg-section-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-royal);
    flex: 1;
  }

  .rg-section-total {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.8125rem;
    color: rgba(16,22,43,0.4);
  }
  .rg-section-total span { color: var(--navy-royal); font-weight: 700; }

  /* ---------- Cards (clean/functional, not tilted — this is a data tool, not editorial content) ---------- */
  .rg-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .rg-card {
    background: var(--off-white);
    border: 0.09375rem solid rgba(26,45,122,0.14);
    border-radius: 0.375rem;
    padding: 1.125rem 1.125rem 2.875rem;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  }

  .rg-card:hover {
    border-color: var(--blue-bright);
    box-shadow: 0 0.25rem 1rem rgba(34,59,151,0.1);
  }

  .rg-card.active {
    border-color: var(--navy-royal);
    background: rgba(74,102,204,0.06);
  }

  .rg-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
  }

  .rg-card-icon {
    flex-shrink: 0;
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
    background: rgba(34,59,151,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-royal);
  }

  .rg-card-icon svg { width: 0.9375rem; height: 0.9375rem; }

  .rg-card-cost {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-royal);
    text-align: right;
    line-height: 1;
  }

  .rg-card-cost-note {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.625rem;
    color: rgba(16,22,43,0.4);
    display: block;
    text-align: right;
    margin-top: 0.1875rem;
  }

  .rg-card-label {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy-royal);
    margin-bottom: 0.5rem;
    line-height: 1.35;
  }

  .rg-card-desc {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.78125rem;
    font-weight: 400;
    color: rgba(16,22,43,0.6);
    line-height: 1.6;
  }

  .rg-card-check {
    position: absolute;
    bottom: 0.875rem;
    right: 0.875rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    border: 0.09375rem solid rgba(26,45,122,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: transparent;
  }

  .rg-card-check svg { width: 0.75rem; height: 0.75rem; }

  .rg-card.active .rg-card-check {
    background: var(--navy-royal);
    border-color: var(--navy-royal);
    color: var(--off-white);
  }

  /* Info button & proviso */
  .rg-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 0.0625rem solid rgba(26,45,122,0.3);
    color: var(--blue-bright);
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.625rem;
    font-weight: 700;
    font-style: italic;
    cursor: pointer;
    vertical-align: middle;
    margin-left: 0.375rem;
    transition: all 0.2s;
    background: var(--off-white);
    line-height: 1;
  }

  .rg-info-btn:hover { border-color: var(--navy-royal); color: var(--navy-royal); }

  .rg-proviso {
    display: none;
    margin-top: 0.75rem;
    padding: 0.75rem 0.875rem;
    background: rgba(200,16,46,0.05);
    border-left: 0.1875rem solid var(--accent-red);
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.71875rem;
    color: rgba(16,22,43,0.7);
    line-height: 1.6;
  }

  .rg-proviso.open { display: block; }
  .rg-proviso strong { color: var(--accent-red); font-weight: 700; }

  /* ---------- Verdict ---------- */
  .rg-verdict {
    background: var(--navy-royal);
    border-radius: 0.375rem;
    padding: 2.25rem 5vw;
    margin-bottom: 2.25rem;
  }

  .rg-verdict-eyebrow {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--off-white);
    margin-bottom: 0.875rem;
  }

  .rg-verdict-text {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(245,247,252,0.9);
    line-height: 1.75;
  }

  .rg-verdict-text strong { font-weight: 700; color: var(--off-white); }
  .rg-verdict-text .good { color: #6fd19a; font-weight: 600; }
  .rg-verdict-text .warn { color: #ff8f9f; font-weight: 600; }
  .rg-verdict-text .highlight { color: var(--off-white); font-weight: 600; text-decoration: underline; text-decoration-color: var(--blue-bright); }

  /* ---------- Controls ---------- */
  .rg-controls {
    display: flex;
    gap: 0.875rem;
    margin-bottom: 2.75rem;
  }

  .rg-btn {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.8125rem 1.75rem;
    border: 0.09375rem solid var(--navy-royal);
    background: var(--off-white);
    color: var(--navy-royal);
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s;
  }

  .rg-btn:hover {
    background: var(--navy-royal);
    color: var(--off-white);
  }

  /* ---------- Footnote ---------- */
  .rg-footnote {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.78125rem;
    font-weight: 400;
    color: rgba(16,22,43,0.45);
    line-height: 1.7;
    border-top: 0.0625rem solid rgba(26,45,122,0.12);
    padding-top: 1.625rem;
  }

  .rg-footnote a {
    color: var(--navy-royal);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 0.0625rem solid rgba(34,59,151,0.35);
  }
  .rg-footnote a:hover { color: var(--blue-bright); border-bottom-color: var(--blue-bright); }

  /* ---------- Responsive ---------- */
  @media (max-width: 1024px) {
    .rg-card-grid { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 900px) {
    .rg-scoreboard { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .rg-score-right { max-width: 100%; width: 100%; }
  }

  @media (max-width: 640px) {
    .rg-banner { padding: 3.75rem 6vw 5.625rem; clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
    .rg-banner-watermark { left: -10%; opacity: 0.13; }
    .rg-body { padding: 3.125rem 6vw 3.75rem; }
    .rg-card-grid { grid-template-columns: 1fr; }
    .rg-alarm-wrap { min-width: 17.5rem; }
    .rg-verdict { padding: 1.75rem 6vw; }
    .rg-controls { flex-direction: column; }
    .rg-btn { width: 100%; }
  }

  /* ================= CORNERSTONES PAGE — REDESIGNED ================= */
  .cs-wrap {
    font-family: 'Ubuntu', sans-serif;
  }

  html { overflow-x: hidden; }

  /* ---------- Banner: diagonal-cut, mark-highlighted ---------- */
  .cs-banner {
    position: relative;
    background: var(--navy-deep);
    padding: 6.25rem 5vw 8.125rem;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  }

  .cs-banner-watermark {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -4%;
    width: auto;
    opacity: 0.2;
    pointer-events: none;
  }

  .cs-banner-inner {
    position: relative;
    z-index: 2;
    max-width: 80rem;
    margin: 0 auto;
  }

  .cs-banner h1 {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(2.75rem, 6.5vw, 4.875rem);
    line-height: 1.08;
    font-weight: 700;
    color: var(--off-white);
    max-width: 45rem;
  }

  .cs-banner h1 .mark {
    background: var(--blue-bright);
    color: var(--off-white);
    padding: 0 0.75rem;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
  }

  /* ---------- Body ---------- */
  .cs-body {
    max-width: 62.5rem;
    margin: 0 auto;
    padding: 5rem 5vw 6.25rem;
  }

  /* ---------- Intro ---------- */
  .cs-intro {
    max-width: 48.75rem;
    margin-bottom: 4.5rem;
  }

  .cs-intro h2 {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    color: var(--navy-royal);
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .cs-intro p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(16,22,43,0.68);
    line-height: 1.7;
  }

  /* ---------- Accordion timeline ---------- */
  .cs-accordion {
    position: relative;
    padding-left: 3.5rem;
    border-left: 0.0625rem solid rgba(26,45,122,0.15);
  }
  /* On wider screens the timeline and rocks sit in the margin, so the cornerstone titles line up with the heading above. */
  @media (min-width: 1100px) {
    .cs-accordion { margin-left: -3.5rem; }
  }

  .cs-item { position: relative; }

  .cs-item-dot {
    position: absolute;
    left: -4.5rem;
    top: 1.8125rem;
    width: 2rem;
    height: 2rem;
    z-index: 2;
    cursor: pointer;
  }

  .cs-rock { position: relative; width: 2rem; height: 2rem; overflow: visible; }

  .cs-rock-top {
    position: absolute; top: 0; left: 0; width: 2rem; height: 2rem;
    clip-path: polygon(0% 0%, 100% 0%, 100% 42%, 78% 52%, 55% 38%, 32% 58%, 10% 44%, 0% 55%);
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
    z-index: 2;
  }
  .cs-rock-top img { width: 2rem; height: 2rem; display: block; object-fit: cover; }
  /* Stone colour: a touch lighter than the photo, with the brown softened towards grey */
  .cs-rock-top img, .cs-rock-bottom img { filter: brightness(1.08) saturate(0.75); }

  .cs-rock-bottom {
    position: absolute; top: 0; left: 0; width: 2rem; height: 2rem;
    clip-path: polygon(0% 55%, 10% 44%, 32% 58%, 55% 38%, 78% 52%, 100% 42%, 100% 100%, 0% 100%);
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
    z-index: 2;
  }
  .cs-rock-bottom img { width: 2rem; height: 2rem; display: block; object-fit: cover; }

  /* Rock smash: a shake, a crack, the halves thrown apart, shards and dust, then settle. */
  .cs-item.open .cs-rock { animation: csRockShake 0.24s linear; }
  .cs-item.open .cs-rock-top { animation: csRockTopSplit 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
  .cs-item.open .cs-rock-bottom { animation: csRockBottomSplit 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
  .cs-item.closing .cs-rock-top { animation: csRockTopMend 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
  .cs-item.closing .cs-rock-bottom { animation: csRockBottomMend 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }

  @keyframes csRockShake {
    0% { transform: none; } 20% { transform: translateX(-0.125rem) rotate(-6deg); }
    40% { transform: translateX(0.125rem) rotate(5deg); } 60% { transform: translateX(-0.09rem) rotate(-4deg); }
    80% { transform: translateX(0.06rem) rotate(2deg); } 100% { transform: none; }
  }
  @keyframes csRockTopSplit {
    0%, 30% { transform: none; }
    62% { transform: translate(-0.5rem, -1.125rem) rotate(-22deg); }
    100% { transform: translate(-0.25rem, -0.625rem) rotate(-9deg); }
  }
  @keyframes csRockBottomSplit {
    0%, 30% { transform: none; }
    62% { transform: translate(0.4375rem, 0.875rem) rotate(16deg); }
    100% { transform: translate(0.1875rem, 0.5rem) rotate(6deg); }
  }
  @keyframes csRockTopMend { from { transform: translate(-0.25rem, -0.625rem) rotate(-9deg); } to { transform: none; } }
  @keyframes csRockBottomMend { from { transform: translate(0.1875rem, 0.5rem) rotate(6deg); } to { transform: none; } }

  .cs-shard {
    position: absolute; top: 50%; left: 50%; margin: -0.1rem 0 0 -0.1rem;
    opacity: 0; pointer-events: none; z-index: 3;
    clip-path: polygon(0% 20%, 55% 0%, 100% 40%, 75% 100%, 10% 85%);
  }
  .cs-item.open .cs-shard { animation: csShardBurst 0.9s cubic-bezier(0.15, 0.7, 0.3, 1) forwards; }
  @keyframes csShardBurst {
    0% { opacity: 0; transform: translate(0, 0) rotate(0deg); }
    8% { opacity: 1; }
    45% { transform: translate(calc(var(--dx) * 0.7), var(--lift)) rotate(calc(var(--rot) * 0.5)); }
    80% { opacity: 1; }
    100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); }
  }

  .cs-dust {
    position: absolute; top: 50%; left: 50%; width: 2.5rem; height: 2.5rem; margin: -1.25rem 0 0 -1.25rem;
    border-radius: 50%; pointer-events: none; z-index: 1; opacity: 0;
    background: radial-gradient(circle, rgba(160,150,136,0.5) 0%, rgba(160,150,136,0.22) 45%, rgba(160,150,136,0) 70%);
  }
  .cs-item.open .cs-dust { animation: csDust 0.9s ease-out 0.22s forwards; }
  @keyframes csDust {
    0% { opacity: 0; transform: scale(0.3); }
    20% { opacity: 1; }
    100% { opacity: 0; transform: scale(2.4); }
  }

  .cs-impact {
    position: absolute; top: 50%; left: 50%; width: 2rem; height: 2rem; margin: -1rem 0 0 -1rem;
    border-radius: 50%; border: 0.125rem solid rgba(74,102,204,0.6); pointer-events: none; z-index: 1; opacity: 0;
  }
  .cs-item.open .cs-impact { animation: csImpact 0.55s ease-out 0.2s forwards; }
  @keyframes csImpact {
    0% { opacity: 0.9; transform: scale(0.4); }
    100% { opacity: 0; transform: scale(2.6); border-width: 0.03rem; }
  }

  @media (prefers-reduced-motion: reduce) {
    .cs-item.open .cs-rock, .cs-item.open .cs-shard, .cs-item.open .cs-dust, .cs-item.open .cs-impact,
    .cs-item.closing .cs-rock-top, .cs-item.closing .cs-rock-bottom { animation: none; }
    .cs-item.open .cs-rock-top { animation: none; transform: translate(-0.25rem, -0.625rem) rotate(-9deg); }
    .cs-item.open .cs-rock-bottom { animation: none; transform: translate(0.1875rem, 0.5rem) rotate(6deg); }
  }

  .cs-item-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.875rem 0;
    cursor: pointer;
    border-bottom: 0.0625rem solid rgba(26,45,122,0.12);
    transition: border-color 0.3s ease;
    user-select: none;
  }

  .cs-item.open .cs-item-header { border-bottom-color: transparent; }
  .cs-item-header:hover .cs-item-title { color: var(--blue-bright); }

  .cs-item-number {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--blue-bright);
    min-width: 2rem;
    letter-spacing: 0.06em;
  }

  .cs-item-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(1.375rem, 2.6vw, 1.75rem);
    font-weight: 700;
    color: var(--navy-royal);
    flex: 1;
    transition: color 0.2s ease;
  }

  .cs-item-chevron {
    width: 1.25rem; height: 1.25rem;
    border-right: 0.125rem solid var(--navy-royal);
    border-bottom: 0.125rem solid var(--navy-royal);
    transform: rotate(45deg);
    transition: transform 0.4s ease;
    flex-shrink: 0;
    margin-bottom: 0.25rem;
  }
  .cs-item.open .cs-item-chevron { transform: rotate(-135deg); margin-bottom: -0.25rem; }

  .cs-item-body { max-height: 0; overflow: hidden; transition: max-height 0.6s cubic-bezier(0.4,0,0.2,1); }
  .cs-item.open .cs-item-body { max-height: 87.5rem; }
  .cs-item-body-inner { padding: 0.5rem 0 2.75rem; overflow: hidden; }
  .cs-item-body-inner::after { content: ''; display: table; clear: both; }

  /* Pull quote on a sheet of paper: warm off-white, a fine grain, a torn bottom edge,
     a soft shadow that follows the tear, and a slight tilt. */
  .cs-quote {
    position: relative;
    float: left;
    width: 40%;
    margin: 0.5rem 2.5rem 1.5rem 0.25rem;
    padding: 1.625rem 1.75rem 2rem;
    transform: rotate(-1deg);
    filter: drop-shadow(0 0.0625rem 0.0625rem rgba(60,45,25,0.14)) drop-shadow(0 0.375rem 0.625rem rgba(60,45,25,0.12));
  }
  .cs-quote::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #fbf7ee;
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35  0 0 0 0 0.3  0 0 0 0 0.22  0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(160deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 45%, rgba(120,100,70,0.06) 100%);
    border-radius: 0.125rem 0.125rem 0 0;
    clip-path: polygon(0 0, 100% 0, 100.0% calc(100% - 0.569rem), 96.43% calc(100% - 0.391rem), 92.86% calc(100% - 0.493rem), 89.29% calc(100% - 0.219rem), 85.71% calc(100% - 0.546rem), 82.14% calc(100% - 0.022rem), 78.57% calc(100% - 0.251rem), 75.0% calc(100% - 0.054rem), 71.43% calc(100% - 0.035rem), 67.86% calc(100% - 0.074rem), 64.29% calc(100% - 0.378rem), 60.71% calc(100% - 0.569rem), 57.14% calc(100% - 0.351rem), 53.57% calc(100% - 0.586rem), 50.0% calc(100% - 0.334rem), 46.43% calc(100% - 0.174rem), 42.86% calc(100% - 0.324rem), 39.29% calc(100% - 0.185rem), 35.71% calc(100% - 0.062rem), 32.14% calc(100% - 0.383rem), 28.57% calc(100% - 0.058rem), 25.0% calc(100% - 0.339rem), 21.43% calc(100% - 0.124rem), 17.86% calc(100% - 0.257rem), 14.29% calc(100% - 0.279rem), 10.71% calc(100% - 0.217rem), 7.14% calc(100% - 0.477rem), 3.57% calc(100% - 0.049rem), 0.0% calc(100% - 0.315rem));
  }
  .cs-quote > * { position: relative; }

  .cs-quote-text {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.1875rem;
    font-weight: 400;
    font-style: italic;
    color: var(--navy-royal);
    line-height: 1.55;
    margin-bottom: 0.875rem;
  }

  .cs-quote-attrib {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.8125rem;
    font-weight: 400;
    color: rgba(16,22,43,0.6);
  }

  .cs-body-text p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(16,22,43,0.78);
    line-height: 1.75;
    margin-bottom: 1rem;
  }
  .cs-body-text p:last-child { margin-bottom: 0; }

  /* ---------- CTA: diagonal navy band ---------- */
  .cs-counter-wrap {
    margin: 5rem calc(-5vw) 0;
  }

  .cs-counter {
    position: relative;
    background: var(--navy-royal);
    clip-path: polygon(0 6%, 100% 0%, 100% 100%, 0% 100%);
    padding: 5.625rem 5vw 6.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
  }

  .cs-counter-content { max-width: 38.75rem; }

  .cs-counter-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(1.75rem, 3.4vw, 2.625rem);
    font-weight: 700;
    color: var(--off-white);
    line-height: 1.15;
    margin-bottom: 1.125rem;
  }

  .cs-counter-body {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(245,247,252,0.8);
    line-height: 1.6;
    margin-bottom: 1.875rem;
    max-width: 30rem;
  }

  .cs-counter .btn-primary {
    background: var(--off-white);
    color: var(--navy-royal);
  }
  .cs-counter .btn-primary:hover {
    background: var(--blue-bright);
    color: var(--off-white);
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 900px) {
    .cs-counter { padding: 5rem 6vw 5.625rem; }
  }

  @media (max-width: 640px) {
    .cs-banner { padding: 3.75rem 6vw 5.625rem; clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
    .cs-banner-watermark { right: -8%; opacity: 0.16; }
    .cs-body { padding: 3.125rem 6vw 3.75rem; }
    .cs-accordion { padding-left: 2.5rem; }
    .cs-item-dot { left: -3.25rem; top: 1.375rem; width: 1.625rem; height: 1.625rem; }
    .cs-rock, .cs-rock-top, .cs-rock-bottom { width: 1.625rem; height: 1.625rem; }
    .cs-rock-top img, .cs-rock-bottom img { width: 1.625rem; height: 1.625rem; }
    .cs-item-title { font-size: 1.25rem; }
    .cs-item-header { padding: 1.375rem 0; gap: 1rem; }
    .cs-quote { float: none; width: auto; margin: 0.75rem 0.25rem 1.75rem; }
    .cs-body-text p { font-size: 0.9375rem; }
    .cs-counter-wrap { margin: 3.75rem calc(-6vw) 0; }
    .cs-counter { clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 100%); padding: 3.75rem 6vw 4.375rem; flex-direction: column; align-items: flex-start; }
  }

  /* ================= TOOLKIT PAGE — REDESIGNED ================= */
  .tk-wrap {
    font-family: 'Ubuntu', sans-serif;
  }

  html { overflow-x: hidden; }

  /* ---------- Banner: diagonal-cut, mark-highlighted (standard) ---------- */
  .tk-banner {
    position: relative;
    background: var(--navy-deep);
    padding: 6.25rem 5vw 8.125rem;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  }

  .tk-banner-watermark {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -4%;
    width: auto;
    opacity: 0.2;
    pointer-events: none;
  }

  .tk-banner-inner {
    position: relative;
    z-index: 2;
    max-width: 80rem;
    margin: 0 auto;
  }

  .tk-banner h1 {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(2.75rem, 6.5vw, 4.875rem);
    line-height: 1.08;
    font-weight: 700;
    color: var(--off-white);
    max-width: 45rem;
  }

  .tk-banner h1 .mark {
    background: var(--blue-bright);
    color: var(--off-white);
    padding: 0 0.75rem;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
  }

  /* ---------- Body ---------- */
  .tk-body {
    max-width: 62.5rem;
    margin: 0 auto;
    padding: 5rem 5vw 6.25rem;
  }

  /* ---------- Intro (standard) ---------- */
  .tk-intro {
    max-width: 48.75rem;
    margin-bottom: 3.5rem;
  }

  .tk-intro h2 {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    color: var(--navy-royal);
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .tk-intro p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(16,22,43,0.68);
    line-height: 1.7;
  }

  /* ---------- Toggle buttons: same offset-backdrop treatment as homepage action buttons ---------- */
  .tk-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3.5rem;
  }

  .tk-btn-frame {
    position: relative;
    height: 11.25rem;
  }

  .tk-btn-backdrop {
    position: absolute;
    inset: 0;
    background: var(--navy-deep);
    transform: translate(0.5625rem, 0.5625rem);
    border-radius: 0.25rem;
  }

  .tk-btn {
    position: absolute;
    inset: 0;
    border-radius: 0.25rem;
    overflow: hidden;
    cursor: pointer;
    background: var(--blue-bright);
    transform: rotate(-1.2deg);
    transition: transform 0.25s ease;
  }

  .tk-btn:hover { transform: rotate(-1.2deg) translate(-0.1875rem, -0.1875rem); }
  .tk-btn.active { background: var(--navy-royal); }

  .tk-btn-watermark {
    position: absolute;
    bottom: -12%;
    right: -12%;
    width: 60%;
    height: auto;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
  }

  .tk-btn-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,45,122,0.15) 0%, rgba(15,25,70,0.55) 100%);
    z-index: 1;
  }

  .tk-btn-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
  }

  .tk-btn-icon {
    width: 2.25rem;
    height: 2.25rem;
    color: var(--off-white);
  }
  .tk-btn-icon svg { width: 100%; height: 100%; }

  .tk-btn-label {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(1.125rem, 2vw, 1.3125rem);
    font-weight: 700;
    color: var(--off-white);
    text-align: center;
  }

  .tk-btn-sub {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245,247,252,0.7);
  }

  /* ---------- Panels ---------- */
  .tk-panel { display: none; margin-bottom: 4rem; animation: tkFade 0.4s ease forwards; }
  .tk-panel.active { display: block; }
  @keyframes tkFade { from { opacity: 0; transform: translateY(0.625rem); } to { opacity: 1; transform: translateY(0); } }

  .tk-panel-header { margin-bottom: 1.5rem; }

  .tk-panel-eyebrow {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-bright);
    margin-bottom: 0.5rem;
  }

  .tk-panel-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(1.375rem, 2.6vw, 1.75rem);
    font-weight: 700;
    color: var(--navy-royal);
  }

  .tk-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.84375rem;
    font-weight: 400;
    color: rgba(16,22,43,0.5);
    margin-bottom: 1.75rem;
  }
  .tk-hint svg { flex-shrink: 0; color: var(--blue-bright); }

  /* ---------- Infographic grid ---------- */
  .tk-infographic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .tk-infographic-card {
    border: 0.09375rem solid rgba(26,45,122,0.14);
    border-radius: 0.375rem;
    overflow: hidden;
    background: var(--off-white);
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  }
  .tk-infographic-card:hover {
    box-shadow: 0 0.75rem 2rem rgba(34,59,151,0.14);
    transform: translateY(-0.125rem);
    border-color: var(--blue-bright);
  }

  .tk-infographic-img-wrap {
    position: relative;
    overflow: hidden;
    background: rgba(26,45,122,0.04);
    cursor: pointer;
  }
  .tk-infographic-img-wrap img { width: 100%; height: auto; display: block; }
  .tk-infographic-img-overlay {
    position: absolute; inset: 0;
    background: rgba(34,59,151,0);
    transition: background 0.2s;
  }
  .tk-infographic-img-wrap:hover .tk-infographic-img-overlay { background: rgba(34,59,151,0.06); }

  .tk-infographic-footer {
    padding: 1rem 1.125rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-top: 0.0625rem solid rgba(26,45,122,0.1);
  }

  .tk-infographic-caption {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.84375rem;
    font-weight: 500;
    color: var(--navy-royal);
    line-height: 1.5;
    flex: 1;
  }

  .tk-save-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy-royal);
    text-decoration: none;
    border: 0.09375rem solid var(--navy-royal);
    border-radius: 0.25rem;
    padding: 0.5rem 0.875rem;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
  }
  .tk-save-btn:hover { background: var(--navy-royal); color: var(--off-white); }
  .tk-save-btn svg { width: 0.6875rem; height: 0.6875rem; }

  /* ---------- Coming soon ---------- */
  .tk-coming-soon { text-align: center; padding: 4rem 0; }
  .tk-coming-soon svg { width: 2.5rem; height: 2.5rem; color: rgba(26,45,122,0.2); margin-bottom: 1.125rem; }
  .tk-coming-soon p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: rgba(26,45,122,0.35);
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 640px) {
    .tk-banner { padding: 3.75rem 6vw 5.625rem; clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
    .tk-banner-watermark { right: -8%; opacity: 0.16; }
    .tk-body { padding: 3.125rem 6vw 3.75rem; }
    .tk-buttons { grid-template-columns: 1fr; gap: 1.25rem; }
    .tk-btn-frame { height: 8.75rem; }
    .tk-btn-sub { display: none; }
    .tk-infographic-grid { grid-template-columns: 1fr; }
    .tk-infographic-footer { flex-wrap: wrap; }
  }

  /* ================= CONTACT PAGE ================= */
  .ct-wrap {
    font-family: 'Ubuntu', sans-serif;
  }

  html { overflow-x: hidden; }

  /* ---------- Banner (standard) ---------- */
  .ct-banner {
    position: relative;
    background: var(--navy-deep);
    padding: 6.25rem 5vw 8.125rem;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  }

  .ct-banner-watermark {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -4%;
    width: auto;
    opacity: 0.2;
    pointer-events: none;
  }

  .ct-banner-inner {
    position: relative;
    z-index: 2;
    max-width: 80rem;
    margin: 0 auto;
  }

  .ct-banner h1 {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(2.75rem, 6.5vw, 4.875rem);
    line-height: 1.08;
    font-weight: 700;
    color: var(--off-white);
    max-width: 45rem;
  }

  .ct-banner h1 .mark {
    background: var(--blue-bright);
    color: var(--off-white);
    padding: 0 0.75rem;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
  }

  /* ---------- Body ---------- */
  .ct-body {
    max-width: 62.5rem;
    margin: 0 auto;
    padding: 5rem 5vw 6.25rem;
  }

  .ct-intro {
    max-width: 43.75rem;
    margin-bottom: 3rem;
  }

  .ct-intro h2 {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    color: var(--navy-royal);
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .ct-intro p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(16,22,43,0.68);
    line-height: 1.7;
  }

  /* ---------- Form ---------- */
  .ct-form-frame {
    max-width: 40rem;
  }

  .ct-form {
    background: var(--off-white);
    border: 0.0625rem solid rgba(26,45,122,0.1);
    border-radius: 0.625rem;
    padding: 3.5rem;
    box-shadow: 0 1.25rem 3.125rem rgba(16,22,43,0.06);
  }

  .ct-form-group { margin-bottom: 1.75rem; }
  .ct-form-group:last-of-type { margin-bottom: 0; }

  .ct-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .ct-form-optional {
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: rgba(16,22,43,0.4);
  }

  .ct-form-label {
    display: block;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy-royal);
    margin-bottom: 0.5rem;
  }

  .ct-form-input,
  .ct-form-textarea {
    width: 100%;
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    color: var(--ink);
    background: #fff;
    border: 0.09375rem solid rgba(26,45,122,0.18);
    border-radius: 0.3125rem;
    padding: 0.9375rem 1.125rem;
    transition: border-color 0.2s ease;
  }

  .ct-form-input:focus,
  .ct-form-textarea:focus {
    outline: none;
    border-color: var(--blue-bright);
  }

  .ct-form-textarea {
    resize: vertical;
    min-height: 8.75rem;
    font-family: 'Ubuntu', sans-serif;
  }

  .ct-form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1.75rem 0;
  }

  .ct-form-consent input[type="checkbox"] {
    margin-top: 0.1875rem;
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
    accent-color: var(--navy-royal);
    cursor: pointer;
  }

  .ct-form-consent label {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.84375rem;
    color: rgba(16,22,43,0.65);
    line-height: 1.55;
    cursor: pointer;
  }

  .ct-form-consent a {
    color: var(--navy-royal);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 0.0625rem solid rgba(34,59,151,0.35);
  }
  .ct-form-consent a:hover { color: var(--blue-bright); border-bottom-color: var(--blue-bright); }

  /* Honeypot field — off-screen, not display:none, so bots checking for
     that specific hiding method don't skip it. */
  .ct-form-hp {
    position: absolute;
    left: -624.9375rem;
    top: -624.9375rem;
    width: 0.0625rem;
    height: 0.0625rem;
    overflow: hidden;
  }

  /* ---------- Status banners ---------- */
  .ct-status {
    padding: 1.125rem 1.375rem;
    border-radius: 0.375rem;
    margin-bottom: 1.75rem;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.5;
  }

  .ct-status-success {
    background: rgba(26,122,74,0.08);
    border-left: 0.1875rem solid #1a7a4a;
    color: #1a7a4a;
  }

  .ct-status-error {
    background: rgba(200,16,46,0.06);
    border-left: 0.1875rem solid var(--accent-red);
    color: var(--accent-red-dark);
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 640px) {
    .ct-banner { padding: 3.75rem 6vw 5.625rem; clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
    .ct-banner-watermark { right: -8%; opacity: 0.16; }
    .ct-body { padding: 3.125rem 6vw 3.75rem; }
    .ct-form { padding: 2rem 1.5rem; }
    .ct-form-row { grid-template-columns: 1fr; gap: 0; }
  }

  /* ================= PRESS RELEASES ================= */
  .pr-wrap {
    font-family: 'Ubuntu', sans-serif;
  }

  html { overflow-x: hidden; }

  /* ---------- Banner (standard) ---------- */
  .pr-banner {
    position: relative;
    background: var(--navy-deep);
    padding: 6.25rem 5vw 8.125rem;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  }

  .pr-banner-watermark {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -4%;
    width: auto;
    opacity: 0.2;
    pointer-events: none;
  }

  .pr-banner-inner {
    position: relative;
    z-index: 2;
    max-width: 80rem;
    margin: 0 auto;
  }

  .pr-banner h1 {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(2.75rem, 6.5vw, 4.875rem);
    line-height: 1.08;
    font-weight: 700;
    color: var(--off-white);
    max-width: 45rem;
  }

  .pr-banner h1 .mark {
    background: var(--blue-bright);
    color: var(--off-white);
    padding: 0 0.75rem;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
  }

  /* ---------- Body (standard) ---------- */
  .pr-body {
    max-width: 62.5rem;
    margin: 0 auto;
    padding: 5rem 5vw 6.25rem;
  }

  .pr-intro {
    max-width: 43.75rem;
    margin-bottom: 3rem;
  }

  .pr-intro h2 {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    color: var(--navy-royal);
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .pr-intro p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(16,22,43,0.68);
    line-height: 1.7;
  }

  /* ---------- Type badges (shared by listing and single) ---------- */
  .pr-badge {
    display: inline-block;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3125rem 0.75rem;
    border-radius: 0.1875rem;
    color: var(--off-white);
  }

  .pr-badge-release { background: var(--accent-red); }
  .pr-badge-statement { background: var(--blue-bright); }

  /* ---------- Listing (clean rows, not tilted — this is an index, not editorial content) ---------- */
  .pr-list {
    display: flex;
    flex-direction: column;
  }

  .pr-item {
    display: block;
    padding: 2rem 0;
    border-bottom: 0.0625rem solid rgba(26,45,122,0.12);
    text-decoration: none;
    transition: padding-left 0.2s ease;
  }

  .pr-item.pr-item-has-thumb {
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
  }

  .pr-item-thumb {
    flex-shrink: 0;
    width: 11.25rem;
    height: 8.125rem;
    border-radius: 0.375rem;
    overflow: hidden;
    background: rgba(26,45,122,0.05);
  }

  .pr-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .pr-item-content { flex: 1; min-width: 0; }

  .pr-item:hover { padding-left: 0.5rem; }
  .pr-list .pr-item:first-child { padding-top: 0; }

  .pr-item-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.875rem;
  }

  .pr-item-date {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(16,22,43,0.45);
  }

  .pr-item-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(1.25rem, 2.2vw, 1.625rem);
    font-weight: 700;
    color: var(--navy-royal);
    line-height: 1.3;
    margin-bottom: 0.625rem;
    transition: color 0.2s ease;
  }

  .pr-item:hover .pr-item-title { color: var(--blue-bright); }

  .pr-item-excerpt {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    color: rgba(16,22,43,0.62);
    line-height: 1.65;
    margin-bottom: 0.875rem;
    max-width: 45rem;
  }

  .pr-item-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy-royal);
  }

  .pr-item-link svg { flex-shrink: 0; }

  .pr-empty {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    font-style: italic;
    color: rgba(16,22,43,0.45);
    padding: 2.5rem 0;
  }

  /* ---------- Pagination ---------- */
  .pr-pagination {
    display: flex;
    gap: 0.625rem;
    margin-top: 2.5rem;
  }

  .pr-pagination a,
  .pr-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border: 0.09375rem solid rgba(26,45,122,0.16);
    border-radius: 0.25rem;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy-royal);
    text-decoration: none;
  }

  .pr-pagination a:hover { border-color: var(--blue-bright); color: var(--blue-bright); }
  .pr-pagination .current { background: var(--navy-royal); border-color: var(--navy-royal); color: var(--off-white); }

  /* ---------- Single release ---------- */
  .pr-single-banner-inner .pr-badge { margin-bottom: 1.25rem; }

  .pr-single-banner h1 {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(2rem, 4.4vw, 3.375rem);
    line-height: 1.15;
    font-weight: 700;
    color: var(--off-white);
    max-width: 51.25rem;
    margin-bottom: 0.875rem;
  }

  .pr-single-date {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(245,247,252,0.65);
  }

  .pr-single-thumb {
    max-width: 45rem;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 2.5rem;
  }

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

  .pr-single-content {
    max-width: 45rem;
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(16,22,43,0.8);
  }

  .pr-single-content p { margin-bottom: 1.25rem; }
  .pr-single-content p:last-child { margin-bottom: 0; }
  .pr-single-content a { color: var(--navy-royal); font-weight: 500; }
  .pr-single-content a:hover { color: var(--blue-bright); }

  .pr-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy-royal);
    text-decoration: none;
  }

  .pr-back-link:hover { color: var(--blue-bright); }
  .pr-back-link svg { flex-shrink: 0; transform: rotate(180deg); }

  /* ---------- Responsive ---------- */
  @media (max-width: 640px) {
    .pr-banner { padding: 3.75rem 6vw 5.625rem; clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
    .pr-banner-watermark { right: -8%; opacity: 0.16; }
    .pr-body { padding: 3.125rem 6vw 3.75rem; }
    .pr-item-top { flex-wrap: wrap; gap: 0.625rem; }
    .pr-item:hover { padding-left: 0; }
    .pr-item.pr-item-has-thumb { flex-direction: column; gap: 1rem; }
    .pr-item-thumb { width: 100%; height: 11.25rem; }
  }

  /* ================= ENCYCLOPAEDIA ================= */
  .enc-wrap {
    font-family: 'Ubuntu', sans-serif;
  }

  html { overflow-x: hidden; }

  /* ---------- Banner (standard) ---------- */
  .enc-banner {
    position: relative;
    background: var(--navy-deep);
    padding: 6.25rem 5vw 8.125rem;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  }

  .enc-banner-watermark {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -4%;
    width: auto;
    opacity: 0.2;
    pointer-events: none;
  }

  .enc-banner-inner {
    position: relative;
    z-index: 2;
    max-width: 80rem;
    margin: 0 auto;
  }

  .enc-banner h1 {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(2.75rem, 6.5vw, 4.875rem);
    line-height: 1.08;
    font-weight: 700;
    color: var(--off-white);
    max-width: 45rem;
  }

  .enc-banner h1 .mark {
    background: var(--blue-bright);
    color: var(--off-white);
    padding: 0 0.75rem;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
  }

  /* ---------- Body ----------
     Wider than the article-style pages (Mythbuster/Cornerstones/etc use
     1000px) — this is a visual grid/index like the homepage's action
     buttons, not reading text, so it uses the homepage's own 1280px
     content width instead. */
  .enc-body {
    max-width: 87.5rem;
    margin: 0 auto;
    padding: 5rem 5vw 8.75rem;
  }

  .enc-intro {
    max-width: 43.75rem;
    margin-bottom: 3.5rem;
  }

  .enc-intro h2 {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    color: var(--navy-royal);
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .enc-intro p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(16,22,43,0.68);
    line-height: 1.7;
  }

  /* ---------- Grid: same offset-backdrop language as the homepage's
     action buttons, taller cards, 4-up ---------- */
  .enc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
  }

  .enc-card-frame {
    position: relative;
    height: 21.25rem;
  }

  .enc-card-backdrop {
    position: absolute;
    inset: 0;
    background: var(--navy-deep);
    transform: translate(0.5625rem, 0.5625rem);
    border-radius: 0.25rem;
  }

  .enc-card {
    position: absolute;
    inset: 0;
    display: block;
    border-radius: 0.25rem;
    overflow: hidden;
    background: var(--blue-bright);
    transform: rotate(-1.5deg);
    transition: transform 0.25s ease;
    text-decoration: none;
  }

  .enc-card:hover { transform: rotate(-1.5deg) translate(-0.25rem, -0.25rem); }

  .enc-card-watermark {
    position: absolute;
    top: -8%;
    right: -14%;
    width: 72%;
    height: auto;
    opacity: 0.2;
    pointer-events: none;
  }

  .enc-card-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(16,22,43,0.82) 0%, rgba(16,22,43,0.2) 55%, rgba(16,22,43,0) 75%);
  }

  .enc-card-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
  }

  .enc-card-arrow {
    position: absolute;
    top: 1.125rem;
    right: 1.125rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(245,247,252,0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s ease;
  }

  .enc-card:hover .enc-card-arrow { background: rgba(245,247,252,0.3); }
  .enc-card-arrow svg { color: var(--off-white); }

  .enc-card-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.3125rem;
    font-weight: 700;
    color: var(--off-white);
    line-height: 1.25;
    margin-bottom: 0.5rem;
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 1024px) {
    .enc-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .enc-card-frame { height: 18.75rem; }
  }

  @media (max-width: 640px) {
    .enc-banner { padding: 3.75rem 6vw 5.625rem; clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
    .enc-banner-watermark { right: -8%; opacity: 0.16; }
    .enc-body { padding: 3.125rem 6vw 5rem; }
    .enc-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .enc-card-frame { height: 13.75rem; }
    .enc-card-title { font-size: 1.1875rem; }
  }

  /* ================= BRITAIN'S CONSTITUTION ================= */
  .bc-wrap {
    font-family: 'Ubuntu', sans-serif;
  }

  html { overflow-x: hidden; }

  /* ---------- Banner (standard) ---------- */
  .bc-banner {
    position: relative;
    background: var(--navy-deep);
    padding: 6.25rem 5vw 8.125rem;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  }

  .bc-banner-watermark {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -4%;
    width: auto;
    opacity: 0.2;
    pointer-events: none;
  }

  .bc-banner-inner {
    position: relative;
    z-index: 2;
    max-width: 80rem;
    margin: 0 auto;
  }

  .bc-banner h1 {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(2.75rem, 6.5vw, 4.875rem);
    line-height: 1.08;
    font-weight: 700;
    color: var(--off-white);
    max-width: 48.75rem;
  }

  .bc-banner h1 .mark {
    background: var(--blue-bright);
    color: var(--off-white);
    padding: 0 0.75rem;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
  }

  /* ---------- Body (standard) ---------- */
  .bc-body {
    max-width: 62.5rem;
    margin: 0 auto;
    padding: 5rem 5vw 6.25rem;
  }

  .bc-intro {
    max-width: 48.75rem;
    margin-bottom: 4rem;
  }

  .bc-intro h2 {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    color: var(--navy-royal);
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .bc-intro p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(16,22,43,0.68);
    line-height: 1.7;
    margin-bottom: 0.875rem;
  }
  .bc-intro p:last-child { margin-bottom: 0; }

  /* ---------- Section (flat, always visible, stacked) ---------- */
  .bc-section {
    padding-top: 3.5rem;
    margin-top: 3.5rem;
    border-top: 0.0625rem solid rgba(26,45,122,0.12);
  }
  .bc-section:first-of-type { padding-top: 0; margin-top: 0; border-top: none; }

  .bc-section-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 700;
    color: var(--navy-royal);
    line-height: 1.3;
    margin-bottom: 0.375rem;
  }

  .bc-section-teaser {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    font-style: italic;
    color: rgba(16,22,43,0.5);
    margin-bottom: 1.5rem;
  }

  .bc-sub-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-royal);
    margin: 2rem 0 1rem;
  }

  /* ---------- Section photo placeholder (same construction as the
     homepage's rotate-card: offset backdrop + tilted card) — a stand-in
     for real per-section photography, one per section including the
     two Parliament chambers ---------- */
  .bc-section-photo {
    position: relative;
    width: 16.25rem;
    max-width: 100%;
    aspect-ratio: 4/3;
    margin-bottom: 1.5rem;
  }

  .bc-section-photo-backdrop {
    position: absolute;
    inset: 0;
    background: var(--navy-royal);
    transform: translate(0.5625rem, 0.5625rem);
    border-radius: 0.25rem;
  }

  .bc-section-photo-card {
    position: absolute;
    inset: 0;
    background: var(--blue-bright);
    transform: rotate(-2deg);
    border-radius: 0.25rem;
    overflow: hidden;
  }

  .bc-section-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* ---------- Summarise using AI button ---------- */
  .bc-ai-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5625rem;
    background: var(--off-white);
    border: 0.09375rem solid var(--blue-bright);
    border-radius: 1.875rem;
    cursor: pointer;
    padding: 0.625rem 1.25rem;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.84375rem;
    font-weight: 700;
    color: var(--navy-royal);
    transition: background 0.2s ease, color 0.2s ease;
    margin-bottom: 0.5rem;
  }

  .bc-ai-btn:hover { background: var(--blue-bright); color: var(--off-white); }
  .bc-ai-btn svg { flex-shrink: 0; }

  /* ---------- Speech-bubble reveal (CSS grid 0fr->1fr trick: animates
     height without JS ever measuring pixels, and naturally pushes
     everything below it down as it opens) ---------- */
  .bc-ai-bubble-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .bc-ai-bubble-wrap.open { grid-template-rows: 1fr; }

  .bc-ai-bubble-inner { overflow: hidden; min-height: 0; }

  .bc-ai-bubble {
    position: relative;
    background: var(--off-white);
    border: 0.125rem solid var(--blue-bright);
    border-radius: 0.25rem 1.125rem 1.125rem 1.125rem;
    padding: 1.375rem 1.625rem;
    margin: 1.125rem 0 1.75rem;
  }

  .bc-ai-bubble::before {
    content: '';
    position: absolute;
    top: -0.6875rem;
    left: 1.375rem;
    width: 0; height: 0;
    border-left: 0.6875rem solid transparent;
    border-right: 0.6875rem solid transparent;
    border-bottom: 0.6875rem solid var(--blue-bright);
  }

  .bc-ai-bubble::after {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 1.5625rem;
    width: 0; height: 0;
    border-left: 0.5rem solid transparent;
    border-right: 0.5rem solid transparent;
    border-bottom: 0.5rem solid var(--off-white);
  }

  .bc-ai-bubble-label {
    display: flex;
    align-items: center;
    gap: 0.4375rem;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-bright);
    margin-bottom: 0.625rem;
  }

  .bc-ai-bubble p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(16,22,43,0.82);
    line-height: 1.75;
  }

  .bc-ai-bubble-text.typing::after {
    content: '';
    display: inline-block;
    width: 0.125rem;
    height: 0.9375rem;
    background: var(--blue-bright);
    margin-left: 0.125rem;
    vertical-align: middle;
    animation: bcCursorBlink 0.85s steps(1) infinite;
  }

  @keyframes bcCursorBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
  }

  /* ---------- Highlight quote + prose (always visible, standard) ---------- */
  .bc-highlight {
    border-left: 0.1875rem solid var(--navy-royal);
    background: rgba(74,102,204,0.05);
    padding: 1.25rem 1.5rem;
    border-radius: 0 0.375rem 0.375rem 0;
    margin-bottom: 1.75rem;
  }

  .bc-highlight p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.96875rem;
    font-weight: 400;
    font-style: italic;
    color: var(--navy-royal);
    line-height: 1.75;
  }

  .bc-prose p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(16,22,43,0.78);
    line-height: 1.85;
    margin-bottom: 1.125rem;
  }
  .bc-prose p:last-child { margin-bottom: 0; }

  .bc-chamber-intro {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    color: rgba(16,22,43,0.68);
    line-height: 1.7;
    margin-bottom: 0.5rem;
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 640px) {
    .bc-banner { padding: 3.75rem 6vw 5.625rem; clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
    .bc-banner-watermark { right: -8%; opacity: 0.16; }
    .bc-body { padding: 3.125rem 6vw 3.75rem; }
    .bc-prose p { font-size: 0.9375rem; }
    .bc-ai-bubble { padding: 1.125rem 1.25rem; margin: 1rem 0 1.5rem; }
    .bc-section-photo { width: 12.5rem; }
  }

  /* ================= THE ROYAL FAMILY ================= */
  .rf-wrap {
    font-family: 'Ubuntu', sans-serif;
  }

  html { overflow-x: hidden; }

  /* ---------- Banner (standard) ---------- */
  .rf-banner {
    position: relative;
    background: var(--navy-deep);
    padding: 6.25rem 5vw 8.125rem;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  }

  .rf-banner-watermark {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -4%;
    width: auto;
    opacity: 0.2;
    pointer-events: none;
  }

  .rf-banner-inner {
    position: relative;
    z-index: 2;
    max-width: 80rem;
    margin: 0 auto;
  }

  .rf-banner h1 {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(2.75rem, 6.5vw, 4.875rem);
    line-height: 1.08;
    font-weight: 700;
    color: var(--off-white);
    max-width: 48.75rem;
  }

  .rf-banner h1 .mark {
    background: var(--blue-bright);
    color: var(--off-white);
    padding: 0 0.75rem;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
  }

  /* ---------- Body (standard) ---------- */
  .rf-body {
    max-width: 62.5rem;
    margin: 0 auto;
    padding: 5rem 5vw 6.25rem;
  }

  .rf-intro {
    max-width: 48.75rem;
    margin-bottom: 2.5rem;
  }

  .rf-intro h2 {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    color: var(--navy-royal);
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .rf-intro p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(16,22,43,0.68);
    line-height: 1.7;
  }

  /* ---------- Interaction hints ---------- */
  .rf-hint {
    text-align: center;
    margin-bottom: 1.25rem;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.8125rem;
    font-weight: 400;
    color: rgba(16,22,43,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .rf-scroll-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.8125rem;
    font-weight: 400;
    color: rgba(16,22,43,0.5);
    margin-bottom: 0.75rem;
  }

  /* ---------- Interactive photo scene ---------- */
  .rf-scene-frame {
    position: relative;
    margin-bottom: 2rem;
  }

  .rf-scene-backdrop {
    position: absolute;
    inset: 0;
    background: var(--navy-deep);
    transform: translate(0.5625rem, 0.5625rem);
    border-radius: 0.375rem;
  }

  .rf-scene-outer {
    position: relative;
    border-radius: 0.375rem;
    overflow: hidden;
  }

  .rf-scene { position: relative; width: 100%; }
  .rf-scene img.rf-photo { width: 100%; height: auto; display: block; }

  .rf-dot {
    position: absolute;
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 50%;
    background: rgba(74,102,204,0.9);
    border: 0.125rem solid var(--off-white);
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 10;
    box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.25);
  }

  .rf-dot::after {
    content: '';
    position: absolute;
    inset: -0.25rem;
    border-radius: 50%;
    border: 0.125rem solid rgba(74,102,204,0.35);
    animation: rfDotPulse 2.5s ease-out infinite;
  }

  @keyframes rfDotPulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    70% { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(0.9); opacity: 0; }
  }

  .rf-dot:hover, .rf-dot.active { background: var(--navy-royal); transform: translate(-50%, -50%) scale(1.2); }
  .rf-dot.active::after { animation: none; }

  .rf-card {
    position: absolute;
    width: 16.25rem;
    background: var(--off-white);
    border: 0.0625rem solid rgba(26,45,122,0.15);
    border-left: 0.1875rem solid var(--blue-bright);
    border-radius: 0 0.375rem 0.375rem 0;
    box-shadow: 0 0.75rem 2.25rem rgba(16,22,43,0.2);
    padding: 1.125rem 1.25rem;
    z-index: 20;
    display: none;
    animation: rfCardPop 0.2s ease forwards;
  }

  .rf-card.active { display: block; }

  @keyframes rfCardPop {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
  }

  .rf-card-name {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy-royal);
    margin-bottom: 0.25rem;
    line-height: 1.3;
  }

  .rf-card-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-bright);
    margin-bottom: 0.625rem;
  }

  .rf-card-rule { width: 1.25rem; height: 0.125rem; background: var(--blue-bright); margin-bottom: 0.625rem; }

  .rf-card-bio {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.78125rem;
    font-weight: 400;
    color: rgba(16,22,43,0.72);
    line-height: 1.65;
  }

  .rf-card-links {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0.625rem 0 0;
    border-top: 0.0625rem solid rgba(26,45,122,0.12);
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
  }
  .rf-card-links[hidden] { display: none; }

  .rf-card-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4375rem;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--navy-royal);
  }
  .rf-card-links a svg { flex-shrink: 0; color: var(--blue-bright); }
  .rf-card-links a:hover span { text-decoration: underline; }

  .rf-card-close {
    position: absolute;
    top: 0.625rem;
    right: 0.75rem;
    font-size: 1rem;
    color: rgba(16,22,43,0.3);
    cursor: pointer;
    line-height: 1;
  }
  .rf-card-close:hover { color: var(--navy-royal); }

  .rf-mobile-bio {
    display: none;
    border: 0.0625rem solid rgba(26,45,122,0.15);
    border-left: 0.1875rem solid var(--blue-bright);
    border-radius: 0 0.375rem 0.375rem 0;
    background: var(--off-white);
    padding: 1.25rem 1.5rem;
    animation: rfCardPop 0.2s ease forwards;
    margin-top: 1rem;
  }
  .rf-mobile-bio.active { display: block; }
  .rf-mobile-bio .rf-card-name { font-size: 1rem; }
  .rf-mobile-bio .rf-card-bio { font-size: 0.84375rem; }

  /* ---------- Line of Succession ---------- */
  .rf-succession {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 0.0625rem solid rgba(26,45,122,0.12);
  }

  .rf-succession-header { text-align: center; margin-bottom: 3rem; }

  .rf-succession-crown {
    width: 5.625rem;
    height: auto;
    display: block;
    margin: 0 auto 1.25rem;
    filter: drop-shadow(0 0.625rem 1.25rem rgba(16,22,43,0.18));
  }

  .rf-succession-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    color: var(--navy-royal);
  }

  .rf-succession-intro {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(16,22,43,0.68);
    line-height: 1.7;
    max-width: 35rem;
    margin: 1rem auto 0;
  }

  .rf-succession-scroll-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.8125rem;
    color: rgba(16,22,43,0.5);
    margin-bottom: 0.75rem;
  }

  .rf-tree-outer {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
  }

  .rf-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 43.75rem;
    padding: 0 1.25rem;
  }

  .rf-tree-root { display: flex; justify-content: center; margin-bottom: 0; position: relative; }
  .rf-tree-root::after {
    content: '';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    width: 0.0625rem;
    height: 2rem;
    background: rgba(26,45,122,0.2);
  }

  .rf-tree-branches {
    display: flex;
    gap: 2.5rem;
    padding-top: 2rem;
    position: relative;
    justify-content: center;
  }
  .rf-tree-branches::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    right: 25%;
    height: 0.0625rem;
    background: rgba(26,45,122,0.2);
  }

  .rf-tree-branch { display: flex; flex-direction: column; align-items: center; position: relative; }
  .rf-branch-connector { width: 0.0625rem; height: 2rem; background: rgba(26,45,122,0.2); margin-bottom: 0; }

  .rf-branch-children { display: flex; gap: 1.25rem; padding-top: 2rem; position: relative; }
  .rf-branch-children::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 0.0625rem;
    background: rgba(26,45,122,0.2);
  }

  .rf-tree-node--child { position: relative; }
  .rf-tree-node--child::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: 50%;
    width: 0.0625rem;
    height: 2rem;
    background: rgba(26,45,122,0.2);
  }

  .rf-tree-node { display: flex; flex-direction: column; align-items: center; gap: 0.625rem; }

  .rf-tree-number {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-bright);
  }

  .rf-tree-circle {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: rgba(74,102,204,0.08);
    border: 0.125rem solid rgba(26,45,122,0.2);
    background-size: 200%;
    background-position: center 20%;
    flex-shrink: 0;
  }

  .rf-tree-root .rf-tree-circle {
    width: 6rem;
    height: 6rem;
    border-color: var(--navy-royal);
    border-width: 0.1875rem;
  }

  .rf-tree-name {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(16,22,43,0.78);
    text-align: center;
    line-height: 1.4;
    max-width: 6.875rem;
  }

  .rf-succession-footer { text-align: center; margin-top: 0.5rem; }

  .rf-succession-link {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy-royal);
    text-decoration: none;
    border-bottom: 0.09375rem solid rgba(26,45,122,0.25);
    padding-bottom: 0.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
  .rf-succession-link:hover { color: var(--blue-bright); border-bottom-color: var(--blue-bright); }

  /* ---------- Royal.uk link ---------- */
  .rf-royal-link {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 0.0625rem solid rgba(26,45,122,0.12);
  }

  .rf-royal-link-frame {
    position: relative;
  }

  .rf-royal-link-backdrop {
    position: absolute;
    inset: 0;
    background: var(--navy-deep);
    transform: translate(0.5625rem, 0.5625rem);
    border-radius: 0.375rem;
  }

  .rf-royal-link-inner {
    position: relative;
    background: var(--off-white);
    border-radius: 0.375rem;
    padding: 2.25rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    transform: rotate(-0.6deg);
  }

  .rf-royal-link-eyebrow {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-bright);
    margin-bottom: 0.5rem;
  }

  .rf-royal-link-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--navy-royal);
    margin-bottom: 0.375rem;
  }

  .rf-royal-link-sub {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(16,22,43,0.62);
    line-height: 1.6;
  }

  .rf-royal-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.875rem 1.625rem;
    background: var(--navy-royal);
    color: var(--off-white);
    border-radius: 0.25rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease;
    flex-shrink: 0;
  }
  .rf-royal-link-btn:hover { background: var(--blue-bright); }

  /* ---------- Responsive ---------- */
  @media (max-width: 768px) {
    .rf-card { display: none !important; }
    .rf-scroll-hint { display: flex; }
    .rf-succession-scroll-hint { display: flex; }
    .rf-scene-outer { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .rf-scene { width: 56.25rem; min-width: 56.25rem; }
    .rf-scene img.rf-photo { width: 56.25rem; height: auto; display: block; }
    .rf-dot { width: 1.125rem; height: 1.125rem; }
    .rf-royal-link-inner { flex-direction: column; align-items: flex-start; padding: 1.75rem 1.5rem; gap: 1.25rem; transform: none; }
    .rf-royal-link-backdrop { transform: translate(0.375rem, 0.375rem); }
    .rf-tree-branches::before { left: 10%; right: 10%; }
  }

  @media (max-width: 640px) {
    .rf-banner { padding: 3.75rem 6vw 5.625rem; clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
    .rf-banner-watermark { right: -8%; opacity: 0.16; }
    .rf-body { padding: 3.125rem 6vw 3.75rem; }
  }

  /* ================= THE KING'S CONSTITUTIONAL ROLE ================= */
  .kcr-wrap {
    font-family: 'Ubuntu', sans-serif;
  }

  html { overflow-x: hidden; }

  /* ---------- Banner (standard) ---------- */
  .kcr-banner {
    position: relative;
    background: var(--navy-deep);
    padding: 6.25rem 5vw 8.125rem;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  }

  .kcr-banner-watermark {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -4%;
    width: auto;
    opacity: 0.2;
    pointer-events: none;
  }

  .kcr-banner-inner {
    position: relative;
    z-index: 2;
    max-width: 80rem;
    margin: 0 auto;
  }

  .kcr-banner h1 {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(2.75rem, 6.5vw, 4.875rem);
    line-height: 1.08;
    font-weight: 700;
    color: var(--off-white);
    max-width: 48.75rem;
  }

  .kcr-banner h1 .mark {
    background: var(--blue-bright);
    color: var(--off-white);
    padding: 0 0.75rem;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
  }

  /* ---------- Body ---------- */
  .kcr-body {
    max-width: 62.5rem;
    margin: 0 auto;
    padding: 5rem 5vw 6.25rem;
  }

  .kcr-intro {
    max-width: 48.75rem;
    margin-bottom: 1.5rem;
  }

  .kcr-intro h2 {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    color: var(--navy-royal);
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .kcr-intro p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(16,22,43,0.68);
    line-height: 1.7;
  }

  /* ---------- Disclaimer box ---------- */
  .kcr-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1.5rem 0 3.5rem;
    padding: 1rem 1.25rem;
    background: var(--off-white);
    border-left: 0.1875rem solid var(--blue-bright);
    border-radius: 0 0.375rem 0.375rem 0;
    max-width: 48.75rem;
  }

  .kcr-disclaimer-icon { flex-shrink: 0; color: var(--blue-bright); margin-top: 0.125rem; }

  .kcr-disclaimer-text {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.84375rem;
    font-weight: 400;
    color: rgba(16,22,43,0.62);
    line-height: 1.65;
  }

  .kcr-disclaimer-text a {
    color: var(--navy-royal);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 0.0625rem solid rgba(26,45,122,0.3);
  }
  .kcr-disclaimer-text a:hover { color: var(--blue-bright); border-bottom-color: var(--blue-bright); }

  /* ---------- Section (flat, roman-numeral header as a stylistic callback
     to the tab design, but no click-to-switch interaction) ---------- */
  .kcr-section {
    padding-top: 3.5rem;
    margin-top: 3.5rem;
    border-top: 0.0625rem solid rgba(26,45,122,0.12);
  }
  .kcr-section:first-of-type { padding-top: 0; margin-top: 0; border-top: none; }

  .kcr-section-header {
    display: flex;
    align-items: baseline;
    gap: 1.125rem;
    margin-bottom: 2rem;
  }

  .kcr-section-numeral {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: rgba(26,45,122,0.12);
    line-height: 1;
  }

  .kcr-section-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(1.625rem, 3vw, 2.125rem);
    font-weight: 700;
    color: var(--navy-royal);
  }

  /* ---------- Tripartite convention box (Rights section) ---------- */
  .kcr-tripartite {
    background: var(--off-white);
    border: 0.0625rem solid rgba(26,45,122,0.12);
    border-radius: 0.5rem;
    padding: 1.5rem 2rem;
    margin-bottom: 2.75rem;
    text-align: center;
  }

  .kcr-tripartite-label {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-bright);
    margin-bottom: 0.625rem;
  }

  .kcr-tripartite-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    flex-wrap: wrap;
  }

  .kcr-tripartite-link {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-royal);
    cursor: pointer;
    border-bottom: 0.09375rem solid rgba(26,45,122,0.25);
    padding-bottom: 0.125rem;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
  }
  .kcr-tripartite-link:hover { color: var(--blue-bright); border-bottom-color: var(--blue-bright); }

  .kcr-tripartite-dot { color: rgba(26,45,122,0.3); }

  /* ---------- Individual right ---------- */
  .kcr-right {
    margin-bottom: 2.75rem;
    padding-bottom: 2.75rem;
    border-bottom: 0.0625rem solid rgba(26,45,122,0.1);
  }
  .kcr-right:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

  .kcr-right-header {
    display: flex;
    align-items: baseline;
    gap: 0.875rem;
    margin-bottom: 1rem;
  }

  .kcr-right-numeral {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: rgba(26,45,122,0.15);
    line-height: 1;
    flex-shrink: 0;
  }

  .kcr-right-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(1.1875rem, 2.2vw, 1.4375rem);
    font-weight: 700;
    color: var(--navy-royal);
  }

  .kcr-right-body {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(16,22,43,0.78);
    line-height: 1.8;
    margin-bottom: 1.125rem;
  }

  /* ---------- Quotes (shared: Bagehot, Dicey) ---------- */
  .kcr-quote {
    border-left: 0.1875rem solid var(--blue-bright);
    background: var(--off-white);
    padding: 1rem 1.375rem;
    border-radius: 0 0.375rem 0.375rem 0;
    margin: 1.25rem 0;
  }

  .kcr-quote p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    font-style: italic;
    color: rgba(16,22,43,0.78);
    line-height: 1.75;
    margin-bottom: 0.5rem;
  }

  .kcr-quote cite {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.78125rem;
    font-weight: 700;
    color: var(--blue-bright);
    font-style: normal;
  }

  /* ---------- Duties: crown hero ---------- */
  .kcr-crown-hero {
    text-align: center;
    padding-bottom: 2.5rem;
    margin-bottom: 2.75rem;
    border-bottom: 0.0625rem solid rgba(26,45,122,0.1);
  }

  .kcr-crown-img {
    width: 6.25rem;
    height: auto;
    display: block;
    margin: 0 auto 1.125rem;
    filter: drop-shadow(0 0.75rem 1.5rem rgba(16,22,43,0.18));
  }

  .kcr-crown-label {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-royal);
    letter-spacing: 0.02em;
  }

  /* ---------- Duty category ---------- */
  .kcr-duty-cat {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 0.0625rem solid rgba(26,45,122,0.1);
  }
  .kcr-duty-cat:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

  .kcr-duty-cat-header {
    display: flex;
    align-items: center;
    gap: 1.125rem;
    margin-bottom: 1rem;
  }

  .kcr-duty-icon {
    width: 2.875rem;
    height: 2.875rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    border: 0.0625rem solid rgba(26,45,122,0.15);
    border-radius: 0.5rem;
    color: var(--navy-royal);
  }

  .kcr-duty-cat-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(1.1875rem, 2.2vw, 1.4375rem);
    font-weight: 700;
    color: var(--navy-royal);
  }

  .kcr-duty-cat-intro {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(16,22,43,0.72);
    line-height: 1.8;
  }

  .kcr-duty-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue-bright);
    cursor: pointer;
    user-select: none;
    margin-top: 1rem;
    background: none;
    border: none;
  }
  .kcr-duty-toggle:hover { color: var(--navy-royal); }

  .kcr-duty-toggle-icon {
    width: 0.75rem;
    height: 0.75rem;
    flex-shrink: 0;
    border-right: 0.09375rem solid currentColor;
    border-bottom: 0.09375rem solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-bottom: 0.1875rem;
  }
  .kcr-duty-cat.open .kcr-duty-toggle-icon { transform: rotate(-135deg); margin-bottom: -0.1875rem; }

  .kcr-duty-collapse {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .kcr-duty-cat.open .kcr-duty-collapse { grid-template-rows: 1fr; }
  .kcr-duty-collapse-inner { overflow: hidden; min-height: 0; }

  .kcr-duty-prose {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    color: rgba(16,22,43,0.72);
    line-height: 1.8;
    margin-top: 1.125rem;
  }
  .kcr-duty-prose p { margin-bottom: 0.75rem; }
  .kcr-duty-prose p:last-child { margin-bottom: 0; }
  .kcr-duty-prose a {
    color: var(--navy-royal);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 0.0625rem solid rgba(26,45,122,0.3);
    cursor: pointer;
  }
  .kcr-duty-prose a:hover { color: var(--blue-bright); border-bottom-color: var(--blue-bright); }

  /* ---------- Powers: list ---------- */
  .kcr-powers-intro p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(16,22,43,0.78);
    line-height: 1.8;
    margin-bottom: 1rem;
  }
  .kcr-powers-intro p:last-child { margin-bottom: 0; }

  .kcr-power-section { margin: 2.25rem 0; }

  .kcr-power-section-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(1.1875rem, 2.2vw, 1.4375rem);
    font-weight: 700;
    color: var(--navy-royal);
    margin-bottom: 1.25rem;
  }

  .kcr-power-list { list-style: none; padding: 0; }

  .kcr-power-list li {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.96875rem;
    font-weight: 400;
    color: rgba(16,22,43,0.78);
    line-height: 1.7;
    padding: 0.75rem 0 0.75rem 1.625rem;
    position: relative;
    border-bottom: 0.0625rem solid rgba(26,45,122,0.08);
  }
  .kcr-power-list li:last-child { border-bottom: none; }
  .kcr-power-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.3125rem;
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: var(--blue-bright);
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 640px) {
    .kcr-banner { padding: 3.75rem 6vw 5.625rem; clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
    .kcr-banner-watermark { right: -8%; opacity: 0.16; }
    .kcr-body { padding: 3.125rem 6vw 3.75rem; }
    .kcr-tripartite-links { flex-direction: column; gap: 0.75rem; }
    .kcr-tripartite-dot { display: none; }
    .kcr-duty-cat-header { gap: 0.75rem; }
    .kcr-duty-icon { width: 2.5rem; height: 2.5rem; }
  }

/* ==========================================================================
   MENU — MERCHANDISE PRE-ORDER LABEL
   Original bespoke menu icons restored.
   ========================================================================== */
.menu-content-label--flagged {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  overflow: visible;
}

.menu-preorder-flag {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-royal);
  color: #fff;
  border: 0.0625rem solid rgba(255,255,255,0.16);
  border-radius: 62.4375rem;
  padding: 0.3125rem 0.625rem 0.3125rem;
  font-size: 0.5625rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  transform: none;
  box-shadow: 0 0.0625rem 0 rgba(255,255,255,0.18) inset;
  animation: brs-preorder-settle 4.8s ease-in-out infinite;
}

.menu-preorder-flag::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -60% auto -60% -42%;
  width: 32%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.48), transparent);
  transform: skewX(-18deg);
  animation: brs-preorder-glint 4.8s ease-in-out infinite;
}

.menu-preorder-flag > span {
  position: relative;
  z-index: 1;
  display: block;
  white-space: nowrap;
}

@keyframes brs-preorder-settle {
  0%, 12%, 100% { transform: translateY(0); }
  5% { transform: translateY(-0.0625rem); }
}

@keyframes brs-preorder-glint {
  0%, 58% { left: -42%; opacity: 0; }
  66% { opacity: 1; }
  78% { left: 116%; opacity: 0; }
  100% { left: 116%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .menu-preorder-flag,
  .menu-preorder-flag::after {
    animation: none;
  }
}

@media (max-width: 480px) {
  .menu-content-label--flagged { gap: 0.5625rem; }
  .menu-preorder-flag {
    padding: 0.25rem 0.5rem;
    font-size: 0.5rem;
  }
}


/* ================================================================
   ROYAL CALENDAR
   ================================================================ */
.royal-calendar-page {
  --calendar-bg: #e9f2f6;
  --calendar-grid: #a9c5d2;
  --calendar-state: #d7e2f4;
  --calendar-royalist: #c8d7ef;
  --calendar-selected: var(--navy-royal);
  background: var(--off-white);
  color: var(--ink);
}

.royal-calendar-intro {
  width: min(73.75rem, 90vw);
  margin: 3rem auto 2.125rem;
}

.royal-calendar-kicker {
  color: var(--navy-royal);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 0.625rem;
}

.royal-calendar-intro h1 {
  color: var(--navy-deep);
  font-size: clamp(2.625rem, 6vw, 4.75rem);
  line-height: .98;
  letter-spacing: -.04em;
  margin-bottom: 1.125rem;
}

.royal-calendar-intro > p:last-child {
  max-width: 43.125rem;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.55;
}

.royal-calendar-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  min-height: 41.875rem;
  background: var(--calendar-bg);
  border-top: 0.0625rem solid rgba(26, 45, 122, .13);
  border-bottom: 0.0625rem solid rgba(26, 45, 122, .13);
}

.royal-calendar-shell::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0.0625rem;
  background: rgba(255,255,255,.9);
  pointer-events: none;
}

.royal-calendar-crest {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 50%;
  width: 5.125rem;
  height: 5.125rem;
  padding: 0.5625rem;
  border-radius: 50%;
  background: var(--calendar-bg);
  transform: translate(-50%, -45%);
  display: grid;
  place-items: center;
}

.royal-calendar-crest img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.royal-calendar-left,
.royal-calendar-right {
  min-width: 0;
  padding: 3.125rem clamp(1.75rem, 5vw, 4.875rem) 3.375rem;
}

.royal-calendar-monthbar {
  display: grid;
  grid-template-columns: 2.75rem 1fr 2.75rem;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 0.0625rem solid var(--calendar-grid);
  margin-bottom: 2.375rem;
}

.royal-calendar-monthbar h2 {
  text-align: center;
  color: var(--ink);
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: .08em;
}

.royal-calendar-nav-arrow {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-deep);
  transition: background .18s ease, transform .18s ease;
}

.royal-calendar-nav-arrow svg {
  width: 1.375rem;
  height: 1.375rem;
}

.royal-calendar-nav-arrow:hover,
.royal-calendar-nav-arrow:focus-visible {
  background: rgba(255,255,255,.58);
  outline: none;
}

.royal-calendar-nav-arrow:active { transform: scale(.96); }

.royal-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  width: min(100%, 38.75rem);
  margin: 0 auto;
}

.royal-calendar-weekday {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.375rem;
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.royal-calendar-day {
  position: relative;
  aspect-ratio: 1 / .93;
  min-width: 0;
  border: 0;
  border-right: 0.0625rem solid var(--calendar-grid);
  border-bottom: 0.0625rem solid var(--calendar-grid);
  background: rgba(255,255,255,.76);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

.royal-calendar-day:nth-child(7n + 1) { border-left: 0.0625rem solid var(--calendar-grid); }
.royal-calendar-weekday + .royal-calendar-weekday { }

.royal-calendar-day--empty {
  background: rgba(255,255,255,.34);
  cursor: default;
}

.royal-calendar-day-number {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: 'Ubuntu', sans-serif;
  font-size: clamp(1.0625rem, 1.9vw, 1.375rem);
  line-height: 1;
}

.royal-calendar-day.has-state-event {
  background: var(--calendar-state);
}

.royal-calendar-day.has-royalist-event {
  background: var(--calendar-royalist);
}

.royal-calendar-day.has-state-event.has-royalist-event {
  background: linear-gradient(135deg, var(--calendar-state) 0 50%, var(--calendar-royalist) 50% 100%);
}

.royal-calendar-day:hover {
  box-shadow: inset 0 0 0 0.125rem rgba(34,59,151,.32);
}

.royal-calendar-day:focus-visible {
  z-index: 2;
  outline: 0.1875rem solid var(--navy-deep);
  outline-offset: -0.1875rem;
}

.royal-calendar-day.is-selected {
  background: var(--calendar-selected) !important;
  color: #fff;
  box-shadow: inset 0 0 0 0.1875rem rgba(255,255,255,.82);
}

.royal-calendar-day.is-today:not(.is-selected)::after {
  content: '';
  position: absolute;
  inset: 0.3125rem;
  border: 0.0625rem solid rgba(34,59,151,.38);
  pointer-events: none;
}

.royal-calendar-day-icons {
  position: absolute;
  right: 0.3125rem;
  bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.1875rem;
}

.royal-calendar-mini-icon {
  width: 0.9375rem;
  height: 0.9375rem;
  display: grid;
  place-items: center;
}

.royal-calendar-mini-icon svg { width: 100%; height: 100%; display: block; }
.royal-calendar-mini-icon--birthday { color: var(--navy-deep); }
.royal-calendar-day.is-selected .royal-calendar-mini-icon--birthday { color: #fff; }
.royal-calendar-mini-icon--flag { width: 1.0625rem; height: 0.6875rem; }

.royal-calendar-logo-mark {
  width: 0.9375rem;
  height: 0.9375rem;
  display: grid;
  place-items: center;
  background: transparent;
  font-style: normal;
}

.royal-calendar-day.is-selected .royal-calendar-logo-mark {
  background: transparent;
}

.royal-calendar-legend {
  width: min(100%, 38.75rem);
  margin: 1.5rem auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.375rem;
  color: rgba(16,22,43,.72);
  font-size: 0.75rem;
}

.royal-calendar-legend > span { display: inline-flex; align-items: center; gap: 0.4375rem; }
.royal-calendar-legend-icon { width: 1.125rem; height: 1.125rem; display: grid; place-items: center; font-style: normal; }
.royal-calendar-legend-icon svg { width: 100%; height: 100%; display: block; }
.royal-calendar-legend-icon--flag { width: 1.25rem; height: 0.8125rem; }
.royal-calendar-legend-icon--birthday { color: var(--navy-deep); }

.royal-calendar-right {
  padding-top: 3.375rem;
}

.royal-calendar-date-heading {
  min-height: 4.0625rem;
  padding: 0 0 1.25rem clamp(0.75rem, 3vw, 3rem);
  border-bottom: 0.0625rem solid var(--calendar-grid);
  font-family: 'Ubuntu', sans-serif;
  font-size: clamp(1.0625rem, 2vw, 1.3125rem);
  letter-spacing: .055em;
  text-transform: uppercase;
}

.royal-calendar-event-list {
  padding: 1.875rem 0 0 clamp(0.75rem, 3vw, 3rem);
}

.royal-calendar-event {
  padding: 0.125rem 0 1.75rem;
}

.royal-calendar-event + .royal-calendar-event {
  border-top: 0.0625rem solid rgba(34,59,151,.2);
  padding-top: 1.75rem;
}

.royal-calendar-event-topline {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
  color: var(--navy-royal);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.royal-calendar-event-symbol {
  width: 1.875rem;
  height: 1.875rem;
  display: grid;
  place-items: center;
}
.royal-calendar-event-symbol svg { width: 100%; height: 100%; display: block; }
.royal-calendar-event-symbol--flag { width: 1.875rem; height: 1.1875rem; top: 0.3125rem !important; }
.royal-calendar-event-symbol--birthday { color: var(--navy-deep); }
.royal-calendar-event-symbol--royalist {
  border-radius: 50%;
  background: var(--navy-deep);
  color: #fff;
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
}

.royal-calendar-event h3 {
  position: relative;
  max-width: 43.75rem;
  min-height: 2.125rem;
  padding-right: 3.25rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.18;
  margin: 0 0 0.625rem;
}

.royal-calendar-event h3 > span:last-child {
  display: block;
  min-width: 0;
}

/* Event markers intentionally float in a consistent top-right anchor zone. */
.royal-calendar-event h3 > .royal-calendar-event-symbol {
  position: absolute;
  top: 0.0625rem;
  right: 0;
  margin: 0;
}

.royal-calendar-event-copy {
  max-width: 42.5rem;
  color: rgba(16,22,43,.78);
  font-size: 0.9375rem;
  line-height: 1.65;
}
.royal-calendar-event-copy p + p { margin-top: .75em; }

.royal-calendar-empty-state {
  max-width: 33.75rem;
  padding-top: 0.25rem;
  color: rgba(16,22,43,.62);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.royal-calendar-note {
  width: min(56.25rem, 86vw);
  margin: 2rem auto 4.5rem;
  color: rgba(16,22,43,.68);
  text-align: center;
  font-size: 0.8125rem;
  font-style: italic;
  line-height: 1.6;
}

@media (max-width: 920px) {
  .royal-calendar-shell { grid-template-columns: 1fr; }
  .royal-calendar-shell::after { display: none; }
  .royal-calendar-crest { left: 50%; }
  .royal-calendar-left { padding-bottom: 2.25rem; }
  .royal-calendar-right {
    border-top: 0.0625rem solid rgba(255,255,255,.9);
    padding-top: 2.125rem;
    min-height: 20rem;
  }
  .royal-calendar-date-heading,
  .royal-calendar-event-list { padding-left: 0; }
}

@media (max-width: 620px) {
  .royal-calendar-intro { margin-top: 1.75rem; }
  .royal-calendar-left,
  .royal-calendar-right { padding-left: 1rem; padding-right: 1rem; }
  .royal-calendar-left { padding-top: 2.875rem; }
  .royal-calendar-monthbar { margin-bottom: 1.375rem; }
  .royal-calendar-weekday { font-size: 0.5625rem; height: 1.875rem; }
  .royal-calendar-day { aspect-ratio: 1 / 1.02; }
  .royal-calendar-day-number { font-size: 1.0625rem; }
  .royal-calendar-day-icons { right: 0.1875rem; bottom: 0.1875rem; gap: 0.0625rem; }
  .royal-calendar-mini-icon { width: 0.6875rem; height: 0.6875rem; }
  .royal-calendar-mini-icon--flag { width: 0.8125rem; height: 0.5rem; }
  .royal-calendar-logo-mark { width: 0.6875rem; height: 0.6875rem; font-size: 0.4375rem; }
  .royal-calendar-legend { gap: 0.5625rem 0.875rem; font-size: 0.6875rem; }
}
.royal-calendar-logo-mark img,
.royal-calendar-event-symbol--royalist img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.royal-calendar-event-symbol--royalist {
  width: 1.75rem;
  height: 1.75rem;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.royal-calendar-flag-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.royal-calendar-cake,
.royal-calendar-event-symbol--birthday {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  line-height: 1;
}

.royal-calendar-event-symbol--birthday {
  font-size: 1.4375rem;
}

@media (max-width: 620px) {
  .royal-calendar-event h3 {
    min-height: 1.875rem;
    padding-right: 2.75rem;
  }
  .royal-calendar-event h3 > .royal-calendar-event-symbol { right: 0.0625rem; }
  .royal-calendar-event-symbol--flag { width: 1.6875rem; height: 1.0625rem; top: 0.25rem !important; }
  .royal-calendar-event-symbol--royalist { width: 1.5625rem; height: 1.5625rem; }
  .royal-calendar-event-symbol--birthday { font-size: 1.3125rem; }
}

/* ==========================================================================
   ROYAL FINANCES
   ========================================================================== */
.rfn-banner {
  position: relative;
  background: var(--navy-deep);
  padding: 6.25rem 5vw 8.125rem;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

.rfn-banner-watermark {
  position: absolute;
  top: 0;
  bottom: 0;
  right: -4%;
  width: auto;
  height: 100%;
  opacity: 0.2;
  pointer-events: none;
}

.rfn-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 80rem;
  margin: 0 auto;
}

.rfn-banner h1 {
  font-size: clamp(2.75rem, 6.5vw, 4.875rem);
  line-height: 1.08;
  font-weight: 700;
  color: var(--off-white);
  max-width: 48.75rem;
}

.rfn-banner h1 .mark {
  background: var(--blue-bright);
  color: var(--off-white);
  padding: 0 0.75rem;
}

.rfn-body {
  max-width: 62.5rem;
  margin: 0 auto;
  padding: 5rem 5vw 7.5rem;
}

.rfn-intro {
  max-width: 48.75rem;
  margin-bottom: 4rem;
}

.rfn-intro h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  color: var(--navy-royal);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.rfn-intro p,
.rfn-section-text {
  font-size: 1rem;
  color: rgba(16,22,43,0.68);
  line-height: 1.7;
  max-width: 48.75rem;
}

.rfn-section-title {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: var(--navy-royal);
  line-height: 1.25;
  margin-bottom: 0.875rem;
}

.rfn-section { margin-bottom: 5.5rem; }
.rfn-section:last-child { margin-bottom: 0; }
.rfn-section .brs-chart + .brs-chart { margin-top: 3rem; }

/* What it costs you: the one figure that gets the brand's tilted card */
.rfn-cost { display: flex; flex-wrap: wrap; align-items: center; gap: 2.25rem 3.5rem; margin-top: 1.75rem; }
.rfn-cost-frame { position: relative; flex: 0 0 18.75rem; max-width: 100%; }
.rfn-cost-backdrop { position: absolute; inset: 0; background: var(--navy-deep); border-radius: 0.25rem; transform: translate(0.5625rem, 0.5625rem); }
.rfn-cost-card {
  position: relative;
  background: var(--blue-bright);
  border-radius: 0.25rem;
  transform: rotate(-1.5deg);
  padding: 2.125rem 2rem 1.875rem;
  color: var(--off-white);
}
.rfn-cost-figure { font-size: clamp(4rem, 8vw, 5.5rem); font-weight: 700; line-height: 1; }
.rfn-cost-line { font-size: 1rem; margin-top: 0.625rem; color: rgba(245,247,252,0.88); }
.rfn-cost-text { flex: 1 1 18.75rem; }
.rfn-cost-text p { font-size: 1rem; line-height: 1.7; color: rgba(16,22,43,0.72); }
.rfn-cost-text .rfn-cost-source { font-size: 0.78125rem; color: rgba(16,22,43,0.55); margin-top: 0.875rem; }
.rfn-cost-source a { color: var(--navy-royal); text-decoration: underline; text-underline-offset: 0.125rem; }


@media (max-width: 640px) {
  .rfn-banner { padding: 3.75rem 6vw 5.625rem; clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
  .rfn-banner-watermark { right: -8%; opacity: 0.16; }
  .rfn-body { padding: 3.125rem 6vw 4.375rem; }
  .rfn-intro { margin-bottom: 2.75rem; }
  .rfn-section { margin-bottom: 4rem; }
  .rfn-cost-frame { flex: 0 1 17.5rem; margin-right: 0.5625rem; }
  .rfn-cost-card { padding: 1.75rem 1.625rem 1.5rem; }
}

/* ==========================================================================
   DATA CHARTS (shared components)
   Charts are evidence, so they stay flat: no tilt, no offset backdrop.
   Data colours are one blue ramp (navy-deep, blue-bright, #8fa0e6 tint);
   red appears only where a chart marks a false claim.
   ========================================================================== */
.brs-chart {
  margin: 2.25rem 0 0;
  padding: 1.75rem 0 0;
  border-top: 0.0625rem solid rgba(26,45,122,0.14);
}

.brs-chart-title {
  font-size: clamp(1.125rem, 1.9vw, 1.375rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  max-width: 40rem;
  text-wrap: balance;
}

.brs-chart-controls {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 1.125rem 0 1.625rem;
  padding: 0.25rem;
  border-radius: 62.4375rem;
  background: var(--pale-blue);
}

.brs-chart-toggle {
  border: 0;
  background: none;
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy-royal);
  padding: 0.5rem 1rem;
  border-radius: 62.4375rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.brs-chart-toggle:hover { background: rgba(74,102,204,0.12); }
.brs-chart-toggle[aria-pressed="true"] { background: var(--navy-royal); color: var(--off-white); }
.brs-chart-toggle:focus-visible { outline: 0.125rem solid var(--blue-bright); outline-offset: 0.125rem; }
.brs-chart > .brs-chart-controls:first-child { margin-top: 0; }
.brs-chart-toggle-note { font-size: 0.6875rem; font-weight: 400; opacity: 0.75; }

.brs-chart-figure { position: relative; }
.brs-chart-head + .brs-chart-figure { margin-top: 1.375rem; }

.brs-chart-svg {
  display: block;
  width: 100%;
  overflow: visible;
  font-family: 'Ubuntu', sans-serif;
}

.brs-t-caption { font-size: 13px; font-weight: 500; fill: rgba(16,22,43,0.62); }
.brs-t-value { font-size: 18px; font-weight: 700; fill: var(--ink); }
.brs-t-name { font-size: 12.5px; font-weight: 400; fill: rgba(16,22,43,0.68); }
.brs-t-ribbon { font-size: 13.5px; font-weight: 500; fill: var(--navy-royal); }
.brs-t-ribbon-sub { font-size: 11.5px; fill: rgba(16,22,43,0.55); }

.brs-mark { cursor: pointer; outline: none; transition: opacity 0.15s ease; }
.brs-mark:hover,
.brs-mark.is-focus { opacity: 0.82; }
.brs-mark:focus-visible { stroke: var(--ink); stroke-width: 0.125rem; }

.brs-chart-tip {
  position: absolute;
  z-index: 5;
  max-width: 16.25rem;
  background: var(--off-white);
  border: 0.0625rem solid rgba(26,45,122,0.15);
  border-left: 0.1875rem solid var(--blue-bright);
  border-radius: 0 0.375rem 0.375rem 0;
  box-shadow: 0 0.625rem 1.75rem rgba(16,22,43,0.16);
  padding: 0.75rem 0.875rem;
  pointer-events: none;
}
.brs-chart-tip[hidden] { display: none; }
.brs-chart-tip-value { font-size: 1.125rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.brs-chart-tip-label { font-size: 0.8125rem; font-weight: 500; color: var(--navy-royal); margin-top: 0.125rem; }
.brs-chart-tip-note { font-size: 0.78125rem; color: rgba(16,22,43,0.72); line-height: 1.5; margin-top: 0.5rem; }

.brs-chart-note {
  font-size: 0.84375rem;
  color: rgba(16,22,43,0.72);
  line-height: 1.6;
  margin-top: 0.625rem;
  padding-left: 0.75rem;
  border-left: 0.1875rem solid var(--blue-bright);
  max-width: 40rem;
}
.brs-chart-note[hidden] { display: none; }

.brs-chart-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 1.375rem;
}

.brs-chart-source {
  flex: 1 1 22.5rem;
  font-size: 0.78125rem;
  color: rgba(16,22,43,0.55);
  line-height: 1.6;
}
.brs-chart-source a { color: var(--navy-royal); text-decoration: underline; text-underline-offset: 0.125rem; }

.brs-chart-table-toggle {
  flex-shrink: 0;
  border: 0.0625rem solid rgba(26,45,122,0.25);
  background: none;
  border-radius: 62.4375rem;
  padding: 0.4375rem 0.875rem;
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--navy-royal);
  cursor: pointer;
}
.brs-chart-table-toggle:hover { background: var(--pale-blue); }
.brs-chart-table-toggle:focus-visible { outline: 0.125rem solid var(--blue-bright); outline-offset: 0.125rem; }

.brs-chart-table-wrap { margin-top: 1rem; overflow-x: auto; }
.brs-chart-table-wrap[hidden] { display: none; }

.brs-chart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84375rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}
.brs-chart-table th,
.brs-chart-table td { padding: 0.625rem 0.75rem; text-align: right; border-bottom: 0.0625rem solid rgba(26,45,122,0.1); }
.brs-chart-table th:first-child,
.brs-chart-table td:first-child { text-align: left; padding-left: 0; }
.brs-chart-table thead th { font-size: 0.78125rem; font-weight: 500; color: rgba(16,22,43,0.55); }
.brs-chart-table tbody th { font-weight: 700; }
.brs-chart-table-sub { color: rgba(16,22,43,0.5); font-size: 0.75rem; }

@media (max-width: 640px) {
  .brs-chart-controls { display: flex; border-radius: 0.75rem; }
  .brs-chart-toggle { flex: 1 1 auto; padding: 0.5rem 0.625rem; }
  .brs-t-value { font-size: 16px; }
}

/* Axes, ticks and small labels */
.brs-grid { stroke: rgba(26,45,122,0.12); stroke-width: 1; }
.brs-t-tick { font-size: 12px; fill: rgba(16,22,43,0.55); font-variant-numeric: tabular-nums; }
.brs-t-value-sm { font-size: 13.5px; font-weight: 700; fill: var(--ink); }
.brs-t-name-row { font-size: 13.5px; fill: rgba(16,22,43,0.78); }
.brs-t-marker { font-size: 11px; font-weight: 700; fill: var(--off-white); }

/* Numbered notes under a chart, matching the markers on it */
.brs-chart-notes {
  list-style: none;
  counter-reset: brsnote;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13.75rem, 1fr));
  gap: 0.875rem 1.75rem;
  margin-top: 1.125rem;
}
.brs-chart-notes li {
  counter-increment: brsnote;
  position: relative;
  padding-left: 1.875rem;
  font-size: 0.84375rem;
  line-height: 1.55;
  color: rgba(16,22,43,0.72);
}
.brs-chart-notes li::before {
  content: counter(brsnote);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--off-white);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.25rem;
  text-align: center;
}
.brs-chart-notes-year { display: block; font-weight: 700; color: var(--ink); }

/* Keys and legends: the mark beside the words, never coloured words */
.brs-chart-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: -0.5rem 0 1rem; font-size: 0.84375rem; color: rgba(16,22,43,0.72); }
.brs-chart-legend[hidden] { display: none; }
.brs-chart-legend li { display: inline-flex; align-items: center; gap: 0.5rem; }
.brs-key-swatch { display: inline-block; width: 0.75rem; height: 0.75rem; border-radius: 0.125rem; flex-shrink: 0; }
.brs-key-dot { display: inline-block; width: 0.625rem; height: 0.625rem; border-radius: 50%; flex-shrink: 0; }
.brs-key-bright { background: #4a66cc; }
.brs-key-pale { background: #d4dbf3; }
.brs-key-tint { background: #8fa0e6; }
.brs-key-deep { background: #1a2d7a; }
.brs-key-grey { background: #8e95a6; }
.brs-chart-table td.brs-chart-table-text { text-align: left; white-space: normal; min-width: 13.75rem; color: rgba(16,22,43,0.72); }

/* Waffle: the grid beside its key */
.brs-waffle-layout { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; margin-top: 1.375rem; }
.brs-waffle-figure { flex: 0 1 18.75rem; min-width: 13.75rem; }
.brs-waffle-key { list-style: none; flex: 1 1 15rem; display: flex; flex-direction: column; gap: 1rem; }
.brs-waffle-key li { position: relative; padding-left: 1.5rem; font-size: 0.9375rem; line-height: 1.5; color: rgba(16,22,43,0.72); }
.brs-waffle-key strong { color: var(--ink); font-size: 1.125rem; margin-right: 0.375rem; }
.brs-waffle-key .brs-key-swatch { position: absolute; left: 0; top: 0.375rem; }

.brs-chart-table-total th,
.brs-chart-table-total td { font-weight: 700; border-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  .brs-chart-toggle,
  .brs-mark { transition: none; }
}

/* ---------- Royal Finances: byline ----------
   Sits in the left margin, outside the article column, wherever the screen leaves room;
   narrower screens show it as a compact row above the intro. */
.rfn-intro { position: relative; }
.rfn-byline { display: grid; grid-template-columns: 4rem auto; column-gap: 0.875rem; align-items: center; justify-content: start; margin-bottom: 1.375rem; }
.rfn-byline-photo,
.rfn-trustee-photo {
  border-radius: 50%;
  overflow: hidden;
  background: var(--navy-deep);
}
.rfn-byline-photo { width: 4rem; height: 4rem; grid-row: 1 / 3; }
.rfn-byline-photo img,
.rfn-trustee-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.rfn-byline-photo.is-placeholder img,
.rfn-trustee-photo.is-placeholder img { object-fit: contain; object-position: center; padding: 18%; opacity: 0.45; }
.rfn-byline-name { font-size: 0.875rem; font-weight: 700; color: var(--ink); line-height: 1.3; white-space: nowrap; align-self: end; }
.rfn-byline-role { font-size: 0.8125rem; color: rgba(16,22,43,0.6); align-self: start; }

@media (min-width: 1280px) {
  .rfn-byline {
    position: absolute;
    top: 0.375rem;
    right: calc(100% + 3.5rem);
    width: 9.375rem;
    display: block;
    text-align: center;
    margin: 0;
  }
  .rfn-byline-photo { width: 6rem; height: 6rem; margin: 0 auto 0.75rem; }
  .rfn-byline-role { margin-top: 0.125rem; }
}

/* ---------- Royal Finances: the Royal Trustees ---------- */
.rfn-trustees { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin: 2.125rem 0 2.25rem; }
.rfn-trustee { text-align: center; }
.rfn-trustee-photo { width: 7.5rem; height: 7.5rem; margin: 0 auto 0.875rem; box-shadow: 0 0 0 0.25rem var(--off-white), 0 0 0 0.375rem var(--blue-bright); }
.rfn-trustee-name { font-size: 1rem; font-weight: 700; color: var(--ink); }
.rfn-trustee-office { font-size: 0.84375rem; color: rgba(16,22,43,0.62); margin-top: 0.1875rem; line-height: 1.4; }


/* ---------- Royal Finances: the King's tax receipt ---------- */
.rfn-tax { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem 3.25rem; margin-top: 3.25rem; }
.rfn-tax-receipt {
  flex: 0 0 18.125rem;
  max-width: 100%;
  border: 0;
  background: none;
  padding: 0 0 0.875rem;
  cursor: pointer;
  font-family: 'Ubuntu', sans-serif;
  text-align: left;
}
.rfn-tax-receipt:focus-visible { outline: 0.1875rem solid var(--blue-bright); outline-offset: 0.375rem; }
.rfn-tax-paper {
  position: relative;
  display: block;
  background: #fff;
  border-radius: 0.25rem 0.25rem 0 0;
  padding: 1.375rem 1.375rem 2.125rem;
  box-shadow: 0 0.875rem 2.125rem rgba(16,22,43,0.14);
  transition: clip-path 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
/* Torn-paper foot */
.rfn-tax-paper::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.5625rem;
  height: 0.625rem;
  background: linear-gradient(135deg, #fff 0.375rem, transparent 0) 0 0 / 0.875rem 0.625rem, linear-gradient(-135deg, #fff 0.375rem, transparent 0) 0 0 / 0.875rem 0.625rem;
}
.rfn-tax-head { display: block; font-size: 0.8125rem; font-weight: 700; color: var(--navy-royal); padding-bottom: 0.75rem; margin-bottom: 0.75rem; border-bottom: 0.0625rem solid rgba(26,45,122,0.14); }
.rfn-tax-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.875rem; color: rgba(16,22,43,0.7); padding: 0.3125rem 0; }
.rfn-tax-sum { font-size: 1.625rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.rfn-tax-rule { display: block; height: 0.0625rem; background: rgba(26,45,122,0.14); margin-top: 0.75rem; }
.rfn-tax-stamp {
  position: absolute;
  right: 1.125rem;
  bottom: 0.75rem;
  display: inline-block;
  border: 0.15625rem solid var(--navy-royal);
  border-radius: 0.25rem;
  padding: 0.375rem 0.625rem;
  font-size: 0.78125rem;
  font-weight: 700;
  color: var(--navy-royal);
  transform: rotate(-9deg);
  opacity: 0.92;
}
.rfn-tax.is-armed:not(.is-printed) .rfn-tax-paper { clip-path: inset(0 0 100% 0); transform: translateY(-0.875rem); }
.rfn-tax.is-armed .rfn-tax-paper { clip-path: inset(0 0 -1.25rem 0); }
.rfn-tax.is-armed:not(.is-stamped) .rfn-tax-stamp { opacity: 0; transform: rotate(-9deg) scale(1.9); }
.rfn-tax.is-stamped .rfn-tax-stamp { animation: rfnStamp 0.38s cubic-bezier(0.3, 1.4, 0.5, 1) both; }
@keyframes rfnStamp {
  0% { opacity: 0; transform: rotate(-9deg) scale(1.9); }
  100% { opacity: 0.92; transform: rotate(-9deg) scale(1); }
}
.rfn-tax-text { flex: 1 1 17.5rem; }
.rfn-tax-text p { font-size: 0.96875rem; line-height: 1.7; color: rgba(16,22,43,0.72); margin-bottom: 0.625rem; }
.rfn-tax-text .rfn-tax-lead { font-size: 1.25rem; line-height: 1.45; color: var(--ink); }
.rfn-tax-text .rfn-tax-source { font-size: 0.78125rem; color: rgba(16,22,43,0.55); }
.rfn-tax-source a { color: var(--navy-royal); text-decoration: underline; text-underline-offset: 0.125rem; }

/* ---------- Royal Finances: Republic's claim against the real figure ---------- */
.rfn-versus { display: flex; flex-direction: column; gap: 1.625rem; margin-top: 1.625rem; }
.rfn-versus-row { display: grid; grid-template-columns: 15.625rem 1fr; align-items: center; gap: 1.25rem; }
.rfn-versus-who { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.rfn-versus-logo { height: 1.75rem; width: auto; }
.rfn-versus-wordmark { font-size: 1.0625rem; font-weight: 700; color: var(--ink); border: 0.09375rem solid var(--ink); border-radius: 0.25rem; padding: 0.1875rem 0.5625rem; }
.rfn-versus-crown { flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--navy-deep); display: flex; align-items: center; justify-content: center; }
.rfn-versus-crown img { width: 1.625rem; height: auto; }
.rfn-versus-label { font-size: 0.90625rem; color: rgba(16,22,43,0.78); line-height: 1.35; }
.rfn-versus-track { display: flex; align-items: center; gap: 0.75rem; }
.rfn-versus-bar { display: block; flex-shrink: 0; height: 1.75rem; border-radius: 0 0.25rem 0.25rem 0; transition: width 1.1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.rfn-versus-row--claim .rfn-versus-bar { background: var(--accent-red); }
.rfn-versus-row--real .rfn-versus-bar { background: var(--blue-bright); }
.rfn-versus-row--real .rfn-versus-bar { transition-delay: 0.25s; }
.rfn-versus-value { font-size: 1.375rem; font-weight: 700; color: var(--ink); white-space: nowrap; }

@media (max-width: 640px) {
  .rfn-trustees { gap: 0.875rem; }
  .rfn-trustee-photo { width: 5.25rem; height: 5.25rem; }
  .rfn-trustee-name { font-size: 0.875rem; }
  .rfn-trustee-office { font-size: 0.78125rem; }
  .rfn-versus-row { grid-template-columns: 1fr; gap: 0.625rem; }
  .rfn-versus-value { font-size: 1.1875rem; }
}

@media (prefers-reduced-motion: reduce) {
  .rfn-tax-paper,
  .rfn-versus-bar { transition: none; }
  .rfn-tax.is-stamped .rfn-tax-stamp { animation: none; }
}

.rfn-small-note { font-size: 0.78125rem; line-height: 1.6; color: rgba(16,22,43,0.55); margin-top: 0.75rem; max-width: 48.75rem; }
.rfn-small-note a { color: var(--navy-royal); text-decoration: underline; text-underline-offset: 0.125rem; }

/* Chart subtitle: the finding, set smaller under a question-style title */
.brs-chart-subtitle { font-size: 0.96875rem; line-height: 1.5; color: rgba(16,22,43,0.68); margin-top: 0.375rem; max-width: 40rem; }
.brs-chart-title--icon { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 0.875rem; }

/* Bicycle: rides in once when the chart appears; tap to ride again */
.brs-bike { display: inline-flex; color: var(--navy-royal); cursor: pointer; border-radius: 0.375rem; }
.brs-bike:focus-visible { outline: 0.125rem solid var(--blue-bright); outline-offset: 0.25rem; }
.brs-bike svg { display: block; overflow: visible; }
.brs-bike-wheel { transform-box: fill-box; transform-origin: center; }
.brs-bike.is-riding svg { animation: brsBikeRide 1.8s cubic-bezier(0.25, 0.7, 0.3, 1) both; }
.brs-bike.is-riding .brs-bike-wheel { animation: brsBikeWheel 0.45s linear 4; }
@keyframes brsBikeRide {
  0% { transform: translateX(-4.375rem); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateX(0); opacity: 1; }
}
@keyframes brsBikeWheel { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .brs-bike.is-riding svg,
  .brs-bike.is-riding .brs-bike-wheel { animation: none; }
}

/* ---------- Royal Finances: part headings (the costs, the benefits) ---------- */
.rfn-part {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-top: 1.625rem;
  margin-bottom: 2.75rem;
  border-top: 0.1875rem solid var(--navy-royal);
}
.rfn-part-num { font-size: clamp(2.125rem, 3.6vw, 2.875rem); font-weight: 700; line-height: 1; color: var(--blue-bright); }
.rfn-part-title { font-size: clamp(1.875rem, 3.4vw, 2.625rem); font-weight: 700; line-height: 1.1; color: var(--navy-royal); }

/* House quote style, on the page's off-white ground */
.rfn-quote {
  border-left: 0.1875rem solid var(--blue-bright);
  background: var(--pale-blue);
  padding: 1rem 1.375rem;
  border-radius: 0 0.375rem 0.375rem 0;
  margin: 0;
}
.rfn-quote p { font-size: 0.9375rem; font-style: italic; color: rgba(16,22,43,0.78); line-height: 1.75; margin-bottom: 0.5rem; }
.rfn-quote cite { font-size: 0.78125rem; font-weight: 700; font-style: normal; color: var(--blue-bright); }


@media (max-width: 640px) {
  .rfn-part { margin-bottom: 2rem; gap: 0.75rem; }
}

/* ---------- Royal Finances: the benefit wheel ---------- */
.rfn-wheel { display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem 3.5rem; margin-top: 1.875rem; }
.rfn-wheel-ring { position: relative; flex: 0 0 auto; width: min(23.75rem, 100%); aspect-ratio: 1; }
.rfn-wheel-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.rfn-wheel-lines circle { fill: none; stroke: rgba(74,102,204,0.35); stroke-width: 0.4; stroke-dasharray: 240; stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.rfn-wheel.is-armed:not(.is-shown) .rfn-wheel-lines circle { stroke-dashoffset: 240; }
.rfn-wheel-centre { position: absolute; inset: 29%; border-radius: 50%; background: var(--navy-deep); color: var(--off-white); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0.5rem; }
.rfn-wheel-total { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.1; }
.rfn-wheel-caption { font-size: 0.78125rem; color: rgba(245,247,252,0.8); margin-top: 0.25rem; }
.rfn-wheel-node {
  position: absolute;
  width: 3.25rem;
  height: 3.25rem;
  margin: -1.625rem 0 0 -1.625rem;
  border-radius: 50%;
  border: 0;
  background: var(--pale-blue);
  color: var(--navy-royal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1), opacity 0.3s ease, background 0.2s ease, color 0.2s ease;
}
.rfn-wheel.is-armed:not(.is-shown) .rfn-wheel-node { opacity: 0; transform: scale(0.4); }
.rfn-wheel-node:hover { background: #dfe5f8; }
.rfn-wheel-node[aria-pressed="true"] { background: var(--blue-bright); color: var(--off-white); }
.rfn-wheel-node:focus-visible { outline: 0.125rem solid var(--blue-bright); outline-offset: 0.1875rem; }
.rfn-wheel-detail { flex: 1 1 16.25rem; min-height: 9.375rem; }
.rfn-wheel-name { font-size: 1.25rem; font-weight: 700; color: var(--navy-royal); margin-bottom: 0.5rem; }
.rfn-wheel-desc { font-size: 1rem; line-height: 1.7; color: rgba(16,22,43,0.75); max-width: 26.25rem; }
.rfn-wheel-hint { font-size: 0.78125rem; color: rgba(16,22,43,0.5); margin-top: 0.875rem; }

/* ---------- Royal Finances: the nation's profits tracker ---------- */
.rfn-tracker {
  background: var(--navy-deep);
  color: var(--off-white);
  border-radius: 0.25rem;
  padding: 1.875rem 2.125rem 1.625rem;
  margin-bottom: 4rem;
}
.rfn-tracker-title { font-size: 1rem; font-weight: 700; color: rgba(245,247,252,0.85); }
.rfn-tracker-figure { font-size: clamp(2.375rem, 6vw, 4rem); font-weight: 700; line-height: 1.1; margin-top: 0.5rem; font-variant-numeric: tabular-nums; }
.rfn-tracker-sub { font-size: 0.9375rem; color: rgba(245,247,252,0.8); margin-top: 0.375rem; }
.rfn-tracker-note { font-size: 0.75rem; color: rgba(245,247,252,0.6); margin-top: 0.875rem; }

/* ---------- Royal Finances: what the cost is equivalent to ---------- */
.rfn-equiv { margin-top: 2.125rem; max-width: 48.75rem; }
.rfn-equiv-title { font-size: 0.9375rem; font-weight: 700; color: var(--navy-royal); margin-bottom: 0.75rem; }
.rfn-equiv-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.625rem 0.75rem; }
.rfn-equiv-list li { display: inline-flex; align-items: center; gap: 0.5625rem; background: var(--pale-blue); border-radius: 62.4375rem; padding: 0.4375rem 1rem 0.4375rem 0.5rem; font-size: 0.875rem; color: rgba(16,22,43,0.78); }
.rfn-equiv-list strong { color: var(--ink); }
.rfn-equiv-text { line-height: 1.4; }
.rfn-equiv-icon { width: 1.875rem; height: 1.875rem; border-radius: 50%; background: var(--off-white); color: var(--navy-royal); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

@media (max-width: 640px) {
  .rfn-wheel-ring { width: min(20rem, 100%); margin: 0 auto; }
  .rfn-wheel-node { width: 2.75rem; height: 2.75rem; margin: -1.375rem 0 0 -1.375rem; }
  .rfn-wheel-detail { min-height: 10.625rem; }
  .rfn-tracker { padding: 1.5rem 1.375rem 1.25rem; margin-bottom: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .rfn-wheel-node,
  .rfn-wheel-lines circle { transition: none; }
}

/* ---------- Royal Finances: benefits against costs ---------- */
.rfn-balance { display: flex; flex-direction: column; gap: 1.375rem; padding-top: 1.875rem; }
.rfn-balance-row { display: grid; grid-template-columns: 5.625rem 1fr; align-items: center; gap: 1rem; }
.rfn-balance-label { font-size: 0.9375rem; font-weight: 700; color: var(--ink); }
.rfn-balance-track { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.rfn-balance-bar { display: flex; gap: 0.125rem; flex-shrink: 0; height: 1.875rem; overflow: visible; transition: width 1.1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.rfn-balance-seg { display: block; height: 100%; min-width: 0; cursor: pointer; }
.rfn-balance-seg--match { flex-shrink: 0; background: #8fa0e6; border-radius: 0; }
.rfn-balance-seg--extra { position: relative; flex: 1; background: var(--blue-bright); border-radius: 0 0.25rem 0.25rem 0; }
.rfn-balance-seg--cost { flex: 1; background: var(--navy-deep); border-radius: 0 0.25rem 0.25rem 0; }
.rfn-balance-callout { position: absolute; left: 0; right: 0; bottom: calc(100% + 0.375rem); text-align: center; font-size: 0.875rem; font-weight: 700; color: var(--navy-royal); white-space: nowrap; border-bottom: 0.125rem solid var(--blue-bright); padding-bottom: 0.1875rem; opacity: 0; transition: opacity 0.5s ease 0.9s; }
.brs-chart.is-drawn .rfn-balance-callout { opacity: 1; }
.rfn-balance-value { font-size: 1.25rem; font-weight: 700; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rfn-balance-row + .rfn-balance-row .rfn-balance-bar { transition-delay: 0.2s; }

@media (max-width: 640px) {
  .rfn-balance-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .rfn-balance-row:first-child .rfn-balance-label { margin-bottom: 1.625rem; }
  .rfn-balance { padding-top: 0.375rem; }
  .rfn-balance-value { font-size: 1.125rem; }
}

@media (prefers-reduced-motion: reduce) {
  .rfn-balance-bar, .rfn-balance-callout { transition: none; }
}

/* ---------- Royal Finances: paragraph spacing and the Accession Council video ---------- */
.rfn-section-text + .rfn-section-text { margin-top: 1rem; }
.rfn-video { margin: 2.25rem 0 0; max-width: 48.75rem; }
.rfn-video-frame { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 0.25rem; overflow: hidden; background: var(--navy-deep); }
.rfn-video-media { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--navy-deep); }
.rfn-video-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.875rem; color: var(--off-white); }
.rfn-video-watermark { position: absolute; right: -6%; bottom: -18%; width: 48%; height: auto; opacity: 0.14; pointer-events: none; }
.rfn-video-play { position: relative; width: 4.25rem; height: 4.25rem; border-radius: 50%; border: 0.0625rem solid rgba(245,247,252,0.45); background: rgba(245,247,252,0.16); display: flex; align-items: center; justify-content: center; }
.rfn-video-play svg { margin-left: 0.1875rem; }
.rfn-video-soon { position: relative; font-size: 0.875rem; font-weight: 500; color: rgba(245,247,252,0.75); }
.rfn-video-caption { font-size: 0.8125rem; line-height: 1.5; color: rgba(16,22,43,0.6); margin-top: 0.75rem; }

/* ---------- Royal Finances: monarchy against a presidency (stacked balance bars) ---------- */
.rfn-balance--wide { padding-top: 0.5rem; }
.rfn-balance--wide .rfn-balance-row { grid-template-columns: 8.5rem 1fr; }
.rfn-balance-seg--deep,
.rfn-balance-seg--tint,
.rfn-balance-seg--bright,
.rfn-balance-seg--grey { flex-shrink: 0; }
.rfn-balance-seg--deep { background: var(--navy-deep); }
.rfn-balance-seg--tint { background: #8fa0e6; }
.rfn-balance-seg--bright { background: var(--blue-bright); }
.rfn-balance-seg--grey { background: #8e95a6; }
.rfn-balance--wide .rfn-balance-seg:last-child { flex: 1; border-radius: 0 0.25rem 0.25rem 0; }

@media (max-width: 640px) {
  .rfn-balance--wide .rfn-balance-row { grid-template-columns: 1fr; }
  .rfn-balance--wide .rfn-balance-row:first-child .rfn-balance-label { margin-bottom: 0; }
}
#rfnEstimate .brs-chart-legend { margin: 1rem 0 0.5rem; }
.brs-chart + .rfn-section-text { margin-top: 2rem; }

/* ---------- Royal Finances: net cost or gain, monarchy against a presidency ----------
   Green and red here only: gain and cost need to read apart at a glance. Everywhere else in
   the charts red still means a false claim. */
.rfn-net { --net-gain: #1b7f4b; --net-cost: #c8102e; }
.rfn-net-figure { display: grid; gap: 1.125rem; margin-top: 1.5rem; }
.rfn-net-axis,
.rfn-net-row { display: grid; grid-template-columns: 8.5rem 1fr; align-items: center; gap: 1rem; }
.rfn-net-axis { font-size: 0.8125rem; color: rgba(16,22,43,0.6); }
.rfn-net-axis-track { position: relative; height: 1.25rem; }
.rfn-net-axis-track span { position: absolute; top: 0; white-space: nowrap; }
.rfn-net-axis-cost { right: calc(100% - var(--zero) + 0.5rem); }
.rfn-net-axis-gain { left: calc(var(--zero) + 0.5rem); }
.rfn-net-label { font-size: 0.9375rem; font-weight: 700; color: var(--ink); }
.rfn-net-track { position: relative; height: 2.375rem; }
.rfn-net-track::before { content: ''; position: absolute; left: var(--zero); top: -0.625rem; bottom: -0.625rem; width: 0.125rem; margin-left: -0.0625rem; background: var(--ink); opacity: 0.55; }
.rfn-net-bar { position: absolute; top: 0; bottom: 0; display: flex; gap: 0.125rem; transition: clip-path 1.1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.rfn-net-bar--cost { flex-direction: row-reverse; transition-delay: 0.2s; }
.rfn-net-seg { display: block; height: 100%; min-width: 0.125rem; cursor: pointer; }
.rfn-net-bar--gain .rfn-net-seg { flex: 1; background: var(--net-gain); border-radius: 0 0.25rem 0.25rem 0; }
.rfn-net-bar--cost .rfn-net-seg { background: var(--net-cost); }
.rfn-net-bar--cost .rfn-net-seg:nth-last-child(2) { border-radius: 0.25rem 0 0 0.25rem; }
.rfn-net-value { position: absolute; top: 50%; transform: translateY(-50%); font-size: 1.0625rem; font-weight: 700; color: #fff; pointer-events: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rfn-net-bar--gain .rfn-net-value { right: 0.75rem; }
.rfn-net-bar--cost .rfn-net-value { right: calc(100% + 0.625rem); color: var(--net-cost); }
.rfn-net.is-armed .rfn-net-bar--gain { clip-path: inset(0 100% 0 0); }
.rfn-net.is-armed .rfn-net-bar--cost { clip-path: inset(0 0 0 100%); }
.rfn-net.is-armed .rfn-net-bar--cost .rfn-net-value { opacity: 0; transition: opacity 0.4s ease 1.1s; }
.rfn-net.is-armed.is-drawn .rfn-net-bar--cost .rfn-net-value { opacity: 1; }
.rfn-net.is-armed.is-drawn .rfn-net-bar--gain { clip-path: inset(-0.5rem -10rem -0.5rem 0); }
.rfn-net.is-armed.is-drawn .rfn-net-bar--cost { clip-path: inset(-0.5rem 0 -0.5rem -10rem); }

@media (max-width: 640px) {
  .rfn-net-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .rfn-net-axis { grid-template-columns: 1fr; }
  .rfn-net-axis > span:first-child { display: none; }
  .rfn-net-value { font-size: 0.9375rem; }
  .rfn-net-bar--gain .rfn-net-value { right: 0.5rem; }
  .rfn-net-bar--cost .rfn-net-value { right: calc(100% + 0.375rem); }
}

@media (prefers-reduced-motion: reduce) {
  .rfn-net-bar { transition: none; }
}

/* Closing line of the article, set at section-title size */
.rfn-closing { font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 700; line-height: 1.3; color: var(--navy-royal); max-width: 48.75rem; margin-top: 2.5rem; text-wrap: balance; }
.rfn-small-note + .rfn-closing { margin-top: 3rem; }

/* Touch screens: mark glossary terms as tappable (iOS only sends clicks to elements it treats as clickable). */
@media (hover: none) { .glossary-term { cursor: pointer; -webkit-tap-highlight-color: transparent; } }

/* ================= MEMBERS' ZONE ================= */
.mz-wrap { font-family: 'Ubuntu', sans-serif; }
.mz-banner { position: relative; background: var(--navy-deep); padding: 5rem 5vw 6.5rem; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
.mz-banner-watermark { position: absolute; top: 0; bottom: 0; right: -4%; width: auto; height: 100%; opacity: 0.2; pointer-events: none; }
.mz-banner-inner { position: relative; z-index: 2; max-width: 80rem; margin: 0 auto; }
.mz-banner h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.08; font-weight: 700; color: var(--off-white); }
.mz-banner h1 .mark { background: var(--blue-bright); color: var(--off-white); padding: 0 0.75rem; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.mz-body { box-sizing: content-box; max-width: 80rem; margin: 0 auto; padding: 4rem 5vw 6.25rem; }
.mz-intro { max-width: 48.75rem; margin-bottom: 3rem; }
.mz-intro h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; line-height: 1.15; color: var(--navy-royal); margin-bottom: 0.75rem; }
.mz-intro p { font-size: 1.0625rem; line-height: 1.7; color: var(--ink); }
.mz-intro p + p { margin-top: 1rem; }
.mz-intro a:not(.btn-primary) { color: var(--navy-royal); text-decoration: underline; text-underline-offset: 0.15em; }
.mz-actions { margin-top: 1.75rem !important; }
.mz-message { padding-bottom: 2rem; }

.mz-section-title { font-size: 1.375rem; font-weight: 700; color: var(--navy-royal); margin-bottom: 1.5rem; }
.mz-card-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3rem; align-items: center; background: #fff; border-radius: 0.5rem; padding: 3rem; }

/* The card: CR80 proportions, matching the printed card */
.mz-card-frame { position: relative; width: 100%; max-width: 30rem; margin: 0 0.75rem 0.75rem 0; }
.mz-card-backdrop { position: absolute; inset: 0; background: var(--navy-royal); border-radius: 3.7% / 5.9%; transform: translate(0.75rem, 0.75rem); }
.mz-card { container-type: inline-size; position: relative; width: 100%; aspect-ratio: 85.6 / 54; border-radius: 3.7% / 5.9%; overflow: hidden; background: var(--navy-deep); color: var(--off-white); transform: rotate(-1.5deg); }
.mz-card-inner { position: absolute; inset: 0; padding: 6cqw 6.5cqw; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; }
.mz-card-band { position: absolute; left: 0; right: 0; bottom: 0; height: 2.2cqw; background: var(--blue-bright); }
.mz-card-brand { display: flex; align-items: flex-end; gap: 2.4cqw; grid-column: 1 / -1; }
.mz-card-brand svg { width: 6.4cqw; height: 6.4cqw; }
/* The Royalists logo, shown in white on the navy card. */
.mz-card-logo { height: 7.4cqw; width: auto; display: block; filter: brightness(0) invert(1); }
.mz-card-brand span { font-size: 3.6cqw; font-weight: 700; letter-spacing: 0.16em; line-height: 1; margin-bottom: 0.3cqw; } /* Sits on the crown's base line. */
.mz-card-left { grid-column: 1; grid-row: 2 / 4; align-self: end; display: grid; min-width: 0; }
.mz-card-label { font-size: 2.7cqw; letter-spacing: 0.04em; opacity: 0.75; margin-bottom: 1cqw; }
.mz-card-name { font-size: 6.2cqw; font-weight: 700; line-height: 1.1; overflow-wrap: anywhere; }
.mz-card-meta { display: flex; gap: 6cqw; margin: 3cqw 0 0; }
.mz-card-meta div { display: grid; gap: 0.6cqw; }
.mz-card-meta dt { font-size: 2.3cqw; opacity: 0.7; }
.mz-card-meta dd { margin: 0; font-size: 3.5cqw; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.mz-card-qr { grid-column: 2; grid-row: 2 / 4; align-self: end; background: #fff; border-radius: 1.6cqw; padding: 1.6cqw; width: 23cqw; height: 23cqw; }
.mz-card-qr canvas, .mz-card-qr img { width: 100% !important; height: 100% !important; display: block; image-rendering: pixelated; }

/* Status: flat, like other listings */
.mz-status { display: grid; gap: 1.25rem; }
.mz-status-head { display: flex; align-items: center; gap: 0.625rem; font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.mz-dot { width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 0 0.25rem rgba(74, 102, 204, 0.18); flex: none; }
.mz-status-list { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.25rem; font-size: 0.9375rem; margin: 0; }
.mz-status-list dt { color: rgba(16, 22, 43, 0.62); }
.mz-status-list dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.mz-track { list-style: none; margin: 0; padding: 1.25rem 0 0; border-top: 0.0625rem solid rgba(26, 45, 122, 0.12); }
.mz-track li { display: grid; grid-template-columns: 1.25rem 1fr; column-gap: 0.75rem; font-size: 0.9375rem; position: relative; padding-bottom: 0.875rem; }
.mz-track li:last-child { padding-bottom: 0; }
.mz-track li::before { content: ''; grid-row: 1 / 3; width: 0.75rem; height: 0.75rem; border-radius: 50%; border: 0.125rem solid var(--blue-bright); background: var(--blue-bright); margin-top: 0.2rem; box-sizing: border-box; }
.mz-track li.is-todo::before { background: #fff; border-color: rgba(26, 45, 122, 0.3); }
.mz-track li:not(:last-child)::after { content: ''; position: absolute; left: 0.34rem; top: 1.1rem; bottom: 0.05rem; width: 0.0625rem; background: rgba(26, 45, 122, 0.25); }
.mz-track b { font-weight: 500; color: var(--ink); }
.mz-track span { grid-column: 2; color: rgba(16, 22, 43, 0.62); font-size: 0.875rem; }
.mz-track li.is-todo b { color: rgba(16, 22, 43, 0.62); font-weight: 400; }
.mz-note { font-size: 0.9375rem; line-height: 1.6; color: var(--ink); background: var(--pale-blue); border-radius: 0.375rem; padding: 0.875rem 1rem; }

@media (max-width: 900px) {
  .mz-card-row { grid-template-columns: 1fr; gap: 2.25rem; padding: 2rem 1.5rem; }
}
@media (max-width: 640px) {
  .mz-banner { padding: 3.75rem 6vw 5rem; clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
  .mz-banner-watermark { right: -8%; opacity: 0.16; }
  .mz-body { padding: 2.75rem 6vw 4.5rem; }
  .mz-card-row { padding: 1.5rem 1.25rem 1.75rem; margin: 0 -1vw; }
}

/* ================= ACCOUNT PAGES: JOIN, LOG IN, RESET PASSWORD ================= */
/* Built on the contact page's banner and form styles (.ct-*). Forms stay flat. */
.ac-frame { max-width: 32rem; }
.ac-link { color: var(--navy-royal); font-weight: 500; text-decoration: none; border-bottom: 0.0625rem solid rgba(34, 59, 151, 0.35); }
.ac-link:hover { color: var(--blue-bright); border-bottom-color: var(--blue-bright); }
.ac-under { margin-top: 1.5rem; font-size: 0.9375rem; }
.ac-aside { margin-top: 1.75rem; font-size: 0.9375rem; color: rgba(16, 22, 43, 0.68); }
.ac-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.ac-remember { margin: 0 0 1.75rem; }
.ac-status-info { background: var(--pale-blue); border-left: 0.1875rem solid var(--blue-bright); color: var(--navy-deep); }
.ac-wrap .ct-form .btn-primary { cursor: pointer; border: 0; font-family: inherit; }

/* Join */
.jn-body { max-width: 62.5rem; }
.jn-form { display: grid; gap: 2.5rem; }
.jn-step { font-size: 1.25rem; font-weight: 700; color: var(--navy-royal); margin: 0 0 1.25rem; padding: 0; }
.jn-details .jn-step { margin-top: 2.25rem; }
.jn-details .jn-step:first-child { margin-top: 0; }
.jn-plans { border: 0; margin: 0; padding: 0; min-width: 0; }
.jn-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.jn-plan-grid.jn-count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 42rem; }
.jn-plan-grid.jn-count-1 { grid-template-columns: minmax(0, 21rem); }
.jn-plan { position: relative; display: grid; gap: 0.375rem; align-content: start; padding: 1.5rem 1.5rem 1.375rem; background: #fff; border: 0.125rem solid rgba(26, 45, 122, 0.14); border-radius: 0.625rem; cursor: pointer; transition: border-color 0.2s ease, background-color 0.2s ease; }
.jn-plan:hover { border-color: rgba(74, 102, 204, 0.55); }
.jn-plan input { position: absolute; top: 1.375rem; right: 1.375rem; width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--navy-royal); cursor: pointer; }
.jn-plan:has(input:checked) { border-color: var(--blue-bright); background: var(--pale-blue); }
.jn-plan:has(input:focus-visible) { outline: 0.1875rem solid rgba(74, 102, 204, 0.4); outline-offset: 0.125rem; }
.jn-plan.is-disabled { opacity: 0.5; cursor: not-allowed; }
.jn-plan-name { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy-royal); padding-right: 2rem; }
.jn-plan-price { font-size: 1.75rem; font-weight: 700; line-height: 1.2; color: var(--ink); min-height: 1.2em; }
.jn-plan-note { font-size: 0.9375rem; line-height: 1.5; color: rgba(16, 22, 43, 0.68); }
.jn-details { max-width: 40rem; }
.jn-hint { margin-top: 0.5rem; font-size: 0.84375rem; line-height: 1.5; color: rgba(16, 22, 43, 0.6); }
.jn-have, .jn-signed { font-size: 0.9375rem; color: rgba(16, 22, 43, 0.75); margin-top: -0.25rem; }
.jn-postcode { text-transform: uppercase; }
.jn-submit { margin-top: 0.25rem; }
.jn-secure { margin-top: 1rem; }
.jn-details .ct-form-group:last-of-type { margin-bottom: 1.75rem; }

/* Members' Zone: payments link */
.mz-billing { display: grid; gap: 0.25rem; padding-top: 1.25rem; border-top: 0.0625rem solid rgba(26, 45, 122, 0.12); font-size: 0.9375rem; }
.mz-billing span { color: rgba(16, 22, 43, 0.62); font-size: 0.875rem; }
.mz-billing-link { justify-self: start; color: var(--navy-royal); font-weight: 500; text-decoration: none; border-bottom: 0.0625rem solid rgba(34, 59, 151, 0.35); }
.mz-billing-link:hover { color: var(--blue-bright); border-bottom-color: var(--blue-bright); }
.mz-body .ct-status { max-width: 48.75rem; }

@media (max-width: 900px) {
  .jn-plan-grid, .jn-plan-grid.jn-count-2 { grid-template-columns: 1fr; max-width: 32rem; }
  .jn-plan { padding: 1.125rem 1.25rem; }
  .jn-plan input { top: 1.125rem; right: 1.25rem; }
  .jn-plan-price { font-size: 1.375rem; }
}
.jn-title-group { max-width: 15rem; }
.jn-title { appearance: auto; cursor: pointer; }
.jn-title-other { margin-top: 0.625rem; }
@media (max-width: 640px) { .jn-title-group { max-width: none; } }
.mz-card-name.is-missing { opacity: 0.45; font-style: italic; }
.mz-name-form { max-width: 40rem; margin-bottom: 3rem; }
.mz-name-form .mz-section-title { margin-bottom: 0.5rem; }
.mz-name-note { font-size: 0.9375rem; line-height: 1.6; color: rgba(16, 22, 43, 0.75); margin-bottom: 1.5rem; }
.mz-name-form .ct-form-group:last-of-type { margin-bottom: 1.5rem; }
.mz-name-form .btn-primary { border: 0; cursor: pointer; font-family: inherit; }
.jn-dob { border: 0; margin: 0 0 1.75rem; padding: 0; min-width: 0; }
.jn-dob legend { padding: 0; }
.jn-dob-row { display: grid; grid-template-columns: 5rem minmax(0, 11rem) 6.5rem; gap: 0.75rem; }
.jn-dob-row label { display: block; font-size: 0.8125rem; color: rgba(16, 22, 43, 0.65); margin-bottom: 0.375rem; }
@media (max-width: 640px) { .jn-dob-row { grid-template-columns: 4.5rem minmax(0, 1fr) 5.5rem; gap: 0.5rem; } }

/* ================= MEMBERS ONLY (shown in place of members-only pages) ================= */
body.mo-body { margin: 0; background: var(--navy-deep); font-family: 'Ubuntu', sans-serif; color: var(--ink); }
.mo-page { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; padding: 3.5rem 1.25rem 2.5rem; box-sizing: border-box; overflow: hidden; }
.mo-watermark { position: absolute; top: 0; bottom: 0; right: -6%; height: 100%; width: auto; opacity: 0.16; pointer-events: none; }
.mo-brand { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-decoration: none; margin-bottom: 2.25rem; }
.mo-brand-logo { height: 5rem; width: auto; filter: brightness(0) invert(1); }
.mo-brand-name { font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--off-white); }
.mo-brand:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 6px; border-radius: 0.25rem; }

.mo-panel { position: relative; width: 100%; max-width: 30rem; box-sizing: border-box; background: #fff; border-radius: 0.625rem; padding: 2.75rem 2.5rem 2.5rem; text-align: center; }

/* A small membership card, tilted on the house offset backdrop. */
/* The frame is the size reference (cqw), so the card's own spacing scales with it. */
.mo-card-frame { container-type: inline-size; position: relative; width: 13.5rem; margin: 0 auto 2.25rem; }
.mo-card-backdrop { position: absolute; inset: 0; background: var(--navy-royal); border-radius: 3.7% / 5.9%; transform: translate(0.5rem, 0.5rem); }
.mo-card { position: relative; aspect-ratio: 85.6 / 54; border-radius: 3.7% / 5.9%; overflow: hidden; background: var(--navy-deep); color: var(--off-white); transform: rotate(-3deg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3cqw; }
.mo-card-band { position: absolute; left: 0; right: 0; bottom: 0; height: 3cqw; background: var(--blue-bright); }
.mo-card-logo { height: 20cqw; width: auto; filter: brightness(0) invert(1); }
.mo-card-name { font-size: 7cqw; font-weight: 700; letter-spacing: 0.16em; line-height: 1; }
.mo-card-label { font-size: 4.2cqw; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; margin-bottom: 2cqw; }

.mo-title { margin: 0 0 1rem; font-size: 1.75rem; font-weight: 700; line-height: 1.2; color: var(--navy-royal); }
.mo-title::after { content: ''; display: block; width: 2.5rem; height: 0.1875rem; margin: 0.875rem auto 0; background: var(--blue-bright); }
.mo-text { margin: 0 0 2rem; font-size: 1rem; line-height: 1.7; color: rgba(16, 22, 43, 0.72); }
.mo-actions { display: grid; gap: 0.75rem; }
.mo-btn { justify-content: center; width: 100%; box-sizing: border-box; text-decoration: none; }
.mo-btn-outline { display: inline-flex; align-items: center; padding: 1.0625rem 2.125rem; font-size: 1.0625rem; font-weight: 700; color: var(--navy-royal); background: #fff; border: 0.125rem solid var(--navy-royal); border-radius: 0.1875rem; transition: background 0.2s ease, color 0.2s ease; }
.mo-btn-outline:hover { background: var(--pale-blue); }
.mo-btn:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }
.mo-back { position: relative; margin-top: 2rem; font-size: 0.9375rem; color: var(--off-white); opacity: 0.8; text-decoration: none; border-bottom: 1px solid rgba(245, 247, 252, 0.4); }
.mo-back:hover { opacity: 1; border-bottom-color: var(--off-white); }

@media (max-width: 640px) {
  .mo-page { padding: 2.5rem 1rem 2rem; }
  .mo-brand { margin-bottom: 1.75rem; }
  .mo-brand-logo { height: 4rem; }
  .mo-panel { padding: 2.25rem 1.5rem 1.75rem; }
  .mo-card-frame { width: 11.5rem; margin-bottom: 1.75rem; }
  .mo-watermark { right: -30%; opacity: 0.12; }
}

/* ================= COMING SOON ================= */
body.cs-soon-body { margin: 0; background: var(--navy-deep); font-family: 'Ubuntu', sans-serif; color: var(--off-white); }
.cs-soon { position: relative; min-height: 100vh; min-height: 100dvh; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 3rem 1.25rem; overflow: hidden; isolation: isolate; }
/* The photograph, with navy over it so only a little shows through. */
.cs-soon::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--cs-photo) center / cover no-repeat; }
.cs-soon::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(26, 45, 122, 0.95); }
.cs-soon-brand { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; margin-bottom: 2.75rem; }
.cs-soon-logo { height: 6rem; width: auto; filter: brightness(0) invert(1); }
.cs-soon-name { font-size: 1.0625rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.cs-soon-title { max-width: 50rem; margin: 0 0 2.5rem; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.12; text-wrap: balance; }
.cs-soon-date { margin: 0 0 1.25rem; font-size: 1.125rem; font-weight: 500; letter-spacing: 0.04em; color: rgba(245, 247, 252, 0.85); }
.cs-soon-count { display: grid; grid-template-columns: repeat(4, minmax(0, 6.5rem)); gap: 0.875rem; margin-bottom: 3rem; }
.cs-soon-count > div { display: grid; gap: 0.375rem; padding: 1.125rem 0.5rem 1rem; background: rgba(245, 247, 252, 0.08); border: 1px solid rgba(245, 247, 252, 0.18); border-radius: 0.5rem; }
.cs-soon-count span { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.cs-soon-count small { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245, 247, 252, 0.75); }
.cs-soon-today { margin: 0 0 3rem; font-size: 1.5rem; font-weight: 700; }
.cs-soon-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.875rem; }
.cs-soon-social a { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--off-white); background: rgba(245, 247, 252, 0.1); transition: background 0.2s ease; }
.cs-soon-social a:hover { background: rgba(245, 247, 252, 0.25); }
.cs-soon-social a:focus-visible { outline: 2px solid var(--off-white); outline-offset: 3px; }
.cs-soon-social svg { width: 1.125rem; height: 1.125rem; }

@media (max-width: 640px) {
  .cs-soon-brand { margin-bottom: 2rem; }
  .cs-soon-logo { height: 4.5rem; }
  .cs-soon-title { margin-bottom: 2rem; }
  .cs-soon-count { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; width: 100%; max-width: 22rem; }
  .cs-soon-count > div { padding: 0.875rem 0.25rem 0.75rem; }
  .cs-soon-count small { font-size: 0.625rem; letter-spacing: 0.08em; }
}
.cs-soon-note { max-width: 32rem; margin: 0 0 2rem; font-size: 0.9375rem; line-height: 1.6; color: rgba(245, 247, 252, 0.85); }
.cs-soon-note a { color: var(--off-white); text-decoration: underline; text-underline-offset: 0.15em; }
.cs-soon-cta { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-bottom: 2.5rem; }
.cs-soon-cta .cs-soon-note { margin: 0; }
.cs-soon-cta .btn-primary { background: var(--off-white); color: var(--navy-royal); text-decoration: none; }
.cs-soon-cta .btn-primary:hover { background: var(--blue-bright); color: var(--off-white); }
.cs-soon-cta .btn-primary:focus-visible { outline: 2px solid var(--off-white); outline-offset: 3px; }

/* ---------- Pre-register and Privacy Policy (while Coming soon is on) ---------- */
.pr-page { justify-content: flex-start; padding-top: 4rem; padding-bottom: 4rem; }
.pr-page .cs-soon-brand { margin-bottom: 2.25rem; }
.pr-title { max-width: 40rem; margin: 0 0 1rem; font-size: clamp(1.875rem, 4.5vw, 2.75rem); font-weight: 700; line-height: 1.15; text-wrap: balance; }
.pr-intro { max-width: 34rem; margin: 0 0 2.25rem; font-size: 1.0625rem; line-height: 1.6; color: rgba(245, 247, 252, 0.85); text-wrap: pretty; }
.pr-frame { width: 100%; max-width: 32rem; margin-bottom: 2rem; text-align: left; color: var(--ink); }
.pr-form { padding: 2.25rem; }
.pr-submit { width: 100%; justify-content: center; margin-top: 1.75rem; border: 0; cursor: pointer; font-family: 'Ubuntu', sans-serif; }
.pr-privacy { margin: 1.25rem 0 0; font-size: 0.875rem; line-height: 1.5; text-align: center; color: rgba(16, 22, 43, 0.65); }
.pr-privacy a { color: var(--navy-royal); text-decoration: underline; text-underline-offset: 0.15em; }
.pr-page .pr-back { background: transparent; color: var(--off-white); border: 0.125rem solid rgba(245, 247, 252, 0.6); text-decoration: none; padding: 0.9375rem 2rem; }
.pr-page .pr-back:hover { background: var(--off-white); color: var(--navy-royal); border-color: var(--off-white); }
.pr-page .pr-back:focus-visible { outline: 2px solid var(--off-white); outline-offset: 3px; }
.pr-page .cs-soon-note { margin-bottom: 2rem; }
.sp-doc { width: 100%; max-width: 46rem; box-sizing: border-box; margin-bottom: 2rem; padding: 2.5rem; text-align: left; color: var(--ink); background: var(--off-white); border-radius: 0.625rem; }
.sp-doc h1 { margin: 0 0 1.5rem; font-size: clamp(1.75rem, 4vw, 2.25rem); line-height: 1.2; color: var(--navy-deep); }
.sp-doc h2 { margin: 2rem 0 0.75rem; font-size: 1.375rem; line-height: 1.3; color: var(--navy-deep); }
.sp-doc h3 { margin: 1.5rem 0 0.5rem; font-size: 1.125rem; color: var(--navy-deep); }
.sp-doc p, .sp-doc li { font-size: 1rem; line-height: 1.7; }
.sp-doc p { margin: 0 0 1rem; }
.sp-doc ul, .sp-doc ol { margin: 0 0 1rem; padding-left: 1.5rem; }
.sp-doc a { color: var(--navy-royal); text-decoration: underline; text-underline-offset: 0.15em; }
.sp-doc table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; font-size: 0.9375rem; }
.sp-doc th, .sp-doc td { padding: 0.5rem; border: 1px solid rgba(26, 45, 122, 0.15); text-align: left; vertical-align: top; }
@media (max-width: 640px) {
  .pr-page { padding-top: 2.5rem; }
  .pr-form { padding: 1.5rem; }
  .pr-form .ct-form-row { grid-template-columns: 1fr; gap: 0; }
  .pr-form .ct-form-row .ct-form-group { margin-bottom: 1.75rem; }
  .sp-doc { padding: 1.5rem; }
  .sp-doc table { display: block; overflow-x: auto; }
}
