/*
Theme Name: STUDIO HDC
Theme URI: https://studio-hdc.com/
Author: HDC Web Production
Author URI: https://studio-hdc.com/
Description: STUDIO HDC / 広島ダンスカンパニー 公式WordPressテーマ。洗練されたダンスカルチャーを体現する、モダンでプロフェッショナルなデザイン。
Version: 1.0.0
License: Private
Text Domain: studio-hdc
Tags: dance, studio, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =============================================
   CSS Variables / Design Tokens
   ============================================= */
:root {
  /* Colors */
  --color-ink:        #ffffff;
  --color-surface:    #f5f5f7;
  --color-panel:      #ffffff;
  --color-border:     rgba(0,0,0,0.08);
  --color-text:       #1a1a2e;
  --color-muted:      rgba(26,26,46,0.50);
  --color-accent:     #25b597;
  --color-accent-dim: rgba(37,181,151,0.12);
  --color-accent2:    #1a8a6e;
  --color-white:      #ffffff;

  /* Typography */
  --font-display:  'Bebas Neue', 'Oswald', 'Noto Sans JP', sans-serif;
  --font-body:     'Montserrat', 'Noto Sans JP', sans-serif;
  --font-label:    'Oswald', 'Noto Sans JP', sans-serif;
  --font-mono:     'Montserrat', monospace;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;
  --space-2xl: 12rem;

  /* Layout */
  --max-width:        1440px;
  --header-height:    80px;

  /* Effects */
  --transition-base:  0.35s cubic-bezier(0.4,0,0.2,1);
  --transition-slow:  0.65s cubic-bezier(0.4,0,0.2,1);
  --shadow-card:      0 4px 40px rgba(0,0,0,0.08);
  --shadow-glow:      0 0 60px rgba(37,181,151,0.08);
  --radius-sm:        4px;
  --radius-md:        10px;
  --radius-lg:        20px;
}

/* =============================================
   Reset & Base
   ============================================= */
*,*::before,*::after { box-sizing: border-box; margin:0; padding:0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--color-ink);
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width:100%; min-width: 50px; height:auto; display:block; }
a { color: inherit; text-decoration: none; transition: color var(--transition-base); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Selection */
::selection { background: var(--color-accent); color: #ffffff; }

/* =============================================
   Typography Scale
   ============================================= */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
}
.label-tag {
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; text-transform: uppercase; }
h1 { font-size: clamp(2.2rem,5vw,4rem); }
h2 { font-size: clamp(1.8rem,3.5vw,3rem); }
h3 { font-size: clamp(1.3rem,2.5vw,2rem); }
p  { max-width: 68ch; }

/* =============================================
   Layout Utilities
   ============================================= */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem,5vw,4rem);
}
.section { padding: var(--space-xl) 0; }
.section--lg { padding: var(--space-2xl) 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--space-md); }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-sm); }

/* Flex helpers */
.flex        { display: flex; }
.flex-center { display: flex; align-items:center; justify-content:center; }
.flex-between{ display: flex; align-items:center; justify-content:space-between; }

/* =============================================
   Noise / Grain Texture Overlay
   ============================================= */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* =============================================
   Site Header
   ============================================= */
#masthead {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  padding-top: 10px;
  display: flex;
  align-items: center;
  transition: background var(--transition-slow), backdrop-filter var(--transition-slow), padding var(--transition-slow);
}
#masthead.scrolled {
  padding-top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Logo — left-aligned, pushes nav & actions to the right */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-right: auto;
}
.site-logo img { height: 42px; width: auto; min-height: 32px; filter: brightness(1.1); }
.site-logo__text {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.site-logo__name {
  font-family: var(--font-label);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-text);
  line-height: 1;
}
.site-logo__sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  line-height: 1;
  margin-top: 3px;
}

/* Primary Navigation */
.nav-primary ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.5vw, 2rem);
}
.nav-primary a {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  position: relative;
  padding-bottom: 3px;
  white-space: nowrap;
  transition: color var(--transition-base);
}
.nav-primary a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}
.nav-primary a:hover { color: var(--color-text); }
.nav-primary a:hover::after { width: 100%; }

/* CTA Button */
.btn-cta {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.65rem 1.6rem;
  background: var(--color-accent);
  color: #ffffff;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
}
.btn-cta:hover {
  background: var(--color-text);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26,26,46,0.2);
}

/* Regional School Button */
.btn-regional {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-regional:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37,181,151,0.12);
}
.btn-regional svg {
  flex-shrink: 0;
}
.btn-regional + .btn-cta { margin-top: 0; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition-base);
  transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.nav-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 90vw);
  background: var(--color-surface);
  border-left: 1px solid var(--color-border);
  z-index: 999;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-height) + 2rem) 2.5rem 2.5rem;
  gap: var(--space-sm);
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nav-drawer li { border-bottom: 1px solid var(--color-border); }
.nav-drawer a {
  display: block;
  padding: 1.1rem 0;
  font-family: var(--font-label);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color var(--transition-base), padding-left var(--transition-base);
}
.nav-drawer a:hover { color: var(--color-accent); padding-left: 0.5rem; }
.nav-drawer .btn-cta { margin-top: 1rem; display: inline-block; padding-left: 2rem; padding-right: 2rem; }
.nav-drawer .btn-regional { margin-top: 2rem; padding-left: 1.5rem; padding-right: 1.5rem; }
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}
.nav-overlay.active { opacity: 1; pointer-events: all; }

/* =============================================
   Hero Section
   ============================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
/* Gradient overlay */
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,   rgba(255,255,255,0.95) 0%,  rgba(255,255,255,0.4) 55%, transparent 100%),
    linear-gradient(to right, rgba(255,255,255,0.7) 0%,   transparent 60%);
}
/* Diagonal accent line */
.hero__accent-line {
  position: absolute;
  top: 0; right: 10%;
  width: 1px;
  height: 40%;
  background: linear-gradient(to bottom, transparent, var(--color-accent), transparent);
  opacity: 0.5;
  z-index: 2;
  animation: lineGrow 2s ease-out 1s both;
}
@keyframes lineGrow {
  from { transform: scaleY(0); transform-origin: top; }
  to   { transform: scaleY(1); transform-origin: top; }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: var(--space-xl) 0;
  max-width: 800px;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.3s both;
}
.hero__eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--color-accent);
}
.hero__title {
  opacity: 0;
  animation: fadeUp 0.9s ease-out 0.5s both;
  margin-bottom: 1.5rem;
}
.hero__title em {
  font-style: normal;
  color: var(--color-accent);
}
.hero__desc {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--color-muted);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s ease-out 0.7s both;
  max-width: 48ch;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s ease-out 0.9s both;
}
.btn-primary {
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  background: var(--color-accent);
  color: #ffffff;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.btn-primary:hover {
  background: var(--color-text);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(26,26,46,0.2);
}
.btn-outline {
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: 1px solid rgba(0,0,0,0.15);
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-3px);
}

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  right: clamp(1.5rem,5vw,4rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s ease-out 1.5s both;
}
.hero__scroll span {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-muted);
  writing-mode: vertical-lr;
}
.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity:0.4; transform:scaleY(1); }
  50%      { opacity:1;   transform:scaleY(1.2); }
}

/* Stats bar */
.hero__stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  border-top: 1px solid var(--color-border);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: fadeIn 1s ease-out 1.2s both;
}
.hero__stats-inner {
  display: flex;
  divide: auto;
}
.hero__stat {
  flex: 1;
  padding: 1.5rem clamp(1rem,3vw,2.5rem);
  border-right: 1px solid var(--color-border);
  text-align: center;
}
.hero__stat:last-child { border-right: none; }
.hero__stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem,3vw,2.4rem);
  font-weight: 300;
  color: var(--color-accent);
  line-height: 1;
  display: block;
}
.hero__stat-label {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  display: block;
  margin-top: 0.25rem;
}

/* =============================================
   Section Headers (共通)
   ============================================= */
.section-header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section-header--center { text-align: center; }
.section-header--center p { margin: 0.75rem auto 0; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.section-tag::before,
.section-tag::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-accent);
}
.section-tag--left::after { display: none; }
.section-heading {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.section-sub {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-top: 0.75rem;
}

/* =============================================
   News / Topics
   ============================================= */
.news-section { background: var(--color-surface); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5px;
  background: var(--color-border);
}
.news-card {
  background: var(--color-panel);
  padding: 2rem;
  transition: background var(--transition-base);
  position: relative;
  overflow: hidden;
}
.news-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--color-accent);
  transition: height var(--transition-slow);
}
.news-card:hover { background: var(--color-surface); }
.news-card:hover::before { height: 100%; }
.news-card__date {
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  display: block;
}
.news-card__cat {
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  padding: 3px 10px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  color: var(--color-muted);
  display: inline-block;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.news-card__title {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.5;
  transition: color var(--transition-base);
}
.news-card:hover .news-card__title { color: var(--color-accent); }
.news-card__arrow {
  position: absolute;
  bottom: 1.5rem; right: 1.5rem;
  width: 32px; height: 32px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.8rem;
  transition: all var(--transition-base);
}
.news-card:hover .news-card__arrow {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: rotate(45deg);
}

/* =============================================
   Schedule Section
   ============================================= */
.schedule-section { background: var(--color-ink); }
.schedule-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.schedule-tabs::-webkit-scrollbar { display: none; }
.schedule-tab {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  color: var(--color-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: all var(--transition-base);
  cursor: pointer;
}
.schedule-tab:hover { color: var(--color-text); }
.schedule-tab.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}
.schedule-table-wrap {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}
.schedule-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.schedule-table th {
  padding: 1rem 0.75rem;
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  white-space: nowrap;
}
.schedule-table td {
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  min-height: 60px;
}
.schedule-table .time-col {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-muted);
  padding-right: 1rem;
  white-space: nowrap;
  border-right: 1px solid var(--color-border);
  text-align: right;
}
.class-block {
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  margin: 2px 0;
  cursor: pointer;
  transition: all var(--transition-base);
  border-left: 3px solid var(--color-accent);
}
.class-block:hover {
  background: var(--color-accent-dim);
  border-color: var(--color-accent);
  transform: translateY(-1px);
}
.class-block--kpop  { border-left-color: #e57bbc; }
.class-block--house { border-left-color: #7eb8d4; }
.class-block--lock  { border-left-color: #7dd4a0; }
.class-block--jazz  { border-left-color: #d4aa7d; }
.class-block--pop   { border-left-color: #a87dd4; }
.class-block__name {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.78rem;
  display: block;
}
.class-block__instructor {
  font-size: 0.68rem;
  color: var(--color-muted);
  display: block;
  margin-top: 2px;
}
.class-block__time {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-accent);
  display: block;
  margin-top: 2px;
}

/* =============================================
   Instructor Section
   ============================================= */
.instructors-section { background: var(--color-surface); }
.instructor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.instructor-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 3/4;
  background: var(--color-panel);
  cursor: pointer;
}
.instructor-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  filter: grayscale(20%) contrast(1.05);
}
.instructor-card:hover .instructor-card__img {
  transform: scale(1.06);
}
.instructor-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.4) 60%, transparent 100%);
  transition: opacity var(--transition-base);
}
.instructor-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  transform: translateY(0);
  transition: transform var(--transition-base);
}
.instructor-card__genre {
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.3rem;
}
.instructor-card__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.1;
}
.instructor-card__bio {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), opacity var(--transition-base);
  opacity: 0;
}
.instructor-card:hover .instructor-card__bio {
  max-height: 100px;
  opacity: 1;
}

/* Instructor placeholder (no photo) */
.instructor-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-panel), var(--color-surface));
}
.instructor-card__initials {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--color-accent);
  opacity: 0.5;
}

/* =============================================
   Features / Why HDC Section
   ============================================= */
.features-section {
  background: var(--color-ink);
  position: relative;
  overflow: hidden;
}
.features-section::before {
  content: 'HDC';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 20rem);
  font-weight: 700;
  color: rgba(0,0,0,0.03);
  letter-spacing: 0.1em;
  pointer-events: none;
  white-space: nowrap;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--color-border);
}
.feature-item {
  padding: clamp(2rem,5vw,4rem);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  transition: background var(--transition-base);
}
.feature-item:nth-child(even) { border-right: none; }
.feature-item:nth-last-child(-n+2) { border-bottom: none; }
.feature-item:hover { background: var(--color-surface); }
.feature-item__num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  color: rgba(37,181,151,0.12);
  line-height: 1;
  position: absolute;
  top: 1rem; right: 1.5rem;
  transition: color var(--transition-base);
}
.feature-item:hover .feature-item__num { color: rgba(37,181,151,0.2); }
.feature-item__icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  color: var(--color-accent);
  transition: all var(--transition-base);
}
.feature-item:hover .feature-item__icon {
  background: var(--color-accent-dim);
  border-color: var(--color-accent);
}
.feature-item__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.feature-item__text {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.8;
  max-width: 40ch;
}

/* =============================================
   Rental Studio Section
   ============================================= */
.rental-section { background: var(--color-surface); }
.rental-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--color-border);
}
.rental-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.rental-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  filter: grayscale(15%);
}
.rental-inner:hover .rental-media img { transform: scale(1.04); }
.rental-content {
  padding: clamp(2.5rem,5vw,5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}
.rental-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.rental-spec {
  background: var(--color-panel);
  padding: 1rem;
}
.rental-spec__label {
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  display: block;
  margin-bottom: 0.25rem;
}
.rental-spec__val {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-accent);
}

/* =============================================
   Access Section
   ============================================= */
.access-section { background: var(--color-ink); }
.access-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.access-info { display: flex; flex-direction: column; gap: 2rem; }
.access-detail {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.access-detail__icon {
  width: 40px; height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
  font-size: 1rem;
}
.access-detail__label {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  display: block;
  margin-bottom: 0.2rem;
}
.access-detail__text {
  font-size: 0.95rem;
  color: var(--color-text);
}
.access-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 4/3;
}
.access-map iframe { width:100%; height:100%; border:none; filter: grayscale(40%) invert(90%) hue-rotate(180deg); }

/* =============================================
   CTA Banner
   ============================================= */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
  padding: var(--space-xl) 0;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(37,181,151,0.08) 0%, transparent 70%);
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.cta-inner .section-heading { font-size: clamp(2rem, 4.5vw, 4rem); }
.cta-inner .section-sub { font-size: 1rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* =============================================
   Footer
   ============================================= */
#colophon {
  background: var(--color-ink);
  border-top: 1px solid var(--color-border);
}
.footer-main {
  padding: var(--space-lg) 0;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
}
.footer-brand {}
.footer-logo { height: 40px; margin-bottom: 1rem; }
.footer-tagline {
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.8;
  max-width: 30ch;
  margin-bottom: 1.5rem;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--color-muted);
  transition: all var(--transition-base);
}
.footer-social a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-dim);
}
.footer-col__title {
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}
.footer-col__links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col__links a {
  font-size: 0.84rem;
  color: var(--color-muted);
  transition: color var(--transition-base), padding-left var(--transition-base);
  display: inline-block;
}
.footer-col__links a:hover { color: var(--color-text); padding-left: 0.4rem; }
.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--color-muted);
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  transition: color var(--transition-base);
}
.footer-bottom-links a:hover { color: var(--color-text); }

/* =============================================
   Single Post / Page
   ============================================= */
.page-hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 3rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.post-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) clamp(1.5rem, 5vw, 4rem);
}
.post-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--color-text);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}
.post-content h3 {
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}
.post-content p {
  margin-bottom: 1.5rem;
  color: var(--color-muted);
  line-height: 1.9;
}
.post-content a { color: var(--color-accent); border-bottom: 1px solid var(--color-accent-dim); }
.post-content a:hover { border-bottom-color: var(--color-accent); }
.post-content ul,
.post-content ol { margin: 1rem 0 1.5rem 1.5rem; color: var(--color-muted); }
.post-content li { margin-bottom: 0.4rem; line-height: 1.8; }
.post-content blockquote {
  border-left: 3px solid var(--color-accent);
  padding: 1.25rem 1.5rem;
  background: var(--color-surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2rem 0;
  font-style: italic;
  color: var(--color-text);
}

/* =============================================
   Hero v2 — Enhanced Hero
   ============================================= */
.hero-v2 {
  --scroll-progress: 0;
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* Gradient mesh fallback (no photo) */
.hero-v2__mesh {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37,181,151,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(37,181,151,0.05) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 80%, rgba(26,26,46,0.04) 0%, transparent 50%),
    linear-gradient(135deg, #f5f5f7 0%, #e8e8f0 50%, #ffffff 100%);
}

/* YouTube background video */
.hero-v2__youtube {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-v2__youtube iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120vw;
  height: 120vh;
  min-width: 177.78vh;  /* 16:9 aspect ratio */
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  border: 0;
}

/* Photo overlay — 2-layer gradient + soft-light blend */
.hero-v2 .hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.5) 50%, transparent 100%),
    linear-gradient(135deg, rgba(255,255,255,0.6) 0%, transparent 60%);
  mix-blend-mode: normal;
}
.hero-v2 .hero__media img {
  mix-blend-mode: luminosity;
  opacity: 0.85;
}

/* Content wrapper — scroll-linked fade */
.hero-v2__content-wrap {
  opacity: calc(1 - var(--scroll-progress) * 1.5);
  transform: translateY(calc(var(--scroll-progress) * -60px));
  will-change: opacity, transform;
}

/* ---- Floating Geometric Shapes ---- */
.hero-v2__shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-v2__shape {
  position: absolute;
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Large circle */
.hero-v2__shape--circle-lg {
  width: 300px;
  height: 300px;
  border: 1px solid rgba(37,181,151,0.12);
  border-radius: 50%;
  top: 10%;
  right: 8%;
  animation: heroFloat 8s ease-in-out infinite;
}

/* Small circle */
.hero-v2__shape--circle-sm {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(37,181,151,0.06) 0%, transparent 70%);
  border-radius: 50%;
  top: 55%;
  right: 25%;
  animation: heroFloat 6s ease-in-out 1s infinite;
}

/* Tiny circle */
.hero-v2__shape--circle-xs {
  width: 60px;
  height: 60px;
  border: 1px solid rgba(37,181,151,0.10);
  border-radius: 50%;
  top: 30%;
  left: 60%;
  animation: heroFloat 7s ease-in-out 0.5s infinite;
}

/* Cross / plus */
.hero-v2__shape--cross {
  width: 40px;
  height: 40px;
  top: 20%;
  right: 30%;
  animation: heroFloat 9s ease-in-out 2s infinite;
}
.hero-v2__shape--cross::before,
.hero-v2__shape--cross::after {
  content: '';
  position: absolute;
  background: rgba(37,181,151,0.15);
}
.hero-v2__shape--cross::before {
  width: 1px;
  height: 100%;
  left: 50%;
  top: 0;
}
.hero-v2__shape--cross::after {
  width: 100%;
  height: 1px;
  top: 50%;
  left: 0;
}

/* Ring */
.hero-v2__shape--ring {
  width: 180px;
  height: 180px;
  border: 1px solid rgba(37,181,151,0.08);
  border-radius: 50%;
  bottom: 25%;
  left: 5%;
  animation: heroFloat 10s ease-in-out 3s infinite;
}

/* Dot cluster */
.hero-v2__shape--dot-cluster {
  width: 80px;
  height: 80px;
  top: 65%;
  right: 12%;
  animation: heroFloat 7s ease-in-out 1.5s infinite;
  background:
    radial-gradient(circle 2px at 10% 20%, rgba(37,181,151,0.2) 100%, transparent 100%),
    radial-gradient(circle 2px at 50% 10%, rgba(37,181,151,0.15) 100%, transparent 100%),
    radial-gradient(circle 2px at 80% 40%, rgba(37,181,151,0.2) 100%, transparent 100%),
    radial-gradient(circle 2px at 30% 70%, rgba(37,181,151,0.15) 100%, transparent 100%),
    radial-gradient(circle 2px at 70% 80%, rgba(37,181,151,0.2) 100%, transparent 100%);
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-20px); }
}

/* ---- Accent Lines (staggered) ---- */
.hero-v2__lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-v2__accent-line {
  position: absolute;
  background: linear-gradient(to bottom, transparent, rgba(37,181,151,0.3), transparent);
  transform: scaleY(0);
  transform-origin: top;
}
.hero-v2__accent-line--1 {
  top: 0;
  right: 10%;
  width: 1px;
  height: 45%;
  animation: lineReveal 1.8s cubic-bezier(0.4,0,0.2,1) 0.6s both;
}
.hero-v2__accent-line--2 {
  top: 15%;
  right: 35%;
  width: 1px;
  height: 30%;
  animation: lineReveal 1.5s cubic-bezier(0.4,0,0.2,1) 1s both;
  opacity: 0.5;
}
.hero-v2__accent-line--3 {
  bottom: 20%;
  left: 8%;
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(37,181,151,0.25), transparent);
  transform: scaleX(0);
  transform-origin: left;
  animation: lineRevealX 1.5s cubic-bezier(0.4,0,0.2,1) 1.4s both;
}

@keyframes lineReveal {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
@keyframes lineRevealX {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ---- Title clip-path reveal ---- */
.hero-v2__title {
  overflow: hidden;
}
.hero-v2__line {
  display: block;
  clip-path: inset(100% 0 0 0);
  animation: clipReveal 0.9s cubic-bezier(0.4,0,0.2,1) both;
}
.hero-v2__line:nth-child(1) { animation-delay: 0.4s; }
.hero-v2__line:nth-child(2) { animation-delay: 0.55s; }

@keyframes clipReveal {
  from { clip-path: inset(100% 0 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

/* Override default hero__title animation for v2 */
.hero-v2 .hero__title {
  opacity: 1;
  animation: none;
}

/* ---- Genre Marquee Strip ---- */
.hero-v2__marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  overflow: hidden;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 0.6rem 0;
  opacity: 0;
  animation: fadeIn 1s ease-out 1.3s both;
}
.hero-v2__marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}
.hero-v2__marquee-item {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--color-text);
  padding: 0 0.75rem;
}
.hero-v2__marquee-sep {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 0.9rem;
  opacity: 0.4;
  padding: 0 0.25rem;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Stats bar — outside hero, normal flow */
.hero-v2-stats-bar {
  border-top: 1px solid var(--color-border);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
}

/* Hero v2 content needs bottom padding for marquee */
.hero-v2 .hero__content {
  padding-bottom: calc(var(--space-xl) + 3rem);
}

/* =============================================
   Animations
   ============================================= */
@keyframes fadeUp {
  from { opacity:0; transform: translateY(24px); }
  to   { opacity:1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity:0; }
  to   { opacity:1; }
}

/* Intersection Observer trigger class */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 1024px) {
  .site-header__inner .btn-regional { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-item:nth-child(even) { border-right: none; }
  .feature-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--color-border); }
  .feature-item:last-child { border-bottom: none; }
  .rental-inner { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-height: 68px; }
  .nav-primary, .btn-cta { display: none; }
  .nav-toggle { display: flex; }

  #masthead .container { padding: 0 1rem; }
  .site-header__inner { gap: 0.5rem; justify-content: flex-start; }
  .site-header__inner .flex { margin-left: auto; }
  .site-logo { padding: 0.8rem 0; }
  .site-logo img { height: 36px; min-height: 36px; }
  .site-logo__name { font-size: 1rem; }
  .site-logo__sub { font-size: 0.58rem; }

  .hero__stats { display: none; }
  .hero__content { padding-bottom: 4rem; }

  /* Hero v2 mobile */
  .hero-v2-stats-bar { display: none; }
  .hero-v2__marquee { bottom: 0; }
  .hero-v2__shape--circle-lg { width: 180px; height: 180px; }
  .hero-v2__shape--ring { width: 100px; height: 100px; }
  .hero-v2__shape--circle-sm { width: 80px; height: 80px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .access-inner { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-item { border-right: none !important; }
}

@media (max-width: 480px) {
  .cta-actions { flex-direction: column; align-items: center; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .instructor-grid { grid-template-columns: repeat(2,1fr); }
}

/* =============================================
   Instructor Page
   ============================================= */
.instructor-page-hero {
  padding-top: calc(var(--header-height) + 5rem);
  padding-bottom: 4rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.instructor-page__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}
.instructor-page__title em {
  font-style: normal;
  color: var(--color-accent);
}
.instructor-page__lead {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.9;
}

/* Instructor Grid */
.instructor-page-section {
  background: var(--color-ink);
  padding: var(--space-lg) 0;
}
.instructor-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* Instructor Card */
.icard {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-panel);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.icard:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.icard__inner {
  display: block;
  text-decoration: none;
  color: inherit;
}
.icard__photo {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.icard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.icard:hover .icard__img {
  transform: scale(1.05);
}
.icard__placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icard__initial {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--color-accent);
  text-transform: uppercase;
}
.icard__overlay {
  position: absolute;
  inset: 0;
  background: rgba(37,181,151,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}
.icard:hover .icard__overlay {
  opacity: 1;
}
.icard__overlay-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.icard__genre-badge {
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-sm);
}
.icard__level {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
}
.icard__view-more {
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.icard__genre-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
}
.icard__name-bar {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.icard__name {
  font-family: var(--font-label);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
}
.icard__genre-tag {
  font-family: var(--font-label);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--color-accent-dim);
  border-radius: var(--radius-sm);
}

/* Section subtitle */
.instructor-section-title {
  font-family: var(--font-label);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-text);
  margin: var(--space-xl) 0 var(--space-md);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

/* Empty state */
.instructor-empty {
  text-align: center;
  padding: var(--space-lg) 0;
  color: var(--color-muted);
}

/* Responsive - Instructor Page */
@media (max-width: 768px) {
  .instructor-page-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .instructor-filter__inner { gap: 1rem; }
  .genre-filters { gap: 0.4rem; }
  .genre-btn { padding: 0.4rem 0.75rem; font-size: 0.6rem; }
}
@media (max-width: 480px) {
  .instructor-page-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   WordPress Core Classes
   ============================================= */
.wp-block-image { margin: 2rem 0; }
.wp-block-image img { border-radius: var(--radius-sm); }
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.wp-caption-text { font-size: 0.8rem; color: var(--color-muted); text-align: center; margin-top: 0.5rem; }
.sticky { position: relative; }
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
}
