body.theme {
  background: var(--page);
  color: var(--text);
  --gold: var(--accent);
  --gold2: var(--accent);
  --line: var(--border);
}
body.theme-v1 {
  --page: #edf4f0; --panel: #fff; --soft: #d7e9df;
  --text: #16372e; --muted: #405b53; --accent: #17664e;
  --dark: #10382d; --on-dark: #abf2ce; --button: #17664e;
  --button-text: #fff; --border: #bfd5c9; --radius: 18px;
}
body.theme-v2 {
  --page: #fff9f1; --panel: #fff; --soft: #f3e0d2;
  --text: #40261e; --muted: #695049; --accent: #9a3921;
  --dark: #502b22; --on-dark: #ffd1b6; --button: #9a3921;
  --button-text: #fff; --border: #e2c9ba; --radius: 5px;
}
body.theme-v3 {
  --page: #1b1428; --panel: #282037; --soft: #332743;
  --text: #f9f2ff; --muted: #d1c3df; --accent: #e8c0ff;
  --dark: #140e20; --on-dark: #e8c0ff; --button: #e8c0ff;
  --button-text: #301943; --border: #514260; --radius: 14px;
}
body h1, body h2, body.theme .section-title h2, body.theme .brand-name {
  font-family: system-ui, sans-serif;
  letter-spacing: -.045em;
}
body.theme-v2 h1, body.theme-v2 h2, body.theme-v2 .section-title h2 {
  font-family: Georgia, serif;
  font-weight: 500;
}
body.theme .shell { max-width: 1240px; }
body.theme .header {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
}
body.theme .header-in { min-height: 83px; }
body.theme .brand { min-width: 0; }
body.theme .brand > img { border-radius: 10px; }
body.theme .brand-name,
body.theme .brand-name small,
body.theme .desktop-nav > a,
body.theme .nav-dropdown { color: var(--text); }
body.theme .desktop-nav a:hover, body.theme .desktop-nav .active { color: var(--accent); }
body.theme .dropdown, body.theme .mobile-nav:not([hidden]) {
  background: var(--panel);
  border-color: var(--border);
}
body.theme .dropdown a, body.theme .mobile-nav a, body.theme .mobile-nav button {
  color: var(--text);
  border-color: var(--border);
}
body.theme .hamburger, body.theme .outline-btn { border-color: var(--accent); }
body.theme .gold-btn {
  background: var(--button);
  color: var(--button-text);
  border-radius: var(--radius);
  box-shadow: none;
  min-height: 42px;
}
body.theme .outline-btn { border-radius: var(--radius); }
body.theme .hero { color: var(--text); }
body.theme .hero-layout {
  width: min(1240px, calc(100% - 64px));
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: clamp(24px, 4vw, 68px);
  padding: clamp(22px, 4vw, 62px);
  background: var(--soft);
  border-radius: var(--radius);
}
body.theme .hero-layout .hero-copy { min-width: 0; }
body.theme .hero-layout h1 {
  color: var(--text);
  font-size: clamp(39px, 5vw, 74px);
  line-height: 1.02;
  margin: 13px 0 16px;
}
body.theme .hero-layout p, body.theme .hero-layout .hero-features span {
  color: var(--text);
}
body.theme .hero-layout p { font-size: clamp(16px, 1.7vw, 22px); }
.hero-art {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-art img { width: 100%; height: auto; }
body.theme-v2 .hero-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  padding: 38px 0 0;
  background: transparent;
  text-align: center;
}
body.theme-v2 .hero-layout .hero-copy { max-width: 840px; margin-inline: auto; }
body.theme-v2 .hero-actions, .theme-v2 .hero-features { justify-content: center; }
body.theme-v2 .hero-art img { max-height: 490px; object-fit: cover; object-position: center top; }
body.theme-v3 .hero-layout {
  grid-template-columns: 1.13fr .87fr;
  background: var(--panel);
  border: 1px solid var(--border);
}
body.theme-v3 .hero-art { grid-column: 1; grid-row: 1; }

body.theme .about-band, body.theme .network-band, body.theme .mission-card {
  background: var(--soft);
  border-color: var(--border);
}
body.theme .about-band {
  width: min(1240px, calc(100% - 64px));
  margin-block: clamp(38px, 6vw, 82px) 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
body.theme .about-copy { padding: clamp(22px, 4vw, 58px); }
body.theme .about-copy::before { display: none; }
body.theme .about-image > img { animation: none; }
body.theme .about-copy h2, body.theme .section-title h2, body.theme .network-heading h2,
body.theme .network-aside h3, body.theme .division-card h3, body.theme .process-node h3,
body.theme .why h3, body.theme .value h3, body.theme .cap-grid h3, body.theme .mini-features {
  color: var(--text);
}
body.theme .about-copy p, body.theme .section-title p, body.theme .division-card p,
body.theme .process-node p, body.theme .why p, body.theme .value p, body.theme .mission-card p,
body.theme .inner-split p, body.theme .contact-facts > p, body.theme .contact-section .contact-info p {
  color: var(--muted);
}
body.theme .section-title h2, body.theme .values .section-title h2, body.theme .why .section-title h2,
body.theme .process-band .section-title h2 { font-size: clamp(28px, 4vw, 48px); }
body.theme .divisions, body.theme .values, body.theme .why, body.theme .process-band {
  padding-block: clamp(36px, 5.5vw, 76px);
}
body.theme .subtle-link { position: static; display: inline-block; margin-bottom: 16px; }
body.theme .division-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
body.theme .division-card, body.theme .value, body.theme .why article,
body.theme .cap-grid article, body.theme .related a {
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
}
body.theme .division-card > img { height: auto; aspect-ratio: 1.65; object-fit: cover; }
body.theme .div-card-copy { padding: 18px; }
body.theme .division-card h3 { font-size: 17px; min-height: 0; }
body.theme .division-card p { font-size: 13px; }
body.theme-v2 .division-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.theme-v3 .division-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.theme-v3 .division-card { display: grid; grid-template-columns: 36% 1fr; }
body.theme-v3 .division-card > img { height: 100%; aspect-ratio: auto; }
body.theme .values-grid { gap: 10px; border: 0; }
body.theme .values-grid > * { border: 1px solid var(--border); }
body.theme .network-inner { gap: 18px; }
body.theme .network-aside {
  color: var(--text);
  background: var(--panel);
  padding: 22px;
  border: 0;
  border-radius: var(--radius);
}
body.theme .network-aside p { color: var(--muted); }
body.theme .network-aside :is(h3, p, a) { text-shadow: none; }
body.theme .flags li, body.theme .flags li span { color: var(--text); }

body.theme .inner-hero { min-height: 0; background: var(--dark); --gold: var(--on-dark); }
body.theme .inner-shade { background: linear-gradient(90deg, var(--dark), transparent 135%); }
body.theme .inner-copy { padding-block: clamp(48px, 7vw, 104px); }
body.theme .inner-copy h1 { line-height: 1.04; }
body.theme-v2 .inner-copy { text-align: center; }
body.theme-v2 .inner-copy h1, .theme-v2 .inner-copy p { margin-inline: auto; }
body.theme-v2 .inner-shade { background: color-mix(in srgb, var(--dark) 76%, transparent); }
body.theme-v3 .inner-copy { border-left: 3px solid var(--on-dark); padding-left: clamp(16px, 4vw, 48px); }
body.theme .inner-photo, body.theme .enquiry-form { border-radius: var(--radius); }
body.theme .cta-band, body.theme .footer, body.theme .enquiry-form {
  background: var(--dark);
  color: #fff;
  --gold: var(--on-dark);
  --gold2: var(--on-dark);
  border-color: var(--border);
}
body.theme .footer .brand-name, body.theme .cta-quote { color: var(--on-dark); }
body.theme .footer .brand-name small, body.theme .footer-base, body.theme .footer-details p { color: #f0e9f4; }
body.theme .cta-quote { background: color-mix(in srgb, var(--dark) 90%, white); }
body.theme .cta-copy h2 { font-size: clamp(26px, 3.5vw, 42px); }

@media (max-width: 1100px) {
  body.theme .desktop-nav { display: none; }
  body.theme .hamburger { display: flex; order: 2; margin-left: auto; }
  body.theme .header-cta { order: 3; }
  body.theme .mobile-nav:not([hidden]) {
    display: grid;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    max-height: 75vh;
    overflow: auto;
    padding: 12px 24px;
    box-shadow: 0 18px 28px #0003;
  }
  body.theme .mobile-nav a, body.theme .mobile-nav button {
    display: block;
    padding: 12px 6px;
    text-align: left;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--border);
  }
  body.theme .mobile-subs:not([hidden]) { display: grid; padding-left: 16px; }
}
@media (max-width: 760px) {
  body.theme .hero-layout, body.theme .about-band { width: calc(100% - 30px); }
  body.theme .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 18px; }
  body.theme .hero-layout h1 { font-size: clamp(35px, 9vw, 56px); }
  body.theme-v3 .hero-art { grid-row: 2; }
  body.theme .division-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.theme-v3 .division-card { display: block; }
  body.theme-v3 .division-card > img { height: auto; aspect-ratio: 1.65; }
  body.theme .div-card-copy { padding: 12px; }
  body.theme .division-card h3 { font-size: 15px; }
  body.theme .header-in { min-height: 70px; }
  body.theme .inner-copy h1 { font-size: clamp(32px, 8vw, 48px); }
}
