/* Shared theme coverage includes every section, form control and small label. */
html[data-theme] body { font-family: var(--theme-font); color: var(--ink); background: var(--bg); }
html[data-theme] header { background: var(--header); border-color: var(--line); height: auto; min-height: 96px; flex-wrap: wrap; padding-block: 8px; }
html[data-theme] nav { font-size: .9375rem; gap: clamp(16px, 2vw, 30px); }
.header-actions { display: flex; align-items: center; gap: 14px; }
html[data-theme] h1 { font-family: var(--heading-font); font-size: var(--hero-size); line-height: 1; letter-spacing: var(--heading-track); overflow-wrap: normal; }
html[data-theme] h2, html[data-theme] .contact h2 { font-family: var(--heading-font); font-size: var(--heading-size); letter-spacing: var(--heading-track); line-height: 1.12; text-transform: var(--heading-case); }
html[data-theme] h3 { font-family: var(--heading-font); font-size: clamp(1.5rem, 2.1vw, 1.9rem); line-height: 1.28; }
html[data-theme] .number, html[data-theme] .steps span { font-family: var(--heading-font); }
html[data-theme] .hero { background: var(--hero-surface); grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); isolation: isolate; min-height: 720px; }
html[data-theme] .hero-copy { min-width: 0; }
html[data-theme] .hero::before { opacity: .12; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); z-index: -1; }
html[data-theme] .intro { color: var(--muted); }
html[data-theme] .eyebrow, html[data-theme] .section .eyebrow { font-size: .875rem; letter-spacing: .11em; }
html[data-theme] .hero-proof { font-size: .875rem; }
html[data-theme] .button { background: var(--accent); color: var(--button-ink); border: 1px solid transparent; border-radius: max(3px, calc(var(--radius) / 2)); box-shadow: none; font-size: .9375rem; letter-spacing: .035em; }
html[data-theme] .button:hover { filter: brightness(1.1); transform: translateY(-2px); }
html[data-theme] header .button { background: transparent; color: var(--ink); border-color: var(--line); border-radius: 999px; white-space: nowrap; }
html[data-theme] header .button:hover { background: var(--accent); color: var(--button-ink); }
html[data-theme] .outline, html[data-theme] h1 .outline { color: var(--lime); -webkit-text-stroke: 0; text-shadow: none; }
html[data-theme="neon"] .outline, html[data-theme="neon"] h1 .outline { color: transparent; -webkit-text-stroke: 2px var(--purple); text-shadow: 0 0 28px #9d5cff44; }
html[data-theme] .hero-stage { width: 100%; max-width: 500px; min-width: 0; justify-self: center; position: relative; z-index: 1; }
html[data-theme] .hero-photo { width: 100%; height: 610px; border-radius: var(--radius); border: 2px solid var(--photo-edge); transform: rotate(var(--photo-angle)); box-shadow: var(--photo-shadow); }
html[data-theme] .hero-photo img { object-position: center 34%; }
html[data-theme] .hero-photo figcaption { color: #fff; }
html[data-theme] .tag { color: var(--button-ink); background: var(--accent); font-size: .75rem; letter-spacing: .055em; }
html[data-theme] .vertical { color: var(--muted); font-size: .75rem; }
html[data-theme] .ticker { background: var(--panel); color: var(--muted); border-color: var(--line); }
html[data-theme] .three article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
html[data-theme] .three article:nth-child(2) { border-color: var(--accent); }
html[data-theme] .number { color: var(--lime); }
html[data-theme] .machine, html[data-theme] .faq { background: var(--panel); }
html[data-theme] .machine-image, html[data-theme] .fit figure { border-color: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
html[data-theme] .image-label, html[data-theme] .fit figcaption { color: #fff; background: #0d1423ed; font-size: .75rem; }
html[data-theme] .steps li { border-color: var(--accent); }
html[data-theme] .steps span { color: var(--lime); text-shadow: none; }
html[data-theme] .fit { border-color: var(--line); }
html[data-theme] .venue-list span { color: var(--ink); background: var(--panel); border-color: var(--line); border-radius: var(--radius); }
html[data-theme] .contact { background: var(--bg); }
html[data-theme] .contact h2 span { color: var(--lime); }
html[data-theme] form { color: var(--ink); background: var(--card); border-color: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
html[data-theme] form label { color: var(--ink); }
html[data-theme] form input, html[data-theme] form textarea, html[data-theme] form select { color: var(--ink); background: var(--field); border: 1px solid var(--line); border-radius: max(3px, calc(var(--radius) / 3)); font-family: var(--theme-font); }
html[data-theme] form :is(input, textarea)::placeholder { color: var(--muted); opacity: 1; }
html[data-theme] form select { margin-top: 7px; }
html[data-theme] .analytics-consent { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
html[data-theme] .analytics-consent input { width: 18px; height: 18px; flex: 0 0 18px; margin: 3px 0 0; accent-color: var(--accent); }
html[data-theme] .note { font-size: .8125rem !important; }
html[data-theme] footer { border-color: var(--line); font-size: .8125rem; flex-wrap: wrap; }
html[data-theme] .text-link { font-size: .9375rem; }
html[data-theme] .email { overflow-wrap: anywhere; }
html[data-theme] .skip { color: var(--button-ink); background: var(--accent); }
html[data-theme] form, html[data-theme] .form-grid > label { min-width: 0; }
html[data-theme] form :is(input, textarea, select) { min-width: 0; max-width: 100%; }
html[data-theme] :is(a, button, summary, input, textarea, select):focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }

/* Complete visual treatments, beyond palette swaps. */
html[data-theme="modern"] .hero::before, html[data-theme="solar"] .hero::before { display: none; }
html[data-theme="modern"] h1, html[data-theme="solar"] h1 { font-weight: 800; }
html[data-theme="modern"] .hero-proof { padding-top: 20px; border-top: 1px solid var(--line); }
html[data-theme="modern"] .number { font-size: 1.5rem; font-weight: 700; }
html[data-theme="modern"] .steps li { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
html[data-theme="aurora"] .hero::after, html[data-theme="solar"] .hero::after, html[data-theme="chrome"] .hero::after {
  content: ''; position: absolute; inset: -12%; pointer-events: none; z-index: -1;
}
html[data-theme="aurora"] .hero::after { background: radial-gradient(ellipse at 20% 30%, #4c62c24d, transparent 44%), radial-gradient(ellipse at 80% 65%, #1fd6c22a, transparent 42%), radial-gradient(ellipse at 55% 5%, #a762d932, transparent 42%); animation: public-aurora 18s ease-in-out infinite alternate; }
html[data-theme="aurora"] .three article, html[data-theme="aurora"] form { backdrop-filter: blur(14px); }
html[data-theme="aurora"] h1 { font-weight: 700; }
html[data-theme="blueprint"] .hero::before { opacity: .34; background-size: 32px 32px; mask-image: none; animation: public-grid 24s linear infinite; }
html[data-theme="blueprint"] .hero-photo { border-style: dashed; padding: 8px; background: var(--panel); }
html[data-theme="blueprint"] .three article { border-style: dashed; }
html[data-theme="blueprint"] .steps { border-bottom: 1px dashed var(--line); }
html[data-theme="solar"] .hero::after { background: radial-gradient(ellipse at 88% 15%, #ffac585c, transparent 40%), radial-gradient(ellipse at 10% 90%, #f15b6433, transparent 48%); animation: public-aurora 22s ease-in-out infinite alternate; }
html[data-theme="solar"] .ticker { color: #713117; background: #ffdfb7; }
html[data-theme="solar"] .three article { border-top: 5px solid #de7846; }
html[data-theme="solar"] .steps span { font-family: 'Barlow Condensed', sans-serif; font-size: 4rem; }
html[data-theme="chrome"] .hero::after { background: linear-gradient(115deg, transparent 25%, #c9d8f117 48%, transparent 62%); background-size: 250% 100%; animation: public-chrome 18s ease-in-out infinite; }
html[data-theme="chrome"] h1 { font-weight: 500; }
html[data-theme="chrome"] .hero-photo { padding: 7px; background: linear-gradient(135deg, #8090a1, #1d2631 40%, #68798e); }
html[data-theme="chrome"] .three article { border-top: 2px solid #aab8c9; }
html:is([data-theme="crt"], [data-theme="amber"], [data-theme="mainframe"], [data-theme="matrix"]) h1 { text-shadow: 0 0 24px color-mix(in srgb, var(--lime) 20%, transparent); }
html:is([data-theme="crt"], [data-theme="amber"], [data-theme="mainframe"]) .hero::before { background: repeating-linear-gradient(0deg, transparent 0 3px, var(--line) 3px 4px); opacity: .09; mask-image: linear-gradient(90deg, transparent 25%, #000); animation: public-scanlines 14s linear infinite; }
html:is([data-theme="crt"], [data-theme="amber"], [data-theme="mainframe"], [data-theme="unix"], [data-theme="matrix"]) .eyebrow::before { width: 10px; height: 10px; margin-bottom: 0; }
html:is([data-theme="crt"], [data-theme="amber"], [data-theme="mainframe"], [data-theme="unix"], [data-theme="matrix"]) .three article { border-top: 3px solid var(--lime); }
html[data-theme="mainframe"] .ticker { color: #12214c; background: #b9dcff; }
html[data-theme="mainframe"] header { border-bottom: 4px solid var(--line); }
html[data-theme="agency"] .hero-copy { border-left: 3px solid var(--accent); padding-left: 26px; }
html[data-theme="agency"] .eyebrow { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
html[data-theme="agency"] .three article { border-top: 4px solid var(--accent); }
html[data-theme="codec"] .hero-stage { padding: 12px; border: 2px solid var(--line); background: var(--panel); }
html[data-theme="codec"] .three article { border-style: double; border-width: 3px; }
html[data-theme="codec"] .steps li { background: var(--panel); padding: 24px; }
html[data-theme="terminator"] .hero::before { opacity: .23; background-size: 70px 70px; mask-image: linear-gradient(90deg, transparent 15%, #000); }
html[data-theme="terminator"] .hero-photo { border-top-width: 8px; }
html[data-theme="terminator"] .three article { border-left: 4px solid var(--lime); }
html[data-theme="unix"] .hero::before { display: none; }
html[data-theme="unix"] .hero-photo { padding: 10px; border-style: double; border-width: 3px; background: var(--panel); }
html[data-theme="unix"] .eyebrow { letter-spacing: .04em; }
html[data-theme="unix"] .three article { box-shadow: none; }
html:is([data-theme="mario"], [data-theme="hyrule"]) header :is(nav a, .theme-open, .button) { color: #fff; border-color: #ffffff88; }
html:is([data-theme="mario"], [data-theme="hyrule"]) header :is(a, button):focus-visible { outline-color: #fff; }
html:is([data-theme="mario"], [data-theme="hyrule"]) .official-logo { filter: none; }
html:is([data-theme="mario"], [data-theme="hyrule"]) .hero::before { opacity: .07; mask-image: none; }
html:is([data-theme="mario"], [data-theme="hyrule"]) .hero-photo { border-width: 4px; }
html:is([data-theme="mario"], [data-theme="hyrule"]) .three article { border: 3px solid var(--line); box-shadow: 7px 7px 0 color-mix(in srgb, var(--accent) 25%, transparent); }
html:is([data-theme="mario"], [data-theme="hyrule"]) .button { border: 2px solid var(--ink); box-shadow: 4px 4px 0 color-mix(in srgb, var(--ink) 25%, transparent); }
html[data-theme="mario"] .ticker { background: #fbd36c; color: #50381c; border-block: 3px solid #986428; }
html[data-theme="mario"] .three article:nth-child(2) { background: #efffe7; }
html[data-theme="mario"] .steps span { color: #245c9d; }
html[data-theme="hyrule"] .ticker { color: #fff4b5; background: #2e522e; border-block: 3px solid #839443; }
html[data-theme="hyrule"] .three article { border-top: 6px solid #7b9148; }
html[data-theme="hyrule"] .steps span { color: #81520f; }

html[data-theme="vaporwave"] .hero { min-height: 760px; padding-top: 55px; padding-bottom: 60px; align-items: center; }
html[data-theme="vaporwave"] .hero::before { display: none; }
html[data-theme="vaporwave"] .hero-copy { padding: 26px; border: 1px solid #aa72c674; border-radius: 16px; background: linear-gradient(135deg, #211235f5, #241337ee); box-shadow: 0 18px 60px #0e041c44; }
html[data-theme="vaporwave"] .hero-stage { max-width: 520px; padding-top: 0; }
html[data-theme="vaporwave"] .hero-photo { height: 640px; border-width: 3px; }
html[data-theme="vaporwave"] h1 { font-style: italic; padding-right: .1em; text-shadow: 3px 3px 0 #ab4bc25e; }
html[data-theme="vaporwave"] h1 .outline { color: #8df9ef; text-shadow: 3px 3px 0 #e37ece55; }
html[data-theme="vaporwave"] .eyebrow { color: #ffb4e5; }
html[data-theme="vaporwave"] .ticker { color: #b8fff8; background: #2a1640; border-block: 1px solid #bb72be; letter-spacing: .13em; }
html[data-theme="vaporwave"] .three article { border-top: 3px solid #eda2df; box-shadow: 6px 6px 0 #9954a224; }
html[data-theme="vaporwave"] .three article:nth-child(2) { border-top-color: #88f7ed; }
html[data-theme="vaporwave"] .machine, html[data-theme="vaporwave"] .faq { background: linear-gradient(135deg, #26153c, #1d1234); }
html[data-theme="vaporwave"] .machine-image, html[data-theme="vaporwave"] .fit figure { border: 2px solid #ae83c8; box-shadow: 9px 9px 0 #bb72be2e; }
html[data-theme="vaporwave"] .steps span { color: #ffb4e5; text-shadow: 2px 2px 0 #854994; }
html[data-theme="vaporwave"] .contact { background: radial-gradient(ellipse at 12% 40%, #6c287934, transparent 65%), var(--bg); }
html[data-theme="vaporwave"] .button { box-shadow: 4px 4px 0 #67d4d536; }
html[data-theme="vaporwave"] header .button { box-shadow: none; }

/* Supplied artwork is in its own row; it never floats over any copy. */
.theme-art-shelf { display: none; width: 100%; margin: 0 0 24px; padding: 8px; border: 3px solid var(--photo-edge); border-radius: var(--radius); background: var(--panel); overflow: hidden; contain: paint; }
.theme-art-shelf img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: contain; image-rendering: pixelated; animation: public-art-float 5s ease-in-out infinite; }
html[data-theme="mario"] .theme-art-mario, html[data-theme="hyrule"] .theme-art-hyrule { display: block; }
.public-matrix { display: none; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; opacity: .2; }
html[data-theme="matrix"] .public-matrix { display: block; }
html[data-theme="matrix"] .hero-copy { background: #020b06f2; padding: 26px; border: 1px solid #285637; }
.photo-scan { display: none; position: absolute; inset: 10px auto 10px 10px; width: 5px; overflow: hidden; pointer-events: none; border-radius: inherit; }
.photo-scan::before { content: ''; position: absolute; inset: -30% 0 auto; height: 20%; border-bottom: 1px solid var(--lime); background: linear-gradient(transparent, color-mix(in srgb, var(--lime) 14%, transparent)); animation: public-photo-scan 10s linear infinite; }
html:is([data-theme="codec"], [data-theme="terminator"]) .photo-scan { display: block; }
@keyframes public-aurora { from { transform: translate(-3%, -2%) scale(1); } to { transform: translate(4%, 3%) scale(1.09); } }
@keyframes public-grid { to { background-position: 32px 32px; } }
@keyframes public-chrome { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@keyframes public-scanlines { to { background-position: 0 32px; } }
@keyframes public-art-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes public-photo-scan { to { transform: translateY(700%); } }

/* Theme controls use a consistent, readable surface in every design. */
.theme-open, .theme-footer-open { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: 600 .875rem/1.2 'DM Sans', Arial, sans-serif; cursor: pointer; }
.theme-open:hover, .theme-footer-open:hover { border-color: var(--lime); }
.theme-swatches { display: flex; gap: 3px; }
.theme-swatches i { width: 9px; height: 17px; border-radius: 2px; background: var(--lime); }
.theme-swatches i:nth-child(2) { background: var(--purple); }
.theme-swatches i:nth-child(3) { background: var(--pink); }
.theme-current { display: flex; align-items: center; gap: 9px; margin: 0 0 28px; color: var(--muted); font: 500 .8125rem/1.5 'DM Sans', Arial, sans-serif; }
.theme-current button { border: 0; padding: 5px 0; color: var(--lime); background: transparent; font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.theme-dialog { box-sizing: border-box; width: min(860px, calc(100vw - 28px)); max-width: 860px; max-height: min(90dvh, 930px); padding: 0; border: 1px solid #53627a; border-radius: 24px; background: #111923; color: #edf3ff; color-scheme: dark; box-shadow: 0 35px 120px #0009; overflow: auto; overscroll-behavior: contain; font: 400 1rem/1.5 'DM Sans', Arial, sans-serif; }
.theme-dialog::backdrop { background: #03060ccc; backdrop-filter: blur(5px); }
.theme-dialog[open] { display: block; }
.theme-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 25px 26px 17px; position: sticky; top: 0; background: #111923f5; z-index: 2; border-bottom: 1px solid #354256; }
html[data-theme] .theme-dialog h2 { margin: 0 0 5px; font: 700 1.5rem/1.25 'DM Sans', Arial, sans-serif; text-transform: none; color: #edf3ff; letter-spacing: -.02em; }
.theme-dialog-head p { color: #b9c5d8; font-size: .875rem; margin: 0; }
.theme-close { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #526079; border-radius: 50%; background: #1e2938; color: #edf3ff; font: 400 1.65rem/1 Arial, sans-serif; cursor: pointer; }
.theme-dialog-body { padding: 18px 26px 24px; }
.theme-group { margin: 0 0 24px; padding: 0; border: 0; min-width: 0; }
.theme-group legend { color: #c5cfdf; font-size: .875rem; font-weight: 650; margin: 0 0 12px; }
.theme-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.theme-option { display: block; position: relative; min-width: 0; width: 100%; text-align: left; border: 2px solid #344356; border-radius: 12px; padding: 10px; color: #edf3ff; background: #182330; cursor: pointer; font: 600 .875rem/1.4 'DM Sans', Arial, sans-serif; scroll-margin-block: 120px; }
.theme-option:hover { border-color: #8595af; }
.theme-option[aria-pressed="true"] { border-color: #9ce5fa; background: #203644; box-shadow: 0 0 0 1px #9ce5fa; }
.theme-option-preview { position: relative; display: grid; grid-template-columns: 1fr .6fr; align-items: center; gap: 9px; height: 64px; margin-bottom: 8px; padding: 12px; border-radius: 6px; background: var(--swatch-bg); overflow: hidden; }
.theme-option-preview::before { content: ''; height: 8px; width: 80%; background: var(--swatch-accent); box-shadow: 0 13px 0 var(--swatch-ink); }
.theme-option-preview::after { content: ''; height: 44px; border: 2px solid var(--swatch-accent); background: var(--swatch-panel); border-radius: 5px; }
.theme-option-name { display: flex; align-items: start; justify-content: space-between; gap: 5px; }
.theme-option .selected-tick { visibility: hidden; color: #9ce5fa; }
.theme-option[aria-pressed="true"] .selected-tick { visibility: visible; }
.theme-option small { display: block; font-size: .75rem; color: #b8c5d8; font-weight: 400; margin-top: 3px; }
.theme-dialog-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid #354256; }
.theme-dialog-actions button { min-height: 44px; border: 1px solid #657994; padding: 9px 13px; color: #f0f5ff; background: #243448; border-radius: 8px; font: 600 .875rem/1.4 'DM Sans', Arial, sans-serif; cursor: pointer; }
.theme-dialog-actions .theme-view { background: #b8e7f5; color: #102232; border-color: #b8e7f5; }
.theme-dialog-actions button[aria-pressed="true"] { background: #344a35; border-color: #93d4a5; }
.theme-dialog-actions button:disabled { opacity: .75; cursor: default; }
html[data-theme] .theme-dialog :is(button, input):focus-visible { outline: 3px solid #b7edff; outline-offset: 3px; }
.theme-dialog-note, .theme-dialog-status { font-size: .8125rem; color: #bdc9da; margin: 13px 0 0; }
.theme-dialog-status { min-height: 1.5em; color: #b6efcd; }
.theme-share-fallback { display: block; width: 100%; margin-top: 12px; padding: 10px; color: #f3f7ff; background: #080f19; border: 1px solid #697b94; border-radius: 5px; font: 400 .875rem/1.5 'DM Sans', Arial, sans-serif; }
.theme-share-fallback[hidden] { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation-play-state: paused !important; transition-duration: 0s !important; }
html[data-motion="off"] { scroll-behavior: auto; }
html[data-motion="off"] .photo-scan { display: none; }
html[data-motion="off"] .hero-copy { animation: none; opacity: 1; transform: none; }
@media (max-width: 1050px) {
  html[data-theme] .hero { padding-inline: 5%; gap: 30px; }
  html[data-theme] .hero-photo { height: 570px; }
  html[data-theme] .three, html[data-theme] .steps { gap: 22px; }
}
@media (min-width: 701px) and (max-width: 900px) {
  html[data-theme] .hero { grid-template-columns: 1fr 1fr; }
  html[data-theme] h1 { font-size: clamp(3.1rem, 7.7vw, 5.1rem); }
  html[data-theme] .hero-photo { height: 520px; }
  html[data-theme] .button { padding-inline: 16px; }
  html[data-theme] .hero-proof { flex-direction: column; }
  html[data-theme] .three, html[data-theme] .steps { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  html[data-theme] header { min-height: 82px; gap: 8px; padding-inline: 5%; }
  .header-actions { gap: 7px; }
  .theme-open { padding: 9px 10px; }
  .theme-open .theme-swatches { display: none; }
  html[data-theme] header .button { padding: 10px 12px; font-size: .8125rem; }
  html[data-theme] .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 35px; gap: 28px; }
  html[data-theme] h1 { font-size: clamp(3.45rem, 17vw, 6rem); line-height: 1.02; letter-spacing: -.04em; }
  html[data-theme="neon"] h1 { font-size: clamp(4.5rem, 23vw, 7rem); }
  html[data-theme] h2, html[data-theme] .contact h2 { font-size: clamp(2.15rem, 8.4vw, 3.1rem); line-height: 1.13; }
  html[data-theme] h3 { font-size: 1.55rem; }
  html[data-theme] .hero-photo { height: 570px; margin: 0; transform: none; max-width: 440px; }
  html[data-theme] .hero-stage { max-width: 440px; }
  html[data-theme] .hero-proof { gap: 8px 15px; }
  html[data-theme] .eyebrow, html[data-theme] .section .eyebrow { font-size: .8125rem; letter-spacing: .06em; }
  html[data-theme] .hero-copy { padding: 0; border: 0; }
  html[data-theme="matrix"] .hero-copy { padding: 20px; border: 1px solid #285637; }
  html[data-theme="agency"] .hero-copy { padding-left: 17px; border-left: 3px solid var(--accent); }
  html[data-theme] .machine, html[data-theme] .fit, html[data-theme] .faq, html[data-theme] .contact { gap: 32px; }
  html[data-theme] .three, html[data-theme] .steps { grid-template-columns: 1fr; }
  html[data-theme] .three article { padding: 24px; }
  html[data-theme] .section { padding-block: 56px; }
  html[data-theme] footer { display: grid; grid-template-columns: 1fr; }
  .theme-art-shelf { margin-bottom: 20px; padding: 4px; }
  .theme-current { margin-bottom: 22px; }
  .theme-dialog { width: calc(100vw - 18px); max-height: 94dvh; border-radius: 17px; }
  .theme-dialog-head { padding: 18px 16px 14px; gap: 10px; }
  .theme-dialog-body { padding: 16px; }
  .theme-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .theme-dialog-actions { justify-content: flex-start; }
  .theme-dialog-actions .theme-view { margin-left: auto; }
}
@media (max-width: 370px) {
  .header-actions { gap: 5px; }
  .theme-open { padding-inline: 8px; }
  html[data-theme] header .button { padding-inline: 9px; }
  html[data-theme] .official-logo { width: 59px; height: 59px; }
  html[data-theme] h1 { font-size: 3.2rem; }
  html[data-theme="neon"] h1 { font-size: 4.6rem; }
  .theme-options { gap: 8px; }
  .theme-option { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .photo-scan { display: none !important; }
}

/* Theme-specific layout overrides follow the shared breakpoints. */
@media (min-width: 701px) and (max-width: 1050px) {
  html[data-theme="vaporwave"] .hero-stage { padding-top: 0; }
  html[data-theme="vaporwave"] .hero-photo { height: 570px; }
  html[data-theme="vaporwave"] .hero-copy { padding: 20px; }
}
@media (max-width: 700px) {
  html[data-theme="vaporwave"] .hero { padding-top: 35px; padding-bottom: 55px; }
  html[data-theme="vaporwave"] .hero-copy { padding: 20px; border: 1px solid #aa72c674; }
  html[data-theme="vaporwave"] .hero-stage { padding-top: 0; max-width: 520px; }
  html[data-theme="vaporwave"] .hero-photo { height: 570px; max-width: none; }
}

/* Larger brand and navigation across the public theme collection. */
html[data-theme] header {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px;
  min-height: 200px; padding: 12px 5%; align-items: center;
}
html[data-theme] header .official-logo { width: 176px; height: 176px; }
html[data-theme] header .brand { min-width: 0; }
html[data-theme] header nav {
  display: flex; justify-content: center; align-items: center; gap: clamp(18px, 2vw, 32px); min-width: 0;
  font: 700 clamp(1.25rem, 1.6vw, 1.4rem)/1.25 'DM Sans', Arial, sans-serif;
}
html[data-theme] header nav a { display: flex; align-items: center; justify-content: center; min-height: 48px; text-align: center; padding: 8px 0; }
html[data-theme] header .header-actions { gap: 12px; }
html[data-theme] header :is(.theme-open, .button) { min-height: 50px; padding: 12px 18px; font: 700 1.125rem/1.25 'DM Sans', Arial, sans-serif; letter-spacing: 0; }
html[data-theme] footer .official-logo { width: 160px; height: 160px; }

/* Two equal filled groups create a continuous edge-to-edge marquee. */
html[data-theme] .ticker {
  display: block; width: 100%; max-width: none; margin: 0; padding: 17px 0; overflow: hidden;
  font-size: clamp(1.55rem, 2.15vw, 2rem); font-weight: 800; line-height: 1.2; text-align: left;
}
html[data-theme] .ticker > .ticker-track {
  display: flex; width: max-content; max-width: none; gap: 0; margin: 0; padding: 0;
  animation: none; transform: translate3d(0, 0, 0); will-change: transform;
}
html[data-theme] .ticker > .ticker-track[data-ready="true"] { animation: public-marquee var(--marquee-duration, 24s) linear infinite; }
.ticker-group, .ticker-sequence { display: flex; align-items: center; flex: 0 0 auto; gap: 0; width: max-content; }
.ticker-item { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 28px; padding-right: 28px; white-space: nowrap; }
.ticker-icon { display: block; flex: 0 0 56px; width: 56px; height: 56px; padding: 3px 2px; object-fit: contain; filter: drop-shadow(0 1px 1px #0004); }
@keyframes public-marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (hover: hover) {
  html[data-theme] .ticker:hover .ticker-track { animation-play-state: paused; }
}
@media (max-width: 1200px) {
  html[data-theme] header { grid-template-columns: auto minmax(0, 1fr); min-height: 0; gap: 10px 24px; }
  html[data-theme] header .official-logo { width: 152px; height: 152px; }
  html[data-theme] header .header-actions { grid-column: 2; grid-row: 1; justify-self: end; }
  html[data-theme] header nav { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; padding-top: 8px; border-top: 1px solid var(--line); }
}
@media (max-width: 700px) {
  html[data-theme] header { padding: 10px 5% 12px; gap: 8px 14px; }
  html[data-theme] header .official-logo { width: 128px; height: 128px; }
  html[data-theme] header .header-actions { display: grid; width: min(100%, 220px); gap: 8px; }
  html[data-theme] header :is(.theme-open, .button) { min-height: 46px; padding: 10px 12px; font-size: 1.0625rem; white-space: normal; text-align: center; }
  html[data-theme] header nav { font-size: 1.125rem; gap: 6px; padding-top: 7px; }
  html[data-theme] header nav a { padding: 8px 2px; }
  .ticker-item { gap: 20px; padding-right: 20px; }
  .ticker-icon { flex-basis: 48px; width: 48px; height: 48px; }
}
@media (max-width: 370px) {
  html[data-theme] header { gap: 8px 10px; }
  html[data-theme] header .official-logo { width: 112px; height: 112px; }
  html[data-theme] header nav { font-size: 1.0625rem; }
  html[data-theme] header :is(.theme-open, .button) { padding-inline: 8px; }
}

/* Theme selection stays hidden. */
[data-open-themes][hidden],.theme-current[hidden],.theme-dialog[hidden]{display:none!important}
