/* =======================================================
   Mixed Demo 1 - AURA BEAUTY (Skincare Theme)
   ======================================================= */

/* --- Theme-Specific Tokens --- */
:root {
  --accent-primary: #e8b4b8;   /* Soft Rose Gold */
  --accent-secondary: #a7d8de; /* Mint Aura */
  --font-title: 'Outfit', sans-serif;
  --font-serif: 'Lora', serif;
  
  /* Aura Beauty Dark Palette Overrides */
  --aura-dark-bg: #0c0a0e;
  --aura-card-bg: rgba(22, 18, 26, 0.6);
  --aura-glow: 0 0 20px rgba(232, 180, 184, 0.2);
}

/* Light mode overrides inside demo 1 */
[data-mode="light"] {
  --aura-dark-bg: #f9f8fa;
  --aura-card-bg: rgba(255, 255, 255, 0.7);
  --aura-glow: 0 4px 20px rgba(232, 180, 184, 0.15);
}

/* --- Container Query Base for Mobile Simulator --- */
.mixed-main {
  container-type: inline-size;
  container-name: main-view;
  background-color: var(--aura-dark-bg);
  color: var(--text-primary);
  font-family: 'Pretendard', sans-serif;
}

/* --- Scroll Reveal System --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* --- Global Utilities & Section Titles --- */
.section-container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: var(--section-gap) 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  font-family: var(--font-title);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(28px, 4cqw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

.keep-all {
  word-break: keep-all;
}

/* =======================================================
   1. HERO AREA (Three.js WebGL + Rolling Overlay)
   ======================================================= */
.hero-section {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-height));
  min-height: 600px;
  overflow: hidden;
}

.hero-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Custom overlay that replicates showroom overlay but tweaked for demo */
.visual-overlay-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8% 10%;
  background: linear-gradient(to top, rgba(12, 10, 14, 0.95) 0%, rgba(12, 10, 14, 0.4) 60%, transparent 100%);
  pointer-events: none;
}

[data-mode="light"] .visual-overlay-container {
  background: linear-gradient(to top, rgba(249, 248, 252, 0.95) 0%, rgba(249, 248, 252, 0.3) 60%, transparent 100%);
}

.visual-header-meta {
  position: absolute;
  top: 40px;
  left: 10%;
  font-family: var(--font-title);
  font-size: 14px;
  letter-spacing: 0.25em;
  color: var(--accent-primary);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.visual-main-content {
  max-width: 600px;
  color: #ffffff;
}

[data-mode="light"] .visual-main-content {
  color: #1a1a2e;
}

.visual-badge {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-secondary);
  border: 1px solid var(--accent-secondary);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.visual-title-wrapper {
  overflow: hidden;
  margin-bottom: 20px;
}

.visual-title {
  font-family: var(--font-title);
  font-size: clamp(32px, 6cqw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.v1-char {
  text-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.visual-desc {
  font-size: clamp(14px, 1.8cqw, 16px);
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 40px;
  word-break: keep-all;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

[data-mode="light"] .visual-desc,
[data-mode="light"] .visual-title {
  text-shadow: none;
}

.visual-controllers {
  display: flex;
  align-items: center;
  gap: 30px;
  pointer-events: auto; /* Allow interaction */
}

.visual-slide-dots {
  display: flex;
  gap: 10px;
}

.visual-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

[data-mode="light"] .visual-dot {
  background: rgba(0, 0, 0, 0.2);
}

.visual-dot.active {
  background: var(--accent-primary);
  transform: scale(1.3);
  box-shadow: 0 0 10px var(--accent-primary);
}

.visual-navigation {
  display: flex;
  gap: 10px;
}

.visual-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: rgba(0,0,0,0.2);
}

[data-mode="light"] .visual-nav-btn {
  border-color: rgba(0, 0, 0, 0.15);
  background: rgba(255,255,255,0.4);
}

.visual-nav-btn:hover {
  border-color: var(--accent-primary);
  background: rgba(232, 180, 184, 0.15);
  transform: scale(1.05);
}

.visual-nav-btn svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
  transition: fill 0.3s ease;
}

[data-mode="light"] .visual-nav-btn svg {
  fill: #1a1a2e;
}

.visual-nav-btn:hover svg {
  fill: var(--accent-primary);
}

/* =======================================================
   2. CEO MESSAGE
   ======================================================= */
.ceo-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.ceo-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--aura-glow);
}

.ceo-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--glass-border);
  pointer-events: none;
  border-radius: var(--radius-lg);
}

.ceo-image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.ceo-image-wrapper:hover .ceo-image {
  transform: scale(1.03);
}

.ceo-content {
  display: flex;
  flex-direction: column;
}

.ceo-quote-text {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3cqw, 26px);
  font-style: italic;
  line-height: 1.5;
  color: var(--accent-primary);
  margin-bottom: 24px;
  position: relative;
}

.ceo-quote-text::before {
  content: '“';
  font-family: var(--font-serif);
  font-size: 80px;
  position: absolute;
  top: -40px;
  left: -20px;
  opacity: 0.15;
  color: var(--accent-primary);
}

.ceo-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.ceo-body p {
  margin-bottom: 16px;
}

.ceo-signature {
  margin-top: 10px;
}

.ceo-name {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.ceo-role {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* =======================================================
   3. MONTHLY NEWS (Swipe Carousel)
   ======================================================= */
.news-carousel-container {
  position: relative;
  overflow: hidden;
  padding: 10px 0 40px;
  cursor: grab;
}

.news-carousel-container:active {
  cursor: grabbing;
}

.news-track {
  display: flex;
  gap: 30px;
  width: max-content;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.news-card {
  width: clamp(280px, 75cqw, 360px);
  background: var(--aura-card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-normal);
  user-select: none;
}

.news-card:hover {
  transform: translateY(-8px);
  border-color: rgba(232, 180, 184, 0.3);
  box-shadow: var(--aura-glow);
}

.news-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-card:hover .news-img {
  transform: scale(1.05);
}

.news-date-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(12, 10, 14, 0.75);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-primary);
  font-family: var(--font-title);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
}

.news-info {
  padding: 24px;
}

.news-category {
  font-family: var(--font-title);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 10px;
  display: block;
}

.news-card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.news-card:hover .news-card-title {
  color: var(--accent-primary);
}

.news-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-tertiary);
  transition: all 0.3s ease;
  cursor: pointer;
}

.indicator-dot.active {
  background: var(--accent-primary);
  transform: scale(1.25);
}

/* =======================================================
   4. TEAM INTRO (3D Flip Cards)
   ======================================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 30px;
}

.team-card-container {
  perspective: 1000px;
  aspect-ratio: 1/1.2;
}

.team-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  transform-style: preserve-3d;
  cursor: pointer;
}

.team-card-container:hover .team-card-inner {
  transform: rotateY(180deg);
}

.team-card-front, .team-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.team-card-front {
  background: var(--bg-secondary);
}

.team-avatar {
  width: 100%;
  height: 70%;
  object-fit: cover;
}

.team-front-info {
  height: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
}

.team-front-name {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.team-front-role {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.team-card-back {
  background: linear-gradient(135deg, rgba(22, 18, 26, 0.95), rgba(12, 10, 14, 0.98));
  color: #ffffff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-shadow: inset 0 0 30px rgba(232, 180, 184, 0.08);
}

[data-mode="light"] .team-card-back {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 243, 248, 0.98));
  color: var(--text-primary);
  box-shadow: inset 0 0 20px rgba(232, 180, 184, 0.05);
}

.team-back-name {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 2px;
}

.team-back-role {
  font-size: 11px;
  color: var(--accent-secondary);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-divider {
  width: 30px;
  height: 1px;
  background: var(--glass-border);
  margin-bottom: 12px;
}

.team-back-quote {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary);
  word-break: keep-all;
}

/* =======================================================
   5. CELEBRATIONS / BIRTHDAYS (Timeline)
   ======================================================= */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: var(--glass-border);
}

.timeline-progress-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary));
  height: 0%; /* Dynamic fill via scroll-trigger (implemented in main.js) */
  transition: height 0.1s ease;
  z-index: 1;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-node {
  position: absolute;
  top: 26px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--glass-border);
  z-index: 2;
  transition: all 0.4s ease;
}

.timeline-item.active .timeline-node {
  border-color: var(--accent-primary);
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
}

.timeline-item:nth-child(odd) .timeline-node {
  right: -7px;
}

.timeline-item:nth-child(even) .timeline-node {
  left: -7px;
}

.timeline-card {
  background: var(--aura-card-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: all 0.4s ease;
}

.timeline-item.active .timeline-card {
  border-color: rgba(232, 180, 184, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--aura-glow);
}

.timeline-date {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.timeline-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* =======================================================
   6. EVENT ENTRY (Glassmorphism Form)
   ======================================================= */
.event-section {
  position: relative;
}

.event-box {
  max-width: 650px;
  margin: 0 auto;
  background: var(--aura-card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.event-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary));
}

.event-info-text {
  text-align: center;
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.event-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.form-input {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: all var(--transition-fast);
}

[data-mode="light"] .form-input {
  background: rgba(255, 255, 255, 0.6);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 10px rgba(232, 180, 184, 0.15);
}

[data-mode="light"] .form-input:focus {
  background: #ffffff;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238a8a9a'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary);
}

.form-checkbox {
  margin-top: 3px;
  accent-color: var(--accent-primary);
  cursor: pointer;
}

.submit-btn {
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  color: #0c0a0e;
  font-weight: 600;
  font-size: 15px;
  padding: 14px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(232, 180, 184, 0.2);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 180, 184, 0.35);
}

/* Form Success Modal */
.success-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 10, 14, 0.7);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.success-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.success-box {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  padding: 40px;
  border-radius: var(--radius-lg);
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.success-modal.show .success-box {
  transform: scale(1);
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(167, 216, 222, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 1px solid var(--accent-secondary);
}

.success-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--accent-secondary);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-title {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.success-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.modal-close-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition-fast);
  width: 100%;
}

.modal-close-btn:hover {
  background: var(--glass-hover);
  border-color: var(--text-secondary);
}

/* =======================================================
   7. TODAY'S QUOTE (Parallax)
   ======================================================= */
.quote-section {
  position: relative;
  height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 130%; /* taller for parallax movement */
  z-index: 1;
}

.quote-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) contrast(1.1);
}

[data-mode="light"] .quote-bg {
  filter: brightness(0.65) contrast(1.05);
}

.quote-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 30%, rgba(12, 10, 14, 0.7) 100%);
  z-index: 2;
}

[data-mode="light"] .quote-overlay {
  background: radial-gradient(circle, transparent 30%, rgba(249, 248, 252, 0.6) 100%);
}

.quote-container {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
  max-width: 750px;
  color: #ffffff;
}

[data-mode="light"] .quote-container {
  color: #1a1a2e;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 80px;
  line-height: 1;
  color: var(--accent-primary);
  opacity: 0.6;
  margin-bottom: -20px;
  display: block;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3.5cqw, 28px);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 24px;
}

.quote-author {
  font-family: var(--font-title);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-secondary);
}

/* =======================================================
   8. ARCHIVE (Masonry Grid)
   ======================================================= */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 30px;
  align-items: start;
}

.archive-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-normal);
  background: var(--bg-secondary);
}

/* Create pseudo masonry effect via different aspect ratios */
.archive-card:nth-child(even) {
  margin-top: 20px;
}

.archive-card:hover {
  transform: translateY(-6px);
  border-color: rgba(167, 216, 222, 0.3);
  box-shadow: 0 10px 25px rgba(167, 216, 222, 0.15);
}

.archive-img-box {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

.archive-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.archive-card:hover .archive-img {
  transform: scale(1.04);
}

.archive-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 10, 14, 0.8) 0%, rgba(12, 10, 14, 0.1) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: opacity var(--transition-normal);
}

[data-mode="light"] .archive-cover-overlay {
  background: linear-gradient(to top, rgba(249, 248, 252, 0.85) 0%, rgba(249, 248, 252, 0.15) 50%, transparent 100%);
}

.archive-vol {
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  margin-bottom: 4px;
}

.archive-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

[data-mode="light"] .archive-title {
  color: #1a1a2e;
}

.archive-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

[data-mode="light"] .archive-meta {
  color: var(--text-secondary);
}

/* =======================================================
   9. FOOTER
   ======================================================= */
.mixed-footer {
  background: rgba(12, 10, 14, 0.95);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 30px;
  font-size: 14px;
  color: var(--text-tertiary);
  transition: background var(--transition-normal), border-color var(--transition-normal);
}

[data-mode="light"] .mixed-footer {
  background: #f0eff5;
}

.footer-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: block;
}

.footer-brand-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-column-title {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list a {
  font-size: 13px;
  color: var(--text-tertiary);
  transition: color var(--transition-fast);
}

.footer-list a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

[data-mode="light"] .footer-bottom {
  border-top-color: rgba(0, 0, 0, 0.05);
}

.footer-copyright {
  font-size: 12px;
}

.footer-sns {
  display: flex;
  gap: 16px;
}

.sns-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.sns-link:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  background: rgba(232, 180, 184, 0.05);
  transform: translateY(-2px);
}

.sns-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* =======================================================
   RESPONSIVE OVERRIDES (Container Queries for Simulator)
   ======================================================= */
@container main-view (max-width: 820px) {
  .ceo-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .ceo-image-wrapper {
    max-width: 480px;
    margin: 0 auto;
  }
}

@container main-view (max-width: 768px) {
  .timeline::before,
  .timeline-progress-line {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
  }
  
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    left: 0;
    text-align: left;
  }
  
  .timeline-item:nth-child(odd) .timeline-node,
  .timeline-item:nth-child(even) .timeline-node {
    left: 13px;
    right: auto;
  }
  
  .timeline-item:nth-child(odd) .timeline-node {
    transform: none;
  }
  
  .footer-links {
    gap: 40px;
  }
}

@container main-view (max-width: 600px) {
  .section-container {
    padding: 60px 16px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .event-box {
    padding: 24px;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-links {
    width: 100%;
    justify-content: space-between;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .archive-card:nth-child(even) {
    margin-top: 0;
  }
}
