/* ========================================
   Components — Enterprise-level polish
   Depth, gradients, glass, micro-animations
======================================== */

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(250, 251, 250, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.06);
  z-index: 1000;
  transition: box-shadow var(--transition-base), background var(--transition-base);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(250, 251, 250, 0.95);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity var(--transition-fast);
}

.nav__logo:hover {
  opacity: 0.85;
  color: var(--primary);
}

.nav__logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.25);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.nav__logo:hover .nav__logo-icon {
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.35);
  transform: scale(1.05);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__link {
  font-size: var(--fs-small);
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base), left var(--transition-base);
  border-radius: 1px;
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
  left: 0;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--primary);
  font-size: var(--fs-small);
  font-weight: 500;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.nav__cta:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1010;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition-base);
  border-radius: 1px;
}

.nav__hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(5px) translateX(5px);
}
.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-5px) translateX(5px);
}

/* Mobile drawer */
.nav__drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--white);
  padding: calc(var(--nav-height) + var(--space-lg)) var(--space-lg) var(--space-lg);
  transition: right var(--transition-base);
  z-index: 1005;
  box-shadow: var(--shadow-xl);
}

.nav__drawer.open {
  right: 0;
}

.nav__drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1004;
  opacity: 0;
  transition: opacity var(--transition-base);
  backdrop-filter: blur(4px);
}

.nav__drawer-overlay.open {
  opacity: 1;
}

.nav__drawer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.nav__drawer-link {
  display: block;
  padding: var(--space-sm) 0;
  font-size: var(--fs-body);
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.nav__drawer-link:hover {
  color: var(--primary);
  padding-left: 8px;
}

/* ---- Buttons ---- */
/* Unified Button Style - Minimal, Japanese standard */
.btn, .btn-primary, .btn-secondary, button, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: var(--fs-body);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background 0.3s, color 0.3s;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid var(--button-border);
  background: var(--button-bg);
  color: var(--button-text);
  box-shadow: none;
  position: relative;
  overflow: hidden;
}
.btn:hover, .btn-primary:hover, .btn-secondary:hover, button:hover, input[type="submit"]:hover {
  background: var(--button-hover-bg);
  color: var(--button-hover-text);
}
.btn--lg {
  padding: 16px 44px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
}
.btn--sm {
  padding: 8px 20px;
  font-size: var(--fs-small);
}

/* Overlay for image cards */
.card-image-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--overlay-dark);
  z-index: 1;
  border-radius: inherit;
}

/* Card text on image */
.card-image-text {
  position: relative;
  z-index: 2;
  color: var(--black);
  font-weight: 600;
  transition: color 0.3s ease;
}
.card:hover .card-image-text {
  color: var(--white);
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

/* Add overlay to cards with images */
.card.has-image .card-image-overlay {
  display: block;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
  border-radius: 0;
  transition: height var(--transition-base);
  /* Start from straight vertical, no rounded corner */
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin-left: 0;
  box-shadow: var(--shadow-sm);
  border-color: rgba(var(--primary-rgb), 0.12);
}

.card:hover::before {
  height: 100%;
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(var(--primary-rgb), 0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--primary);
  font-size: 1.35rem;
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.1);
}

.card:hover .card__icon {
  transform: scale(1.05); /* No rotation, simple scale */
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.15);
}

/* SVG Icon base */
.icon {
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition-fast);
}

.card__text {
  color: var(--text);
  font-size: var(--fs-small);
  line-height: 1.8;
  transition: color var(--transition-fast);
}

/* Card Hover Effects */
.card:hover {
  background: var(--primary-green);
  border-color: var(--primary-green);
}

.card .card__title {
  color: var(--black);
  transition: color 0.3s ease;
}

.card .card__text {
  color: var(--black);
  transition: color 0.3s ease;
}

.card:hover .card__title {
  color: var(--white);
}

.card:hover .card__text {
  color: var(--white);
}

.card:hover .card__icon {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--space-md);
  font-size: var(--fs-small);
  color: var(--primary);
  font-weight: 500;
}

.card__link::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.card:hover .card__link::after,
.card__link:hover::after {
  transform: translateX(6px);
}

/* Grid layouts */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---- Accordion (FAQ) ---- */
.accordion__item {
  border-bottom: 1px solid var(--border-light);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-fast);
}

.accordion__trigger:hover {
  color: var(--primary);
}

.accordion__icon {
  font-size: 1.25rem;
  transition: transform var(--transition-base);
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: var(--space-sm);
}

.accordion__item.open .accordion__icon {
  transform: rotate(45deg);
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.accordion__content-inner {
  padding: 0 0 var(--space-md);
  color: var(--text-muted);
  line-height: var(--lh-body);
  font-size: var(--fs-small);
}

/* ---- Tags / Badges ---- */
.tag {
  display: inline-block;
  padding: 4px 14px;
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
}

.tag--accent {
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* ---- Footer ---- */
.footer {
  background: var(--gradient-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-2xl) 0 var(--space-lg);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  opacity: 0.4;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  color: #fff;
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.footer__text {
  font-size: var(--fs-small);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: var(--space-sm);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer__link {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer__link:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.35);
}

/* ---- Form elements ---- */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--space-xs);
}

.form-label .required {
  color: var(--primary);
  margin-left: 4px;
  font-size: var(--fs-xs);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  font-size: var(--fs-body);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.08);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  font-size: var(--fs-xs);
  color: #C44D4D;
  margin-top: 4px;
  display: none;
}

.form-group.error .form-input,
.form-group.error .form-textarea {
  border-color: #C44D4D;
}

.form-group.error .form-error {
  display: block;
}

/* ---- Progress Steps ---- */
.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.progress-step {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-small);
  color: var(--text-light);
}

.progress-step.active {
  color: var(--primary);
  font-weight: 500;
}

.progress-step.completed {
  color: var(--primary);
}

.progress-step__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.progress-step.active .progress-step__dot {
  background: var(--gradient-primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.25);
}

.progress-step.completed .progress-step__dot {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.progress-step__line {
  width: 40px;
  height: 2px;
  background: var(--border);
  border-radius: 0;
}

.progress-step.completed + .progress-step__line,
.progress-step.active + .progress-step__line {
  background: linear-gradient(90deg, var(--primary) 0%, rgba(var(--primary-rgb), 0.4) 100%);
}

/* ---- Hero ---- */
.hero {
  min-height: 80vh; /* Reduced from 100vh to show more content */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + var(--space-xl)) var(--space-lg) var(--space-xl);
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
}

/* Gradient mesh overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-mesh);
  pointer-events: none;
  /* animation: gradientShift 12s ease-in-out infinite alternate; */
  opacity: 0.6; /* Static, calm overlay */
}

/* 
  Japanese Design: Ma (Negative Space)
  Removed decorative orb to clear visual clutter.
*/
/* .hero::after { ... } */

.hero__content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero__label {
  font-family: var(--font-en);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
  display: inline-block;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(8px);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.02em;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  line-height: var(--lh-body);
  margin-bottom: var(--space-xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-2xl);
  text-align: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-mesh);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero__label {
  font-family: var(--font-en);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
  display: inline-block;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.page-hero__subtitle {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ---- Stats Counter ---- */
.stats-container {
  background: var(--gradient-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

.stat {
  position: relative;
}

.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-light);
}

.stat__number {
  font-family: var(--font-en);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat__number span {
  font-size: 0.5em;
  font-weight: 400;
}

.stat__label {
  font-size: var(--fs-small);
  color: var(--text-muted);
  font-weight: 500;
}

/* ---- Tabs ---- */
.tabs {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
}

.tab {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab:hover {
  color: var(--primary);
}

/* ---- Tab Panels ---- */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ---- Timeline (flow line): straight vertical, gradient lighter toward bottom ---- */
.timeline {
  position: relative;
  padding-left: calc(var(--space-xl) + 14px);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  /* Straight vertical; dark green at top, lighter green at bottom */
  background: linear-gradient(
    180deg,
    var(--primary-dark) 0%,
    var(--primary) 30%,
    rgba(var(--primary-rgb), 0.5) 70%,
    var(--primary-light) 100%
  );
  border-radius: 0;
}

.timeline__item {
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: calc(-1 * (var(--space-xl) + 14px) - 6px); /* align dot center with 2px line */
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary-light), var(--shadow-sm);
}

.timeline__year {
  font-family: var(--font-en);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.timeline__text {
  color: var(--text-muted);
  font-size: var(--fs-small);
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--gradient-cta);
  color: #fff;
  padding: var(--space-2xl) var(--space-xl);
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

/* Decorative shimmer */
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.03) 0%, transparent 50%);
  animation: float 10s ease-in-out infinite;
}

/* Accent glow orb */
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  color: #fff;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.cta-banner__text {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-lg);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-banner__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-banner .btn {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--primary);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}

.cta-banner .btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.cta-banner .btn--accent-cta {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.cta-banner .btn--accent-cta:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

/* ---- Interview Card (interviews page only) ---- */
.page-interviews .interview-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
}

.page-interviews .interview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.page-interviews .interview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.page-interviews .interview-card:hover::before {
  opacity: 1;
}

.page-interviews .interview-card__image {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-interviews .interview-card__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: var(--white);
}

/* Interview Carousel Styling */
.page-home .interview-carousel {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
  padding-bottom: var(--space-md);
  cursor: grab;
}

.page-home .interview-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.page-home .interview-carousel:active {
  cursor: grabbing;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  width: 100%;
}

.carousel-nav__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.carousel-nav__btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.page-interviews .interview-card__role {
  margin-bottom: var(--space-sm);
}

.page-interviews .interview-card__quote {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-left: var(--space-md);
}

.page-interviews .interview-card__quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.2;
  font-family: var(--font-heading);
  line-height: 1;
}

.page-interviews .interview-card__name {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* ---- Utility Classes for inline style cleanup ---- */
.mission-text {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.card--clickable {
  text-decoration: none;
  color: inherit;
}

.drawer-entry-link {
  color: var(--primary);
  font-weight: 600;
}

.footer-text--spaced {
  margin-top: 0.5rem;
}

/* Decorative blur spots for sections */
.section--decorated {
  position: relative;
  overflow: hidden;
}

.section--decorated::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.section--decorated::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* ========================================
   Structural Alignment (CAPS / Total Care Style)
======================================== */

/* ---- Photo Cards (Appeal Section) ---- */
.card--photo {
  padding: 0;
  border: none;
  background-size: cover;
  background-position: center;
  min-height: 400px; /* Tall, impactful cards */
  overflow: hidden;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border-radius: var(--radius-lg);
}

.card--photo::before {
  display: none; /* Remove accent border */
}

.card--photo:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card__overlay {
  position: absolute;
  inset: 0;
  /* Darker overlay rgba(0,0,0,0.5) for WCAG-readable contrast */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.35) 100%
  );
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
  transition: background var(--transition-base);
}

.card--photo:hover .card__overlay {
  background: linear-gradient(
    to top,
    rgba(0, 40, 35, 0.7) 0%,
    rgba(0, 40, 35, 0.55) 60%,
    rgba(0, 40, 35, 0.4) 100%
  );
}

.card--photo .card__content {
  color: #fff;
  z-index: 1;
}

.card--photo .card__title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  transition: color 0.3s ease;
}

.card--photo .card__text {
  color: rgba(255, 255, 255, 0.98);
  font-size: 0.95rem;
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  transition: color 0.3s ease;
}

/* ---- Staff Profile Cards (Voices) ---- */
.card--profile {
  padding: 0;
  overflow: hidden;
  border: none;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

.card--profile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.card__body {
  padding: var(--space-lg);
}

.card__role {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  display: block;
}

.card__name {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: var(--space-md);
  color: var(--text);
}

.card--profile .card__link {
  margin-top: 0;
}

/* ---- Global Fixed CTA (PC Right Sidebar) ---- */
.fixed-cta-pc {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.05);
}

.fixed-cta-pc__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  padding: 20px 0;
  text-decoration: none;
  color: #fff;
  transition: width 0.3s ease, background 0.3s ease;
  overflow: hidden;
}

.fixed-cta-pc__btn:hover {
  width: 70px;
}

.fixed-cta-pc__btn--entry {
  background: var(--primary);
  border-bottom-left-radius: 8px;
}

.fixed-cta-pc__btn--entry:hover {
  background: var(--primary-dark);
}

.fixed-cta-pc__btn--connect {
  background: #2e86c1;
}

.fixed-cta-pc__btn--connect:hover {
  background: #256d9b;
}

.fixed-cta-pc__btn--line {
  background: #06C755;
  border-top-left-radius: 8px;
}

.fixed-cta-pc__btn--line:hover {
  background: #05a646;
}

.fixed-cta-pc__btn .vertical-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin: 10px 0;
}

.fixed-cta-pc__btn .icon {
  width: 24px;
  height: 24px;
}

/* ---- Global Fixed CTA (SP Bottom Bar) ---- */
.fixed-cta-sp {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  z-index: 1000;
}

.fixed-cta-sp__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.fixed-cta-sp__btn .icon {
  width: 20px;
  height: 20px;
}

.fixed-cta-sp__btn--line {
  background: #06C755;
}

.fixed-cta-sp__btn--connect {
  background: #2e86c1;
}

.fixed-cta-sp__btn--entry {
  background: var(--primary);
}

@media (max-width: 768px) {
  .fixed-cta-pc {
    display: none;
  }
  .fixed-cta-sp {
    display: flex;
  }
}
@media (min-width: 769px) {
  .fixed-cta-sp {
    display: none;
  }
}


/* ========================================
   Utility Classes — Inline Style Cleanup
======================================== */

/* Data stat cards (environment /  numbers sections) */
.data-card {
  text-align: center;
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-light);
}

.data-card__number {
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.data-card__label {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* Job detail tables */
.job-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-small);
}

.job-table tr {
  border-bottom: 1px solid var(--border-light);
}

.job-table td {
  padding: 8px 0;
}

.job-table td:first-child {
  color: var(--text-muted);
  white-space: nowrap;
  padding-right: var(--space-md);
  font-weight: 500;
  font-size: var(--fs-xs);
  width: 120px;
}

.job-table td:last-child {
  color: var(--text);
}

/* Numbered list items (education, features) */
.numbered-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.numbered-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-muted);
  font-size: var(--fs-small);
}

.numbered-list__num {
  color: var(--primary);
  font-weight: 600;
  flex-shrink: 0;
}

/* Technology / feature items */
.tech-item {
  padding: var(--space-md);
  text-align: center;
}

.tech-item__icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  color: var(--primary);
}

.tech-item__title {
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--text);
}

.tech-item__desc {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* Two-column layout (replaces inline grid) */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

/* Section description text */
.section-desc {
  line-height: 2;
  margin-bottom: var(--space-md);
}

/* Centered paragraph with max-width */
.text-centered-narrow {
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Section heading with specific size (inline override) */
.heading--lg {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-lg);
}

/* Image placeholder panels */
.image-panel {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--border-radius-lg);
  background-size: cover;
  background-position: center;
}

/* Flex column with gap */
.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-col--md {
  gap: var(--space-md);
}

.flex-col--xl {
  gap: var(--space-xl);
}

/* Flex center (for image containers) */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tag with bottom margin */
.tag--spaced {
  margin-bottom: var(--space-sm);
}

/* Card text with bottom margin */
.card__text--spaced {
  margin-bottom: var(--space-md);
}

/* Benefit item cards (jobs page) */
.benefit-item {
  text-align: center;
  padding: var(--space-md);
}

.benefit-item__title {
  font-weight: 500;
  margin-bottom: 4px;
}

.benefit-item__desc {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* Drawer entry link override */
.nav__drawer-entry {
  color: var(--primary);
  font-weight: 600;
}

/* Contact / connect page heading */
.connect-heading {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-md);
}

/* Action link margin top */
.card__link--spaced {
  margin-top: var(--space-md);
}

/* Privacy / legal text */
.legal-heading {
  font-size: var(--fs-h3);
  text-align: left;
}

.legal-text {
  text-align: left;
  max-width: none;
}

.legal-section {
  margin-top: var(--space-xl);
}

/* Legal list */
.legal-list {
  text-align: left;
  max-width: none;
  list-style: disc;
  padding-left: 1.5em;
}

.legal-list li {
  color: var(--text-muted);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  margin-bottom: var(--space-xs);
}

/* Centered action area */
.action-center {
  text-align: center;
  margin-top: var(--space-xl);
}

/* FAQ category spacing */
.faq-category {
  margin-bottom: var(--space-xl);
}

/* Form grid no margin */
.grid--flush {
  margin-bottom: 0;
}

/* Checkbox flex row */
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.checkbox-row input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--primary);
}

/* Contact info items */
.contact-info__title {
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

/* Grid with bottom margin */
.grid--spaced {
  margin-bottom: var(--space-md);
}

/* Center link area */
.center-link {
  text-align: center;
  margin-top: var(--space-lg);
}

/* Text hint */
.text-hint {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

/* CTA button group */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Accent button variant (align with primary button styling) */
.btn--accent {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn--accent:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   CAPS-Style Restructured Sections
   ============================================ */

/* --- Cinematic Hero --- */
.hero--cinematic {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero--cinematic__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
  z-index: 0;
}

.hero--cinematic__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: var(--space-2xl) var(--space-lg);
  max-width: 800px;
}

.hero--cinematic__label {
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.85;
  margin-bottom: var(--space-md);
  display: block;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.hero--cinematic__title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero--cinematic__subtitle {
  font-size: var(--fs-body);
  line-height: 1.8;
  opacity: 1;
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}

.hero--cinematic__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.hero--cinematic__actions .btn {
  min-width: 180px;
  font-size: var(--fs-body);
  padding: 16px 32px;
}

.hero--cinematic__actions .btn--outline {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.hero--cinematic__actions .btn--outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* Hero Quick-Nav Category Links */
.hero__categories {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.hero__cat-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--border-radius);
  color: #fff;
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-base);
  backdrop-filter: blur(4px);
}

.hero__cat-link:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.hero__cat-link .icon {
  width: 18px;
  height: 18px;
  opacity: 0.8;
}

/* --- Director Message Section --- */
.message-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.message__portrait {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.message__role {
  font-size: var(--fs-small);
  color: var(--primary);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.message__name {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.message__text {
  font-size: var(--fs-body);
  line-height: 2;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.message__link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-base);
}

.message__link:hover {
  color: var(--primary-dark);
  gap: 10px;
}

/* --- Large Visual Job Category Cards --- */
.category-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.card--category {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: var(--transition-base);
}

.card--category__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.card--category::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%);
  z-index: 1;
  transition: var(--transition-base);
}

.card--category:hover::before {
  background: linear-gradient(to top, rgba(46, 107, 98, 0.85) 0%, rgba(0,0,0,0.2) 60%);
}

.card--category:hover .card--category__bg {
  transform: scale(1.08);
}

.card--category__content {
  position: relative;
  z-index: 2;
  padding: var(--space-lg);
}

.card--category__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  margin-bottom: var(--space-sm);
  backdrop-filter: blur(4px);
}

.card--category__icon .icon {
  width: 20px;
  height: 20px;
}

.card--category__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: 6px;
}

.card--category__desc {
  font-size: var(--fs-small);
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.card--category__arrow {
  font-size: var(--fs-small);
  font-weight: 600;
  opacity: 0.8;
  transition: var(--transition-base);
}

.card--category:hover .card--category__arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* --- Interview Carousel (interviews page slider) --- */
.page-interviews .interview-carousel {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;                /* Allow programmatic scroll; scrollbar hidden below */
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--space-md);
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
}

.page-interviews .interview-carousel::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
  background: transparent;
}

.page-interviews .interview-carousel::-webkit-scrollbar-track {
  display: none;
}

.page-interviews .interview-carousel::-webkit-scrollbar-thumb {
  display: none;
}

.page-interviews .interview-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text);
  transition: var(--transition-base);
}

.page-interviews .interview-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.page-interviews .interview-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-interviews .interview-card__body {
  padding: var(--space-md);
}

.page-interviews .interview-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.page-interviews .interview-card__tag {
  font-size: var(--fs-xs);
  padding: 3px 10px;
  border-radius: var(--border-radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}

.page-interviews .interview-card__date {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.page-interviews .interview-card__title {
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.page-interviews .interview-card__excerpt {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.carousel-nav {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  align-items: center;
  margin-top: var(--space-md);
  width: 100%;
}

.carousel-nav__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
  color: var(--text);
}

.carousel-nav__btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* --- News/Topics Section --- */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-light);
}

.news-item {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: var(--text);
  transition: var(--transition-base);
}

.news-item:hover {
  background: var(--primary-50);
  padding-left: var(--space-sm);
  padding-right: var(--space-sm);
}

.news-item__date {
  font-size: var(--fs-small);
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 100px;
}

.news-item__tag {
  font-size: var(--fs-xs);
  padding: 2px 10px;
  border-radius: var(--border-radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
}

.news-item__title {
  font-size: var(--fs-body);
  flex: 1;
}

/* --- Casual Connect Section --- */
.casual-connect {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.connect-card {
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  background: var(--white);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: var(--transition-base);
}

.connect-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.connect-card--line {
  border-color: #06C755;
  background: linear-gradient(135deg, #f0faf3 0%, #fff 100%);
}

.connect-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
}

.connect-card--line .connect-card__icon {
  background: #06C755;
  color: #fff;
}

.connect-card__title {
  font-size: var(--fs-h4);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.connect-card__text {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.connect-card__cta {
  display: inline-block;
  padding: 10px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: var(--fs-small);
  text-decoration: none;
  transition: var(--transition-base);
}

.connect-card__cta--line {
  background: #06C755;
  color: #fff;
}

.connect-card__cta--line:hover {
  background: #05B04C;
}

.connect-card__cta--primary {
  background: var(--primary);
  color: #fff;
}

.connect-card__cta--primary:hover {
  background: var(--primary-dark);
}

/* Schedule list within connect card */
.schedule-list {
  text-align: left;
  margin-bottom: var(--space-md);
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: var(--fs-small);
}

.schedule-item__date {
  font-weight: 600;
  color: var(--text);
}

.schedule-item__link {
  font-size: var(--fs-xs);
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.schedule-item__link:hover {
  color: var(--primary-dark);
}

/* --- Enhanced Stats with Visual Bars --- */
.stat--visual {
  text-align: center;
}

.stat__bar {
  width: 80px;
  height: 4px;
  background: var(--border-light);
  border-radius: 2px;
  margin: var(--space-sm) auto 0;
  overflow: hidden;
}

.stat__bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  width: 0;
  transition: width 1.5s ease;
}

/* --- Section View All Link --- */
.section__more {
  text-align: center;
  margin-top: var(--space-xl);
}

.section__more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  padding: 10px 24px;
  border: 1px solid var(--primary);
  border-radius: var(--border-radius);
  transition: var(--transition-base);
}

.section__more-link:hover {
  background: var(--primary);
  color: #fff;
}

/* ========================================
   Utility & Shared Patterns
   Extracted from inline styles for reuse
======================================== */

/* Card — centered text variant */
.card--centered {
  text-align: center;
}

/* Card — large icon wrapper */
.card__icon-lg {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  color: var(--primary);
}

/* Schedule row — seminar/event listing */
.schedule-row {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
}

/* Schedule date display — large number + small caption */
.schedule-date {
  min-width: 80px;
  text-align: center;
}

.schedule-date__number {
  font-family: var(--font-en);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
}

.schedule-date__caption {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* Two-col flex child */
.flex-fill {
  flex: 1;
}

/* QR code placeholder */
.qr-placeholder {
  width: 240px;
  height: 240px;
  border-radius: var(--border-radius-lg);
  background: var(--white);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.qr-placeholder__inner {
  width: 180px;
  height: 180px;
  background: var(--bg-alt);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-small);
  color: var(--text-muted);
  text-align: center;
}

/* Center flex utility */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Legal / Privacy Page ---- */
.legal-heading {
  font-size: var(--fs-h3);
  text-align: left;
}

.legal-list {
  color: var(--text-muted);
  line-height: 2;
  margin-top: var(--space-sm);
  padding-left: var(--space-md);
}

.legal-section {
  margin-top: var(--space-xl);
}

.contact-box {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-alt);
  border-radius: var(--radius-md);
}

.contact-box__name {
  color: var(--text);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.contact-box__address {
  color: var(--text-muted);
  font-size: var(--fs-small);
  line-height: 1.8;
}

.legal-date {
  color: var(--text-light);
  font-size: var(--fs-small);
  margin-top: var(--space-lg);
}

/* Connect page — two-col heading */
.two-col-heading {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-md);
}

.two-col-text {
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: var(--space-lg);
}

.hint-text {
  font-size: var(--fs-xs);
  color: var(--text-light);
}

.btn--line {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn--line:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Form card wrapper */
.form-card {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-light);
}

.form-actions {
  text-align: center;
  margin-top: var(--space-lg);
}

/* FAQ category spacing */
.faq-category {
  margin-bottom: var(--space-xl);
}

.faq-category__title {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.faq-cta-text {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

/* Benefit inline items */
.benefit-inline {
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.benefit-inline-desc {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ---- Modal ---- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.modal.active {
  display: flex;
}

.modal__content {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
}

.modal__close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.25rem;
  border: none;
  background: none;
}

/* Multi-step form */
.form-step {
  display: none;
}

.form-step:first-child {
  display: block;
}


/* ========================================
   2026 Refinement Overrides
   Minimal color, readability, responsive stability
======================================== */

.nav {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav__logo {
  color: var(--text);
}

.nav__logo-icon {
  background: var(--primary);
  color: var(--white);
  box-shadow: none;
}

.nav__cta,
.btn,
.btn-primary,
.btn-secondary,
.btn--accent,
.btn--outline,
button.btn,
input[type="submit"] {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--primary);
  box-shadow: none;
}

.nav__cta:hover,
.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn--accent:hover,
.btn--outline:hover,
button.btn:hover,
input[type="submit"]:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Keep text black by default; white on card hover (except photo cards) */
.card:not(.card--photo) .card__title,
.card:not(.card--photo) .card__text,
.card:not(.card--photo) .card__link {
  color: var(--black);
  transition: color 0.3s ease;
}

.card:not(.card--photo):hover .card__title,
.card:not(.card--photo):hover .card__text,
.card:not(.card--photo):hover .card__link {
  color: var(--white);
}

/* Photo cards must keep high-contrast white copy on images */
.card--photo .card__title,
.card--photo .card__text {
  color: var(--white);
}

/* Image card readability: stronger overlay + stronger text */
.card--category::before,
.card--photo::before {
  background: rgba(0, 0, 0, 0.5);
}

.card--category__content {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  margin: var(--space-sm);
  padding: var(--space-md);
  transition: background var(--transition-fast);
}

.card--category__title,
.card--category__desc,
.card--category__arrow {
  color: var(--black);
  font-weight: 600;
  opacity: 1;
  transition: color 0.3s ease;
}

.card--category__icon {
  background: rgba(var(--primary-rgb), 0.14);
  color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb), 0.28);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.card--category__icon .icon {
  stroke: currentColor;
}

.card--category:hover .card--category__content {
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.card--category:hover .card--category__title,
.card--category:hover .card--category__desc,
.card--category:hover .card--category__arrow {
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.card--category:hover .card--category__icon {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Interview slider: hide bars and keep smooth snapping */
.page-home .interview-carousel,
.page-interviews .interview-carousel {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.page-home .interview-carousel::-webkit-scrollbar,
.page-interviews .interview-carousel::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
}

/* Flow line: straight vertical alignment, lighter toward bottom */
.timeline {
  position: relative;
  padding-left: calc(var(--space-xl) + 10px);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 0;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-green-light) 100%);
}

.timeline__item::before {
  left: calc(-1 * (var(--space-xl) + 10px));
  background: var(--primary);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--primary-light);
}

/* Reduce heavy gradients and bright accents */
.footer {
  background: var(--dark-gray);
}

.cta-banner {
  background: var(--primary);
}

.connect-card--line,
.connect-card__cta--line,
.connect-card__cta--primary {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.connect-card__cta--line:hover,
.connect-card__cta--primary:hover {
  background: var(--primary);
  color: var(--white);
}

.card,
.connect-card,
.page-interviews .interview-card {
  box-shadow: var(--shadow-sm);
}

.card:hover,
.connect-card:hover,
.page-interviews .interview-card:hover {
  box-shadow: var(--shadow-md);
}

/* Remove any manual slider indicator line if present */
.carousel-scroll-indicator,
.scroll-indicator,
.interview-scroll-line {
  display: none !important;
}

.nav__hamburger,
.accordion__trigger,
.tab {
  border: none;
  background: none;
}

/* Keep FAQ/accordion triggers from inheriting global button hover fills */
.accordion__trigger,
.accordion__trigger:hover,
.accordion__trigger:focus-visible {
  background: transparent !important;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.accordion__trigger:hover,
.accordion__trigger:focus-visible {
  color: var(--primary);
}

/* Hero readability fixes */
.hero--cinematic__title {
  color: var(--white);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.hero--cinematic__subtitle {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.32);
}

.hero--cinematic__actions .btn--primary,
.hero--cinematic__actions .btn--outline {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.hero--cinematic__actions .btn--primary:hover,
.hero--cinematic__actions .btn--outline:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.hero__categories {
  padding-left: var(--space-sm);
  padding-right: var(--space-sm);
}

/* Interview carousel layout stabilization (home + interviews) */
.page-home .interview-carousel,
.page-interviews .interview-carousel {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  padding-bottom: var(--space-md);
}

.page-home .interview-carousel > .interview-card,
.page-interviews .interview-carousel > .interview-card {
  flex: 0 0 clamp(300px, 32vw, 420px);
  min-width: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.page-interviews .interview-card {
  grid-template-columns: none;
  gap: 0;
}

.page-home .interview-card__img,
.page-interviews .interview-card__img,
.page-interviews .interview-card__image {
  width: 100%;
  height: 220px;
  min-height: 220px;
  object-fit: cover;
  flex-shrink: 0;
}

.page-interviews .interview-card__image {
  background-size: cover !important;
  background-position: center !important;
}

.page-home .interview-card__body,
.page-interviews .interview-card__body {
  padding: var(--space-md);
  display: block;
}

.page-home .interview-card__title,
.page-home .interview-card__excerpt,
.page-interviews .interview-card__quote,
.page-interviews .interview-card__name,
.page-interviews .interview-card__body p {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.7;
}

/* About page director portrait helper */
.about-message__photo {
  width: min(240px, 100%);
  aspect-ratio: 4 / 5;
  margin: 0 auto var(--space-md);
  border-radius: var(--border-radius-lg);
}

/* Jobs page: keep listing cards readable and stable */
.page-jobs #all-jobs .card {
  background: var(--white);
}

.page-jobs #all-jobs .card:hover {
  background: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.page-jobs #all-jobs .card:hover .card__title,
.page-jobs #all-jobs .card:hover .card__text,
.page-jobs #all-jobs .card:hover .card__link,
.page-jobs #all-jobs .card:hover .job-table td:first-child,
.page-jobs #all-jobs .card:hover .job-table td:last-child {
  color: var(--text);
}

.page-jobs #all-jobs .card:hover .card__link {
  color: var(--primary);
}

/* Jobs page tab bar refinement */
.page-jobs .tabs {
  display: flex;
  gap: 8px;
  padding: 8px;
  margin-bottom: var(--space-lg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow-x: auto;
  scrollbar-width: none;
}

.page-jobs .tabs::-webkit-scrollbar {
  display: none;
}

.page-jobs .tab {
  flex: 1 1 0;
  min-width: max-content;
  justify-content: center;
  text-align: center;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  background: var(--white);
  font-weight: 600;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.page-jobs .tab:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.page-jobs .tab.active {
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);
  border-bottom-color: var(--primary);
}

@media (max-width: 768px) {
  .page-jobs .tabs {
    gap: 6px;
    padding: 6px;
  }

  .page-jobs .tab {
    flex: 0 0 auto;
    padding: 10px 14px;
  }
}

/* About page clinics: avoid full green hover fill */
.page-about #clinics .card {
  background: var(--white);
}

.page-about #clinics .card:hover {
  background: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.page-about #clinics .card:hover .card__title,
.page-about #clinics .card:hover .card__text {
  color: var(--text);
}

/* Environment page: keep benefit cards calm and readable */
.page-environment .grid.grid--3 .card {
  background: var(--white);
}

.page-environment .grid.grid--3 .card:hover {
  background: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.page-environment .grid.grid--3 .card:hover .card__title,
.page-environment .grid.grid--3 .card:hover .card__text {
  color: var(--text);
}

.page-environment .grid.grid--3 .card:hover .card__icon {
  background: rgba(var(--primary-rgb), 0.14);
  color: var(--primary);
  border-color: rgba(var(--primary-rgb), 0.24);
}

.page-environment .data-card > p {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.page-environment .image-panel {
  min-height: 260px;
}

/* Connect page: keep cards/schedule clean and readable */
.page-connect .card--centered {
  background: var(--white);
}

.page-connect .card--centered:hover {
  background: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.page-connect .card--centered:hover .card__title,
.page-connect .card--centered:hover .card__text {
  color: var(--text);
}

.page-connect .card--centered:hover .card__icon-lg {
  color: var(--primary);
}

.page-connect .schedule-row {
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.page-connect .schedule-row:hover {
  border-color: rgba(var(--primary-rgb), 0.35);
  box-shadow: var(--shadow-sm);
}

/* FAQ page: stronger category structure and accordion legibility */
.page-faq .faq-category {
  margin-bottom: var(--space-xl);
}

.page-faq .accordion {
  border-top: 1px solid var(--border-light);
}

.page-faq .accordion__trigger {
  line-height: 1.7;
}

.page-faq .accordion__content-inner {
  line-height: 1.9;
}

/* Index page hardening: prevent invisible CTA/quick-link labels */
.page-home .hero--cinematic__actions .btn {
  background: linear-gradient(
    135deg,
    rgba(18, 22, 20, 0.34) 0%,
    rgba(18, 22, 20, 0.26) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white) !important;
  -webkit-text-fill-color: currentColor;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.page-home .hero--cinematic__actions .btn:hover,
.page-home .hero--cinematic__actions .btn:focus-visible {
  background: linear-gradient(
    135deg,
    rgba(12, 15, 14, 0.5) 0%,
    rgba(12, 15, 14, 0.42) 100%
  );
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.68);
  transform: translateY(-1px);
}

.page-home .hero--cinematic__actions .btn:active {
  transform: translateY(0);
}

.hero--cinematic__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero--cinematic__line-btn {
  background-color: #00b900;
  border-color: #00b900;
  color: #fff;
}

.hero--cinematic__line-btn:hover,
.hero--cinematic__line-btn:focus-visible {
  background-color: #009d00;
  border-color: #009d00;
  color: #fff;
}

.category-cards--five {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
}

.mission-text--lead,
.message__lead {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.message__signature {
  margin-top: var(--space-md);
  font-weight: 600;
}

.qr-placeholder--content {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.page-home .interview-card,
.page-interviews .interview-card {
  height: 100%;
}

.page-home .interview-card__body,
.page-interviews .interview-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.page-home .interview-card__excerpt,
.page-interviews .interview-card__body p {
  margin-top: 0;
}

.fixed-cta-sp__btn span {
  font-size: 0.72rem;
  line-height: 1.2;
}

.page-home .hero__cat-link {
  background: rgba(14, 17, 16, 0.3);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.page-home .hero__cat-link:link,
.page-home .hero__cat-link:visited {
  color: var(--white) !important;
  opacity: 1;
}

.page-home .hero__cat-link .icon {
  color: currentColor;
  opacity: 1;
}

.page-home .hero__cat-link:hover,
.page-home .hero__cat-link:focus-visible,
.page-home .hero__cat-link:active {
  background: rgba(10, 12, 11, 0.56) !important;
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.58) !important;
  opacity: 1;
  transform: translateY(-1px);
}

.page-home .hero__cat-link:active {
  background: rgba(8, 10, 9, 0.64) !important;
  transform: translateY(0);
}

/* Index page cards polish (screenshots: appeal + categories) */
.page-home #appeal .card--photo .card__overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.5) 55%,
    rgba(0, 0, 0, 0.32) 100%
  );
}

.page-home #appeal .card--photo .card__title,
.page-home #appeal .card--photo .card__text {
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

/* Keep home image cards visually stable (no hover zoom/lift) */
.page-home #appeal .card--photo {
  transform: none;
  transition: box-shadow var(--transition-fast), filter var(--transition-fast);
}

.page-home #appeal .card--photo:hover {
  transform: none;
  box-shadow: var(--shadow-md);
}

.page-home #categories .card--category {
  min-height: 340px;
}

.page-home #categories .card--category::before {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.58) 0%,
    rgba(0, 0, 0, 0.18) 65%
  );
}

.page-home #categories .card--category__content {
  background: linear-gradient(
    135deg,
    rgba(16, 20, 18, 0.56) 0%,
    rgba(16, 20, 18, 0.46) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.page-home #categories .card--category__title,
.page-home #categories .card--category__arrow {
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.page-home #categories .card--category__desc {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.page-home #categories .card--category__icon {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--white);
}

.page-home #categories .card--category__bg,
.page-home #categories .card--category:hover .card--category__bg {
  transform: none;
}

.page-home #categories .card--category:hover .card--category__content {
  background: linear-gradient(
    135deg,
    rgba(12, 15, 14, 0.54) 0%,
    rgba(12, 15, 14, 0.44) 100%
  );
  border-color: rgba(255, 255, 255, 0.5);
}

.page-home #categories .card--category:hover .card--category__title,
.page-home #categories .card--category:hover .card--category__desc,
.page-home #categories .card--category:hover .card--category__arrow {
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

/* Reset carousel nav buttons from global button padding */
.carousel-nav__btn {
  padding: 0;
  min-width: 40px;
  min-height: 40px;
  flex: 0 0 40px;
  line-height: 1;
  border-radius: 50%;
}

.carousel-nav__icon {
  width: 16px;
  height: 16px;
  display: block;
}

.carousel-nav__icon--prev {
  transform: rotate(180deg);
  transform-origin: 50% 50%;
}

/* Connect page QR placeholder override */
.qr-placeholder {
  width: 100% !important;
  max-width: 360px !important;
  height: auto !important;
  align-items: flex-start !important;
}

.qr-placeholder__inner {
  width: 100% !important;
  height: auto !important;
  min-height: unset !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  text-align: left !important;
  padding: 8px !important;
}