/* ==========================================================================
   LIBERA (리베라) — Beyond the Boundaries of Art
   Design System & Visual Stylesheet
   Grounded in /home/gomd999/Downloads/리베라/example (image 1~3) & REA Style Guide
   ========================================================================== */

:root {
  /* Core Palette — Warm Champagne Ivory & Brushed Stage Gold (Example 1~3) */
  --page: #f5efe6;
  --page-deep: #ece1d1;
  --surface: rgba(251, 247, 241, 0.88);
  --surface-solid: #faf6f0;
  --surface-elevated: #ffffff;
  --soft: #ebe0d0;
  --soft-pill: #e7dac8;

  /* Ink & Typography Colors (WCAG 4.5:1+ verified) */
  --ink: #1c1917;
  --ink-secondary: #4a423b;
  --muted: #766a5e;

  /* Gold Accents */
  --gold: #c59b5f;
  --gold-deep: #8c6229;
  --gold-bright: #dfc08a;
  --gold-gradient: linear-gradient(135deg, #e5c894 0%, #c29553 48%, #9e7132 100%);
  --gold-foil: linear-gradient(145deg, #ebd4a6 0%, #c59b5f 38%, #9b6e31 76%, #dfbe86 100%);

  /* Hairlines & Borders */
  --line: rgba(197, 155, 95, 0.32);
  --line-strong: rgba(140, 98, 41, 0.48);
  --card-border: rgba(197, 155, 95, 0.35);
  --shadow-soft: 0 14px 36px rgba(45, 33, 18, 0.06);
  --shadow-hover: 0 20px 44px rgba(45, 33, 18, 0.12);

  /* Typography Families */
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-serif-kr: "Noto Serif KR", "Cormorant Garamond", serif;
  --font-sans: "Pretendard Variable", "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-brand: "Montserrat", "Plus Jakarta Sans", var(--font-sans);
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout Tokens */
  --container-max: 1440px;
  --header-height: 84px;
  --radius-card: 16px;
  --radius-pill: 999px;
}

/* Stage Blackout Dark Mode (REA data-theme="dark" architecture) */
html[data-theme="dark"] {
  --page: #12100e;
  --page-deep: #1a1714;
  --surface: rgba(30, 27, 23, 0.88);
  --surface-solid: #1e1b17;
  --surface-elevated: #27231e;
  --soft: #2c2620;
  --soft-pill: #332c24;
  --ink: #f6efe6;
  --ink-secondary: #d5c9b8;
  --muted: #9e907f;
  --gold: #d4ab6a;
  --gold-deep: #e5c48b;
  --line: rgba(212, 171, 106, 0.25);
  --line-strong: rgba(212, 171, 106, 0.48);
  --card-border: rgba(212, 171, 106, 0.28);
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.38);
  --shadow-hover: 0 22px 52px rgba(0, 0, 0, 0.55);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--page);
  background-image:
    radial-gradient(ellipse 75% 55% at 18% 15%, rgba(255, 252, 247, 0.72) 0%, transparent 65%),
    radial-gradient(ellipse 65% 60% at 85% 28%, rgba(218, 182, 128, 0.22) 0%, transparent 70%),
    linear-gradient(180deg, var(--page) 0%, var(--page-deep) 52%, var(--page) 100%);
  color: var(--ink);
  line-height: 1.6;
  word-break: keep-all;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[data-theme="dark"] body {
  background-image:
    radial-gradient(ellipse 70% 50% at 20% 15%, rgba(197, 155, 95, 0.09) 0%, transparent 65%),
    radial-gradient(ellipse 60% 55% at 82% 30%, rgba(197, 155, 95, 0.08) 0%, transparent 70%),
    linear-gradient(180deg, #12100e 0%, #181512 50%, #12100e 100%);
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

/* Visible Keyboard Focus (Accessibility Priority 1) */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

/* Skip Link */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--page);
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 14px;
}

/* ==========================================================================
   Decorative Background Orbits & Gold Sweeps
   ========================================================================== */
.bg-orbits-svg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.section-silk-Wave {
  position: absolute;
  top: -30px;
  right: 0;
  width: min(58vw, 860px);
  height: 270px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.9;
}

/* ==========================================================================
   Sticky Header & Navigation (Exact Match to Example 1~3)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(245, 239, 230, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

html[data-theme="dark"] .site-header {
  background: rgba(18, 16, 14, 0.86);
}

.header-inner {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Logo (Winged Crown + LIBERA) */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  flex-shrink: 0;
}

.brand-emblem {
  width: 54px;
  height: 36px;
  flex-shrink: 0;
}

.brand-wordmark {
  font-family: var(--font-brand);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--ink);
  text-transform: uppercase;
}

/* Main Navigation with Pipe Dividers */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  font-family: var(--font-brand);
  font-size: 0.81rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
  min-height: 44px;
}

.nav-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 13px;
  background: var(--line-strong);
  opacity: 0.55;
}

.nav-item:hover,
.nav-item.active {
  color: var(--ink);
  font-weight: 600;
}

.nav-item.active::before {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 22px;
  right: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* Header Right Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.theme-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.35);
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

html[data-theme="dark"] .theme-icon-btn {
  background: rgba(255, 255, 255, 0.06);
}

.theme-icon-btn:hover {
  border-color: var(--gold);
  color: var(--ink);
  background: var(--soft);
}

.util-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.35);
  color: var(--ink-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

html[data-theme="dark"] .util-btn {
  background: rgba(255, 255, 255, 0.05);
}

.util-btn:hover {
  border-color: var(--gold);
  color: var(--ink);
  background: var(--soft);
}

.btn-contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ink);
  background: transparent;
  font-family: var(--font-brand);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.22s ease;
}

.btn-contact-pill:hover {
  background: var(--ink);
  color: var(--page);
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================================================================
   Section Layout & View Modes (Full Scroll vs Page Tab Mode)
   ========================================================================== */
main {
  position: relative;
  z-index: 1;
}

.site-section {
  position: relative;
  padding: clamp(64px, 7vw, 110px) clamp(20px, 4vw, 56px);
  max-width: var(--container-max);
  margin: 0 auto;
}

.section-header-silk {
  position: absolute;
  top: 18px;
  right: clamp(20px, 4vw, 56px);
  width: min(48vw, 640px);
  height: 210px;
  pointer-events: none;
  z-index: 0;
  border-radius: 220px 24px 180px 220px;
  overflow: hidden;
  opacity: 0.26;
  mask-image: radial-gradient(ellipse 85% 80% at 65% 40%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 65% 40%, #000 35%, transparent 78%);
}

.section-header-silk img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  filter: sepia(0.35) saturate(1.2) brightness(1.08);
}

.site-section > *:not(.section-header-silk) {
  position: relative;
  z-index: 1;
}

body[data-view-mode="tab"] .site-section {
  display: none;
}

body[data-view-mode="tab"] .site-section.active-tab-section {
  display: block;
  animation: sectionFadeIn 0.16s ease;
}

body[data-view-mode="tab"] .site-section.hero-section.active-tab-section {
  display: flex;
}

@keyframes sectionFadeIn {
  from {
    opacity: 0.94;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Eyebrow & Display Title (Exact match to Example 2 & 3) */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-brand);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-eyebrow::after {
  content: "";
  display: inline-block;
  width: 46px;
  height: 1px;
  background: var(--gold);
}

.section-display-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.8vw, 4.4rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 12px 0;
}

.section-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  color: var(--ink-secondary);
  margin: 0;
  font-weight: 400;
}

/* ==========================================================================
   HERO SECTION (Exact Match to Example 1: Beyond the Boundaries + 4 Arches)
   ========================================================================== */
.hero-section {
  min-height: clamp(640px, calc(100vh - var(--header-height)), 980px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
  padding-top: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 72px);
  overflow: hidden;
}

.home-directory-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.home-dir-card {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-dir-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-hover);
}

.home-dir-num {
  font-family: var(--font-brand);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
}

.home-dir-title {
  font-family: var(--font-serif-kr);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
}

.home-dir-desc {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-secondary);
  line-height: 1.5;
}

.home-dir-link {
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-deep);
}

.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(300px, 5fr) minmax(420px, 7fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
  padding: 20px 0;
}

.hero-headline-en {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 5.6vw, 5.4rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 28px 0;
}

.hero-divider {
  width: 56px;
  height: 1px;
  background: var(--ink-secondary);
  margin-bottom: 26px;
  opacity: 0.7;
}

.hero-headline-ko {
  font-family: var(--font-sans);
  font-size: clamp(1.45rem, 2.1vw, 1.95rem);
  font-weight: 400;
  line-height: 1.48;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 14px 0;
}

.hero-sub-desc {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 38ch;
  margin: 0 0 32px 0;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
}

.btn-gold-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  background: var(--gold-gradient);
  color: #191512;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(197, 155, 95, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gold-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(197, 155, 95, 0.38);
}

.btn-outline-warm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline-warm:hover {
  border-color: var(--gold);
  background: var(--soft);
}

/* Scroll Down Indicator (Bottom Left of Example 1) */
.scroll-down-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: none;
  padding: 6px 0;
  cursor: pointer;
  color: var(--ink-secondary);
  font-family: var(--font-brand);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  width: fit-content;
}

.scroll-down-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--ink-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.scroll-down-btn:hover .scroll-down-circle {
  transform: translateY(3px);
  background: var(--ink);
  color: var(--page);
  border-color: var(--ink);
}

/* Right Side: 4-Arch Architectural Stage Collage (Example 1) */
.hero-collage-wrap {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.15fr 1.65fr 0.78fr 0.92fr;
  align-items: end;
  gap: 14px;
  padding-top: 24px;
}

/* Decorative Gold Foil Elements around Arches */
.gold-orb-float {
  position: absolute;
  top: 56px;
  right: 23%;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #f5e2b8 0%, #c89d5c 58%, #8f6428 100%);
  box-shadow: 0 8px 24px rgba(197, 155, 95, 0.35);
  z-index: 3;
  pointer-events: none;
}

.gold-crescent-svg {
  position: absolute;
  inset: -40px -60px -40px -60px;
  width: calc(100% + 120px);
  height: calc(100% + 80px);
  pointer-events: none;
  z-index: 0;
}

.hero-arch-card {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 2px solid rgba(255, 250, 242, 0.88);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  background: #1a1613;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  padding: 0;
  width: 100%;
}

.hero-arch-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.hero-arch-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-arch-card:hover img {
  transform: scale(1.05);
}

/* Arch 1: Ensemble Stage (Bottom-Left Quarter/Half Arch) */
.arch-ensemble {
  height: 290px;
  border-radius: 260px 24px 14px 14px;
}
.arch-ensemble img {
  object-position: 48% center;
}

/* Arch 2: Main Solo Dancer (Center Tall Full Arch) */
.arch-main-dancer {
  height: 575px;
  border-radius: 240px 240px 14px 14px;
}
.arch-main-dancer img {
  object-position: 50% 38%;
}

/* Arch 3: Inclusive Wheelchair Performer (Right-Middle Arch) */
.arch-inclusive {
  height: 430px;
  border-radius: 190px 18px 14px 14px;
}
.arch-inclusive img {
  object-position: 62% center;
}

/* Arch 4: Violinist Stage (Far-Right Arch) */
.arch-violinist {
  height: 445px;
  border-radius: 18px 210px 14px 14px;
}
.arch-violinist img {
  object-position: 45% center;
}

.arch-caption-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 14px 14px;
  background: linear-gradient(0deg, rgba(16, 13, 10, 0.86) 0%, rgba(16, 13, 10, 0.35) 65%, transparent 100%);
  color: #faf6f0;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-arch-card:hover .arch-caption-overlay,
.hero-arch-card:focus-visible .arch-caption-overlay {
  opacity: 1;
  transform: translateY(0);
}

.arch-caption-tag {
  display: block;
  font-family: var(--font-brand);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.arch-caption-title {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ==========================================================================
   ① ABOUT SECTION (Brand Manifesto, Leadership Portrait, Direction Matrix, Vision, 4 Business Areas)
   ========================================================================== */
.about-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 6.4fr) minmax(0, 5.6fr);
  gap: clamp(24px, 3.2vw, 44px);
  align-items: stretch;
  margin-top: 36px;
}

.manifesto-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: clamp(26px, 3.2vw, 40px);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.manifesto-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.manifesto-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--gold-soft);
  border: 1px solid rgba(197, 155, 95, 0.38);
  font-family: var(--font-brand);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
}

.manifesto-sub-pill {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.manifesto-kicker {
  font-family: var(--font-serif-kr);
  font-size: clamp(1.22rem, 1.7vw, 1.52rem);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 18px 0;
  line-height: 1.45;
}

.manifesto-p {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  margin: 0 0 14px 0;
  line-height: 1.74;
}

.manifesto-highlight {
  margin-top: 16px;
  padding: 18px 22px;
  border-left: 3px solid var(--gold);
  background: var(--soft);
  border-radius: 0 12px 12px 0;
  font-family: var(--font-serif-kr);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.62;
}

.manifesto-matrix-wrap {
  margin-top: auto;
  padding-top: 24px;
}

/* Right Stack: Uploaded Leadership Portrait + Profile Card */
.about-right-stack {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.about-portrait-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.about-portrait-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  background: linear-gradient(180deg, #ede9e6 0%, #e2dedb 100%);
  border-bottom: 1px solid var(--card-border);
  overflow: hidden;
}

.about-portrait-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-portrait-card:hover .about-portrait-img-wrap img {
  transform: scale(1.02);
}

.about-portrait-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(24, 20, 17, 0.78);
  backdrop-filter: blur(8px);
  color: #f6e7c8;
  font-family: var(--font-brand);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  border: 1px solid rgba(197, 155, 95, 0.45);
}

.about-portrait-body {
  padding: clamp(22px, 2.8vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.about-portrait-role {
  display: block;
  font-family: var(--font-brand);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  margin-bottom: 4px;
}

.about-portrait-title {
  font-family: var(--font-serif-kr);
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.about-portrait-quote {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-secondary);
  line-height: 1.65;
  padding-left: 14px;
  border-left: 2px solid var(--gold);
}

.about-portrait-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.portrait-stat-item {
  padding: 12px 12px;
  border-radius: 10px;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.portrait-stat-item strong {
  font-family: var(--font-serif-kr);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-deep);
}

.portrait-stat-item span {
  font-size: 0.76rem;
  color: var(--ink-secondary);
  line-height: 1.35;
}

/* Direction Matrix Table Card */
.direction-matrix-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-soft);
}

.matrix-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
}

.matrix-title {
  font-family: var(--font-serif-kr);
  font-size: 1.12rem;
  font-weight: 700;
  margin: 0;
}

.matrix-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.matrix-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  align-items: center;
}

.matrix-row:last-child {
  grid-column: 1 / -1;
}

.matrix-key {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--gold-deep);
}

.matrix-val {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
}

.director-profile-box {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(197, 155, 95, 0.14), rgba(197, 155, 95, 0.04));
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* Individual Director Profile Cards (2인 각각 개별 분리 소개) */
.individual-directors-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.individual-director-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 235px 1fr;
  gap: 26px;
  align-items: start;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.individual-director-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.individual-director-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #d4ceca;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(24, 20, 17, 0.08);
}

.individual-director-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.individual-role-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(24, 20, 17, 0.8);
  color: #f6e7c8;
  font-family: var(--font-brand);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  border: 1px solid rgba(197, 155, 95, 0.45);
}

.individual-director-info {
  padding: 2px 0;
  display: flex;
  flex-direction: column;
}

.individual-en-label {
  font-family: var(--font-brand);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  color: var(--gold-deep);
  margin-bottom: 4px;
}

.individual-ko-title {
  font-family: var(--font-serif-kr);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px 0;
}

.individual-bio {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.62;
  margin: 0 0 14px 0;
}

.individual-career-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--ink);
  line-height: 1.5;
}

/* OUR VISION (4 Pillars) */
.vision-section-block {
  margin-top: 64px;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.vision-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.vision-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.vision-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.vision-title-ko {
  font-family: var(--font-serif-kr);
  font-size: 1.18rem;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: var(--ink);
}

.vision-title-en {
  font-family: var(--font-brand);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  display: block;
}

.vision-desc {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 1.65;
}

/* 4 Major Business Areas */
.business-areas-block {
  margin-top: 68px;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.business-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.business-img-wrap {
  position: relative;
  min-height: 240px;
  background: #181512;
}

.business-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-num-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(24, 20, 17, 0.82);
  color: var(--gold-bright);
  font-family: var(--font-brand);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border: 1px solid rgba(223, 192, 138, 0.4);
}

.business-body {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.business-title-ko {
  font-size: 1.24rem;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: var(--ink);
}

.business-title-en {
  font-family: var(--font-brand);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 12px;
}

.business-summary {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  margin: 0 0 14px 0;
}

.business-item-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--ink);
  display: grid;
  gap: 5px;
}

.business-item-list li::marker {
  color: var(--gold);
}

/* REA Architectural Convergence Diagram */
.rea-figure-box {
  margin-top: 56px;
  padding: 28px 32px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
}

.rea-figure-caption {
  margin-top: 12px;
  font-size: 0.84rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   ② PROJECT SECTION ("Our Projects" — Exact Match to Example 2)
   ========================================================================== */
.projects-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

/* Filter Pill Buttons (Example 2 & 3) */
.filter-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-pill {
  min-height: 40px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

html[data-theme="dark"] .filter-pill {
  background: rgba(255, 255, 255, 0.04);
}

.filter-pill:hover {
  border-color: var(--gold);
  color: var(--ink);
}

.filter-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(197, 155, 95, 0.32);
}

/* Projects Layout with Left Vertical Pagination Rail (Example 2: 01 / 06) */
.projects-stage-layout {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.projects-side-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.rail-counter {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-brand);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink-secondary);
}

.rail-line {
  width: 1px;
  height: 88px;
  background: var(--line-strong);
}

.rail-arrows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rail-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--surface);
  color: var(--ink-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rail-arrow-btn:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
}

/* 3x2 Project Card Grid (Example 2) */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}

.project-poster-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.2;
  overflow: hidden;
  background: #1a1714;
}

.project-poster-split {
  display: grid;
  grid-template-columns: 38% 62%;
  width: 100%;
  height: 100%;
}

.project-poster-pane {
  position: relative;
  width: 100%;
  height: 100%;
  background: #151210;
  border-right: 1px solid rgba(223, 192, 138, 0.28);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-poster-pane img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  transition: transform 0.45s ease;
}

.project-stage-pane {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #231f1c;
}

.project-stage-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.project-stage-pill {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: rgba(24, 20, 17, 0.78);
  color: #f6e7c8;
  font-size: 0.68rem;
  font-weight: 600;
  border: 1px solid rgba(197, 155, 95, 0.4);
  pointer-events: none;
}

.project-card:hover .project-poster-pane img,
.project-card:hover .project-stage-pane img {
  transform: scale(1.04);
}

.project-card-body {
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 14px;
}

.project-card-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.project-card-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px 0;
  line-height: 1.35;
}

.project-card-subtitle {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 1.5;
}

.project-arrow-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ink-secondary);
  margin-top: 4px;
  transition: all 0.2s ease;
}

.project-card:hover .project-arrow-circle {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateX(2px);
}

.project-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tag {
  display: inline-block;
  padding: 3px 11px;
  border-radius: var(--radius-pill);
  background: var(--soft-pill);
  color: var(--ink-secondary);
  font-size: 0.76rem;
  font-weight: 500;
}

/* ==========================================================================
   PERFORMANCE & FESTIVAL SECTIONS (Repertoire & Space Platform)
   ========================================================================== */
.repertoire-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 32px;
}

.repertoire-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.repertoire-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #191613;
}

.repertoire-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.repertoire-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: rgba(245, 239, 230, 0.92);
  color: #1c1917;
  font-size: 0.76rem;
  font-weight: 700;
}

.repertoire-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.repertoire-title {
  font-family: var(--font-serif-kr);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.repertoire-meta {
  font-size: 0.83rem;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 12px;
}

.repertoire-desc {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  margin: 0 0 18px 0;
  flex: 1;
}

/* Festival & Space Showcase */
.festival-space-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 28px;
  margin-top: 32px;
}

.festival-list-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.festival-item-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 24px 26px;
  box-shadow: var(--shadow-soft);
}

.festival-badge {
  display: inline-block;
  font-family: var(--font-brand);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
  margin-bottom: 6px;
}

.space-showcase-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.space-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #181512;
}

.space-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.space-body {
  padding: 26px 28px;
}

.partner-network-box {
  margin-top: 36px;
  padding: 26px 30px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
}

.partner-group-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.partner-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.partner-chip {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 500;
}

/* ==========================================================================
   ③ ARCHIVE / NEWS SECTION ("Archive" — Exact Match to Example 3)
   ========================================================================== */
.archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 28px 0 32px;
}

.archive-search-box {
  position: relative;
  width: min(100%, 340px);
}

.archive-search-input {
  width: 100%;
  height: 42px;
  padding: 0 42px 0 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  color: var(--ink);
}

html[data-theme="dark"] .archive-search-input {
  background: rgba(255, 255, 255, 0.06);
}

.archive-search-input::placeholder {
  color: var(--muted);
}

.archive-search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-secondary);
  pointer-events: none;
}

/* 4x2 Archive Card Grid (Example 3) */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.archive-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.archive-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}

.archive-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: #1c1917;
}

.archive-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.archive-card:hover .archive-thumb-wrap img {
  transform: scale(1.05);
}

.archive-thumb-Wrap-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 13, 10, 0.56) 0%, transparent 45%, rgba(16, 13, 10, 0.25) 100%);
  pointer-events: none;
}

.archive-badge-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(242, 232, 217, 0.92);
  color: #241f1b;
  font-size: 0.74rem;
  font-weight: 600;
  z-index: 2;
}

.archive-date-label {
  position: absolute;
  top: 15px;
  right: 14px;
  color: #ffffff;
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
  z-index: 2;
}

.archive-card-body {
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.archive-card-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px 0;
  line-height: 1.38;
}

.archive-card-excerpt {
  font-size: 0.85rem;
  color: var(--ink-secondary);
  margin: 0 0 16px 0;
  line-height: 1.52;
  flex: 1;
}

.archive-more-link {
  align-self: flex-end;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.archive-card:hover .archive-more-link {
  color: var(--gold-deep);
  transform: translateX(2px);
}

/* Official Notice & Press Board */
.notice-board-box {
  margin-top: 44px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 26px 30px;
  box-shadow: var(--shadow-soft);
}

.notice-list {
  display: flex;
  flex-direction: column;
  divide-y: 1px solid var(--line);
}

.notice-row {
  display: grid;
  grid-template-columns: 110px 1fr 110px;
  align-items: center;
  gap: 16px;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.18s ease;
}

.notice-row:last-child {
  border-bottom: none;
}

.notice-row:hover {
  background: rgba(197, 155, 95, 0.08);
}

/* ==========================================================================
   ④ CONTACT & PROPOSAL SECTION (Interactive Proposal Form & Directions Map)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px;
  margin-top: 34px;
}

.proposal-form-card,
.directions-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: clamp(24px, 3.2vw, 38px);
  box-shadow: var(--shadow-soft);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 15px;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  background: var(--surface-solid);
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
}

.file-dropzone {
  border: 1.5px dashed var(--line-strong);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  background: var(--surface-solid);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.file-dropzone:hover {
  border-color: var(--gold);
  background: var(--soft);
}

/* Map Visual Container */
.map-visual-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--surface-solid);
  margin: 18px 0;
}

/* ==========================================================================
   Interactive Case Study & Archive Reader Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(18, 15, 12, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  width: min(100%, 960px);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface-solid);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  padding: clamp(24px, 3.5vw, 42px);
  position: relative;
}

.modal-close-btn {
  position: sticky;
  top: 0;
  float: right;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface-solid);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.modal-close-btn:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line-strong);
  padding: 48px clamp(20px, 4vw, 56px);
  background: rgba(235, 224, 208, 0.45);
  margin-top: 60px;
}

html[data-theme="dark"] .site-footer {
  background: rgba(24, 21, 18, 0.75);
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

/* Top Floating Button (REA 44px touch target pattern) */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  min-width: 46px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--card-border);
  background: var(--surface-solid);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* ==========================================================================
   Responsive Design (1200px, 960px, 768px, 480px, 320px)
   ========================================================================== */
@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    min-height: auto;
  }
  .home-directory-grid,
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .individual-directors-grid {
    grid-template-columns: 1fr;
  }
  .vision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .repertoire-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.nav-item-mobile-contact {
  display: none;
}

@media (max-width: 920px) {
  .main-nav {
    display: none;
  }
  .main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--surface-solid);
    border-bottom: 1px solid var(--line-strong);
    padding: 16px;
    box-shadow: var(--shadow-hover);
  }
  .main-nav.mobile-open .nav-item::after {
    display: none;
  }
  .nav-item-mobile-contact {
    display: inline-flex;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .about-lead-grid,
  .business-grid,
  .festival-space-grid,
  .contact-grid,
  .partner-group-grid {
    grid-template-columns: 1fr;
  }
  .projects-stage-layout {
    grid-template-columns: 1fr;
  }
  .projects-side-rail {
    flex-direction: row;
    justify-content: space-between;
  }
  .rail-counter {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .rail-line {
    width: 60px;
    height: 1px;
  }
  .rail-arrows {
    flex-direction: row;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 0 14px;
    gap: 8px;
  }
  .brand-logo {
    gap: 8px;
  }
  .brand-emblem {
    width: 40px;
    height: 28px;
  }
  .brand-wordmark {
    font-size: 1.05rem;
    letter-spacing: 0.16em;
  }
  .header-actions {
    gap: 6px;
  }
  .header-actions .btn-contact-pill {
    display: none;
  }
  .header-actions .util-label-text {
    display: none;
  }
  .util-btn {
    min-width: 38px;
    min-height: 38px;
    padding: 0 10px;
  }
  .mobile-menu-btn {
    width: 38px;
    height: 38px;
  }
  .hero-collage-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: auto;
  }
  .arch-ensemble,
  .arch-main-dancer,
  .arch-inclusive,
  .arch-violinist {
    height: 240px;
    border-radius: 110px 110px 12px 12px;
  }
  .home-directory-grid,
  .individual-director-card,
  .projects-grid,
  .archive-grid,
  .vision-grid,
  .repertoire-grid,
  .business-card,
  .form-grid-2,
  .matrix-list,
  .about-portrait-stats {
    grid-template-columns: 1fr;
  }
  .notice-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Interactive Feature Components (Rental Calculator, Step Nav, Badges, Toasts)
   ========================================================================== */
html[data-font-scale="large"] {
  font-size: 112%;
}

html[data-font-scale="xlarge"] {
  font-size: 124%;
}

.saved-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--gold-deep);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}

.card-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
}

.btn-sm {
  min-height: 38px !important;
  padding: 0 16px !important;
  font-size: 0.8rem !important;
}

.bookmark-heart-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(24, 20, 17, 0.72);
  color: #f5efe6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.bookmark-heart-btn:hover {
  transform: scale(1.1);
}

.bookmark-heart-btn.active {
  background: var(--gold-deep);
  color: #fff;
  border-color: var(--gold-bright);
}

.rental-calculator-card {
  margin-top: 32px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: clamp(22px, 3vw, 36px);
  box-shadow: var(--shadow-soft);
}

.rental-calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px;
  align-items: stretch;
}

.calc-addon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.calc-addon-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  cursor: pointer;
}

.calc-addon-item input {
  accent-color: var(--gold-deep);
  width: 16px;
  height: 16px;
}

.rental-calc-summary {
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(197, 155, 95, 0.16), rgba(197, 155, 95, 0.05));
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
}

.calc-total-price {
  font-family: var(--font-serif-kr);
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  font-weight: 700;
  color: var(--gold-deep);
  margin: 6px 0 10px 0;
}

.page-step-nav {
  max-width: var(--container-max);
  margin: 0 auto 48px auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.page-step-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
}

.libera-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: #1c1917;
  color: #f5efe6;
  border: 1px solid var(--gold);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  font-size: 0.88rem;
  font-weight: 600;
  animation: sectionFadeIn 0.25s ease;
}

@media (max-width: 920px) {
  .rental-calc-grid,
  .calc-addon-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Connected Context Sub-Menu Bar (Inside Sticky Header)
   ========================================================================== */
.subnav-bar {
  border-top: 1px solid var(--line);
  background: rgba(244, 237, 226, 0.88);
  backdrop-filter: blur(10px);
}

html[data-theme="dark"] .subnav-bar {
  background: rgba(25, 22, 19, 0.88);
}

.subnav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 6px clamp(16px, 3vw, 44px);
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav-inner::-webkit-scrollbar {
  display: none;
}

.subnav-page-tag {
  font-family: var(--font-brand);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--soft);
  border: 1px solid var(--card-border);
  white-space: nowrap;
  flex-shrink: 0;
}

.subnav-chip {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.subnav-chip:hover {
  background: var(--surface-solid);
  border-color: var(--gold);
  color: var(--ink);
}

