/* ===========================================
   Theme-Specific Decorations & Overrides
   =========================================== */

/* --- Default visibility (JS controls most, but some CSS defaults) --- */
.hero-label { display: none; }
.hero-label-editorial { display: none; }
.hero-badge { display: none; }
.hero-image { display: none; }
.hero-subtitle .cursor { display: none; }
.works-editorial { display: none; }
.works-header { display: none; }
.works-dir-header { display: none; }
.works-footer-cyber { display: none; }
.works-title-default { display: none; }
.flow-editorial { display: none; }
.flow-footer-cyber { display: none; }
.about-cyber-grid { display: none; }
.about-rpg { display: none; }
.about-editorial { display: none; }
.about-glass-wrap { display: none; }
.gui-titlebar { display: none; }
.section-desc { display: none; }
.section-subtitle { display: none; }
.card-number { display: none; }
.dir-info { display: none; }
.cursor-blink { animation: blink 1s step-end infinite; }

/* About cyber grid layout */
.about-cyber-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-cyber-text {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-cyber-module {
  border: 1px solid var(--color-primary);
  padding: 1rem;
  margin-bottom: 1rem;
}

.about-cyber-module h3 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-accent);
}

.about-cyber-module.accent h3 {
  color: var(--color-highlight);
}

.about-ascii {
  font-size: 0.75rem;
  line-height: 1;
  white-space: pre;
  color: var(--color-accent);
  text-align: center;
  margin-bottom: 1.5rem;
}

.about-tech-title {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-highlight);
}

.about-skills-cyber {
  margin-bottom: 2rem;
}

.about-skill-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.skill-blocks {
  color: var(--color-accent);
}

.about-cyber-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-online {
  color: var(--color-highlight);
  animation: blink 1.5s step-end infinite;
}

/* Skills group title */
.skills-group-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.skills-card {
  padding: 2rem;
}

/* QA Strengths section */
.qa-strengths-section {
  margin-top: 3rem;
}

.qa-strengths-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

/* Contact intro */
.contact-intro {
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* Work overlay default */
.work-overlay {
  position: relative;
}

.work-id { display: none; }

/* Footer defaults */
.footer-copyright {
  font-size: 0.875rem;
  opacity: 0.7;
}

/* Works section sample notice */
.works-sample-notice {
  text-align: center;
  font-size: 0.875rem;
  margin-top: -2.5rem;
  margin-bottom: 3rem;
  opacity: 0.75;
  letter-spacing: 0.05em;
}

.theme-cyberpunk .works-sample-notice {
  font-family: 'Share Tech Mono', monospace;
  color: var(--color-highlight);
  margin-top: 1rem;
}

.theme-retro-game .works-sample-notice {
  font-family: 'DotGothic16', sans-serif;
  color: var(--color-text);
  margin-top: 1rem;
  font-size: 0.8125rem;
}

.theme-editorial .works-sample-notice {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #555;
  margin-top: -1.5rem;
  font-size: 1rem;
}

.theme-glass .works-sample-notice {
  font-family: 'Inter', sans-serif;
  color: var(--color-text);
  margin-top: -1rem;
  letter-spacing: 0.1em;
}

.footer-legal {
  margin-top: 0.5rem;
  font-size: 0.75rem;
}

.footer-legal a {
  color: inherit;
  text-decoration: underline;
  opacity: 0.85;
}

.footer-legal a:hover {
  opacity: 1;
}

/* Mobile menu legal link (smaller, separated) */
.mobile-menu .nav-link-legal {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.75rem;
  opacity: 0.75;
}

/* Form privacy notice */
.form-privacy-notice,
.survey-privacy-notice {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  opacity: 0.75;
  text-align: center;
  line-height: 1.6;
}

.form-privacy-notice a,
.survey-privacy-notice a {
  color: inherit;
  text-decoration: underline;
}

.survey-privacy-notice {
  padding: 0 1.5rem 1rem;
  margin-top: 0;
}

/* =============================================
   CYBERPUNK THEME
   ============================================= */
.theme-cyberpunk .site-header {
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--color-primary);
}

.theme-cyberpunk .header-inner {
  height: 64px;
  font-family: 'Share Tech Mono', monospace;
}

.theme-cyberpunk .site-logo {
  color: var(--color-primary);
}

.theme-cyberpunk .site-logo::before {
  content: '> ';
}

.theme-cyberpunk .nav-link {
  color: var(--color-primary);
  border: 1px solid transparent;
}

.theme-cyberpunk .nav-link::before {
  content: '[';
}

.theme-cyberpunk .nav-link::after {
  content: ']';
}

.theme-cyberpunk .nav-link:hover,
.theme-cyberpunk .nav-link.active {
  border-color: var(--color-primary);
}

.theme-cyberpunk .nav-link.cta-link {
  background: rgba(0,255,255,0.1);
  border-color: var(--color-primary);
}

.theme-cyberpunk .nav-link .active-bar {
  background: var(--color-accent);
}

.theme-cyberpunk .hamburger {
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 0.25rem 0.5rem;
}

.theme-cyberpunk .mobile-menu {
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--color-primary);
  padding: 1rem;
}

.theme-cyberpunk .mobile-menu .nav-link {
  display: block;
  text-align: center;
  padding: 0.5rem;
  border: 1px solid var(--color-primary);
  margin-bottom: 0.5rem;
}

.theme-cyberpunk .mobile-menu .nav-link.active {
  background: var(--color-accent);
  color: #000;
  border-color: var(--color-accent);
}

/* Cyberpunk Hero */
.theme-cyberpunk .hero-inner {
  text-align: center;
}

.theme-cyberpunk .hero-label {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-highlight);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.theme-cyberpunk .hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow: 0 0 10px #00FFFF, 0 0 20px #00FFFF;
  margin-bottom: 2rem;
}

.theme-cyberpunk .hero-title-line1 {
  display: block;
}

.theme-cyberpunk .hero-title-line2 {
  display: block;
  color: var(--color-accent);
}

.hero-subtitle-area {
  margin-bottom: 2rem;
}

.hero-actions {
  text-align: center;
}

/* Hero title shared */
.hero-title {
  margin-bottom: 2rem;
}

.theme-cyberpunk .hero-subtitle-area {
  height: 6rem;
  margin-bottom: 3rem;
}

.theme-cyberpunk .hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-primary);
  max-width: 40rem;
  margin: 0 auto;
  font-family: 'Share Tech Mono', monospace;
}

.theme-cyberpunk .hero-subtitle .cursor {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.theme-cyberpunk .hero-cta {
  padding: 1rem 2rem;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Share Tech Mono', monospace;
  background: transparent;
  transition: all var(--transition-fast);
}

.theme-cyberpunk .hero-cta:hover {
  background: var(--color-primary);
  color: #000;
}

/* GUI Window */
.theme-cyberpunk .gui-window {
  border: 1px solid var(--color-primary);
  background: var(--color-card-bg);
}

.theme-cyberpunk .gui-titlebar {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--color-primary);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(0,255,255,0.05);
}

.theme-cyberpunk .gui-body {
  padding: 1.5rem;
  font-family: 'Share Tech Mono', monospace;
  color: var(--color-primary);
}

/* Cyberpunk Services */
.theme-cyberpunk .service-card {
  border-color: var(--color-primary);
}

.theme-cyberpunk .service-title {
  color: var(--color-accent);
}

.theme-cyberpunk .service-title::before {
  content: '> ';
}

.theme-cyberpunk .service-price {
  color: var(--color-primary);
  font-size: 1.5rem;
}

.theme-cyberpunk .service-features li::before {
  content: '*';
  color: var(--color-highlight);
}

.theme-cyberpunk .service-cta {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.theme-cyberpunk .service-cta:hover {
  background: var(--color-primary);
  color: #000;
}

/* Cyberpunk Works */
.theme-cyberpunk .dir-info {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.theme-cyberpunk .work-id {
  display: inline;
  font-weight: 700;
  font-size: 1.125rem;
}

.theme-cyberpunk .work-card {
  border: 1px solid var(--color-primary);
  padding: 1rem;
}

.theme-cyberpunk .work-category {
  color: var(--color-accent);
}

.theme-cyberpunk .work-category::before {
  content: '> ';
}

.theme-cyberpunk .work-meta {
  color: var(--color-highlight);
}

/* Cyberpunk Skills */
.theme-cyberpunk .skill-bar-track {
  border: 1px solid var(--color-primary);
  border-radius: 0;
  padding: 2px;
  height: 1rem;
}

.theme-cyberpunk .skill-bar-fill {
  background: var(--color-primary);
  border-radius: 0;
}

.theme-cyberpunk .qa-card {
  border: 1px solid var(--color-primary);
}

.theme-cyberpunk .qa-number::before {
  content: '[';
  color: var(--color-accent);
}

.theme-cyberpunk .qa-number::after {
  content: ']';
  color: var(--color-accent);
}

/* Cyberpunk Flow */
.theme-cyberpunk .flow-step {
  border: 1px solid var(--color-primary);
}

.theme-cyberpunk .flow-step-title::before {
  content: '> ';
}

/* Cyberpunk FAQ */
.theme-cyberpunk .faq-item {
  border: 1px solid var(--color-primary);
}

.theme-cyberpunk .faq-question:hover {
  background: var(--color-primary);
  color: #000;
}

.theme-cyberpunk .faq-question span:first-child::before {
  content: '? ';
}

.theme-cyberpunk .faq-answer-inner {
  background: #000;
  color: var(--color-primary);
}

.theme-cyberpunk .faq-answer-inner::before {
  content: '> ';
}

/* Cyberpunk Contact */
.theme-cyberpunk .form-input,
.theme-cyberpunk .form-select,
.theme-cyberpunk .form-textarea {
  background: #000;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.theme-cyberpunk .form-input:focus,
.theme-cyberpunk .form-select:focus,
.theme-cyberpunk .form-textarea:focus {
  border-color: var(--color-accent);
}

.theme-cyberpunk .form-submit {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.theme-cyberpunk .form-submit:hover {
  background: var(--color-accent);
  color: #000;
}

/* Cyberpunk Footer */
.theme-cyberpunk .site-footer {
  border-top: 2px solid var(--color-primary);
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
}

/* Cyberpunk About */
.theme-cyberpunk .about-section .gui-window {
  margin-bottom: 2rem;
}

.theme-cyberpunk .about-ascii {
  font-size: 0.75rem;
  line-height: 1;
  white-space: pre;
  color: var(--color-accent);
  text-align: left;
  width: fit-content;
  margin: 0 auto 1.5rem;
  font-family: 'Share Tech Mono', 'Courier New', Courier, 'Lucida Console', monospace;
}

/* Glitch Effect - cyberpunk only */
.glitch {
  position: relative;
}

/* Hide glitch pseudo-elements by default */
.glitch::before,
.glitch::after {
  display: none;
}

/* Only show glitch effect in cyberpunk theme */
.theme-cyberpunk .glitch::before,
.theme-cyberpunk .glitch::after {
  display: block;
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.theme-cyberpunk .glitch::before {
  animation: glitch-1 2s infinite linear alternate-reverse;
  clip-path: inset(40% 0 60% 0);
  color: #ff00ff;
}

.theme-cyberpunk .glitch::after {
  animation: glitch-2 3s infinite linear alternate-reverse;
  clip-path: inset(60% 0 20% 0);
  color: #00ffff;
}

@keyframes glitch-1 {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

@keyframes glitch-2 {
  0% { transform: translate(0); }
  20% { transform: translate(2px, -2px); }
  40% { transform: translate(2px, 2px); }
  60% { transform: translate(-2px, -2px); }
  80% { transform: translate(-2px, 2px); }
  100% { transform: translate(0); }
}

/* Scanline overlay */
.theme-cyberpunk .scanline-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  background: repeating-linear-gradient(
    0deg,
    rgba(0,0,0,0.15) 0px,
    rgba(0,0,0,0.15) 1px,
    transparent 1px,
    transparent 3px
  );
}

/* CRT grid background */
.theme-cyberpunk .cyber-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background:
    linear-gradient(rgba(0,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}


/* =============================================
   RETRO DOT BACKGROUND (toggle via JS)
   ============================================= */
.retro-dot-bg {
  display: none;
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  image-rendering: pixelated;
}

.retro-dot-bg.active {
  display: block;
}

/* Sky gradient */
.retro-dot-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* clouds - large */
    radial-gradient(ellipse 120px 40px at 15% 18%, rgba(255,255,255,0.9) 0%, transparent 70%),
    radial-gradient(ellipse 90px 30px at 18% 16%, rgba(255,255,255,0.95) 0%, transparent 70%),
    radial-gradient(ellipse 100px 35px at 55% 12%, rgba(255,255,255,0.85) 0%, transparent 70%),
    radial-gradient(ellipse 80px 28px at 58% 10%, rgba(255,255,255,0.9) 0%, transparent 70%),
    radial-gradient(ellipse 110px 38px at 80% 22%, rgba(255,255,255,0.8) 0%, transparent 70%),
    radial-gradient(ellipse 70px 25px at 35% 25%, rgba(255,255,255,0.75) 0%, transparent 70%),
    /* sky gradient */
    linear-gradient(180deg,
      #5B9BD5 0%,
      #87CEEB 35%,
      #B0E0F0 55%,
      #78C850 55.5%,
      #78C850 65%,
      #5EA040 65.5%,
      #5EA040 75%,
      #8B6914 75.5%,
      #8B6914 100%
    );
  z-index: 0;
}

/* Dot pattern overlay */
.retro-dot-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 1.5px at 50% 50%, rgba(0,0,0,0.08) 0%, transparent 100%);
  background-size: 8px 8px;
  z-index: 1;
}

/* =============================================
   RETRO GAME THEME
   ============================================= */
.theme-retro-game .site-header {
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
  border-bottom: 4px solid #ffffff;
  height: auto;
}

.theme-retro-game .header-inner {
  height: 80px;
}

.theme-retro-game .site-logo {
  font-family: 'Press Start 2P', 'DotGothic16', monospace;
  font-size: 1.25rem;
  color: #FFE000;
  letter-spacing: 0.1em;
}

.theme-retro-game .nav-link {
  font-family: 'DotGothic16', 'Press Start 2P', monospace;
  font-size: 0.625rem;
  color: #ffffff;
  padding: 0.5rem 0.75rem;
}

.theme-retro-game .nav-link::before,
.theme-retro-game .nav-link::after {
  content: '';
}

.theme-retro-game .nav-link:hover {
  color: #FF00FF;
}

.theme-retro-game .nav-link.cta-link {
  background: #ffffff;
  color: #000;
  padding: 0.5rem 1rem;
}

.theme-retro-game .nav-link.cta-link:hover {
  background: #FF00FF;
  color: #ffffff;
}

.theme-retro-game .nav-link .active-bar {
  background: #FF00FF;
}

.theme-retro-game .hamburger {
  font-family: 'DotGothic16', 'Press Start 2P', monospace;
  font-size: 0.75rem;
  color: #ffffff;
}

.theme-retro-game .mobile-menu {
  background: #000;
  padding: 1.5rem;
  border-top: 4px solid #ffffff;
}

.theme-retro-game .mobile-menu .nav-link {
  display: block;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
}

.theme-retro-game .mobile-menu .nav-link.active {
  color: #FF00FF;
}

/* Retro Hero */
.theme-retro-game .hero-inner {
  text-align: center;
  max-width: 64rem;
  background: rgba(0,0,0,0.7);
  padding: 2rem 3rem;
  border: 4px solid #ffffff;
  box-shadow: 8px 8px 0px 0px rgba(255,255,255,1);
}

.theme-retro-game .hero-title {
  font-family: 'DotGothic16', 'Press Start 2P', monospace;
  font-size: clamp(1.25rem, 3vw, 2.5rem);
  color: #ffffff;
  margin-bottom: 2rem;
  line-height: 1.5;
  text-shadow: 2px 2px 0px rgba(0,0,0,0.5);
}

.theme-retro-game .hero-title-highlight,
.theme-retro-game .hero-title-line2 {
  color: #FFE000;
}

.theme-retro-game .hero-subtitle {
  font-size: 0.875rem;
  color: #ffffff;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.theme-retro-game .hero-cta {
  display: inline-block;
  padding: 1rem 2rem;
  background: #FF00FF;
  color: #ffffff;
  font-family: 'DotGothic16', 'Press Start 2P', monospace;
  font-size: 0.75rem;
  border: 2px solid #ffffff;
  transition: all var(--transition-fast);
}

.theme-retro-game .hero-cta:hover {
  background: #ffffff;
  color: #000;
}

/* Retro Section Title */
.theme-retro-game .section-title {
  font-family: 'DotGothic16', 'Press Start 2P', monospace;
  font-size: 1.25rem;
  color: #ffffff;
  text-shadow: 2px 2px 0px rgba(0,0,0,0.5);
}

.theme-retro-game .section-title::before {
  content: '> ';
}

/* Retro Service Card */
.theme-retro-game .service-card {
  background: rgba(0,0,0,0.8);
  border: 4px solid #ffffff;
  color: #ffffff;
}

.theme-retro-game .service-card .card-number {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 2rem;
  height: 2rem;
  background: #FF00FF;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  border: 2px solid #ffffff;
}

.theme-retro-game .service-title {
  color: #FFE000;
  font-family: 'DotGothic16', 'Press Start 2P', monospace;
  font-size: 0.875rem;
}

.theme-retro-game .service-price {
  color: #00FFFF;
  font-size: 0.875rem;
}

.theme-retro-game .service-features li::before {
  content: '*';
  color: #FF00FF;
}

.theme-retro-game .service-cta {
  background: #ffffff;
  color: #000;
  border-color: #ffffff;
  font-family: 'DotGothic16', 'Press Start 2P', monospace;
  font-size: 0.625rem;
}

.theme-retro-game .service-cta:hover {
  background: #FF00FF;
  color: #ffffff;
}

/* Retro Works */
.theme-retro-game .work-card {
  border: 4px solid #ffffff;
  padding: 0.5rem;
  background: rgba(0,0,0,0.8);
}

.theme-retro-game .work-card img {
  opacity: 0.8;
  image-rendering: auto;
}

.theme-retro-game .work-card:hover img {
  opacity: 1;
}

.theme-retro-game .work-title {
  color: #FFE000;
}

.theme-retro-game .work-category {
  color: #00FFFF;
}

.theme-retro-game .work-category::before {
  content: '[';
}

.theme-retro-game .work-category::after {
  content: ']';
}

.theme-retro-game .work-meta {
  background: rgba(0,0,0,0.8);
  border: 2px solid #ffffff;
  display: inline-block;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  color: #ffffff;
}

/* Retro Skills */
/* Retro Skills section — dark glass styling matching hero/service cards */
.theme-retro-game #skills .gui-window {
  background: rgba(0,0,0,0.7);
  border: 4px solid #ffffff;
  box-shadow: 8px 8px 0px 0px rgba(255,255,255,1);
  padding: 1rem;
}

.theme-retro-game .skills-card {
  background: rgba(0,0,0,0.7);
  border: 3px solid #ffffff;
  color: #ffffff;
}

.theme-retro-game .skills-group-title {
  color: #FFE000;
  border-bottom-color: rgba(255,255,255,0.3);
}

.theme-retro-game .skill-bar-track {
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 0;
  height: 1rem;
  background: rgba(255,255,255,0.05);
}

/* Retro Skills — can-do list & tool chips */
.theme-retro-game .can-do-list li {
  color: #ffffff;
}

.theme-retro-game .can-do-list li::before {
  color: #FFE000;
}

.theme-retro-game .tool-chip {
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 0;
  color: #ffffff;
  font-family: 'DotGothic16', 'Press Start 2P', monospace;
  font-size: 0.65rem;
  padding: 0.5rem 0.75rem;
}

/* Retro QA Strengths — compact cards (4 items in 4 cols, tight padding) */
.theme-retro-game .qa-strengths-section {
  margin-top: 2rem;
}

.theme-retro-game .qa-strengths-title {
  color: #FFE000;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.theme-retro-game .qa-grid {
  gap: 0.75rem;
}

.theme-retro-game .qa-card {
  background: rgba(0,0,0,0.7);
  border: 2px solid #ffffff;
  padding: 0.75rem;
  color: #ffffff;
  border-radius: 0;
}

.theme-retro-game .qa-number {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.75rem;
  margin: 0 auto 0.5rem;
}

.theme-retro-game .qa-text {
  font-size: 0.75rem;
  line-height: 1.4;
}

/* Retro Flow steps — dark glass styling matching hero */
.theme-retro-game .flow-step {
  background: rgba(0,0,0,0.7);
  border: 3px solid #ffffff;
  color: #ffffff;
  box-shadow: 6px 6px 0 0 rgba(255,255,255,0.4);
}

.theme-retro-game .flow-step-number {
  background: #FF00FF;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.theme-retro-game .flow-step-badge {
  background: rgba(255,224,0,0.2);
  color: #FFE000;
  border: 1px solid #FFE000;
}

.theme-retro-game .flow-step-title {
  color: #ffffff;
}

.theme-retro-game .flow-step-desc {
  color: rgba(255,255,255,0.85);
}

/* Retro Contact section — dark glass GUI windows */
.theme-retro-game .contact-gui-window {
  background: rgba(0,0,0,0.7);
  border: 3px solid #ffffff;
  box-shadow: 6px 6px 0 0 rgba(255,255,255,0.4);
}

.theme-retro-game .contact-gui-window .gui-titlebar {
  background: rgba(255,255,255,0.1);
  color: #FFE000;
  border-bottom: 2px solid #ffffff;
  padding: 0.5rem 1rem;
  font-family: 'DotGothic16', 'Press Start 2P', monospace;
  font-size: 0.7rem;
}

.theme-retro-game .contact-gui-window .gui-body {
  color: #ffffff;
}

.theme-retro-game .contact-info-icon {
  color: #FFE000;
}

.theme-retro-game .contact-info-label {
  color: rgba(255,255,255,0.6);
}

.theme-retro-game .contact-info-value {
  color: #ffffff;
}

.theme-retro-game .contact-intro {
  color: rgba(255,255,255,0.85);
}

.theme-retro-game .contact-form input,
.theme-retro-game .contact-form select,
.theme-retro-game .contact-form textarea {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.4);
  color: #ffffff;
}

.theme-retro-game .contact-form input::placeholder,
.theme-retro-game .contact-form textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.theme-retro-game .contact-form label {
  color: rgba(255,255,255,0.85);
}

.theme-retro-game .skill-bar-fill {
  border-radius: 0;
}

/* Retro About - RPG Status Screen */
.theme-retro-game .about-rpg {
  background: rgba(0,0,0,0.8);
  border: 4px solid #ffffff;
  padding: 0.5rem;
  box-shadow: 8px 8px 0px 0px rgba(255,255,255,1);
}

.retro-credits { display: none; }

.theme-retro-game .retro-credits {
  display: block;
  font-size: 0.8rem;
  margin-top: 0.5rem;
  opacity: 0.7;
  letter-spacing: 0.03em;
}

.theme-retro-game .retro-credits a {
  color: inherit;
  text-decoration: underline;
  transition: opacity 0.2s;
}

.theme-retro-game .retro-credits a:hover {
  opacity: 0.7;
}

.theme-retro-game .rpg-titlebar {
  background: #000080;
  color: #ffffff;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  border: 2px solid rgba(255,255,255,0.5);
}

.theme-retro-game .rpg-online {
  color: #FFE000;
  animation: blink 1.5s step-end infinite;
}

/* Retro FAQ */
.theme-retro-game .faq-item {
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.4);
}

.theme-retro-game .faq-question {
  color: #ffffff;
}

.theme-retro-game .faq-question:hover {
  background: rgba(255,255,255,0.1);
}

.theme-retro-game .faq-answer-inner {
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.05);
  border-top: 1px solid rgba(255,255,255,0.2);
}

/* Retro Contact */
.theme-retro-game .form-input,
.theme-retro-game .form-select,
.theme-retro-game .form-textarea {
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  border-top: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
  color: #ffffff;
}

.theme-retro-game .form-input:focus,
.theme-retro-game .form-select:focus,
.theme-retro-game .form-textarea:focus {
  border-color: #00FFFF;
}

.theme-retro-game .form-select {
  background: #000;
}

.theme-retro-game .form-submit {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}

.theme-retro-game .form-submit:hover {
  background: #ffffff;
  color: #000;
}

/* Retro Footer */
.theme-retro-game .site-footer {
  border-top: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.8);
}


/* =============================================
   EDITORIAL THEME
   ============================================= */
.theme-editorial .site-header {
  background: rgba(244,240,234,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.theme-editorial .header-inner {
  height: 96px;
}

.theme-editorial .site-logo {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: #222;
}

.theme-editorial .nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #222;
}

.theme-editorial .nav-link::before,
.theme-editorial .nav-link::after {
  content: '';
}

.theme-editorial .nav-link:hover {
  opacity: 0.5;
}

.theme-editorial .nav-link.cta-link {
  background: #8b7355;
  color: #ffffff;
  padding: 0.5rem 1.5rem;
}

.theme-editorial .nav-link.cta-link:hover {
  background: #7a6548;
  opacity: 1;
}

.theme-editorial .nav-link .active-bar {
  background: #8b7355;
}

.theme-editorial .hamburger {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.theme-editorial .mobile-menu {
  background: #f4f0ea;
  padding: 1.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.theme-editorial .mobile-menu .nav-link {
  display: block;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.125rem;
  padding: 0.75rem;
  text-transform: none;
  letter-spacing: 0;
}

.theme-editorial .mobile-menu .nav-link.active {
  color: #8b7355;
}

/* Editorial - all sections have opaque background */
.theme-editorial section,
.theme-editorial .site-footer {
  background-color: #f4f0ea;
}

.theme-editorial .section-white {
  background-color: #ffffff;
}

/* Editorial Hero */
.theme-editorial #hero {
  padding-top: 10rem;
  padding-bottom: 5rem;
  background-color: #f4f0ea;
}

.theme-editorial .hero-inner {
  max-width: 80rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
}

.theme-editorial .hero-label {
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8b7355;
  margin-bottom: 1.5rem;
}

.theme-editorial .hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  color: #222;
  margin-bottom: 2rem;
}

.theme-editorial .hero-title-line2 {
  font-style: italic;
  color: #8b7355;
}

.theme-editorial .hero-subtitle {
  font-size: 1.125rem;
  color: #666;
  max-width: 28rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.theme-editorial .hero-cta {
  display: inline-block;
  border-bottom: 1px solid #222;
  padding-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  color: #222;
  transition: all var(--transition-fast);
}

.theme-editorial .hero-cta:hover {
  color: #8b7355;
  border-color: #8b7355;
}

.theme-editorial .hero-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #e5e0d8;
}

.theme-editorial .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.theme-editorial .hero-image:hover img {
  transform: scale(1.05);
}

/* Editorial Section Title */
.theme-editorial .section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #222;
}

.theme-editorial .section-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #999;
}

/* Editorial alt background */
.theme-editorial .section-alt {
  background: #f4f0ea;
}

.theme-editorial .section-white {
  background: #ffffff;
}

/* Editorial Services */
.theme-editorial .service-card {
  border-top: 1px solid rgba(0,0,0,0.1);
  border-bottom: none;
  border-left: none;
  border-right: none;
  padding-top: 2rem;
  background: transparent;
}

.theme-editorial .service-card .card-number {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8b7355;
  margin-bottom: 1rem;
}

.theme-editorial .service-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #222;
}

.theme-editorial .service-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
}

.theme-editorial .service-desc {
  color: #666;
}

.theme-editorial .service-features {
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 2rem;
}

.theme-editorial .service-features li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8b7355;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.theme-editorial .service-features li {
  color: #666;
}

.theme-editorial .service-cta {
  display: inline-block;
  width: auto;
  border: none;
  border-bottom: 1px solid #222;
  padding: 0 0 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: #222;
}

.theme-editorial .service-cta:hover {
  color: #8b7355;
  border-color: #8b7355;
}

/* Editorial Works */
.theme-editorial .works-editorial {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.theme-editorial .works-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 2rem;
  margin-bottom: 4rem;
}

.theme-editorial .works-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  line-height: 1.2;
}

.theme-editorial .works-header h2 i {
  display: block;
}

.theme-editorial .works-header .year-range {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
}

.theme-editorial .work-editorial-item {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 2rem;
  align-items: center;
}

.theme-editorial .work-editorial-item:nth-child(even) .work-image {
  order: 2;
}

.theme-editorial .work-editorial-item:nth-child(even) .work-info {
  order: 1;
  text-align: right;
}

.theme-editorial .work-image {
  overflow: hidden;
}

.theme-editorial .work-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.theme-editorial .work-image:hover img {
  transform: scale(1.05);
}

.theme-editorial .work-category {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8b7355;
}

.theme-editorial .work-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem;
}

.theme-editorial .work-desc {
  color: #666;
}

.theme-editorial .work-meta {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
}

.theme-editorial .work-link {
  display: inline-block;
  border-bottom: 1px solid #222;
  padding-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: #222;
  transition: all var(--transition-fast);
}

.theme-editorial .work-link:hover {
  color: #8b7355;
  border-color: #8b7355;
}

/* Editorial Skills */
.theme-editorial .skill-bar-track {
  height: 1px;
  background: #e5e0d8;
  border-radius: 0;
}

.theme-editorial .skill-bar-fill {
  background: #8b7355;
  border-radius: 0;
}

.theme-editorial .skill-bar-header {
  color: #666;
}

.theme-editorial .qa-section-editorial {
  background: #f4f0ea;
  padding: 3rem;
  text-align: center;
}

.theme-editorial .qa-section-editorial h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.theme-editorial .qa-number {
  border: 1px solid #8b7355;
  color: #8b7355;
  background: transparent;
}

.theme-editorial .qa-text {
  color: #555;
}

/* Editorial Flow */
.theme-editorial .flow-editorial {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.theme-editorial .flow-step-editorial {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.theme-editorial .flow-step-number-ed {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #8b7355;
  opacity: 0.5;
  flex-shrink: 0;
  width: 6rem;
}

.theme-editorial .flow-step-content {
  flex: 1;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 1rem;
}

.theme-editorial .flow-step-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.theme-editorial .flow-step-content p {
  color: #666;
  line-height: 1.8;
}

/* Editorial About */
.theme-editorial .about-section {
  background: #f4f0ea;
}

.theme-editorial .about-grid-editorial {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 3rem;
}

.theme-editorial .about-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.theme-editorial .about-text-lead {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 2rem;
}

.theme-editorial .about-text-lead .drop-cap {
  font-size: 3rem;
  float: left;
  margin-right: 0.5rem;
  margin-top: -0.5rem;
  color: #8b7355;
}

.theme-editorial .about-skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 2rem;
}

.theme-editorial .about-skills-grid h3 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8b7355;
  margin-bottom: 1rem;
}

.theme-editorial .about-skills-grid li {
  color: #666;
  margin-bottom: 0.5rem;
}

/* Editorial FAQ */
.theme-editorial .faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  border-radius: 0;
}

.theme-editorial .faq-question {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
}

.theme-editorial .faq-question:hover {
  color: #8b7355;
}

.theme-editorial .faq-question span:first-child::before {
  content: 'Q. ';
}

.theme-editorial .faq-toggle {
  font-family: 'Playfair Display', serif;
  color: #999;
  border: none;
}

.theme-editorial .faq-answer-inner {
  color: #666;
}

.theme-editorial .faq-answer-inner::before {
  content: 'A. ';
  font-weight: 700;
}

/* Editorial Contact */
.theme-editorial .contact-section {
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.theme-editorial .form-input,
.theme-editorial .form-textarea {
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.2);
  border-radius: 0;
  padding: 0.75rem 0;
  background: transparent;
}

.theme-editorial .form-input:focus,
.theme-editorial .form-textarea:focus {
  border-color: #8b7355;
}

.theme-editorial .form-submit {
  background: #8b7355;
  color: #ffffff;
  border: none;
  padding: 0.75rem 2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.875rem;
  width: auto;
}

.theme-editorial .form-submit:hover {
  background: #7a6548;
  color: #ffffff;
}

/* Editorial Footer */
.theme-editorial .site-footer {
  border-top: 1px solid rgba(0,0,0,0.1);
  background: #f4f0ea;
}


/* =============================================
   GLASS THEME
   ============================================= */
.theme-glass .site-header {
  top: 1rem;
  padding: 0 1rem;
  background: transparent;
  border: none;
}

.theme-glass .header-inner {
  background: var(--color-card-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  height: 64px;
  padding: 0 2rem;
  box-shadow: var(--shadow);
  max-width: 72rem;
}

.theme-glass .site-logo {
  font-family: 'Cinzel', serif;
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-heading);
}

.theme-glass .nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
  opacity: 0.7;
}

.theme-glass .nav-link::before,
.theme-glass .nav-link::after {
  content: '';
}

.theme-glass .nav-link:hover,
.theme-glass .nav-link.active {
  opacity: 1;
  color: var(--color-primary);
}

.theme-glass .nav-link .active-bar {
  background: var(--color-primary);
  border-radius: 9999px;
}

.theme-glass .nav-link.cta-link {
  background: var(--color-primary);
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  opacity: 1;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.theme-glass .nav-link.cta-link:hover {
  filter: brightness(0.9);
}

.theme-glass .hamburger {
  color: var(--color-text);
  font-size: 1.5rem;
}

.theme-glass .mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-bg);
  backdrop-filter: blur(24px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding-top: 4rem;
  z-index: 99;
}

.theme-glass .mobile-menu.open {
  display: flex;
}

.theme-glass .mobile-menu .nav-link {
  font-size: 1.5rem;
  opacity: 1;
}

/* Glass Hero */
.theme-glass .hero-inner {
  text-align: center;
  max-width: 56rem;
}

.theme-glass .hero-badge {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  background: var(--color-card-bg);
  backdrop-filter: blur(12px);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-heading);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.theme-glass .hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.theme-glass .hero-title-line1,
.theme-glass .hero-title-line2 {
  display: block;
  background: linear-gradient(to right, var(--color-highlight), var(--color-accent), var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.theme-glass .hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: 3rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

.theme-glass .hero-cta {
  display: inline-block;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 9999px;
  transition: transform var(--transition-fast);
  box-shadow: 0 10px 40px rgba(37,99,235,0.3);
}

.theme-glass .hero-cta:hover {
  transform: scale(1.05);
}

.theme-glass.gold .hero-cta {
  box-shadow: 0 10px 40px rgba(184,150,62,0.3);
}

/* Glass Section Title */
.theme-glass .section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-text-heading), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass Card */
.theme-glass .glass-card {
  background: var(--color-card-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.theme-glass .glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(124,58,237,0.1));
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}

.theme-glass.gold .glass-card::before {
  background: linear-gradient(135deg, rgba(184,150,62,0.1), rgba(154,123,47,0.1));
}

.theme-glass .glass-card:hover::before {
  opacity: 1;
}

/* Glass Services */
.theme-glass .service-card {
  background: var(--color-card-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.theme-glass .service-title {
  color: var(--color-text-heading);
  font-family: 'Outfit', sans-serif;
}

.theme-glass .service-desc {
  color: var(--color-text);
  opacity: 0.8;
}

.theme-glass .service-price {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-text-heading);
}

.theme-glass .service-features li {
  color: var(--color-text);
}

.theme-glass .service-features li::before {
  content: '';
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232563eb' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.theme-glass.gold .service-features li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23D4BC6A' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
}

.theme-glass .service-cta {
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  border-radius: 0.75rem;
  font-weight: 700;
  padding: 0.75rem;
}

.theme-glass .service-cta:hover {
  filter: brightness(0.9);
}

/* Glass Works */
.theme-glass .work-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  backdrop-filter: blur(12px);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.theme-glass .work-card img {
  height: 20rem;
}

.theme-glass .work-overlay {
  position: relative;
  padding: 1.5rem 1.5rem 2rem;
  background: var(--color-card-bg);
}

.theme-glass .work-card .work-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.theme-glass .work-title {
  color: var(--color-text-heading);
  font-family: 'Outfit', sans-serif;
}

.theme-glass .work-meta {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Glass Skills */
.theme-glass .skill-bar-track {
  background: var(--color-bg-alt);
  border-radius: 9999px;
  height: 0.5rem;
}

.theme-glass .skill-bar-fill {
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 9999px;
}

.theme-glass .qa-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 1.5rem;
}

.theme-glass .qa-card:hover {
  background: rgba(255,255,255,0.6);
}

.theme-glass.gold .qa-card:hover {
  background: rgba(30,28,24,0.9);
}

.theme-glass .qa-number {
  background: rgba(37,99,235,0.1);
  color: var(--color-primary);
}

.theme-glass.gold .qa-number {
  background: rgba(42,37,32,1);
  color: var(--color-highlight);
}

/* Glass Flow */
.theme-glass .flow-step {
  background: var(--color-card-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.theme-glass .flow-step-badge {
  background: rgba(37,99,235,0.1);
  color: var(--color-primary);
}

.theme-glass.gold .flow-step-badge {
  background: rgba(42,37,32,1);
  color: var(--color-highlight);
}

.theme-glass .flow-step-title {
  color: var(--color-text-heading);
}

.theme-glass .flow-step-desc {
  color: var(--color-text);
}

/* Glass FAQ */
.theme-glass .faq-item {
  background: var(--color-card-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.theme-glass .faq-question {
  color: var(--color-text-heading);
}

.theme-glass .faq-question:hover {
  background: rgba(255,255,255,0.3);
}

.theme-glass.gold .faq-question:hover {
  background: rgba(30,28,24,0.7);
}

.theme-glass .faq-toggle {
  border: 1px solid var(--color-border);
  color: var(--color-primary);
}

.theme-glass .faq-item.open .faq-toggle {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.theme-glass .faq-answer-inner {
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
}

/* Glass About */
.theme-glass .about-glass {
  background: var(--color-card-bg);
  backdrop-filter: blur(24px);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow);
}

.theme-glass .about-tags {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.theme-glass .about-tag {
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-heading);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Glass Contact */
.theme-glass .contact-glass {
  background: var(--color-card-bg);
  backdrop-filter: blur(24px);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow);
}

.theme-glass .contact-info-icon {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.theme-glass .form-input,
.theme-glass .form-select,
.theme-glass .form-textarea {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  color: var(--color-text-heading);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.theme-glass .form-input::placeholder,
.theme-glass .form-textarea::placeholder {
  color: var(--color-text);
  opacity: 0.5;
}

.theme-glass .form-submit {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #ffffff;
  border: none;
  border-radius: 0.75rem;
  font-weight: 700;
}

.theme-glass .form-submit:hover {
  opacity: 0.9;
  color: #ffffff;
}

/* Glass Footer */
.theme-glass .site-footer {
  border-top: 1px solid var(--color-border);
}

/* ===========================================
   PLAYER STATUS (retro-about)
   =========================================== */
.retro-about {
  display: none;
}

.retro-status-window {
  background: #0a0a2e;
  border: 4px solid #ffffff;
  box-shadow: 8px 8px 0px 0px rgba(255,255,255,0.3);
  font-family: 'Press Start 2P', 'DotGothic16', monospace;
  overflow: hidden;
}

.retro-status-titlebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FF00FF;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  color: #ffffff;
  border-bottom: 2px solid #ffffff;
}

.retro-online {
  color: #55FF55;
  font-size: 0.625rem;
  animation: blink 1.5s step-end infinite;
}

.retro-status-body {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
}

.retro-status-left {
  padding: 1.5rem 1rem;
  border-right: 2px dashed rgba(255,255,255,0.3);
}

.retro-char-frame {
  aspect-ratio: 1;
  background: #1a1a3e;
  border: 4px double rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}

.retro-char-frame img {
  width: 75%;
  height: 75%;
  object-fit: contain;
}

.retro-level {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: #FF00FF;
  color: #fff;
  font-size: 0.625rem;
  padding: 0.125rem 0.5rem;
  border: 1px solid #fff;
  font-family: 'Press Start 2P', 'DotGothic16', monospace;
}

.retro-char-info {
  text-align: center;
  margin-bottom: 1rem;
}

.retro-char-name {
  font-size: 1.125rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.retro-char-class {
  color: #FFE000;
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
  font-family: 'Press Start 2P', 'DotGothic16', monospace;
}

.retro-char-subclass {
  color: #55FFFF;
  font-size: 0.5rem;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.retro-mini-stats {
  font-size: 0.75rem;
}

.retro-stat-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.25rem;
}

.retro-stat-row > span:first-child {
  width: 2.5rem;
  flex-shrink: 0;
}

.retro-stat-row > span:last-child {
  width: 2.5rem;
  text-align: right;
  flex-shrink: 0;
  font-size: 0.625rem;
}

.retro-stat-bar {
  flex: 1;
  height: 0.5rem;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.3);
}

.retro-stat-fill {
  height: 100%;
}

.retro-status-right {
  padding: 1.5rem 1rem;
}

.retro-profile-box {
  background: #000040;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 1.25rem 1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.retro-profile-tag {
  position: absolute;
  top: -0.75rem;
  left: 1rem;
  background: #FF00FF;
  color: #fff;
  font-size: 0.5rem;
  padding: 0.125rem 0.75rem;
  border: 1px solid #fff;
  font-family: 'Press Start 2P', 'DotGothic16', monospace;
}

.retro-profile-box p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  margin-top: 0.25rem;
  font-family: 'DotGothic16', sans-serif;
}

.retro-skill-tree {
  margin-bottom: 1.5rem;
}

.retro-skill-tree h3 {
  color: #FFE000;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
  font-family: 'Press Start 2P', 'DotGothic16', monospace;
}

.retro-abilities h3 {
  color: #FF00FF;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
  font-family: 'Press Start 2P', 'DotGothic16', monospace;
}

.retro-abilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.retro-ability {
  background: #1a1a3e;
  border: 2px solid;
  padding: 0.75rem;
  text-align: center;
}

.retro-ability > span {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.25rem;
}

.retro-ability-title {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.retro-ability-desc {
  color: rgba(255,255,255,0.5);
  font-size: 0.5rem;
  margin-top: 0.25rem;
}

/* ===========================================
   CRT Frame (Cyberpunk)
   =========================================== */
.theme-cyberpunk::before {
  content: '';
  position: fixed;
  inset: 0.5rem;
  border: 2px solid #00FFFF;
  border-radius: 16px;
  box-shadow: inset 0 0 20px rgba(0, 255, 255, 0.5), 0 0 20px rgba(0, 255, 255, 0.5);
  pointer-events: none;
  z-index: 9998;
}

/* ===========================================
   Hover Glitch Effect (Cyberpunk)
   =========================================== */
.theme-cyberpunk .hover-glitch:hover {
  animation: hover-glitch-anim 0.3s ease-in-out;
}

@keyframes hover-glitch-anim {
  0% { transform: translate(0); }
  10% { transform: translate(-2px, 1px); }
  20% { transform: translate(2px, -1px); }
  30% { transform: translate(-1px, -2px); }
  40% { transform: translate(1px, 2px); }
  50% { transform: translate(-2px, -1px); }
  60% { transform: translate(2px, 1px); }
  70% { transform: translate(-1px, 2px); }
  80% { transform: translate(1px, -2px); }
  90% { transform: translate(-2px, 1px); }
  100% { transform: translate(0); }
}

/* Responsive: retro-about on mobile (matches global 1024px boundary) */
@media (max-width: 1023px) {
  .retro-status-body {
    grid-template-columns: 1fr;
  }

  .retro-status-left {
    border-right: none;
    border-bottom: 2px dashed rgba(255,255,255,0.3);
  }

  .retro-abilities-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Glass theme: AI-removal overrides
   Place AFTER the original .theme-glass block so these win on tie.
   Goal: kill gradient text, pill buttons, blue+purple glow, blur abuse.
   ============================================================ */

/* Kill gradient hero title text */
.theme-glass:not(.gold) .hero-title-line1,
.theme-glass:not(.gold) .hero-title-line2 {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--color-text-heading);
}

/* Kill gradient section title */
.theme-glass:not(.gold) .section-title {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--color-text-heading);
}

/* Drop diagonal gradient overlay on cards */
.theme-glass:not(.gold) .glass-card::before {
  content: none;
}

/* Hero CTA: moderate radius, no colored glow */
.theme-glass:not(.gold) .hero-cta {
  border-radius: var(--border-radius);
  box-shadow: none;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.theme-glass:not(.gold) .hero-cta:hover {
  transform: none;
  opacity: 0.88;
}

/* Hero badge: rectangular, no blur, no shadow */
.theme-glass:not(.gold) .hero-badge {
  border-radius: var(--border-radius);
  backdrop-filter: none;
  background: rgba(30,58,95,0.06);
  border-color: rgba(30,58,95,0.2);
  color: var(--color-primary);
  box-shadow: none;
  font-size: 0.8125rem;
}

/* Cards: solid white, no blur, subtle shadow */
.theme-glass:not(.gold) .glass-card,
.theme-glass:not(.gold) .service-card,
.theme-glass:not(.gold) .qa-card,
.theme-glass:not(.gold) .flow-step,
.theme-glass:not(.gold) .faq-item,
.theme-glass:not(.gold) .contact-glass,
.theme-glass:not(.gold) .about-glass {
  background: var(--color-card-bg);
  backdrop-filter: none;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* Form inputs: no excessive shadow */
.theme-glass:not(.gold) .form-input,
.theme-glass:not(.gold) .form-select,
.theme-glass:not(.gold) .form-textarea {
  border-radius: var(--border-radius);
  box-shadow: none;
  background: var(--color-bg-alt);
}

/* Hero & section titles: serif sophistication (both Blue and Gold) */
.theme-glass .hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}
.theme-glass .section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}
