/* Hongdanji: hanji, celadon, ink. Brand red remains the only accent hue. */
.theme-modern-korean {
  --hanji: #F3F1EB;
  --celadon: #A8B9AC;
  --ink: #343C38;
  --red: #B52A24;
  --red-dark: #B52A24;
  --red-deep: #B52A24;
  --red-light: #B52A24;
  --muted: #626A65;
  --cream: var(--hanji);
  --cream-deep: #E8ECE7;
  --paper: #FFFFFF;
  --line: rgba(52, 60, 56, .14);
  --glass-border: rgba(52, 60, 56, .12);
  --shadow: 0 22px 70px rgba(52, 60, 56, .10);
  --corporate-shadow: 0 12px 32px rgba(52, 60, 56, .055);
  --corporate-shadow-hover: 0 18px 42px rgba(52, 60, 56, .09);
  color: var(--ink);
  background: var(--hanji);
}

/* Only the background washes are blurred; content stays above them. */
.theme-modern-korean .section {
  --wash-rgb: 243, 241, 235;
  --wash-strong: .98;
  --wash-soft: .72;
  position: relative;
  isolation: isolate;
  background: #fff;
  color: var(--ink);
}
.theme-modern-korean .section::before,
.theme-modern-korean .section::after {
  content: '';
  display: block;
  position: absolute;
  z-index: -1;
  inset: auto;
  width: min(84vw, 1120px);
  height: 640px;
  max-width: none;
  max-height: none;
  border: 0;
  border-radius: 50%;
  opacity: 1;
  background-size: auto;
  -webkit-mask-image: none;
  mask-image: none;
  filter: blur(72px);
  transform: none;
  pointer-events: none;
}
.theme-modern-korean .section::before {
  top: -240px;
  right: -140px;
  background: radial-gradient(ellipse, rgba(var(--wash-rgb), var(--wash-strong)) 0%, rgba(var(--wash-rgb), var(--wash-strong)) 32%, transparent 73%);
}
.theme-modern-korean .section::after {
  bottom: -320px;
  left: -180px;
  background: radial-gradient(ellipse, rgba(var(--wash-rgb), var(--wash-soft)) 0%, rgba(var(--wash-rgb), var(--wash-soft)) 26%, transparent 72%);
}
.theme-modern-korean .solutions-section,
.theme-modern-korean .strengths-section,
.theme-modern-korean .quality-section {
  --wash-rgb: 168, 185, 172;
  --wash-strong: .18;
  --wash-soft: .12;
  background: var(--hanji);
}
.theme-modern-korean .strengths-section::before { right: auto; left: -160px; }
.theme-modern-korean .strengths-section::after { left: auto; right: -180px; }
.theme-modern-korean .oem-section,
.theme-modern-korean .contact-section {
  --wash-rgb: 52, 60, 56;
  --wash-strong: .07;
  --wash-soft: .04;
  background: var(--hanji);
}
.theme-modern-korean .story-brush { display: none; }

/* Header and site navigation */
.theme-modern-korean .site-header,
.theme-modern-korean .site-header.scrolled {
  color: var(--ink);
  background: rgba(243, 241, 235, .97);
  border-bottom-color: var(--line);
  box-shadow: 0 5px 22px rgba(52, 60, 56, .045);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.theme-modern-korean .brand { filter: none; }
.theme-modern-korean .brand-mark { background: transparent; }
.theme-modern-korean .brand-text,
.theme-modern-korean .desktop-nav a,
.theme-modern-korean .menu-toggle { color: var(--ink); }
.theme-modern-korean .brand-text .accent,
.theme-modern-korean .desktop-nav a:hover,
.theme-modern-korean .desktop-nav a:focus-visible { color: var(--red); }
.theme-modern-korean .mobile-menu {
  background: rgba(243, 241, 235, .99);
  color: var(--ink);
}
.theme-modern-korean .mobile-menu a { border-color: var(--line); }
.theme-modern-korean .mobile-menu .mobile-menu-cta { background: var(--red); color: #fff; }

/* Quiet surfaces, neutral borders and shadows */
.theme-modern-korean .product-card,
.theme-modern-korean .strength-card,
.theme-modern-korean .story-inner,
.theme-modern-korean .oem-intro,
.theme-modern-korean .process-list article,
.theme-modern-korean .contact-form,
.theme-modern-korean .quality-visual img,
.theme-modern-korean .industry-result {
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  border-color: var(--line);
  box-shadow: var(--corporate-shadow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.theme-modern-korean .product-card:hover,
.theme-modern-korean .strength-card:hover {
  border-color: var(--celadon);
  box-shadow: var(--corporate-shadow-hover);
}
.theme-modern-korean .product-image-button,
.theme-modern-korean .section-more,
.theme-modern-korean .dialog-spec,
.theme-modern-korean .dialog-visual,
.theme-modern-korean .inquiry-product-summary {
  background: var(--hanji);
  border-color: var(--line);
  color: var(--ink);
}
.theme-modern-korean .product-tags span,
.theme-modern-korean .industry-product-list span,
.theme-modern-korean .dialog-uses span {
  color: var(--muted);
  background: var(--hanji);
  border-color: var(--line);
}
.theme-modern-korean .filter-scroll,
.theme-modern-korean .product-card-actions,
.theme-modern-korean .product-card-actions > :first-child,
.theme-modern-korean .product-image-button { border-color: var(--line); }
.theme-modern-korean .filter-button,
.theme-modern-korean .industry-tabs button {
  background: rgba(255,255,255,.90);
  border-color: var(--line);
  color: var(--muted);
}
.theme-modern-korean .filter-button:hover,
.theme-modern-korean .filter-button:focus-visible,
.theme-modern-korean .industry-tabs button:hover { color: var(--red); border-color: var(--red); }
.theme-modern-korean .filter-button.active,
.theme-modern-korean .industry-tabs button[aria-selected='true'] {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.theme-modern-korean .strength-icon,
.theme-modern-korean .process-list article > span {
  color: var(--red);
  background: rgba(168,185,172,.15);
  border-color: rgba(52,60,56,.14);
}
.theme-modern-korean .strength-number { color: var(--muted); }
.theme-modern-korean .quality-label {
  color: var(--red);
  background: rgba(255,255,255,.94);
  border-color: var(--line);
}
.theme-modern-korean .visual-caption {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--corporate-shadow);
}
.theme-modern-korean .visual-caption span { color: var(--hanji); }

/* Reset pale text inherited from the former dark red sections. */
.theme-modern-korean .section h2,
.theme-modern-korean .oem-intro h2,
.theme-modern-korean .process-list h3,
.theme-modern-korean .industry-result h3,
.theme-modern-korean .story-values,
.theme-modern-korean .contact-info dd { color: var(--ink); }
.theme-modern-korean .section h2 em,
.theme-modern-korean .section .eyebrow,
.theme-modern-korean .section .eyebrow.light,
.theme-modern-korean .industry-result small,
.theme-modern-korean .contact-info dt { color: var(--red); }
.theme-modern-korean .section-heading p,
.theme-modern-korean .split-heading > p,
.theme-modern-korean .solutions-copy > p:not(.eyebrow),
.theme-modern-korean .industry-result p,
.theme-modern-korean .strength-card p,
.theme-modern-korean .oem-intro > p:not(.eyebrow),
.theme-modern-korean .process-list p,
.theme-modern-korean .quality-lead,
.theme-modern-korean .story-inner > p:not(.eyebrow),
.theme-modern-korean .contact-copy > p:not(.eyebrow),
.theme-modern-korean .quality-note,
.theme-modern-korean .demo-note { color: var(--muted); }
.theme-modern-korean .contact-info div,
.theme-modern-korean .process-list article:first-child { border-color: var(--line); }
.theme-modern-korean .story-values i { background: var(--red); }

/* The brand red is reserved for active controls and key actions. */
.theme-modern-korean .header-cta,
.theme-modern-korean .site-header.scrolled .header-cta,
.theme-modern-korean .oem-intro .button-light,
.theme-modern-korean .submit-button,
.theme-modern-korean .modal-inquiry-form .submit-button,
.theme-modern-korean .dialog-actions .dialog-inquiry,
.theme-modern-korean .mobile-bottom-bar a:last-child {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: none;
}
.theme-modern-korean .header-cta:hover,
.theme-modern-korean .header-cta:focus-visible,
.theme-modern-korean .oem-intro .button-light:hover,
.theme-modern-korean .oem-intro .button-light:focus-visible,
.theme-modern-korean .submit-button:hover,
.theme-modern-korean .submit-button:focus-visible,
.theme-modern-korean .mobile-menu-cta:hover { filter: brightness(.92); }
.theme-modern-korean .form-row input,
.theme-modern-korean .form-row select,
.theme-modern-korean .form-row textarea,
.theme-modern-korean .choice-grid span {
  background: #fff;
  border-color: rgba(52,60,56,.22);
  color: var(--ink);
}
.theme-modern-korean .form-row input:focus,
.theme-modern-korean .form-row select:focus,
.theme-modern-korean .form-row textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(181,42,36,.10);
}
.theme-modern-korean .form-row [aria-invalid='true'] { border-color: var(--red); }
.theme-modern-korean .choice-grid input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.theme-modern-korean .form-status { color: var(--red); }
.theme-modern-korean .product-dialog,
.theme-modern-korean .inquiry-dialog,
.theme-modern-korean .privacy-dialog {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 24px 70px rgba(52,60,56,.18);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.theme-modern-korean dialog::backdrop { background: rgba(52,60,56,.52); }

/* Light ink-tinted footer completes the pale section backgrounds. */
.theme-modern-korean .site-footer {
  color: var(--ink);
  background: radial-gradient(ellipse at 85% 100%, rgba(52,60,56,.06), transparent 70%), var(--hanji);
  border-top: 1px solid var(--line);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.theme-modern-korean .footer-top { border-color: var(--line); }
.theme-modern-korean .footer-brand .brand-text,
.theme-modern-korean .footer-brand .brand-text .accent { color: var(--ink); }
.theme-modern-korean .footer-top a,
.theme-modern-korean .footer-top button,
.theme-modern-korean .footer-bottom { color: var(--muted); }
.theme-modern-korean .footer-top a:hover,
.theme-modern-korean .footer-top button:hover,
.theme-modern-korean .footer-brand:hover .brand-text,
.theme-modern-korean .footer-brand:focus-visible .brand-text { color: var(--red); }
.theme-modern-korean .footer-top img { filter: none; opacity: 1; }
.theme-modern-korean .mobile-bottom-bar,
.theme-modern-korean .top-button { background: rgba(243,241,235,.98); border-color: var(--line); color: var(--ink); }

@media (max-width: 760px) {
  .theme-modern-korean .section::before,
  .theme-modern-korean .section::after { width: 110vw; height: 440px; filter: blur(48px); }
  .theme-modern-korean .hero-arrow,
  .theme-modern-korean .hero-play { color: var(--ink); }
  .theme-modern-korean .hero-arrow:hover,
  .theme-modern-korean .hero-play:hover { background: rgba(168,185,172,.18); }
  .theme-modern-korean .hero-dot::before { background: var(--celadon); }
  .theme-modern-korean .hero-dot[aria-current='true']::before { background: var(--red); }
  .theme-modern-korean .hero-count { color: var(--muted); }
  .theme-modern-korean .hero-count strong { color: var(--ink); }
}
