/* ==========================================================================
   Chongya Education · Editorial Design System (VIS + taste-skill 2.5)
   Colors: #FE6900 (Chongya Orange), #140E0A (Breathable Ink), #FFFFFF / #F7F5F2
   ========================================================================== */

:root {
  --orange: #FE6900;
  --orange-deep: #C94F00;
  --orange-soft: #FFF1E6;
  --ink: #140E0A;
  --ink-soft: #221B16;
  --text: #2B241F;
  --muted: #6E645C;
  --white: #FFFFFF;
  --paper: #FFF5EC;
  --panel-warm: #FFF0E2;
  --line: rgba(20, 14, 10, 0.09);
  --line-strong: rgba(20, 14, 10, 0.16);
  --line-hover: rgba(20, 14, 10, 0.26);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-vis: 20px;
  --container: 1280px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-enter: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 88px;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: MiSans, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button, input {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 0;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
}
.skip-link:focus {
  top: 14px;
}

.container {
  width: min(var(--container), calc(100% - 80px));
  margin-inline: auto;
}

.icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ==================== Quiet Eyebrows, Buttons & Drawn Links (taste-skill) ==================== */
.vis-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: transform 150ms var(--ease), background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease);
}
.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
}
.btn-lg {
  height: 48px;
  padding: 0 26px;
  font-size: 15.5px;
}

.btn-primary,
.btn-orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-ink {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn-secondary,
.btn-white,
.btn-light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-1px);
  }
  .btn-primary:hover,
  .btn-orange:hover {
    background: #E55E00;
    border-color: #E55E00;
  }
  .btn-ink:hover {
    background: #281E17;
    border-color: #281E17;
  }
  .btn-secondary:hover,
  .btn-white:hover,
  .btn-light:hover {
    background: var(--paper);
    border-color: var(--line-hover);
  }
  .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.55);
  }
  .btn:hover .m-arrow,
  .link-inline:hover .m-arrow,
  .text-arrow:hover .m-arrow,
  .footer-secondary-link:hover .m-arrow {
    transform: translateX(3px);
  }
}

.btn:active {
  transform: translateY(1px) scale(0.985);
  transition-duration: 90ms;
}
.btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

.m-arrow {
  transition: transform 150ms var(--ease);
}

.text-arrow,
.link-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-bottom: 2px;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  transition: color 150ms var(--ease), background-size 180ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .text-arrow:hover,
  .link-inline:hover {
    color: var(--orange-deep);
    background-image: linear-gradient(var(--orange-deep), var(--orange-deep));
  }
}

/* ==================== Hero Load-Once Entrance (taste-skill motion.md) ==================== */
html.m-enter:not(.m-enter-ready):not(.m-enter-done) [data-enter] .hero-copy,
html.m-enter:not(.m-enter-ready):not(.m-enter-done) [data-enter] .sub-hero-copy {
  opacity: 0;
  transform: translateY(12px);
}
html.m-enter:not(.m-enter-ready):not(.m-enter-done) [data-enter] [data-enter-media],
html.m-enter:not(.m-enter-ready):not(.m-enter-done) [data-enter] .sub-hero-art {
  opacity: 0.92;
  transform: scale(0.985);
}
[data-enter] .hero-copy,
[data-enter] .sub-hero-copy {
  transition: opacity 560ms var(--ease-enter), transform 560ms var(--ease-enter);
}
[data-enter] [data-enter-media],
[data-enter] .sub-hero-art {
  transition: opacity 720ms var(--ease-enter), transform 720ms var(--ease-enter);
}

/* ==================== Header & Full-Width Mega Navigation (nav-mega / nav-cards) ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo img {
  width: 148px;
  height: auto;
}

.primary-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}
.nav-item {
  height: 100%;
  display: flex;
  align-items: center;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: color 150ms var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 160ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
  }
}
.has-mega.is-open > .nav-link::after {
  transform: scaleX(1);
  transform-origin: left center;
}
.nav-link[aria-current="page"],
.nav-link.is-active {
  color: var(--ink);
}
.nav-link[aria-current="page"]::after,
.nav-link.is-active::after {
  height: 2px;
  background: var(--orange);
  transform: scaleX(1);
}

.nav-caret {
  width: 13px;
  height: 13px;
  opacity: 0.55;
  transition: transform 180ms var(--ease);
}
.has-mega.is-open .nav-caret {
  transform: rotate(180deg);
}

/* Full-width flat architectural Mega Panel */
.nav-mega {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 24px 48px rgba(20, 14, 10, 0.05);
  padding: 28px 0 32px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 180ms;
  z-index: 98;
}
.has-mega.is-open .nav-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* nav-cards: 4 Language Picture Cards */
.nav-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.menu-card {
  display: flex;
  flex-direction: column;
  padding: 10px 10px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .menu-card:hover {
    transform: translateY(-2px);
    border-color: var(--line-hover);
  }
  .menu-card:hover .menu-card-arch {
    transform: scale(1.03);
  }
  .menu-card:hover .menu-card-duck {
    transform: translateY(-3px) scale(1.03);
  }
}
.menu-card-visual {
  position: relative;
  height: 132px;
  border-radius: 10px;
  background: var(--panel-warm);
  overflow: hidden;
  margin-bottom: 12px;
}
.menu-card-arch {
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 72%;
  height: 92%;
  object-fit: contain;
  transition: transform 420ms var(--ease);
}
.menu-card-duck {
  position: absolute;
  left: 8px;
  bottom: 2px;
  width: 48%;
  height: 84%;
  object-fit: contain;
  z-index: 2;
  transition: transform 320ms var(--ease);
}
.menu-card-meta {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink);
}
.menu-card-title {
  padding: 0 6px;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ink);
}
.menu-card-desc {
  padding: 2px 6px 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* nav-mega: Link Columns + Feature Card */
.nav-mega-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 32px;
  align-items: stretch;
}
.menu-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.menu-col-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 8px;
  padding-left: 12px;
}
.menu-col a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background-color 140ms var(--ease);
}
.menu-col a:hover,
.menu-col a[aria-current="page"] {
  background: var(--paper);
}
.menu-col a strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.menu-col a small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.menu-feature-card {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: border-color 180ms var(--ease), transform 180ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .menu-feature-card:hover {
    transform: translateY(-2px);
    border-color: var(--line-hover);
  }
}
.menu-feature-art {
  position: relative;
  height: 132px;
  border-radius: 10px;
  background: var(--panel-warm);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.menu-feature-art img:first-child:not(.is-solo) {
  position: absolute;
  right: -6px;
  bottom: -2px;
  width: 78%;
  height: 90%;
  object-fit: contain;
}
.menu-feature-art img:last-child:not(.is-solo) {
  position: absolute;
  left: 4px;
  bottom: 2px;
  width: 56%;
  height: 84%;
  object-fit: contain;
  z-index: 2;
}
.menu-feature-art img.is-solo {
  width: 112px;
  height: 112px;
  object-fit: contain;
}
.menu-feature-copy .menu-col-label {
  padding-left: 0;
  margin-bottom: 4px;
  display: block;
  color: var(--orange-deep);
}
.menu-feature-copy strong {
  display: block;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}
.menu-feature-copy small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.header-actions .btn {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}
.menu-trigger {
  display: none;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
}

/* ==================== Breadcrumbs ==================== */
.breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
  font-size: 13px;
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.breadcrumb-list li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line-strong);
}
.breadcrumb-list a:hover {
  color: var(--ink);
}
.breadcrumb-list li[aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

/* ==================== Homepage Full-Bleed Chongya Orange Hero (VIS 60/25/15) ==================== */
.brand-hero {
  background:
    radial-gradient(52% 68% at 74% 40%, rgba(255, 168, 92, 0.55) 0%, rgba(254, 105, 0, 0) 100%),
    var(--orange);
  color: var(--white);
  padding: 46px 0 46px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.hero-kicker-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 5px 15px 5px 6px;
  border-radius: 999px;
  background: rgba(20, 14, 10, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  margin-bottom: 20px;
}
.hero-kicker-pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero-seo-h1 {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  margin: 0;
}

.hero-display {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: clamp(50px, 5.5vw, 76px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--white);
  margin-bottom: 22px;
}
.hd-line-ink {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--white);
}
/* VIS Manual p18/p19 Signature Playful Tilted Ink Pill */
.hd-vis-badge {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 13px;
  border-radius: 999px 999px 999px 4px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-6px) rotate(-3deg);
  box-shadow: 0 10px 22px rgba(20, 14, 10, 0.22);
}
.hd-line-orange {
  color: var(--white);
  display: inline-flex;
  align-items: baseline;
}
.hd-underline {
  font-style: normal;
  position: relative;
  display: inline-block;
}
.hd-underline svg {
  position: absolute;
  left: -2%;
  bottom: -6px;
  width: 104%;
  height: 13px;
  overflow: visible;
}
.hd-underline svg path {
  stroke: var(--ink);
}

.hero-lead {
  font-size: 16.5px;
  line-height: 1.76;
  color: rgba(255, 255, 255, 0.94);
  max-width: 548px;
  margin-bottom: 22px;
}
.hero-lead strong {
  font-weight: 600;
  color: var(--white);
  background: rgba(20, 14, 10, 0.18);
  border-radius: 5px;
  padding: 1px 6px;
}

/* Structured 3-Column Trust & Pass-Rate Bar on Chongya Orange */
.hero-proof-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 536px;
  padding: 14px 18px;
  margin-bottom: 28px;
  border-radius: 16px;
  background: rgba(20, 14, 10, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(6px);
}
.hero-proof-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-proof-item + .hero-proof-item {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}
.hero-proof-item strong {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.hero-proof-item strong small {
  font-size: 14px;
  font-weight: 600;
  color: #FFE4BF;
  margin-left: 1px;
}
.hero-proof-item span {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.brand-hero .hero-cta-group .btn-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(20, 14, 10, 0.22);
}
.brand-hero .hero-cta-group .btn-primary:hover {
  background: #271C15;
  border-color: #271C15;
}
.brand-hero .hero-cta-group .btn-secondary {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(20, 14, 10, 0.1);
}
.brand-hero .hero-cta-group .btn-secondary:hover {
  background: #FFF6ED;
  border-color: #FFF6ED;
}

@keyframes duck-pop {
  0% { transform: scale(1); }
  45% { transform: translateY(-8px) scale(1.03); }
  100% { transform: scale(1); }
}

.speech-card {
  position: absolute;
  z-index: 4;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: 0 10px 26px rgba(20, 14, 10, 0.06);
  border-radius: 14px;
  padding: 12px 16px;
}
.speech-card small {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--orange-deep);
}
.speech-card strong {
  display: block;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 2px;
}
.speech-card span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 3px;
}
.speech-primary {
  top: 16px;
  left: 16px;
  max-width: 248px;
}

/* 5 Signature Chongya VIS Cultural Portal Cards (VIS p04 / p13 / p18) */
.hero-portals {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 38px;
}
.portal-pill {
  position: relative;
  overflow: hidden;
  min-height: 148px;
  padding: 18px 18px 18px;
  border-radius: 20px;
  background: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(20, 14, 10, 0.14);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease);
}
.portal-pill::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--ink);
  opacity: 0.12;
  transition: height 180ms var(--ease), opacity 180ms var(--ease);
}
.portal-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
  position: relative;
  z-index: 2;
}
.portal-capsule {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #FFE5CF;
  color: var(--orange-deep);
  font-size: 11.5px;
  font-weight: 600;
}
.portal-go {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid #F0D2B8;
  color: var(--orange);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}
.portal-go .icon {
  width: 13px;
  height: 13px;
}
.portal-pill strong {
  position: relative;
  z-index: 2;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.portal-pill i {
  position: relative;
  z-index: 2;
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
  max-width: 72%;
  line-height: 1.45;
}
/* VIS p04/p13 Arch Sun Halo + Peeking Costumed Chongchongya */
.portal-duck-peek {
  position: absolute;
  right: -8px;
  bottom: -10px;
  width: 82px;
  height: 82px;
  border-radius: 50% 50% 0 0;
  background: #FFE6CF;
  display: grid;
  place-items: end center;
  pointer-events: none;
  z-index: 1;
  transition: transform 240ms var(--ease), background-color 240ms var(--ease);
}
.portal-duck-peek img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  transform: translateY(2px);
  transition: transform 240ms var(--ease);
}
/* VIS Breathable-Black Accent Card for 5th Card on Chongya Orange Hero */
.portal-pill.is-global-brand {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(20, 14, 10, 0.28);
}
.portal-pill.is-global-brand::before {
  background: var(--orange);
  opacity: 1;
}
.portal-pill.is-global-brand .portal-capsule {
  background: var(--orange);
  color: var(--white);
}
.portal-pill.is-global-brand .portal-go {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}
.portal-pill.is-global-brand strong {
  color: var(--white);
}
.portal-pill.is-global-brand i {
  color: rgba(255, 255, 255, 0.82);
}
.portal-pill.is-global-brand .portal-duck-peek {
  background: rgba(254, 105, 0, 0.26);
}
@media (hover: hover) and (pointer: fine) {
  .portal-pill:hover {
    transform: translateY(-4px);
    border-color: var(--white);
    box-shadow: 0 20px 38px rgba(20, 14, 10, 0.22);
  }
  .portal-pill:hover::before {
    opacity: 1;
  }
  .portal-pill:hover .portal-go {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
  }
  .portal-pill.is-global-brand:hover {
    border-color: #36281F;
  }
  .portal-pill.is-global-brand:hover .portal-go {
    background: var(--orange);
    border-color: var(--orange);
  }
  .portal-pill:hover .portal-duck-peek img {
    transform: translateY(-4px) scale(1.06);
  }
}

/* ==================== Sub-Hero & Sub-Brand Lockup (Editorial Studio Split) ==================== */
.sub-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 40px 0 46px;
}
.sub-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 36px;
  align-items: center;
}
.subbrand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--ink);
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  margin-bottom: 16px;
  margin-right: 12px;
  vertical-align: middle;
}
.subbrand-duck {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.subbrand-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.15;
}
.subbrand-text span {
  display: block;
  font-size: 9.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.sub-hero h1 {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin: 12px 0 16px;
}
.sub-hero-lead {
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--text);
  margin-bottom: 28px;
  max-width: 620px;
}
.sub-hero-card {
  position: relative;
  background: var(--panel-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.sub-hero-duck {
  max-height: 230px;
  width: auto;
  object-fit: contain;
}
.sub-hero-links {
  width: 100%;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
}
.sub-hero-links a:hover {
  color: var(--orange-deep);
}

.anchor-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.anchor-pills a {
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  transition: border-color 150ms var(--ease), color 150ms var(--ease);
}
.anchor-pills a:hover {
  border-color: var(--ink);
}

/* ==================== Sections & Clean Editorial Headings ==================== */
.section {
  padding: 96px 0;
}
.section-paper {
  background: var(--paper);
}
.section-ink {
  background: var(--ink);
  color: var(--white);
}
.section-orange {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}
.section-header h2,
.faq-intro h2,
.authority-col h2,
.journal-col h2,
.brand-story-grid h2,
.timeline-header h2,
.contact-info-col h2,
.filter-bar-row h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.025em;
}
.section-lead {
  margin-top: 12px;
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.section-ink .section-lead {
  color: rgba(255, 255, 255, 0.72);
}

/* ==================== Grids & Clean Two-Level Cards (cards.md) ==================== */
.program-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.program-row-three,
.three-col-grid,
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.four-col-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.bento-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1.5px solid #EFD8C4;
  border-radius: 22px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(20, 14, 10, 0.03);
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), transform 180ms var(--ease);
}
.bento-featured {
  background: linear-gradient(180deg, #FFF9F3 0%, #FFFFFF 100%);
  border-top: 4px solid var(--orange);
}
@media (hover: hover) and (pointer: fine) {
  .bento-card:hover {
    border-color: var(--line-hover);
    box-shadow: 0 12px 30px rgba(20, 14, 10, 0.05);
    transform: translateY(-2px);
  }
}
.bento-orange-card {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: 0 12px 28px rgba(254, 105, 0, 0.2);
}
.bento-orange-card .vis-pill {
  background: var(--ink);
  color: var(--white);
}
.bento-orange-card h3 {
  color: var(--white);
}
.bento-orange-card p {
  color: rgba(255, 255, 255, 0.8);
}
.bento-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.bento-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 11px;
  border-radius: 999px;
  background: #FFE8D4;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange-deep);
}
.bento-card h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 6px;
}
.bento-card h3 small {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 8px;
}
.bento-tagline {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 6px;
}
.bento-summary,
.bento-card > p {
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--text);
}
.bento-orange-card > p,
.bento-orange-card p {
  color: rgba(255, 255, 255, 0.82);
}
.bento-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bento-chips span {
  padding: 5px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  color: var(--text);
}
.bento-links {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.bento-compact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.bento-inline-links {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  font-weight: 500;
}
.bento-inline-links a {
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
.bento-inline-links a:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* ==================== Heartflow Methodology (Dark Contrasting Band) ==================== */
.method-showcase {
  display: grid;
  grid-template-columns: 1.32fr 0.68fr;
  gap: 28px;
  align-items: stretch;
}
.method-steps {
  display: grid;
  gap: 16px;
}
.five-step-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.method-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  padding: 26px 28px;
}
.step-index {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--orange);
  margin-bottom: 6px;
}
.method-card h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
}
.method-card p {
  font-size: 15px;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.76);
}
.method-visual {
  background: var(--orange);
  border: 1px solid var(--orange);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 18px 40px rgba(254, 105, 0, 0.24);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}
.method-caption {
  margin-top: 18px;
}
.method-caption strong {
  display: block;
  font-size: 20px;
  font-weight: 600;
}
.method-caption span {
  display: block;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 4px;
}

/* ==================== Clean Specification & Pricing Tables ==================== */
.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
}
.vis-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
  min-width: 720px;
}
.vis-table thead tr {
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}
.vis-table th {
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.vis-table td {
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  color: var(--text);
  vertical-align: middle;
}
.vis-table tbody tr:hover {
  background: #FCFAF8;
}
.vis-table td strong {
  font-weight: 500;
  color: var(--ink);
}
.vis-table td strong a:hover {
  color: var(--orange-deep);
}
.table-pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
}
.price-cell {
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ==================== Feature, Pain-Point & Pathway Cards ==================== */
.vis-pain-card,
.vis-feature-card,
.region-card,
.pathway-card {
  background: var(--white);
  border: 1.5px solid #EFE0D2;
  border-top: 3.5px solid var(--orange);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(20, 14, 10, 0.025);
  transition: border-color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .region-card:hover,
  .pathway-card:hover {
    border-color: var(--line-hover);
    transform: translateY(-2px);
  }
}
.card-num {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}
.vis-feature-card > b {
  font-size: 14px;
  font-weight: 600;
  color: var(--orange-deep);
}
.vis-pain-card h3,
.vis-feature-card h3,
.region-card h3,
.pathway-card h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.vis-pain-card p,
.vis-feature-card p,
.region-card p,
.pathway-card p {
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--text);
}
.region-card small,
.pathway-card small {
  font-size: 12.5px;
  color: var(--muted);
}
.region-card .text-arrow {
  margin-top: auto;
  padding-top: 8px;
  width: fit-content;
}
.large-point {
  font-size: 16px !important;
  color: var(--ink) !important;
  font-weight: 500;
}

/* ==================== Faculty Open Portraits ==================== */
.teacher-showcase-grid,
.faculty-full-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.teacher-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 180ms var(--ease), transform 180ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .teacher-card:hover {
    border-color: var(--line-hover);
    transform: translateY(-2px);
  }
  .teacher-card:hover .teacher-photo img {
    transform: scale(1.025);
  }
}
.teacher-photo {
  position: relative;
  background: var(--panel-warm);
  aspect-ratio: 1.05 / 1;
  overflow: hidden;
}
.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  transition: transform 520ms var(--ease);
}
.teacher-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
}
.teacher-idx {
  display: none;
}
.teacher-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.teacher-info h3 {
  font-size: 20px;
  font-weight: 500;
}
.teacher-edu {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.teacher-tags {
  font-size: 13px;
  color: var(--orange-deep);
}
.teacher-bio {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.68;
  margin-top: 2px;
}
.teacher-more {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.teacher-more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.teacher-more summary::-webkit-details-marker {
  display: none;
}
.teacher-more p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--text);
}

/* ==================== Course Center SKU Cards (Two-Level Lit Panel) ==================== */
.filter-bar-row,
.faculty-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}
.pill-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-pill {
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease);
}
.filter-pill:hover {
  border-color: var(--ink);
}
.filter-pill[aria-pressed="true"],
.filter-pill[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.sku-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sku-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 10px;
  display: flex;
  flex-direction: column;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), transform 180ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .sku-card:hover {
    border-color: var(--line-hover);
    box-shadow: 0 12px 30px rgba(20, 14, 10, 0.05);
    transform: translateY(-2px);
  }
  .sku-card:hover .sku-duck {
    transform: translateY(-3px) scale(1.04);
  }
}
.sku-cover {
  background: linear-gradient(135deg, #FE6900 0%, #FF8328 100%);
  color: var(--white);
  padding: 20px 22px 16px;
  border-radius: 14px;
}
.sku-cover-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.sku-cat {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--white);
  background: var(--ink);
  padding: 3px 10px;
  border-radius: 999px;
}
.sku-badge {
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 999px;
}
.sku-cover-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sku-level {
  display: block;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
}
.sku-sub {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.86);
  margin-top: 4px;
}
.sku-duck {
  width: 92px;
  height: 92px;
  object-fit: contain;
  transition: transform 320ms var(--ease);
}
.sku-body {
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.sku-body h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}
.sku-body h3 a:hover {
  color: var(--orange-deep);
}
.sku-meta {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--orange-deep);
}
.sku-desc {
  font-size: 14.5px;
  color: var(--text);
}
.sku-points {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}
.sku-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}
.sku-points .icon {
  color: var(--orange);
  margin-top: 4px;
}
.sku-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.sku-price small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.sku-price strong {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.sku-btns {
  display: flex;
  gap: 8px;
}

.course-detail-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 24px;
}
.course-detail-specs dt {
  font-size: 12.5px;
  color: var(--muted);
}
.course-detail-specs dd {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.spec-price {
  font-size: 22px !important;
  font-weight: 600 !important;
  color: var(--orange-deep) !important;
}
.syllabus-list {
  display: grid;
  gap: 12px;
}
.syllabus-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 20px;
  align-items: center;
}
.syllabus-idx {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--orange-deep);
  background: var(--orange-soft);
  padding: 6px 12px;
  border-radius: 6px;
  text-align: center;
}

/* ==================== Interactive Tools (50yin, 40yin, Phrases, Apps) ==================== */
.vis-tool-card,
.app-download-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 180ms var(--ease), transform 180ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .vis-tool-card:hover,
  .app-download-card:hover {
    border-color: var(--line-hover);
    transform: translateY(-2px);
  }
}
.tool-symbol {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--orange);
  color: var(--white);
  font-size: 26px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(254, 105, 0, 0.24);
}
.tool-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.tool-content h3 {
  font-size: 21px;
  font-weight: 500;
}
.tool-content p {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.68;
}
.tool-content .btn {
  margin-top: auto;
  width: fit-content;
}

.phrase-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.phrase-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.phrase-foreign {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
}
.phrase-cn {
  font-size: 15px;
  font-weight: 500;
  color: var(--orange-deep);
  margin-top: 6px;
}
.phrase-card small {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 6px;
}
.speak-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  transition: background-color 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease);
}
.speak-btn:hover,
.speak-btn.is-speaking {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.kana-status {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 24px;
}
.kana-table-wrap {
  display: grid;
  gap: 10px;
}
.kana-cols-head,
.kana-row {
  display: grid;
  grid-template-columns: 76px repeat(5, 1fr);
  gap: 10px;
  align-items: stretch;
}
.kana-cols-head span {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding-bottom: 4px;
}
.kana-row-label {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 13.5px;
  font-weight: 500;
}
.kana-cell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: border-color 150ms var(--ease), transform 150ms var(--ease), background-color 150ms var(--ease);
}
.kana-cell:not(.is-empty):hover,
.kana-cell.is-speaking {
  border-color: var(--orange);
  background: var(--panel-warm);
  transform: translateY(-2px);
}
.kana-cell.is-empty {
  background: transparent;
  border-style: dashed;
  opacity: 0.35;
}
.k-hira {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.15;
}
.k-kata {
  font-style: normal;
  font-size: 14px;
  color: var(--muted);
}
.k-roma {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--orange-deep);
}
[data-kana-board][data-mode="hira"] .k-kata { display: none; }
[data-kana-board][data-mode="kata"] .k-hira { display: none; }
[data-kana-board][data-mode="kata"] .k-kata { font-size: 26px; font-weight: 500; color: var(--ink); }

.hangul-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.hangul-card {
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 160ms var(--ease), transform 160ms var(--ease);
}
.hangul-card:hover,
.hangul-card.is-speaking {
  border-color: var(--orange);
  background: var(--panel-warm);
  transform: translateY(-2px);
}
.hangul-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.hangul-top strong {
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
}
.hangul-top span {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--orange-deep);
}
.hangul-word {
  font-size: 15.5px;
  font-weight: 500;
}
.hangul-card small {
  font-size: 13px;
  color: var(--muted);
}

/* ==================== Chongchongya Interactive Quiz Theater & Multi-Mode Arena ==================== */
.quiz-hub-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.quiz-hub-duck {
  width: 88px;
  height: 88px;
  object-fit: contain;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.quiz-hub-card:hover .quiz-hub-duck {
  transform: translateY(-6px) rotate(-4deg) scale(1.06);
}

.quiz-arena-section {
  padding-top: 44px;
}
.quiz-stage-wrap {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  align-items: stretch;
}

.quiz-mascot-theater {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: none;
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.quiz-mascot-theater[data-mood="correct"],
.quiz-mascot-theater[data-mood="streak"],
.quiz-mascot-theater[data-mood="trophy"] {
  background: linear-gradient(180deg, #fff3e6 0%, #ffe4c8 100%);
}
.quiz-mascot-theater[data-mood="wrong"] {
  background: #fdf4f0;
}

.quiz-confetti {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.theater-hud {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hud-pill {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1.5px solid var(--ink);
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.hud-pill.is-hot {
  background: var(--orange);
  color: var(--white);
  animation: pulse-hot 0.55s ease;
}
@keyframes pulse-hot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
.hud-sound-btn {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: var(--white);
  font-size: 12px;
  font-weight: 600;
}
.hud-sound-btn:hover {
  border-color: var(--ink);
}

.duck-speech-bubble {
  position: relative;
  z-index: 3;
  margin-top: 14px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 18px 18px 18px 4px;
  box-shadow: none;
  padding: 12px 15px;
}
.duck-speech-bubble strong {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--orange-deep);
  margin-bottom: 3px;
}
.duck-speech-bubble p {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
}

.duck-character-wrap {
  position: relative;
  z-index: 2;
  height: 255px;
  display: grid;
  place-items: center;
  margin: 8px 0;
}
.duck-aura {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 105, 0, 0.24) 0%, rgba(254, 105, 0, 0) 70%);
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.quiz-mascot-theater[data-mood="streak"] .duck-aura,
.quiz-mascot-theater[data-mood="trophy"] .duck-aura {
  transform: scale(1.32);
  background: radial-gradient(circle, rgba(254, 105, 0, 0.44) 0%, rgba(254, 105, 0, 0) 72%);
}
.duck-sprite-img {
  position: relative;
  width: 235px;
  height: 235px;
  object-fit: contain;
  animation: duck-idle-float 3.2s ease-in-out infinite;
  transform-origin: 50% 85%;
}
@keyframes duck-idle-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(-1.5deg); }
}
.quiz-mascot-theater[data-mood="listen"] .duck-sprite-img {
  animation: duck-listen-bob 1.2s ease-in-out infinite;
}
@keyframes duck-listen-bob {
  0%, 100% { transform: translateY(0) rotate(-3deg) scale(1); }
  50% { transform: translateY(-5px) rotate(3deg) scale(1.03); }
}
.quiz-mascot-theater[data-mood="correct"].is-animating .duck-sprite-img {
  animation: duck-cheer-jump 0.68s cubic-bezier(0.22, 1.2, 0.36, 1);
}
@keyframes duck-cheer-jump {
  0% { transform: scale(0.92, 1.06) translateY(8px); }
  38% { transform: scale(1.08, 0.96) translateY(-22px) rotate(-4deg); }
  68% { transform: scale(0.98, 1.02) translateY(3px) rotate(3deg); }
  100% { transform: scale(1) translateY(0) rotate(0); }
}
.quiz-mascot-theater[data-mood="streak"].is-animating .duck-sprite-img {
  animation: duck-super-dash 0.72s cubic-bezier(0.2, 1.15, 0.35, 1);
}
@keyframes duck-super-dash {
  0% { transform: translateX(-18px) scale(0.9); }
  45% { transform: translateX(8px) translateY(-16px) rotate(5deg) scale(1.1); }
  100% { transform: translateX(0) translateY(0) rotate(0) scale(1); }
}
.quiz-mascot-theater[data-mood="wrong"].is-animating .duck-sprite-img {
  animation: duck-dizzy-wobble 0.56s ease;
}
@keyframes duck-dizzy-wobble {
  0%, 100% { transform: translateX(0) rotate(0); }
  20% { transform: translateX(-10px) rotate(-6deg); }
  45% { transform: translateX(9px) rotate(5deg); }
  70% { transform: translateX(-5px) rotate(-3deg); }
}
.quiz-mascot-theater[data-mood="trophy"] .duck-sprite-img {
  animation: duck-trophy-glow 2.2s ease-in-out infinite;
}
@keyframes duck-trophy-glow {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-9px) scale(1.04); }
}

.theater-meta {
  position: relative;
  z-index: 2;
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
}
.theater-meta h1 {
  font-size: 21px;
  line-height: 1.25;
}
.theater-meta p {
  font-size: 12.5px;
  color: var(--muted);
  margin: 4px 0 8px;
}

/* Right Arena Box */
.quiz-engine-box {
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: none;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
}
.quiz-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.quiz-step-dots {
  display: flex;
  gap: 8px;
  flex: 1;
}
.step-dot {
  flex: 1;
  max-width: 56px;
  height: 28px;
  border-radius: 8px;
  border: 1.5px solid var(--line-strong);
  background: var(--paper);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}
.step-dot.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}
.step-dot.is-done {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
}
.step-dot.is-miss {
  border-color: #d97706;
  background: #fef3c7;
  color: #92400e;
}
.quiz-step-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.quiz-intro-card {
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.quiz-intro-card h2 {
  font-size: 28px;
  line-height: 1.25;
}
.quiz-intro-card p {
  color: var(--muted);
  max-width: 560px;
}
.mode-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 8px;
}
.mode-badges li {
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  font-size: 13px;
  font-weight: 700;
}

.stage-card-enter {
  animation: stage-slide-in 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes stage-slide-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.stage-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.mode-chip {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
}
.stage-prompt {
  font-size: 22px;
  line-height: 1.38;
  margin-bottom: 20px;
  outline: none;
}

/* Mode 1: Tap-to-Match Pairs */
.pairs-board {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 16px;
}
.pairs-col {
  display: grid;
  gap: 11px;
}
.pair-tile {
  padding: 14px 16px;
  border-radius: 14px;
  border: 2px solid var(--line-strong);
  background: var(--white);
  text-align: left;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.pair-tile.is-foreign strong {
  font-size: 22px;
}
.pair-tile.is-foreign small {
  font-size: 11.5px;
  color: var(--orange-deep);
}
.pair-tile:hover:not(:disabled) {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.pair-tile.is-selected {
  border-color: var(--orange);
  background: var(--paper);
  box-shadow: none;
}
.pair-tile.is-matched {
  border-color: #16a34a;
  background: #f0fdf4;
  color: #166534;
  opacity: 0.86;
}
.pair-tile.is-shake {
  border-color: #dc2626;
  background: #fef2f2;
  animation: tile-shake 0.38s ease;
}
@keyframes tile-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-7px); }
  75% { transform: translateX(7px); }
}

/* Mode 2: Audio Blindbox */
.listen-stage-box {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.soundwave-bars {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
}
.soundwave-bars i {
  display: block;
  width: 6px;
  height: 12px;
  border-radius: 999px;
  background: var(--orange);
  transition: height 0.2s ease;
}
.soundwave-bars i:nth-child(odd) {
  height: 22px;
}
.listen-stage-box.is-playing .soundwave-bars i {
  animation: eq-bounce 0.48s ease-in-out infinite alternate;
}
.listen-stage-box.is-playing .soundwave-bars i:nth-child(2n) { animation-delay: 0.12s; }
.listen-stage-box.is-playing .soundwave-bars i:nth-child(3n) { animation-delay: 0.24s; }
@keyframes eq-bounce {
  from { height: 8px; }
  to { height: 34px; }
}
.listen-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.listen-hint {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-deep);
  background: var(--white);
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px dashed var(--orange);
}

/* Mode 3: Word-Tile Builder */
.order-target-note {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange-deep);
  margin-bottom: 10px;
}
.order-answer-tray {
  min-height: 68px;
  padding: 14px;
  border-radius: 16px;
  border: 2px dashed var(--ink);
  background: var(--paper);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.order-answer-tray.is-ok {
  border-style: solid;
  border-color: #16a34a;
  background: #f0fdf4;
}
.order-answer-tray.is-err {
  border-style: solid;
  border-color: #dc2626;
  background: #fef2f2;
}
.tray-placeholder {
  font-size: 13.5px;
  color: var(--muted);
}
.order-tile-bank {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.word-chip {
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.14s ease, opacity 0.14s ease;
}
.word-chip:hover:not(:disabled) {
  transform: translateY(-2px);
  background: var(--orange-soft);
}
.word-chip.is-placed {
  background: var(--orange);
  color: var(--white);
}
.word-chip.is-used {
  opacity: 0.28;
  box-shadow: none;
  transform: none;
}
.order-actions {
  display: flex;
  gap: 12px;
}

/* Mode 4: Blank Capsule Fill */
.fill-sentence-card {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  margin-bottom: 18px;
}
.fill-sentence-main {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.fill-blank-slot {
  display: inline-grid;
  place-items: center;
  min-width: 64px;
  padding: 4px 16px;
  border-radius: 12px;
  border: 2px dashed var(--orange);
  background: var(--white);
  color: var(--orange-deep);
}
.fill-blank-slot.is-ok {
  border-style: solid;
  border-color: #16a34a;
  background: #16a34a;
  color: var(--white);
}
.fill-blank-slot.is-err {
  border-style: solid;
  border-color: #dc2626;
  background: #dc2626;
  color: var(--white);
}
.fill-sentence-sub {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 10px;
}
.fill-pills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.fill-pill-btn {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 22px;
  font-weight: 700;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.fill-pill-btn:hover {
  transform: translateY(-2px);
  background: var(--paper);
}
.fill-pill-btn.is-correct {
  background: #16a34a;
  border-color: #16a34a;
  color: var(--white);
}
.fill-pill-btn.is-wrong {
  background: #fef2f2;
  border-color: #dc2626;
  color: #dc2626;
}

/* Mode 5: Chat Messenger Roleplay */
.chat-sim-window {
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper);
}
.chat-sim-header {
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  font-size: 12.5px;
  font-weight: 700;
}
.chat-sim-stream {
  padding: 18px;
  display: grid;
  gap: 12px;
}
.chat-bubble-row {
  display: flex;
}
.chat-bubble-row.is-user {
  justify-content: flex-end;
}
.chat-bubble {
  max-width: 84%;
  padding: 12px 16px;
  border-radius: 16px 16px 16px 4px;
  background: var(--white);
  border: 1.5px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(20, 14, 10, 0.12);
  animation: stage-slide-in 0.22s ease;
}
.chat-bubble-row.is-user .chat-bubble {
  border-radius: 16px 16px 4px 16px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
}
.chat-bubble.is-err {
  background: #dc2626 !important;
}
.chat-npc-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.chat-npc-line strong {
  font-size: 16px;
}
.chat-voice-btn {
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 12px;
}
.chat-bubble small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.chat-reply-options {
  background: var(--white);
  border-top: 1.5px solid var(--line);
  padding: 14px 18px;
  display: grid;
  gap: 8px;
}
.chat-reply-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.chat-reply-btn {
  text-align: left;
  padding: 11px 15px;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
  background: var(--paper);
  font-size: 15px;
  font-weight: 700;
  transition: all 0.15s ease;
}
.chat-reply-btn:hover {
  border-color: var(--orange);
  background: var(--white);
  transform: translateX(4px);
}

/* Tactile Option Cards */
.tactile-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tactile-options-grid.is-single-col {
  grid-template-columns: 1fr;
}
.tactile-opt-card {
  text-align: left;
  padding: 14px 16px;
  border-radius: 14px;
  border: 2px solid var(--line-strong);
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.15s ease;
}
.tactile-opt-card:hover {
  border-color: var(--orange);
  background: var(--paper);
  transform: translateY(-2px);
}
.opt-key {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.tactile-opt-card strong {
  font-size: 14.5px;
  line-height: 1.4;
}
.tactile-opt-card.is-correct {
  border-color: #16a34a;
  background: #f0fdf4;
}
.tactile-opt-card.is-correct .opt-key {
  background: #16a34a;
  border-color: #16a34a;
  color: var(--white);
}
.tactile-opt-card.is-wrong {
  border-color: #dc2626;
  background: #fef2f2;
}

/* Stage Feedback Banner */
.stage-feedback {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  display: grid;
  gap: 10px;
  animation: stage-slide-in 0.25s ease;
}
.stage-feedback.is-ok {
  border-color: #16a34a;
  background: #f0fdf4;
}
.stage-feedback.is-err {
  border-color: var(--orange);
  background: #fff7ed;
}
.stage-feedback-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.stage-feedback-head strong {
  font-size: 16px;
}
.mini-audio-btn {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
}
.stage-feedback p {
  font-size: 13.5px;
  color: var(--ink);
}
.stage-feedback .btn {
  width: fit-content;
  margin-top: 4px;
}

/* Result & Learning Style DNA Bars */
.quiz-score {
  font-size: 42px;
  font-weight: 700;
  color: var(--orange-deep);
  margin: 8px 0;
}
.dna-bars {
  margin: 18px 0 22px;
  display: grid;
  gap: 10px;
  background: var(--paper);
  padding: 16px 18px;
  border-radius: 14px;
  border: 1.5px solid var(--line-strong);
}
.dna-row {
  display: grid;
  grid-template-columns: 92px 1fr 44px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
}
.dna-track {
  height: 10px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.dna-track i {
  display: block;
  height: 100%;
  background: var(--orange);
  border-radius: 999px;
}
.missed-box {
  background: var(--paper);
  padding: 16px;
  border-radius: 12px;
  margin: 16px 0;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
}

.study-sheet {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 26px;
}
.study-sheet summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.sheet-list {
  margin-top: 18px;
  display: grid;
  gap: 14px;
  padding-left: 20px;
  list-style: decimal;
}

/* ==================== Authority, Journal, Timeline & About ==================== */
.dual-authority {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}
.mini-awards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 22px;
}
.mini-awards figure,
.honor-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}
.mini-awards img,
.honor-card img {
  width: 100%;
  height: 148px;
  object-fit: contain;
  background: var(--white);
  border-radius: 10px;
  padding: 10px;
}
.mini-awards figcaption,
.honor-card figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 500;
  text-align: center;
}
.honor-card figcaption span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}

.compact-news-list {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.compact-news-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.news-pill {
  padding: 2px 9px;
  border-radius: 5px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  flex-shrink: 0;
}
.compact-news-item a {
  flex: 1;
  font-weight: 500;
  font-size: 15.5px;
  color: var(--ink);
  transition: color 150ms var(--ease);
}
.compact-news-item a:hover {
  color: var(--orange-deep);
}
.compact-news-item time {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.journal-more {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.article-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 180ms var(--ease), transform 180ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .article-card:hover {
    border-color: var(--line-hover);
    transform: translateY(-2px);
  }
}
.article-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}
.article-card-meta span {
  font-weight: 500;
  color: var(--orange-deep);
}
.article-card h3 {
  font-size: 20px;
  font-weight: 500;
}
.article-card h3 a:hover {
  color: var(--orange-deep);
}
.article-card p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.68;
}

.archive-list {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.archive-list li + li {
  border-top: 1px solid var(--line);
}
.archive-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  font-size: 15.5px;
  font-weight: 500;
}
.archive-list a:hover {
  background: var(--paper);
  color: var(--orange-deep);
}
.archive-list i {
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
  flex-shrink: 0;
}

.brand-story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.corp-facts {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  padding-top: 20px;
}
.corp-facts > div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  font-size: 15px;
}
.corp-facts dt {
  color: var(--muted);
}
.corp-facts dd {
  font-weight: 500;
  color: var(--ink);
}
.brand-photos {
  display: grid;
  gap: 20px;
}
.photo-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.photo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.photo-card figcaption {
  padding: 12px 18px;
  font-size: 13px;
  color: var(--muted);
}

/* Milestones Track */
.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 32px;
}
.timeline-nav {
  display: flex;
  gap: 10px;
}
.timeline-nav button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  font-size: 17px;
  transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
.timeline-nav button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.milestone-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  scrollbar-width: thin;
}
.milestone-card {
  flex: 0 0 336px;
  scroll-snap-align: start;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.milestone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.milestone-top span {
  font-size: 12px;
  font-weight: 500;
  color: var(--orange-deep);
}
.milestone-top time {
  font-size: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.milestone-img {
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
}
.milestone-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.milestone-card h3 {
  font-size: 18px;
  font-weight: 500;
}
.milestone-card p {
  font-size: 14.5px;
  color: var(--text);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  width: min(320px, 100%);
}
.search-box input {
  border: 0;
  background: transparent;
  width: 100%;
  font-size: 14px;
  outline: none;
}
.search-status {
  font-size: 14px;
  color: var(--orange-deep);
  margin-bottom: 16px;
}
.faculty-dept + .faculty-dept {
  margin-top: 48px;
}
.dept-bar {
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.dept-bar h3 {
  font-size: 24px;
  font-weight: 500;
  display: inline;
  margin-right: 12px;
}
.dept-bar span {
  font-size: 14px;
  color: var(--muted);
}

.contact-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.contact-qr-col,
.consult-qrs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: center;
}
.contact-qr-col figure,
.consult-qrs figure {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.contact-qr-col img,
.consult-qrs img {
  width: 148px;
  height: 148px;
  object-fit: contain;
}
.contact-qr-col figcaption strong,
.consult-qrs figcaption strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.contact-qr-col figcaption span,
.consult-qrs figcaption span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.app-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.app-card-head h3 {
  font-size: 21px;
  font-weight: 500;
}
.app-card-head span {
  font-size: 13px;
  color: var(--muted);
}
.app-qr-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  padding: 12px;
  border-radius: 12px;
  font-size: 13px;
  color: var(--muted);
}
.app-qr-row img {
  width: 76px;
  height: 76px;
  background: var(--white);
  padding: 4px;
  border-radius: 8px;
}
.app-btns {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.muted-note {
  font-size: 13px;
  color: var(--muted);
}

/* ==================== Open FAQ Split (sections-library.md: faq) ==================== */
.faq-split {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 64px;
  align-items: start;
}
.faq-intro p {
  font-size: 16px;
  color: var(--muted);
  margin: 14px 0 24px;
  line-height: 1.7;
}
.faq-open-list {
  border-top: 1px solid var(--line-strong);
}
.faq-open-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line-strong);
}
.faq-open-item h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.faq-open-item p {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--text);
}

/* ==================== Unified Closing & Dark Architectural Footer (footer--dark) ==================== */
.site-footer.footer--dark {
  background: var(--ink);
  color: #F4F1EE;
  padding: 0 0 36px;
}
.closing__cta {
  padding: 72px 0 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.closing__copy {
  max-width: 640px;
}
.closing__copy h2 {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--white);
}
.closing__copy p {
  margin-top: 10px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.66);
}
.closing__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}
.footer-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: color 150ms var(--ease), border-color 150ms var(--ease);
}
.footer-secondary-link:hover {
  color: var(--white);
  border-color: var(--white);
}

.footer-main {
  padding: 56px 0 48px;
  display: grid;
  grid-template-columns: 1.55fr repeat(4, 1fr);
  gap: 32px;
}
.footer-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.footer-brand-duck {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.footer-wordmark strong {
  display: block;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.02em;
}
.footer-wordmark span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
}
.footer-lede {
  margin-top: 16px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 300px;
}
.footer-meta-list {
  margin-top: 20px;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
}
.footer-meta-list > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-meta-list dt {
  color: rgba(255, 255, 255, 0.48);
}
.footer-meta-list dd {
  color: rgba(255, 255, 255, 0.84);
}
.footer-meta-list a:hover {
  color: var(--orange);
}

.footer-col h3 {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.50);
  margin-bottom: 16px;
}
.footer-col ul {
  display: grid;
  gap: 11px;
}
.footer-col a {
  position: relative;
  display: inline-block;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.86);
  transition: color 150ms var(--ease);
}
.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 160ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .footer-col a:hover {
    color: var(--white);
  }
  .footer-col a:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
  }
}

.footer-friends {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.48);
}
.footer-friends a {
  color: rgba(255, 255, 255, 0.68);
}
.footer-friends a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.52);
}
.footer-legal-left,
.footer-legal-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.74);
}
.footer-bottom a:hover {
  color: var(--white);
}

/* ==================== Dialogs & Full-Height Mobile Sheet ==================== */
.consult-dialog,
.mobile-drawer {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
}
.consult-dialog::backdrop,
.mobile-drawer::backdrop {
  background: rgba(20, 14, 10, 0.52);
}
.consult-card {
  width: min(540px, calc(100vw - 32px));
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(20, 14, 10, 0.18);
  padding: 32px;
}
.consult-head,
.drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.consult-head h2 {
  font-size: 22px;
  font-weight: 500;
  margin-top: 6px;
}
.consult-desc {
  font-size: 14.5px;
  color: var(--text);
  margin: 12px 0 18px;
}
.wecom-direct-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}
.wecom-direct-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: transform 150ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .wecom-direct-btn:hover {
    transform: translateY(-2px);
  }
}
.wecom-direct-btn.is-primary {
  background: var(--orange);
  color: var(--white);
}
.wecom-direct-btn.is-secondary {
  background: var(--ink);
  color: var(--white);
}
.wecom-btn-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
}
.wecom-btn-head span {
  margin-left: auto;
  font-size: 12px;
  opacity: 0.88;
}
.wecom-direct-btn small {
  font-size: 12px;
  opacity: 0.88;
}
.consult-phones {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}
.icon-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--white);
  display: grid;
  place-items: center;
}

/* ==================== Sleek Architectural Right WeCom Dock ==================== */
.float-consult {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 88;
}
.float-panel {
  width: 220px;
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid #F6B37C;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(20, 14, 10, 0.14), 0 0 0 0 rgba(254, 105, 0, 0.25);
  padding: 16px 14px 12px;
  position: relative;
  animation: pc-float-panel-glow 3s ease-in-out infinite;
}
.float-callout {
  position: absolute;
  top: -15px;
  left: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FF7A18 0%, #FE5800 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(254, 88, 0, 0.34);
  animation: pc-callout-hop 2.2s ease-in-out infinite;
  pointer-events: none;
}
.float-callout::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: -4px;
  width: 8px;
  height: 8px;
  background: #FE5E00;
  transform: rotate(45deg);
}
.float-duck-wrap {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}
.float-online-dot {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #22C55E;
  border: 2px solid #fff;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.65);
  animation: pc-online-ping 1.8s ease-out infinite;
}
.float-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
  display: grid;
  place-items: center;
  padding: 0;
}
.float-close:hover {
  background: var(--ink);
  color: var(--white);
}
.float-mascot-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 18px;
  margin-bottom: 12px;
}
.float-duck {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #F6B37C;
  background: #FFF6EE;
  flex-shrink: 0;
  animation: pc-duck-nod 3s ease-in-out infinite;
}
.float-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--orange-deep);
}
.float-head-copy strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
}
.float-head-copy small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
}
.float-actions {
  display: grid;
  gap: 8px;
}
.float-wecom-btn {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: transform 150ms var(--ease), border-color 150ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .float-wecom-btn:hover {
    transform: translateY(-1px);
    border-color: var(--line-hover);
  }
}
.float-wecom-btn.is-highlight {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FF7E1A 0%, var(--orange) 100%);
  border-color: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(254, 105, 0, 0.30);
  animation: pc-wecom-pulse 2.4s ease-in-out infinite;
}
.float-wecom-btn.is-highlight::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -65%;
  width: 48%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: pc-wecom-sheen 2.6s ease-in-out infinite;
  pointer-events: none;
}
.float-btn-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.92;
}
.float-btn-tag .icon {
  width: 13px;
  height: 13px;
}
.float-wecom-btn strong {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}
.float-wecom-btn i {
  font-style: normal;
  font-size: 11.5px;
  opacity: 0.85;
}
.float-wecom-btn:not(.is-highlight) .float-btn-tag {
  color: var(--orange-deep);
}
.float-foot {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
.float-more-link {
  color: var(--muted);
}
.float-more-link:hover {
  color: var(--ink);
}
.float-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 4px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}
.float-top-btn .icon {
  width: 13px;
  height: 13px;
}
.float-top-btn:hover {
  color: var(--ink);
}
.float-launcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 18px 0 8px;
  background: linear-gradient(135deg, #FF7A18 0%, var(--orange) 100%);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(254, 105, 0, 0.38);
  font-size: 13.5px;
  font-weight: 700;
  transition: transform 150ms var(--ease);
  animation: pc-wecom-pulse 2.2s ease-in-out infinite;
}
.float-ping-dot {
  position: absolute;
  top: -2px;
  right: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #22C55E;
  border: 2px solid #fff;
  animation: pc-online-ping 1.8s ease-out infinite;
}
.float-launcher:hover {
  transform: translateY(-2px) scale(1.03);
}
.float-launcher img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--white);
}
@keyframes pc-float-panel-glow {
  0%, 100% { box-shadow: 0 16px 38px rgba(20, 14, 10, 0.13), 0 0 0 0 rgba(254, 105, 0, 0.28); }
  50% { box-shadow: 0 20px 44px rgba(254, 105, 0, 0.22), 0 0 0 6px rgba(254, 105, 0, 0); }
}
@keyframes pc-callout-hop {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(-4px); }
  65% { transform: translateY(0); }
  80% { transform: translateY(-2px); }
}
@keyframes pc-duck-nod {
  0%, 68%, 100% { transform: rotate(0deg) scale(1); }
  76% { transform: rotate(-10deg) scale(1.06); }
  84% { transform: rotate(8deg) scale(1.06); }
  92% { transform: rotate(-4deg) scale(1.02); }
}
@keyframes pc-online-ping {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  75%, 100% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}
@keyframes pc-wecom-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 16px rgba(254, 105, 0, 0.30), 0 0 0 0 rgba(254, 105, 0, 0.42); }
  50% { transform: scale(1.025); box-shadow: 0 10px 22px rgba(254, 105, 0, 0.42), 0 0 0 7px rgba(254, 105, 0, 0); }
}
@keyframes pc-wecom-sheen {
  0%, 48% { left: -65%; }
  94%, 100% { left: 135%; }
}
@media (prefers-reduced-motion: reduce) {
  .float-panel, .float-callout, .float-duck, .float-online-dot, .float-wecom-btn.is-highlight, .float-wecom-btn.is-highlight::after, .float-launcher, .float-ping-dot {
    animation: none !important;
  }
}

/* Mobile Full-Screen Sheet */
.mobile-drawer {
  margin: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
}
.drawer-shell {
  width: 100%;
  height: 100%;
  background: var(--white);
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}
.drawer-top strong {
  font-size: 18px;
  font-weight: 600;
}
.drawer-links {
  display: grid;
  gap: 22px;
}
.drawer-section {
  display: grid;
}
.drawer-kicker {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 6px;
}
.drawer-section a {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.drawer-cta {
  margin-top: auto;
  padding-top: 16px;
  display: grid;
  gap: 12px;
}
.drawer-cta .btn {
  width: 100%;
  height: 48px;
}
.drawer-phone {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.not-found-box {
  text-align: center;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px 0;
}
.not-found-box h1 {
  font-size: 34px;
  font-weight: 500;
}

/* ==================== Cultural Multi-Layer SVG Dioramas & Costume Stages ==================== */
.hero-world-stage {
  position: relative;
  min-height: 448px;
  background: var(--panel-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-orbit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-compass-ring {
  transform-origin: 280px 252px;
  animation: orbit-spin 46s linear infinite;
}
@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}
.orbit-landmark {
  pointer-events: auto;
  cursor: pointer;
}
.orbit-landmark:hover circle:first-child {
  stroke-opacity: 0.45;
}
.orbit-landmark.is-lit circle:first-child {
  fill: var(--ink);
  stroke: var(--ink);
  stroke-opacity: 1;
}
.orbit-landmark.is-lit path {
  stroke: #FE6900;
}
.hero-world-stage .stage-duck-btn {
  position: relative;
  z-index: 3;
  background: transparent;
  border: 0;
  padding: 0;
  max-width: 340px;
  margin-top: 28px;
  transition: transform 240ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .hero-world-stage .stage-duck-btn:hover {
    transform: translateY(-4px);
  }
}
.hero-world-stage .stage-duck-img {
  width: 310px;
  height: 310px;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(20, 14, 10, 0.14));
  animation: duck-idle-float 3.8s ease-in-out infinite;
}
.hero-world-stage.is-bouncing .stage-duck-img {
  animation: duck-pop 0.5s var(--ease);
}
.hero-lang-switcher {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.hero-lang-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  transition: background-color 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease);
}
.hero-lang-chip .chip-iso {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
}
.hero-lang-chip:hover {
  border-color: var(--ink);
}
.hero-lang-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.hero-lang-chip.is-active .chip-iso {
  color: var(--orange);
}

/* Sub-Hero Cultural SVG Diorama Frame (Clean Two-Level Panel) */
.cultural-diorama {
  --px: 0px;
  --py: 0px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  position: relative;
}
.diorama-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 4px 0;
  position: relative;
  z-index: 4;
}
.diorama-tag {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}
.diorama-speak-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  transition: background-color 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease);
}
.diorama-speak-pill i {
  font-style: normal;
  font-size: 12px;
}
.diorama-speak-pill:hover,
.diorama-speak-pill.is-speaking {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.diorama-stage {
  position: relative;
  height: 300px;
  border-radius: var(--radius-md);
  background: var(--panel-warm);
  overflow: hidden;
}
.diorama-svg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.diorama-arch-img {
  position: absolute;
  right: -6px;
  bottom: 2px;
  width: 72%;
  max-height: 278px;
  object-fit: contain;
  z-index: 2;
  transform: translate3d(calc(var(--px) * -0.55), calc(var(--py) * -0.55), 0);
  transition: transform 220ms ease-out;
}
.diorama-mascot-img {
  position: absolute;
  left: 8px;
  bottom: 4px;
  width: 49%;
  max-height: 238px;
  object-fit: contain;
  z-index: 3;
  transform: translate3d(var(--px), var(--py), 0);
  animation: diorama-mascot-breathe 3.6s ease-in-out infinite;
  filter: drop-shadow(0 10px 16px rgba(20, 14, 10, 0.14));
}
@keyframes diorama-mascot-breathe {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}

.diorama-caption-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 6px 0;
  font-size: 13px;
}
.diorama-landmarks {
  color: var(--muted);
}
.diorama-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 500;
}
.diorama-links a:hover {
  color: var(--orange-deep);
}

/* Mini Cultural Vignettes inside Bento Cards */
.mini-cultural-scene {
  position: relative;
  width: 152px;
  height: 118px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--panel-warm);
  overflow: hidden;
}
.bento-featured .mini-cultural-scene {
  background: var(--white);
}
.bento-orange-card .mini-cultural-scene {
  background: rgba(255, 255, 255, 0.94);
}
.program-row-three .mini-cultural-scene {
  width: 118px;
  height: 96px;
}
.mini-arch {
  position: absolute;
  right: -8px;
  bottom: -2px;
  width: 78%;
  height: 92%;
  object-fit: contain;
  transition: transform 360ms var(--ease);
}
.mini-mascot {
  position: absolute;
  left: 4px;
  bottom: 2px;
  width: 56%;
  height: 84%;
  object-fit: contain;
  z-index: 2;
  transition: transform 320ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .bento-card:hover .mini-mascot {
    transform: translateY(-3px) scale(1.04);
  }
  .bento-card:hover .mini-arch {
    transform: scale(1.03);
  }
}

/* Heartflow Animated SVG Loop + Scholar Duck */
.heartflow-svg-wrap {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 360 / 320;
  display: grid;
  place-items: center;
}
.heartflow-loop-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hf-orbit {
  transform-origin: 180px 162px;
  animation: orbit-spin 28s linear infinite;
}
.hf-pulse-dot {
  transform-origin: 180px 162px;
  animation: orbit-spin 7s linear infinite;
}
.hf-prof-duck {
  position: relative;
  z-index: 2;
  width: 196px;
  height: 196px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.28));
  animation: duck-idle-float 3.4s ease-in-out infinite;
}

/* Country-Specific SVG Vector Motion Choreography */
.svg-sun-pulse {
  transform-origin: 350px 195px;
  animation: sun-breathe 5.5s ease-in-out infinite;
}
@keyframes sun-breathe {
  0%, 100% { transform: scale(1); opacity: 0.88; }
  50% { transform: scale(1.05); opacity: 1; }
}
.svg-lantern-sway {
  transform-origin: 486px 36px;
  animation: lantern-pendulum 3.8s ease-in-out infinite;
}
@keyframes lantern-pendulum {
  0%, 100% { transform: translate(486px, 36px) rotate(-5deg); }
  50% { transform: translate(486px, 36px) rotate(5deg); }
}
.svg-shinkansen {
  animation: shinkansen-run 7.5s linear infinite;
}
@keyframes shinkansen-run {
  0% { transform: translate(-90px, 350px); opacity: 0; }
  10% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translate(540px, 350px); opacity: 0; }
}
.svg-sakura-field .petal,
.svg-ginkgo-field .petal {
  animation: petal-fall 6.5s linear infinite;
}
.petal.p1 { animation-duration: 6.2s; animation-delay: 0s; --sx: 90px; --ex: 40px; }
.petal.p2 { animation-duration: 7.4s; animation-delay: -1.8s; --sx: 210px; --ex: 145px; }
.petal.p3 { animation-duration: 5.8s; animation-delay: -3.2s; --sx: 330px; --ex: 265px; }
.petal.p4 { animation-duration: 8.1s; animation-delay: -0.9s; --sx: 440px; --ex: 370px; }
.petal.p5 { animation-duration: 6.9s; animation-delay: -4.4s; --sx: 150px; --ex: 95px; }
.petal.p6 { animation-duration: 7.2s; animation-delay: -2.6s; --sx: 500px; --ex: 420px; }
@keyframes petal-fall {
  0% { transform: translate(var(--sx, 180px), -18px) rotate(0deg); opacity: 0; }
  12% { opacity: 0.92; }
  85% { opacity: 0.88; }
  100% { transform: translate(var(--ex, 110px), 360px) rotate(260deg); opacity: 0; }
}
.svg-beacon-ring {
  animation: tower-ping 3.2s cubic-bezier(0.16, 0.8, 0.3, 1) infinite;
}
.svg-beacon-ring.r2 {
  animation-delay: 1.6s;
}
@keyframes tower-ping {
  0% { r: 6px; opacity: 0.95; }
  100% { r: 44px; opacity: 0; }
}
.svg-cloud-drift {
  animation: cloud-slide 9s ease-in-out infinite alternate;
}
@keyframes cloud-slide {
  from { transform: translateX(-14px); }
  to { transform: translateX(26px); }
}
.svg-gear-cw {
  animation: orbit-spin 16s linear infinite;
}
.svg-gear-ccw {
  animation: orbit-spin 11s linear infinite reverse;
}
.svg-eiffel-beam {
  transform-origin: 352px 62px;
  animation: beam-sweep 5.4s ease-in-out infinite alternate;
}
@keyframes beam-sweep {
  from { transform: translate(352px, 62px) rotate(-12deg); }
  to { transform: translate(352px, 62px) rotate(16deg); }
}
.twinkle {
  animation: star-twinkle 2.4s ease-in-out infinite alternate;
}
.twinkle.t2 { animation-delay: 0.8s; }
.twinkle.t3 { animation-delay: 1.5s; }
@keyframes star-twinkle {
  from { opacity: 0.25; transform: scale(0.75); }
  to { opacity: 1; transform: scale(1.18); }
}
.svg-notes-float .note {
  animation: note-bob 3.2s ease-in-out infinite alternate;
}
.svg-notes-float .n2 { animation-delay: 1.1s; }
@keyframes note-bob {
  from { transform: translateY(4px); opacity: 0.65; }
  to { transform: translateY(-10px); opacity: 1; }
}
.svg-flight-dash {
  animation: dash-flow 12s linear infinite;
}
@keyframes dash-flow {
  to { stroke-dashoffset: -140; }
}
.svg-plane-fly {
  offset-path: path("M64 282 C 155 78, 405 56, 512 224");
  offset-rotate: auto;
  animation: plane-journey 6.5s ease-in-out infinite;
}
@keyframes plane-journey {
  0% { offset-distance: 0%; opacity: 0; }
  10% { opacity: 1; }
  88% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* ==================== Service Feedback & Complaint Guide (/feedback) ==================== */
.feedback-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 28px;
  align-items: stretch;
}
.feedback-guide-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feedback-guide-card h2 {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.feedback-guide-card p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.78;
}
.feedback-guide-card strong {
  font-weight: 600;
  color: var(--ink);
}
.feedback-hotline-section {
  background: var(--paper);
}
.feedback-bullet-list {
  display: grid;
  gap: 10px;
  margin: 4px 0;
}
.feedback-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.68;
}
.feedback-bullet-list .icon {
  color: var(--orange);
  margin-top: 5px;
}
.hotline-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}
.hotline-card {
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.hotline-label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 4px;
}
.hotline-num {
  display: block;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.hotline-card .btn {
  width: 100%;
}
.hotline-prep-tip {
  margin-top: 4px;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 14px !important;
  color: var(--muted) !important;
}

.feedback-step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feedback-step-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-deep);
}
.feedback-step-card h3 {
  font-size: 20px;
  font-weight: 500;
}
.feedback-step-card p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.72;
}

.feedback-note-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feedback-note-card h3 {
  font-size: 18.5px;
  font-weight: 500;
  color: var(--ink);
}
.feedback-note-card p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
}

/* ==================== Responsive Breakpoints (1180 / 920 / 640) ==================== */
@media (max-width: 1180px) {
  .container {
    width: calc(100% - 48px);
  }
  .primary-nav,
  .nav-plain-action {
    display: none;
  }
  .menu-trigger {
    display: inline-flex;
  }
  .five-step-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .teacher-showcase-grid,
  .faculty-full-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .sku-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .sub-hero-grid,
  .program-bento,
  .method-showcase,
  .dual-authority,
  .brand-story-grid,
  .faq-split,
  .contact-panel,
  .quiz-stage-wrap,
  .feedback-dual-grid {
    grid-template-columns: 1fr;
  }
  .closing__cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .hero-portals {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 16px 0;
  }
  .portal-pill {
    padding: 8px 0;
  }
  .portal-pill + .portal-pill {
    padding-left: 0;
    border-left: 0;
  }
  .program-row-three,
  .three-col-grid,
  .tools-grid,
  .phrase-cards,
  .four-col-grid,
  .hangul-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-h: 60px;
  }
  .container {
    width: calc(100% - 48px);
  }
  .brand-logo img {
    width: 132px;
  }
  .header-actions .btn-primary {
    display: none;
  }
  .brand-hero,
  .sub-hero {
    padding: 32px 0 36px;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .hero-portals,
  .program-row-three,
  .three-col-grid,
  .tools-grid,
  .four-col-grid,
  .two-col-grid,
  .sku-grid,
  .phrase-cards,
  .article-cards-grid,
  .five-step-grid,
  .hangul-grid,
  .footer-main,
  .consult-qrs,
  .wecom-direct-grid,
  .contact-qr-col,
  .course-detail-specs,
  .syllabus-item,
  .pairs-board,
  .tactile-options-grid,
  .hotline-cards-grid {
    grid-template-columns: 1fr;
  }
  .fill-pills-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento-card,
  .vis-tool-card,
  .feedback-guide-card,
  .contact-panel {
    padding: 24px;
  }
  .quiz-engine-box {
    padding: 20px 18px;
  }
  .duck-character-wrap {
    height: 190px;
  }
  .duck-sprite-img {
    width: 175px;
    height: 175px;
  }
  .teacher-showcase-grid,
  .faculty-full-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .teacher-info {
    padding: 14px;
  }
  .teacher-info h3 {
    font-size: 17px;
  }
  .section {
    padding: 64px 0;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
  }
  .kana-cols-head,
  .kana-row {
    grid-template-columns: 52px repeat(5, 1fr);
    gap: 6px;
  }
  .k-hira {
    font-size: 20px;
  }
  .diorama-stage {
    height: 240px;
  }
  .mini-cultural-scene {
    width: 120px;
    height: 96px;
  }
  .float-consult {
    right: 14px;
    bottom: 16px;
  }
}


/* ==========================================================================
   Mascot-Driven Dual-Card Cultural Voice Stage (3D Flip-Refresh Choreography)
   - Zero bottom breakdown dock, zero bottom switcher bar
   - Cards are pure display (pointer-events: none); Mascot is sole click actor!
   ========================================================================== */
.open-diorama-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.open-scene-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
}
.open-scene-links a:hover {
  color: var(--orange-deep);
}

.mascot-voice-stage {
  --px: 0px;
  --py: 0px;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.voice-stage-viewport {
  position: relative;
  width: 100%;
  min-height: 432px;
}
.mascot-voice-stage.is-subpage .voice-stage-viewport {
  min-height: 416px;
}

.voice-stage-panel {
  position: relative;
  width: 100%;
  min-height: 432px;
  perspective: 900px;
  animation: voice-panel-in 260ms var(--ease);
}
.mascot-voice-stage.is-subpage .voice-stage-panel {
  min-height: 416px;
}
@keyframes voice-panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Open-Air Radial Glow + Precision Dashed Orbit SVG */
.voice-stage-orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.voice-orbit-spin {
  transform-origin: 320px 236px;
  animation: orbit-turn 26s linear infinite;
}
@keyframes orbit-turn {
  to { transform: rotate(360deg); }
}

/* Sculptural Native-Script Backdrop Watermark */
.voice-stage-glyph {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -52%) translate3d(calc(var(--px) * -0.5), calc(var(--py) * -0.5), 0);
  font-size: clamp(200px, 22vw, 276px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(254, 105, 0, 0.085);
  user-select: none;
  pointer-events: none;
  z-index: 1;
  transition: transform 220ms ease-out;
}

/* Centerpiece 3D Vinyl/Plush Chongchongya (Sole Interactive Trigger!) */
.voice-mascot-center {
  position: absolute;
  top: 54%;
  left: 50%;
  transform: translate(-50%, -50%) translate3d(calc(var(--px) * 0.7), calc(var(--py) * 0.7), 0);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 200ms ease-out;
}
.voice-mascot-trigger {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  outline: none;
}
.voice-mascot-trigger:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 6px;
  border-radius: 50%;
}

/* Acoustic Ripple Burst Behind Mascot When Clicked */
.mascot-pulse-ring {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  opacity: 0;
  pointer-events: none;
}
.voice-mascot-trigger.is-talk-left .mascot-pulse-ring,
.voice-mascot-trigger.is-talk-right .mascot-pulse-ring,
.voice-mascot-trigger.is-refresh-hop .mascot-pulse-ring {
  animation: mascot-ring-out 680ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes mascot-ring-out {
  0% { transform: scale(0.72); opacity: 0.72; }
  100% { transform: scale(1.48); opacity: 0; }
}

.voice-mascot-3d {
  width: clamp(256px, 24vw, 326px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(20, 14, 10, 0.15));
  animation: mascot-breathe 4.4s ease-in-out infinite alternate;
  transition: transform 220ms var(--ease), filter 220ms var(--ease);
}
.voice-mascot-trigger:hover .voice-mascot-3d {
  filter: drop-shadow(0 24px 34px rgba(254, 105, 0, 0.2));
  transform: translateY(-5px) scale(1.025);
}
/*Mascot Reaction Kinematics on Click & Card Refresh */
.voice-mascot-trigger.is-talk-left .voice-mascot-3d {
  animation: mascot-nod-left 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.voice-mascot-trigger.is-talk-right .voice-mascot-3d {
  animation: mascot-nod-right 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.voice-mascot-trigger.is-refresh-hop .voice-mascot-3d {
  animation: mascot-celebrate-hop 620ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes mascot-breathe {
  from { transform: translateY(0); }
  to { transform: translateY(-7px); }
}
@keyframes mascot-nod-left {
  0% { transform: scale(1); }
  32% { transform: translateY(6px) scale(1.06, 0.93); }
  68% { transform: translateY(-12px) rotate(-6deg) scale(0.98, 1.05); }
  100% { transform: translateY(0) rotate(0deg) scale(1); }
}
@keyframes mascot-nod-right {
  0% { transform: scale(1); }
  32% { transform: translateY(6px) scale(1.06, 0.93); }
  68% { transform: translateY(-12px) rotate(6deg) scale(0.98, 1.05); }
  100% { transform: translateY(0) rotate(0deg) scale(1); }
}
@keyframes mascot-celebrate-hop {
  0% { transform: scale(1); }
  25% { transform: translateY(7px) scale(1.08, 0.91); }
  55% { transform: translateY(-18px) rotate(-5deg) scale(1.04); }
  78% { transform: translateY(-10px) rotate(5deg) scale(1.03); }
  100% { transform: translateY(0) rotate(0deg) scale(1); }
}

.voice-mascot-shadow {
  width: 156px;
  height: 18px;
  margin-top: -8px;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(20, 14, 10, 0.18) 0%, rgba(20, 14, 10, 0) 100%);
}

/* Subtle Mascot Prompt Pill Underneath Shadow */
.mascot-hint-pill {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #EFE0D1;
  box-shadow: 0 6px 16px rgba(20, 14, 10, 0.05);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  pointer-events: none;
  white-space: nowrap;
}
.mascot-hint-pill .hint-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(254, 105, 0, 0.2);
}

/* Live 5-Bar Acoustic Soundwave Equalizer */
.voice-eq {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 11px;
}
.voice-eq i {
  display: block;
  width: 2px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  transition: height 150ms ease;
}
.voice-eq i:nth-child(2),
.voice-eq i:nth-child(4) {
  height: 7px;
}
.voice-eq i:nth-child(3) {
  height: 10px;
}
.voice-float-card.is-speaking .voice-eq i {
  animation: voice-wave 0.42s ease-in-out infinite alternate;
}
.voice-float-card.is-speaking .voice-eq i:nth-child(2n) {
  animation-delay: 0.13s;
}
.voice-float-card.is-speaking .voice-eq i:nth-child(3n) {
  animation-delay: 0.25s;
}
.voice-float-card.is-read .voice-eq {
  display: none;
}
@keyframes voice-wave {
  from { height: 3px; }
  to { height: 11px; }
}

/* Display-Only Floating Cultural Cards (Non-Clickable, Driven by Mascot!) */
.voice-float-card {
  position: absolute;
  z-index: 4;
  width: 226px;
  text-align: left;
  padding: 13px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1.5px solid #ECD2B8;
  box-shadow: 0 12px 28px rgba(20, 14, 10, 0.07), 0 2px 6px rgba(254, 105, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 240ms var(--ease), border-color 200ms var(--ease), box-shadow 220ms var(--ease), background-color 200ms var(--ease);
}
/* Shimmer Sweep Highlight When New Card Pair Refreshes In */
.voice-float-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(254, 105, 0, 0.16) 50%, transparent 80%);
  transform: translateX(-120%);
  pointer-events: none;
}
.voice-float-card.is-left {
  top: 10px;
  left: -26px;
  transform: translate3d(calc(var(--px) * -0.85), calc(var(--py) * -0.75), 0);
}
.voice-float-card.is-right {
  top: 22px;
  right: -22px;
  transform: translate3d(calc(var(--px) * 0.85), calc(var(--py) * -0.7), 0);
}

/* Speaking State (Active Mascot Reading) */
.voice-float-card.is-speaking {
  border-color: var(--orange);
  background: #FFFFFF;
  box-shadow: 0 18px 36px rgba(254, 105, 0, 0.18), 0 0 0 3px rgba(254, 105, 0, 0.12);
}
.voice-float-card.is-left.is-speaking {
  transform: translate3d(calc(var(--px) * -0.85), calc(var(--py) * -0.75 - 6px), 0) scale(1.03);
}
.voice-float-card.is-right.is-speaking {
  transform: translate3d(calc(var(--px) * 0.85), calc(var(--py) * -0.7 - 6px), 0) scale(1.03);
}

/* Completed Read State (Before Pair Refresh) */
.voice-float-card.is-read {
  border-color: #DFC3A8;
  background: #FFFDFB;
}

/* 3D Flip-Glide Refresh Exit & Spring Entrance Choreography */
.voice-float-card.is-refresh-out {
  animation: card-deal-out 260ms cubic-bezier(0.4, 0, 1, 1) forwards;
}
.voice-float-card.is-right.is-refresh-out {
  animation-delay: 55ms;
}
.voice-float-card.is-refresh-in {
  animation: card-deal-in 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.voice-float-card.is-right.is-refresh-in {
  animation-delay: 85ms;
}
.voice-float-card.is-refresh-in::after {
  animation: card-shimmer-sweep 620ms ease-out 80ms forwards;
}

@keyframes card-deal-out {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
  }
  100% {
    opacity: 0;
    transform: translateY(-22px) scale(0.88) rotateX(28deg);
  }
}
@keyframes card-deal-in {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.86) rotateX(-26deg);
  }
  65% {
    opacity: 1;
    transform: translateY(-4px) scale(1.025) rotateX(4deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
  }
}
@keyframes card-shimmer-sweep {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(130%); }
}

.vfc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 2px;
}
.vfc-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--orange-deep);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.vfc-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #F7EFE7;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  flex-shrink: 0;
  transition: background-color 180ms var(--ease), color 180ms var(--ease);
}
.vfc-status b {
  font-weight: 600;
}
.voice-float-card.is-speaking .vfc-status {
  background: var(--orange);
  color: var(--white);
}
.voice-float-card.is-read .vfc-status {
  background: #FFEAD7;
  color: var(--orange-deep);
}
.vfc-phrase {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.28;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.vfc-romaji {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.vfc-meaning {
  font-size: 11.5px;
  line-height: 1.48;
  color: var(--text);
  margin-top: 2px;
}

/* Luminous White-on-Orange Stage Adaptation Inside Full-Bleed Orange .brand-hero */
.brand-hero .glow-stop-1 {
  stop-color: #FFFFFF;
  stop-opacity: 0.30;
}
.brand-hero .glow-stop-2 {
  stop-color: #FFE5C8;
  stop-opacity: 0.14;
}
.brand-hero .orbit-ring-dash {
  stroke: rgba(255, 255, 255, 0.42);
}
.brand-hero .orbit-ring-solid {
  stroke: rgba(255, 255, 255, 0.24);
}
.brand-hero .orbit-dot-primary {
  fill: #FFFFFF;
}
.brand-hero .orbit-dot-secondary {
  fill: #140E0A;
  opacity: 0.55;
}
.brand-hero .voice-stage-glyph {
  color: rgba(255, 255, 255, 0.16);
}
.brand-hero .mascot-pulse-ring {
  border-color: #FFFFFF;
}
.brand-hero .voice-mascot-shadow {
  background: radial-gradient(50% 50% at 50% 50%, rgba(20, 14, 10, 0.28) 0%, rgba(20, 14, 10, 0) 100%);
}
.brand-hero .voice-float-card {
  background: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 36px rgba(20, 14, 10, 0.18);
}
.brand-hero .voice-float-card.is-speaking {
  border-color: var(--ink);
  box-shadow: 0 22px 44px rgba(20, 14, 10, 0.28), 0 0 0 3px var(--ink);
}
.brand-hero .voice-float-card.is-speaking .vfc-status {
  background: var(--ink);
  color: var(--white);
}

/* Responsive Layout for Narrower Columns, Tablets & Mobile */
@media (max-width: 1240px) {
  .voice-float-card {
    width: 194px;
    padding: 11px 13px;
  }
  .vfc-phrase {
    font-size: 16.5px;
  }
}

@media (max-width: 920px) {
  .hero-portals {
    grid-template-columns: repeat(2, 1fr);
  }
  .portal-pill.is-global-brand {
    grid-column: span 2;
  }
  .voice-float-card.is-left {
    left: 0;
  }
  .voice-float-card.is-right {
    right: 0;
  }
}

@media (max-width: 640px) {
  .hero-kicker-row {
    border-radius: 14px;
    padding: 8px 12px;
    gap: 6px;
  }
  .hero-portals {
    grid-template-columns: 1fr;
  }
  .portal-pill.is-global-brand {
    grid-column: auto;
  }
  .hero-proof-bar {
    padding: 12px 12px;
  }
  .hero-proof-item + .hero-proof-item {
    padding-left: 10px;
  }
  .hero-proof-item strong {
    font-size: 20px;
  }
  .hd-vis-badge {
    font-size: 11.5px;
    padding: 4px 10px;
  }
  .voice-stage-viewport,
  .mascot-voice-stage.is-subpage .voice-stage-viewport,
  .voice-stage-panel,
  .mascot-voice-stage.is-subpage .voice-stage-panel {
    min-height: 0;
  }
  .voice-stage-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 8px;
  }
  .voice-mascot-center {
    position: relative;
    top: auto;
    left: auto;
    transform: none !important;
    grid-column: span 2;
    order: -1;
    margin-bottom: 6px;
  }
  .voice-mascot-3d {
    width: 220px;
  }
  .voice-stage-glyph {
    top: 112px;
    font-size: 176px;
  }
  .voice-float-card,
  .voice-float-card.is-left,
  .voice-float-card.is-right {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    transform: none !important;
  }
}

/* ============================================================================
   Chongya VIS Course Storefront, Detail (?id=38), Cashier & QR Payment Modal
   ============================================================================ */
[hidden] {
  display: none !important;
}

html[data-course-mode="detail"] [data-course-extra],
html[data-course-mode="cashier"] [data-course-extra],
html[data-course-mode="result"] [data-course-extra],
html[data-course-mode="detail"] .breadcrumb-bar,
html[data-course-mode="cashier"] .breadcrumb-bar,
html[data-course-mode="result"] .breadcrumb-bar,
html[data-course-mode="detail"] .float-consult,
html[data-course-mode="cashier"] .float-consult,
html[data-course-mode="result"] .float-consult {
  display: none !important;
}

html[data-course-mode="detail"] [data-store-view="list"],
html[data-course-mode="cashier"] [data-store-view="list"],
html[data-course-mode="result"] [data-store-view="list"] {
  display: none !important;
}

html[data-course-mode="detail"] [data-store-view="detail"],
html[data-course-mode="cashier"] [data-store-view="cashier"],
html[data-course-mode="result"] [data-store-view="result"] {
  display: block !important;
}

html[data-course-mode="detail"] .cy-store-section,
html[data-course-mode="cashier"] .cy-store-section,
html[data-course-mode="result"] .cy-store-section {
  padding-top: 32px;
  padding-bottom: 72px;
  background: linear-gradient(180deg, #FFF7EF 0%, #FFFFFF 360px);
}

.cy-store-app {
  color: var(--ink);
}

.cy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
}
.cy-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}
.cy-btn-lg {
  height: 50px;
  padding: 0 28px;
  font-size: 15.5px;
}
.cy-btn-orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: 0 8px 20px rgba(254, 105, 0, 0.24);
}
.cy-btn-orange:hover:not(:disabled) {
  background: #e85d00;
  border-color: #e85d00;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(254, 105, 0, 0.32);
}
.cy-btn-ink {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.cy-btn-ink:hover:not(:disabled) {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-2px);
}
.cy-btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line-strong);
}
.cy-btn-ghost:hover:not(:disabled) {
  border-color: var(--orange);
  color: var(--orange-deep);
  background: #FFF8F2;
}

/* View 1: Storefront Hero Band & List */
.cy-hero-band {
  background: var(--orange);
  color: var(--white);
  padding: 34px 0 38px;
  position: relative;
  overflow: hidden;
}
.cy-hero-inner {
  display: grid;
  grid-template-columns: 1fr 410px;
  gap: 32px;
  align-items: center;
}
@media (max-width: 980px) {
  .cy-hero-inner {
    grid-template-columns: 1fr;
  }
}
.cy-hero-pill {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.cy-hero-copy h1 {
  font-size: clamp(28px, 3vw, 36px);
  color: var(--white);
  line-height: 1.22;
  margin-bottom: 10px;
}
.cy-hero-copy .sub-hero-lead {
  color: rgba(255, 255, 255, 0.94);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 680px;
  margin: 0;
}
.cy-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.cy-hero-chips span {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--white);
}
.cy-hero-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 22px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 18px 40px rgba(20, 14, 10, 0.16);
}
.cy-hero-duck {
  width: 96px;
  height: 96px;
  object-fit: contain;
  flex-shrink: 0;
}
.cy-hero-card-body strong {
  display: block;
  font-size: 16.5px;
  margin-bottom: 4px;
}
.cy-hero-card-body p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}
.cy-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cy-hero-btns .cy-btn {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

.cy-store-section {
  padding-top: 44px;
  padding-bottom: 64px;
}

.cy-store-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.cy-store-head-left {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.cy-store-head h2 {
  font-size: 26px;
  line-height: 1.2;
  margin: 0;
}
.cy-store-head-left span {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
}
.cy-store-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: #FFF5EB;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid rgba(254, 105, 0, 0.18);
}
.cy-tab-btn {
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}
.cy-tab-btn:hover {
  color: var(--orange-deep);
}
.cy-tab-btn.is-active {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(254, 105, 0, 0.28);
}

.cy-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
@media (max-width: 1180px) {
  .cy-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .cy-product-grid {
    grid-template-columns: 1fr;
  }
}

.cy-prod-card {
  background: var(--white);
  border: 1.5px solid rgba(20, 14, 10, 0.1);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.cy-prod-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  box-shadow: 0 20px 44px rgba(254, 105, 0, 0.14);
}
.cy-prod-cover-link {
  display: block;
}
.cy-prod-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 8px;
  background: #FFF6ED;
  border-bottom: 1px solid rgba(254, 105, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cy-prod-cover > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  transition: transform 0.3s ease;
}
.cy-prod-card:hover .cy-prod-cover > img:first-child {
  transform: scale(1.025);
}
.cy-prod-cover.is-fallback > img:first-child {
  display: none;
}
.cy-prod-subj.is-inline {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}
.cy-prod-duck {
  display: none;
  position: absolute;
  right: 50%;
  bottom: 50%;
  width: 112px;
  height: 112px;
  object-fit: contain;
  transform: translate(50%, 50%);
  filter: drop-shadow(0 6px 12px rgba(20, 14, 10, 0.2));
  pointer-events: none;
}
.cy-prod-cover.is-fallback .cy-prod-duck {
  display: block;
}

.cy-prod-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.cy-prod-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.cy-tag-subj {
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
}
.cy-tag-badge {
  padding: 3px 9px;
  border-radius: 6px;
  background: #FFF2E5;
  color: var(--orange-deep);
  font-size: 11px;
  font-weight: 700;
}
.cy-prod-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
}
.cy-prod-title-row h3 {
  font-size: 19px;
  line-height: 1.3;
}
.cy-prod-title-row h3 a:hover {
  color: var(--orange);
}
.cy-spec-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  background: #F6F3F0;
  color: #5C4E43;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.cy-prod-intro {
  font-size: 13px;
  line-height: 1.58;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.cy-prod-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cy-prod-price-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.cy-prod-price-bar small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.cy-prod-price-bar strong {
  font-size: 22px;
  font-weight: 900;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cy-prod-btn-grid {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px;
}
.cy-prod-btn-grid .cy-btn {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  font-size: 13.5px;
}
.cy-prod-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Custom Assessment Courses */
.cy-consult-courses {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1.5px dashed rgba(20, 14, 10, 0.12);
}
.cy-sub-divider {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.cy-sub-divider h3 {
  font-size: 21px;
}
.cy-sub-divider span {
  font-size: 13.5px;
  color: var(--muted);
}
.cy-consult-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 960px) {
  .cy-consult-grid {
    grid-template-columns: 1fr;
  }
}
.cy-consult-card {
  background: #FFF9F4;
  border: 1px solid rgba(254, 105, 0, 0.18);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.cy-cc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.cy-cc-top h4 {
  font-size: 17px;
  margin: 8px 0 6px;
}
.cy-cc-top p {
  font-size: 13px;
  color: var(--muted);
}
.cy-cc-top img {
  flex-shrink: 0;
  object-fit: contain;
}
.cy-cc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(20, 14, 10, 0.08);
}
.cy-cc-foot strong {
  font-size: 18px;
  color: var(--ink);
}

/* View 2: Course Product Detail (/course?id=38) */
.cy-back-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.cy-back-btn {
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}
.cy-back-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.cy-crumb-curr {
  font-size: 13.5px;
  color: var(--muted);
}

.cy-detail-main-card {
  background: var(--white);
  border: 1.5px solid rgba(20, 14, 10, 0.1);
  border-radius: 28px;
  padding: 36px;
  display: grid;
  grid-template-columns: minmax(340px, 46%) 1fr;
  gap: 40px;
  box-shadow: 0 24px 56px rgba(20, 14, 10, 0.06);
}
@media (max-width: 920px) {
  .cy-detail-main-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }
}
.cy-detail-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 10px;
  border-radius: 20px;
  overflow: hidden;
  background: #FFF6ED;
  border: 1px solid rgba(254, 105, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cy-detail-stage > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}
.cy-detail-fallback-duck {
  display: none;
  width: 150px;
  height: 150px;
  object-fit: contain;
}
.cy-detail-stage.is-fallback {
  display: grid;
  place-items: center;
}
.cy-detail-stage.is-fallback > img:first-child {
  display: none;
}
.cy-detail-stage.is-fallback .cy-detail-fallback-duck {
  display: block;
}
.cy-detail-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
}
.cy-thumb-btn {
  width: 72px;
  height: 48px;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
}
.cy-thumb-btn.is-active {
  border-color: var(--orange);
}
.cy-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cy-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #FFF8F1;
  font-size: 13px;
  font-weight: 600;
  color: #5C4938;
}

.cy-detail-buy-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cy-detail-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.cy-detail-subbadge {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-deep);
  background: #FFF2E5;
  padding: 5px 12px;
  border-radius: 999px;
}
.cy-detail-title {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.2;
}
.cy-detail-summary {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}
.cy-field-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 10px;
}
.cy-spec-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.cy-spec-radio {
  text-align: left;
  padding: 14px 18px;
  border-radius: 16px;
  border: 2px solid var(--line-strong);
  background: var(--white);
  cursor: pointer;
  transition: all 0.16s ease;
}
.cy-spec-radio:hover {
  border-color: var(--orange);
}
.cy-spec-radio.is-selected {
  border-color: var(--orange);
  background: #FFF6ED;
  box-shadow: 0 8px 20px rgba(254, 105, 0, 0.12);
}
.cy-sr-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cy-sr-top strong {
  font-size: 15.5px;
  color: var(--ink);
}
.cy-sr-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--orange-deep);
}
.cy-spec-radio small {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}

.cy-detail-checkout-bar {
  margin-top: 6px;
  padding: 20px 24px;
  border-radius: 20px;
  background: linear-gradient(90deg, #FFF5EA 0%, #FFFDFB 100%);
  border: 1.5px solid rgba(254, 105, 0, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.cy-payable-block span {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
.cy-payable-block strong {
  font-size: 32px;
  font-weight: 900;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.cy-detail-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cy-detail-seo-link a {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--orange-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cy-detail-desc-card {
  margin-top: 28px;
  background: var(--white);
  border: 1.5px solid rgba(20, 14, 10, 0.09);
  border-radius: 24px;
  padding: 32px 36px;
}
.cy-desc-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.cy-desc-head h3 {
  font-size: 20px;
}
.cy-desc-head span {
  font-size: 13px;
  color: var(--muted);
}
.cy-rich-content {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text);
}
.cy-rich-content p {
  margin-bottom: 14px;
}
.cy-rich-content ul {
  padding-left: 20px;
  margin-bottom: 14px;
  list-style: disc;
}
.cy-rich-content li {
  margin-bottom: 8px;
}
.cy-rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 12px 0;
}

/* View 3: Chongya Brand VIS Cashier (/course?step=cashier) */
.cy-cashier-banner {
  background: var(--orange);
  color: var(--white);
  border-radius: 24px;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  box-shadow: 0 18px 40px rgba(254, 105, 0, 0.24);
}
.cy-cb-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cy-cb-duck {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--white);
  padding: 5px;
  object-fit: contain;
}
.cy-cb-status {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  opacity: 0.92;
}
.cy-cb-left h2 {
  font-size: 28px;
  color: var(--white);
  line-height: 1.2;
}
.cy-cb-timer {
  background: var(--ink);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cy-cb-timer span {
  font-size: 13px;
  opacity: 0.86;
}
.cy-cb-timer strong {
  font-size: 24px;
  font-weight: 800;
  color: #FFB36B;
  font-variant-numeric: tabular-nums;
}

.cy-privacy-bar {
  margin: 16px 0 24px;
  padding: 13px 18px;
  border-radius: 14px;
  background: #FFF8F1;
  border: 1px solid rgba(254, 105, 0, 0.18);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #5C4938;
}

.cy-cashier-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 920px) {
  .cy-cashier-grid {
    grid-template-columns: 1fr;
  }
}
.cy-cashier-card {
  background: var(--white);
  border: 1.5px solid rgba(20, 14, 10, 0.1);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 14px 36px rgba(20, 14, 10, 0.04);
}
.cy-cashier-card h3 {
  font-size: 19px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.cy-summary-list {
  display: grid;
  gap: 16px;
}
.cy-summary-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.cy-summary-list dt {
  font-size: 14px;
  color: var(--muted);
}
.cy-summary-list dd {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  text-align: right;
}
.cy-summary-list > div.is-total {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1.5px dashed var(--line-strong);
  align-items: center;
}
.cy-summary-list > div.is-total dd {
  font-size: 28px;
  font-weight: 900;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.cy-pay-methods {
  display: grid;
  gap: 12px;
}
.cy-method-item {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  border-radius: 18px;
  border: 2px solid var(--line-strong);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  transition: all 0.16s ease;
}
.cy-method-item:hover {
  border-color: var(--orange);
}
.cy-method-item.is-selected {
  border-color: var(--orange);
  background: #FFF7EF;
  box-shadow: 0 8px 22px rgba(254, 105, 0, 0.1);
}
.cy-mi-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pay-brand-svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.cy-mi-left strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
}
.cy-mi-left small {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}
.cy-mi-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.cy-mi-tag i {
  font-style: normal;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: inline-grid;
  place-items: center;
  color: transparent;
  font-size: 12px;
}
.cy-method-item.is-selected .cy-mi-tag {
  color: var(--orange-deep);
}
.cy-method-item.is-selected .cy-mi-tag i {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.cy-installment-panel {
  padding: 16px 18px;
  border-radius: 16px;
  background: #FFF9F3;
  border: 1px solid rgba(254, 105, 0, 0.24);
}
.cy-fq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 640px) {
  .cy-fq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.cy-fq-btn {
  padding: 11px 10px;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
  background: var(--white);
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.cy-fq-btn strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}
.cy-fq-btn small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 3px;
}
.cy-fq-btn.is-active {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
}
.cy-fq-btn.is-active strong,
.cy-fq-btn.is-active small {
  color: var(--white);
}

.cy-pay-error {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #B91C1C;
  font-size: 13.5px;
  font-weight: 600;
}
.cy-cashier-actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.cy-confirm-btn {
  min-width: 196px;
}

/* View 4: Result & Student Info Form */
.cy-result-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border: 1.5px solid rgba(20, 14, 10, 0.1);
  border-radius: 28px;
  padding: 40px 36px;
  text-align: center;
  box-shadow: 0 24px 56px rgba(20, 14, 10, 0.06);
}
.cy-result-duck {
  margin: 0 auto 12px;
  object-fit: contain;
}
.cy-result-card h2 {
  font-size: 28px;
  margin: 12px 0 8px;
}
.cy-result-meta {
  font-size: 15px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 24px;
}
.cy-student-form {
  text-align: left;
  background: #FFF8F2;
  border: 1px solid rgba(254, 105, 0, 0.2);
  border-radius: 20px;
  padding: 24px;
  display: grid;
  gap: 16px;
}
.cy-form-row label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 6px;
}
.cy-form-row input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
  background: var(--white);
  font-size: 15px;
}
.cy-form-row input:focus {
  outline: none;
  border-color: var(--orange);
}
.cy-student-feedback {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
}
.cy-student-feedback.is-ok {
  background: #ECFDF5;
  color: #047857;
}
.cy-student-feedback.is-warn {
  background: #FFFBEB;
  color: #B45309;
}
.cy-result-wecom {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 20px;
}
.cy-result-wecom strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}
.cy-result-wecom p {
  font-size: 13.5px;
  color: var(--muted);
}
.cy-result-qr {
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 6px;
  background: var(--white);
  flex-shrink: 0;
}

/* Dialog: Official QR Payment Modal */
.cy-qr-dialog {
  border: 0;
  padding: 0;
  border-radius: 28px;
  background: transparent;
  max-width: 420px;
  width: calc(100% - 32px);
  margin: auto;
  box-shadow: 0 32px 80px rgba(20, 14, 10, 0.36);
}
.cy-qr-dialog::backdrop {
  background: rgba(20, 14, 10, 0.62);
  backdrop-filter: blur(5px);
}
.cy-qr-modal-box {
  background: var(--white);
  border-radius: 28px;
  padding: 26px 28px 28px;
  text-align: center;
  border: 2px solid rgba(254, 105, 0, 0.25);
}
.cy-qr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.cy-qr-head strong {
  font-size: 19px;
  color: var(--ink);
}
.cy-qr-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #FFF6EE;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.cy-qr-frame {
  width: 224px;
  height: 224px;
  margin: 0 auto 14px;
  padding: 12px;
  border-radius: 20px;
  border: 2px solid var(--orange);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(254, 105, 0, 0.14);
  display: grid;
  place-items: center;
}
.cy-qr-frame svg,
.cy-qr-frame img {
  width: 100%;
  height: 100%;
  display: block;
}
.cy-qr-scan-tip {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 6px;
}
.cy-qr-amount {
  display: block;
  font-size: 30px;
  font-weight: 900;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}
.cy-qr-left {
  display: inline-block;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: #7A6758;
}
.cy-qr-polling {
  margin: 14px 0 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #FFF6ED;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--orange-deep);
  max-width: 100%;
}
.cy-spin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  animation: cyPulseDot 1.2s ease-in-out infinite;
}
@keyframes cyPulseDot {
  0%, 100% { transform: scale(0.85); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 1; }
}
.cy-qr-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Editorial News Reader (/news/*.html) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.news-reader-section {
  background: linear-gradient(180deg, #FFF7EF 0%, #FFFFFF 360px);
  padding-top: 36px;
  padding-bottom: 72px;
}
.news-reader-wrap {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}
.news-reader-card {
  background: var(--white);
  border: 1.5px solid rgba(20, 14, 10, 0.09);
  border-radius: 26px;
  padding: 40px 48px;
  box-shadow: 0 20px 48px rgba(20, 14, 10, 0.04);
}
@media (max-width: 720px) {
  .news-reader-card {
    padding: 24px 20px;
  }
}
.news-reader-head {
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.news-reader-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 13.5px;
  color: var(--muted);
}
.news-reader-head h1 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.3;
}
.news-reader-body h2 {
  font-size: 21px;
  margin: 28px 0 12px;
  color: var(--ink);
}
.news-reader-body h3 {
  font-size: 17.5px;
  margin: 20px 0 8px;
  color: var(--ink);
}
.news-pager {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px dashed var(--line-strong);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.news-pager > div:last-child {
  text-align: right;
}
.news-pager span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.news-pager a {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}
.news-pager a:hover {
  color: var(--orange);
}
.news-reader-cta {
  background: #FFF6ED;
  border: 1.5px solid rgba(254, 105, 0, 0.22);
  border-radius: 24px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.news-reader-cta h2 {
  font-size: 19px;
  margin-bottom: 6px;
}
.news-reader-cta p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}


/* ============================================================================
   2026-11-28 · Authoritative Media Links, 5-Category Magazine News & Sitemap
   ============================================================================ */
.home-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.home-cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-deep);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(254, 105, 0, 0.18);
  transition: background 160ms var(--ease), color 160ms var(--ease);
}
.home-cat-pill:hover {
  background: var(--orange);
  color: var(--white);
}

.media-reports-strip,
.about-media-wall {
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}
.media-strip-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.media-strip-head h2,
.media-strip-head h3 {
  margin-top: 10px;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.media-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.media-report-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.media-report-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(20, 14, 10, 0.06);
}
.media-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.media-card-top time {
  font-size: 12.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.media-source-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.media-source-tag.is-cnr {
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid rgba(185, 28, 28, 0.2);
}
.media-source-tag.is-cri {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid rgba(29, 78, 216, 0.2);
}
.media-report-card h3,
.media-report-card h4 {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}
.media-report-card:hover h3,
.media-report-card:hover h4 {
  color: var(--orange-deep);
}
.media-report-card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
}
.media-card-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-deep);
  margin-top: 4px;
}

/* Redesigned News Editorial Hub */
.news-hero-band {
  background: linear-gradient(135deg, #FE6900 0%, #FF7E24 100%);
  color: var(--white);
  padding: 56px 0 48px;
}
.news-hero-band.is-compact {
  padding: 44px 0 40px;
}
.news-hero-band .vis-pill {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.news-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 36px;
  align-items: center;
}
.news-hero-band h1 {
  margin-top: 14px;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
}
.news-hero-lead {
  margin-top: 14px;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.94);
}
.news-cat-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.news-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--white);
  font-size: 14px;
  transition: background 160ms var(--ease);
}
.news-cat-chip:hover {
  background: var(--white);
  color: var(--orange-deep);
}
.news-cat-chip span {
  font-size: 12px;
  opacity: 0.85;
}
.news-hero-art {
  display: flex;
  justify-content: center;
}
.news-hero-duck {
  width: 220px;
  height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 16px 26px rgba(20, 14, 10, 0.18));
}

.news-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.news-search-box {
  min-width: 280px;
}
.news-status-line {
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--muted);
}
.news-mag-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.news-mag-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.news-mag-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(20, 14, 10, 0.06);
}
.news-mag-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.news-mag-meta {
  font-size: 12.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.news-cat-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.news-cat-badge.is-zizhi { background: #FFF4EC; color: #C2410C; }
.news-cat-badge.is-kecheng { background: #EFF6FF; color: #1D4ED8; }
.news-cat-badge.is-shizi { background: #F5F3FF; color: #6D28D9; }
.news-cat-badge.is-anli { background: #ECFDF5; color: #047857; }
.news-cat-badge.is-renzheng { background: #FEF2F2; color: #B91C1C; }
.news-cat-badge.is-guides { background: #FEF3C7; color: #B45309; }
.news-cat-chip.is-current { background: var(--white); color: var(--orange-deep); font-weight: 700; }

.news-mag-card h2 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}
.news-mag-card h2 a:hover {
  color: var(--orange-deep);
}
.news-mag-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  flex: 1;
}
.news-mag-foot {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--orange-deep);
}

/* Redesigned 50-Article Archive Directory */
.news-archive-groups {
  display: grid;
  gap: 36px;
}
.news-archive-group {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 32px;
}
.news-archive-group-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.news-archive-group-head h2 {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 700;
}
.news-archive-group-head p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}
.news-archive-ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.news-archive-ol li + li {
  border-top: 1px solid var(--line);
}
.news-archive-ol a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 6px;
  font-size: 15px;
  transition: color 150ms var(--ease), background 150ms var(--ease);
}
.news-archive-ol a:hover {
  color: var(--orange-deep);
  background: var(--paper);
}
.news-archive-ol .na-idx {
  font-weight: 700;
  font-size: 13px;
  color: var(--orange);
  width: 24px;
  flex-shrink: 0;
}
.news-archive-ol .na-title {
  flex: 1;
  font-weight: 500;
}
.news-archive-ol time {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.news-archive-ol i {
  font-style: normal;
  font-size: 13px;
  color: var(--orange-deep);
  flex-shrink: 0;
}

/* Redesigned 2-Column Magazine Article Detail */
.news-reader-section {
  background: var(--paper);
  padding: 44px 0 72px;
}
.news-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 32px;
  align-items: start;
}
.news-reader-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 42px 46px;
}
.news-reader-head {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.news-reader-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--muted);
}
.news-reader-head h1 {
  margin-top: 14px;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  line-height: 1.32;
  color: var(--ink);
}
.news-reader-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
}
.news-reader-body h2 {
  margin: 34px 0 14px;
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  padding-left: 12px;
  border-left: 4px solid var(--orange);
  scroll-margin-top: 96px;
}
.news-reader-body p {
  margin-bottom: 16px;
}
.news-callout {
  background: var(--orange-soft);
  border-left: 4px solid var(--orange);
  border-radius: 0 14px 14px 0;
  padding: 18px 22px;
  margin-bottom: 26px;
}
.news-callout strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange-deep);
  margin-bottom: 6px;
}
.news-callout p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink);
}
.news-lead-figure {
  margin: 22px 0 28px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}
.news-lead-figure img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  background: #FFF9F5;
  padding: 14px;
  display: block;
}
.news-lead-figure figcaption {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.news-bullet-list {
  margin: 10px 0 20px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}
.news-bullet-list li {
  list-style: disc;
  line-height: 1.75;
}
.news-table-wrap {
  margin: 18px 0 24px;
}
.news-footnote {
  font-size: 13.5px;
  color: var(--muted);
  background: var(--paper);
  padding: 12px 16px;
  border-radius: 10px;
  margin: 12px 0 20px;
}
.news-sources-box {
  margin-top: 32px;
  padding: 20px 24px;
  border-radius: 14px;
  background: #FFF9F5;
  border: 1px solid rgba(254, 105, 0, 0.22);
}
.news-sources-box h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.news-sources-box ul {
  display: grid;
  gap: 8px;
  padding-left: 0;
  list-style: none;
}
.news-sources-box a {
  color: var(--orange-deep);
  font-weight: 600;
  font-size: 14.5px;
}
.news-sources-box a:hover {
  text-decoration: underline;
}

.news-pager {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.news-pager > div {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.news-pager span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.news-pager a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.news-pager a:hover {
  color: var(--orange-deep);
}

.news-sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 92px;
}
.news-side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.news-side-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.news-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.news-toc-list a {
  display: flex;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text);
}
.news-toc-list a:hover {
  color: var(--orange-deep);
}
.news-toc-list span {
  font-weight: 700;
  color: var(--orange);
  flex-shrink: 0;
}
.news-related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.news-related-list a {
  display: block;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.news-related-list li:last-child a {
  border-bottom: 0;
  padding-bottom: 0;
}
.news-related-list strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}
.news-related-list a:hover strong {
  color: var(--orange-deep);
}
.news-related-list time {
  font-size: 12px;
  color: var(--muted);
}
.news-side-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-deep);
}
.news-side-card.is-cta-card {
  background: linear-gradient(155deg, #FFF7F0 0%, #FFFFFF 100%);
  border-color: rgba(254, 105, 0, 0.25);
}
.news-side-duck {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 10px;
}
.news-side-card.is-cta-card h2 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}
.news-side-card.is-cta-card p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}
.news-side-btns {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.news-side-btns .btn {
  justify-content: center;
}

/* HTML Sitemap */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.sitemap-news-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.sitemap-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 26px;
}
.sitemap-card h2 {
  font-size: 18px;
  font-weight: 700;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.sitemap-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.sitemap-card a {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.5;
}
.sitemap-card a:hover {
  color: var(--orange-deep);
  text-decoration: underline;
}

@media (max-width: 1080px) {
  .media-cards-grid,
  .news-mag-grid,
  .sitemap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .news-detail-grid {
    grid-template-columns: 1fr;
  }
  .news-sidebar {
    position: static;
  }
}
@media (max-width: 760px) {
  .media-cards-grid,
  .news-mag-grid,
  .sitemap-grid,
  .sitemap-news-grid,
  .news-hero-inner,
  .news-pager {
    grid-template-columns: 1fr;
  }
  .news-reader-card {
    padding: 24px 20px;
  }
}


/* ============================================================================
   2026-11-28b · CNR/CRI Official Logos, GEO Fact Box, Article FAQ & Citations
   ============================================================================ */
.media-logo-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.media-brand-logo {
  height: 30px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}
.media-logo-x {
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
}
.media-card-logo {
  height: 24px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}

.news-geo-facts {
  margin: 0 0 26px;
  padding: 20px 24px;
  border-radius: 16px;
  background: #FAFAF9;
  border: 1px solid var(--line);
}
.news-geo-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.news-geo-head span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--orange-deep);
  background: var(--orange-soft);
  padding: 3px 9px;
  border-radius: 999px;
}
.news-geo-head strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.news-geo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 0;
}
.news-geo-grid > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.news-geo-grid dt {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.news-geo-grid dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.news-faq-box {
  margin-top: 36px;
  padding-top: 8px;
}
.news-faq-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}
.news-faq-item {
  padding: 18px 22px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.news-faq-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.5;
}
.news-faq-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text);
}

.news-sources-head span {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--orange-deep);
  margin-bottom: 4px;
}
.news-sources-head h2 {
  margin: 0 0 6px !important;
  padding-left: 0 !important;
  border-left: 0 !important;
  font-size: 18px !important;
}
.news-sources-head p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 14px !important;
}
.news-sources-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.news-source-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid rgba(20, 14, 10, 0.09);
  transition: border-color 160ms var(--ease), transform 160ms var(--ease);
}
.news-source-link:hover {
  border-color: var(--orange);
  transform: translateY(-1px);
  text-decoration: none !important;
}
.cy-rich-content img.src-media-logo,
.src-media-logo {
  height: 20px !important;
  width: auto !important;
  max-width: 96px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.src-org-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
  white-space: nowrap;
}
.src-label {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}
.src-ext {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--orange-deep);
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .news-geo-grid {
    grid-template-columns: 1fr;
  }
  .news-source-link {
    flex-wrap: wrap;
  }
}


/* ============================================================================
   2026-11-28d · Chongya Services, Verifiable Metrics & Data Attribution Box
   ============================================================================ */
.news-brand-box {
  margin: 38px 0 30px;
  padding: 28px 30px;
  border-radius: 18px;
  background: linear-gradient(160deg, #FFF7F0 0%, #FFFFFF 100%);
  border: 1px solid rgba(254, 105, 0, 0.24);
}
.news-brand-head span {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--orange-deep);
  background: rgba(254, 105, 0, 0.12);
  padding: 3px 10px;
  border-radius: 999px;
}
.news-brand-head h2 {
  margin: 10px 0 8px !important;
  padding-left: 0 !important;
  border-left: 0 !important;
  font-size: 21px !important;
  color: var(--ink);
}
.news-brand-head p {
  margin: 0 0 18px !important;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--text);
}
.news-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.news-metric-card {
  background: var(--white);
  border: 1px solid rgba(20, 14, 10, 0.09);
  border-radius: 14px;
  padding: 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.news-metric-card strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--orange-deep);
  line-height: 1.2;
}
.news-metric-card span {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.news-metric-card small {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.45;
}
.news-brand-list {
  margin: 0 0 18px;
}
.news-brand-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(254, 105, 0, 0.16);
}
.news-brand-links a {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(254, 105, 0, 0.28);
  color: var(--orange-deep);
  font-size: 13px;
  font-weight: 600;
  transition: background 150ms var(--ease), color 150ms var(--ease);
}
.news-brand-links a:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.news-data-attribution {
  background: var(--white);
  border: 1px solid rgba(20, 14, 10, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
  display: grid;
  gap: 8px;
}
.news-data-attribution p {
  margin: 0 !important;
  font-size: 13px;
  line-height: 1.68;
  color: var(--text);
}
.news-data-attribution a {
  color: var(--orange-deep);
  font-weight: 600;
}

@media (max-width: 900px) {
  .news-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .news-brand-box {
    padding: 20px 18px;
  }
  .news-metrics-grid {
    grid-template-columns: 1fr;
  }
}


/* 2026-11-28g · External Quantitative Benchmark Box */
.news-bench-box {
  margin: 34px 0 28px;
  padding: 24px 26px;
  border-radius: 16px;
  background: #F8FAFC;
  border: 1px solid rgba(15, 23, 42, 0.1);
}
.news-bench-head span {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #1D4ED8;
  background: #EFF6FF;
  padding: 3px 10px;
  border-radius: 999px;
}
.news-bench-head h2 {
  margin: 10px 0 6px !important;
  padding-left: 0 !important;
  border-left: 0 !important;
  font-size: 19px !important;
}
.news-bench-head p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 12px !important;
}


/* 2026-11-28h · Official Origin Site Favicon Badges */
.src-org-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 7px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
  white-space: nowrap;
}
.cy-rich-content img.src-favicon,
.src-favicon {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 3px !important;
  box-shadow: none !important;
  object-fit: contain;
  display: block;
}

/* === Faculty Rigor, Certificates & /results Delivery Proof === */
.faculty-rigor-block, .faculty-cert-wall { margin: 28px 0 36px; padding: 28px; border-radius: 20px; background: #fff; border: 1px solid rgba(20, 14, 10, .08); box-shadow: 0 8px 28px rgba(20, 14, 10, .04); }
.rigor-head { margin-bottom: 20px; }
.rigor-head h3 { margin: 10px 0 0; font-size: 1.35rem; color: #140e0a; }
.rigor-funnel-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.rigor-step-card { padding: 16px; border-radius: 14px; background: #fff8f2; border: 1px solid rgba(254, 105, 0, .18); }
.rigor-step-top { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.rigor-step-top strong { font-size: .82rem; color: #fe6900; letter-spacing: .03em; }
.rigor-step-top span { font-size: 1rem; font-weight: 700; color: #140e0a; }
.rigor-step-card p { margin: 0; font-size: .86rem; line-height: 1.6; color: #544940; }
.rigor-roles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rigor-role-card { padding: 18px 20px; border-radius: 14px; background: #140e0a; color: #fff; }
.rigor-role-num { display: inline-block; font-size: .75rem; font-weight: 700; color: #fe6900; letter-spacing: .06em; margin-bottom: 6px; }
.rigor-role-card h4 { margin: 0 0 4px; font-size: 1.08rem; color: #fff; }
.rigor-role-card strong { display: block; font-size: .88rem; color: #ffb37a; margin-bottom: 8px; font-weight: 600; }
.rigor-role-card p { margin: 0; font-size: .86rem; line-height: 1.6; color: rgba(255, 255, 255, .82); }

.proof-metrics-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 36px; }
.proof-metric-item { padding: 22px 20px; border-radius: 16px; background: #fff; border: 1px solid rgba(20, 14, 10, .08); text-align: left; }
.proof-metric-item strong { display: block; font-size: 1.85rem; line-height: 1.1; color: #fe6900; font-weight: 800; }
.proof-metric-item span { display: block; margin-top: 6px; font-size: .96rem; font-weight: 700; color: #140e0a; }
.proof-metric-item small { display: block; margin-top: 4px; font-size: .82rem; color: #6a5f56; }

.delivery-stages-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.delivery-stage-card { padding: 22px; border-radius: 16px; background: #fff; border: 1px solid rgba(20, 14, 10, .08); transition: transform .2s ease, box-shadow .2s ease; }
.delivery-stage-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20, 14, 10, .07); }
.delivery-stage-num { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #fff1e6; color: #fe6900; font-size: .78rem; font-weight: 800; letter-spacing: .05em; margin-bottom: 10px; }
.delivery-stage-card h3 { margin: 0 0 8px; font-size: 1.08rem; color: #140e0a; }
.delivery-stage-card p { margin: 0; font-size: .9rem; line-height: 1.68; color: #544940; }

.proof-gallery-grid { display: grid; gap: 20px; }
.proof-gallery-grid.is-three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.proof-gallery-grid.is-four-col { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof-gallery-grid.is-cert-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.proof-card { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid rgba(20, 14, 10, .09); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.proof-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20, 14, 10, .08); }
.proof-img-link { display: block; background: #faf6f2; overflow: hidden; aspect-ratio: 4 / 3; }
.proof-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.proof-img.is-portrait { object-position: top center; }
.proof-card:hover .proof-img { transform: scale(1.03); }
.proof-card figcaption { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.proof-tag { align-self: flex-start; padding: 2px 8px; border-radius: 999px; background: #fff1e6; color: #fe6900; font-size: .74rem; font-weight: 700; }
.proof-card h3, .proof-card h4 { margin: 0; font-size: .96rem; line-height: 1.45; color: #140e0a; }
.proof-card p { margin: 0; font-size: .83rem; line-height: 1.55; color: #63584f; }

@media (max-width: 1080px) {
  .rigor-funnel-grid, .proof-gallery-grid.is-cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-gallery-grid.is-four-col, .proof-metrics-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .rigor-funnel-grid, .rigor-roles-grid, .delivery-stages-grid, .proof-gallery-grid.is-three-col, .proof-gallery-grid.is-four-col, .proof-gallery-grid.is-cert-grid, .proof-metrics-bar { grid-template-columns: 1fr; }
}

/* === /about Gateway Cards & Click-to-Zoom Lightbox === */
.about-gateway-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.about-gateway-card { padding: 30px 32px; border-radius: 22px; background: #fff8f2; border: 1px solid rgba(254, 105, 0, .2); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.about-gateway-card.is-dark { background: #140e0a; color: #fff; border-color: #140e0a; }
.about-gateway-card h2 { margin: 0; font-size: 1.4rem; line-height: 1.35; }
.about-gateway-card p { margin: 0; font-size: .94rem; line-height: 1.7; color: #544940; }
.about-gateway-card.is-dark p { color: rgba(255, 255, 255, .82); }
dialog.cy-lightbox { max-width: min(92vw, 960px); max-height: 92vh; padding: 18px; border: 0; border-radius: 18px; background: #140e0a; color: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); overflow: auto; }
dialog.cy-lightbox::backdrop { background: rgba(14, 10, 8, .78); backdrop-filter: blur(4px); }
.cy-lb-close { position: sticky; top: 0; float: right; width: 36px; height: 36px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .18); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.cy-lb-close:hover { background: #fe6900; }
.cy-lb-img { display: block; max-width: 100%; max-height: 76vh; margin: 8px auto 0; border-radius: 10px; object-fit: contain; }
.cy-lb-cap { margin: 12px 0 0; text-align: center; font-size: .9rem; color: rgba(255, 255, 255, .86); }
@media (max-width: 760px) { .about-gateway-grid { grid-template-columns: 1fr; } }
