/* ============================================
   دبستان مهارت — Modern Redesign
   ============================================ */

:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #5eead4;
  --primary-soft: rgba(13, 148, 136, 0.1);
  --accent: #f59e0b;
  --accent-soft: rgba(245, 158, 11, 0.12);
  --pink: #ec4899;
  --pink-soft: rgba(236, 72, 153, 0.12);
  --slate: #64748b;
  --text: #0f172a;
  --text-muted: #64748b;
  --bg: #f8fafc;
  --surface: #ffffff;
  --border: rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-full: 999px;
  --header-h: 76px;
  --topbar-h: 40px;
  --font: "Vazirmatn", system-ui, -apple-system, sans-serif;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--topbar-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

img,
video {
  max-width: 100%;
}

/* Prevent long Persian strings from breaking layout */
p, a, li, .ws-person__name, .nt-row__name {
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

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

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

ul {
  list-style: none;
}

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

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* ---------- Topbar ---------- */
.topbar {
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #0891b2 100%);
  color: #fff;
  font-size: 0.82rem;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  padding-left: 2.25rem;
  padding-right: 2.25rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.topbar__contact {
  display: flex;
  gap: 1.25rem;
}

.topbar__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.95;
  transition: opacity 0.2s;
}

.topbar__contact a:hover {
  opacity: 1;
}

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0.9;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s, background 0.3s;
  height: var(--header-h);
  display: flex;
  align-items: center;
  /* Equal side margins — nothing flush to the screen edge */
  padding-left: 2.25rem;
  padding-right: 2.25rem;
}

.header.scrolled {
  box-shadow: var(--shadow);
  border-bottom-color: var(--border);
  background: rgba(255, 255, 255, 0.95);
}

/*
  Header layout (physical sides):
  [Login left] ——— [Nav center] ——— [Logo right]
*/
.header__inner {
  direction: ltr;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Logo — right side */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
  margin-right: 0.15rem;
  line-height: 0;
  order: 3;
}

.logo img {
  height: 56px;
  width: auto;
  max-width: min(200px, 55vw);
  object-fit: contain;
  object-position: center;
  display: block;
}

.nav {
  direction: rtl;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 0.15rem;
  min-width: 0;
  order: 2;
}

.nav__link {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

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

/* Actions / login — left side */
.header__actions {
  direction: rtl;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  margin-left: 0.15rem;
  order: 1;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.btn--primary:hover {
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.4);
}

.btn--ghost {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.btn--ghost:hover {
  background: rgba(13, 148, 136, 0.18);
}

.btn--outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

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

.btn--white {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: var(--shadow);
}

.btn--outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn--lg {
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
}

.btn--full {
  width: 100%;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  padding: 4rem 0 5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(13, 148, 136, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(245, 158, 11, 0.1), transparent 50%),
    linear-gradient(180deg, #f0fdfa 0%, var(--bg) 100%);
  z-index: 0;
  overflow: hidden;
}

/* Interactive particle canvas */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Soft spotlight that follows the cursor */
.hero__spotlight {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(13, 148, 136, 0.18) 0%,
    rgba(8, 145, 178, 0.08) 35%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  left: 60%;
  top: 40%;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s;
  will-change: left, top;
  mix-blend-mode: multiply;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: float 12s ease-in-out infinite;
  will-change: transform;
  z-index: 0;
  pointer-events: none;
}

.hero__orb--1 {
  width: 360px;
  height: 360px;
  background: var(--primary-light);
  top: -80px;
  left: -60px;
}

.hero__orb--2 {
  width: 280px;
  height: 280px;
  background: #fcd34d;
  bottom: 10%;
  right: 5%;
  animation-delay: -4s;
}

.hero__orb--3 {
  width: 200px;
  height: 200px;
  background: #a5f3fc;
  top: 40%;
  left: 40%;
  animation-delay: -7s;
  opacity: 0.35;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 148, 136, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 148, 136, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  z-index: 0;
  pointer-events: none;
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* Floating skill icons */
.hero__floaters {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.floater {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 148, 136, 0.12);
  border-radius: 16px;
  box-shadow:
    0 8px 28px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: floaterBob 5.5s ease-in-out infinite;
  animation-delay: var(--delay);
  will-change: transform;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.floater.is-near {
  box-shadow:
    0 12px 36px rgba(13, 148, 136, 0.22),
    0 0 0 4px rgba(13, 148, 136, 0.1);
  border-color: rgba(13, 148, 136, 0.35);
}

@keyframes floaterBob {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  25% { transform: translate3d(6px, -12px, 0) rotate(3deg); }
  50% { transform: translate3d(-4px, -4px, 0) rotate(-2deg); }
  75% { transform: translate3d(8px, -16px, 0) rotate(2deg); }
}

/* Expanding rings */
.hero__rings {
  position: absolute;
  right: 12%;
  top: 50%;
  width: 320px;
  height: 320px;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  opacity: 0.45;
}

.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(13, 148, 136, 0.25);
  animation: ringPulse 6s ease-out infinite;
}

.ring--2 {
  inset: 12%;
  animation-delay: 1.2s;
  border-color: rgba(8, 145, 178, 0.22);
}

.ring--3 {
  inset: 28%;
  animation-delay: 2.4s;
  border-color: rgba(245, 158, 11, 0.28);
}

@keyframes ringPulse {
  0% { transform: scale(0.85); opacity: 0.9; }
  70% { transform: scale(1.15); opacity: 0.15; }
  100% { transform: scale(1.25); opacity: 0; }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -25px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__orb,
  .floater,
  .ring,
  .hero__grid {
    animation: none !important;
  }
}

@media (max-width: 768px) {
  .floater {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
    border-radius: 12px;
  }

  .hero__rings {
    width: 200px;
    height: 200px;
    right: -5%;
    opacity: 0.3;
  }

  .floater:nth-child(n + 6) {
    display: none;
  }
}

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

.hero__content .stat strong {
  font-variant-numeric: tabular-nums;
  transition: transform 0.3s var(--ease);
}

.hero__content .stat:hover strong {
  transform: scale(1.06);
  color: var(--primary);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem 0.4rem 0.65rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(13, 148, 136, 0); }
  100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0); }
}

.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #0891b2 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 34em;
  margin-bottom: 2rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  max-width: 560px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
}

.stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ---------- Sections ---------- */
.section {
  padding: 5.5rem 0;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.section__head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section__head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0.35rem;
}

.section__sub {
  color: var(--text-muted);
  margin-top: 0.5rem;
  max-width: 32em;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary);
  text-transform: uppercase;
}

.carousel-nav {
  display: flex;
  gap: 0.5rem;
}

/* ---------- Highlights ---------- */
.highlights {
  padding-top: 2rem;
}

.highlights__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.highlights__track::-webkit-scrollbar {
  display: none;
}

.highlight-card {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  cursor: pointer;
}

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

.highlight-card__img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.highlight-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.35), transparent 50%);
}

.highlight-card__body {
  padding: 1.15rem 1.25rem 1.4rem;
}

.highlight-card__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0.5rem 0 0.35rem;
}

.highlight-card__body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.tag--amber {
  background: var(--accent-soft);
  color: #b45309;
}

.tag--pink {
  background: var(--pink-soft);
  color: #be185d;
}

.tag--slate {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
}

/* ---------- About ---------- */
.about {
  background: var(--surface);
}

.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__visual {
  position: relative;
}

.about__card--main {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

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

.about__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  bottom: -1.25rem;
  right: -1rem;
  max-width: 240px;
  animation: float 8s ease-in-out infinite;
}

.about__float--2 {
  bottom: auto;
  top: 1.5rem;
  right: auto;
  left: -1.25rem;
  animation-delay: -3s;
}

.about__float-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-soft);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.about__float strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}

.about__float span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.about__text h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 800;
  margin: 0.4rem 0 1.1rem;
  letter-spacing: -0.02em;
}

.about__text > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.check-list li::before {
  content: "";
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}

.about__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Workshops ---------- */
.workshops {
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(13, 148, 136, 0.07), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(245, 158, 11, 0.06), transparent 50%),
    linear-gradient(180deg, #f1f5f9 0%, var(--bg) 40%, #f8fafc 100%);
  overflow: hidden;
}

.workshops__glow {
  position: absolute;
  width: 520px;
  height: 520px;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(13, 148, 136, 0.12), transparent 70%);
  pointer-events: none;
  filter: blur(20px);
}

.workshops__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

/* Premium workshop card */
.ws-card {
  --accent: #0d9488;
  --accent-soft: rgba(13, 148, 136, 0.12);
  --accent-grad: linear-gradient(145deg, #0d9488 0%, #0f766e 100%);

  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
  background: var(--surface);
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 32px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    border-color 0.3s,
    opacity 0.55s var(--ease);
  transition-delay: 0s, 0s, 0s, calc(var(--i, 0) * 0.05s);
}

.ws-card.reveal {
  transition-delay: calc(var(--i, 0) * 0.06s);
}

.ws-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 8px 16px rgba(15, 23, 42, 0.06),
    0 24px 48px rgba(15, 23, 42, 0.1),
    0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent);
  border-color: transparent;
}

.ws-card.reveal.visible:hover {
  transform: translateY(-8px);
}

.ws-card__shine {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--accent) 8%, transparent) 0%,
      transparent 45%,
      transparent 100%
    );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 0;
}

.ws-card:hover .ws-card__shine {
  opacity: 1;
}

/* Accent themes */
.ws-card[data-accent="amber"] {
  --accent: #f59e0b;
  --accent-soft: rgba(245, 158, 11, 0.14);
  --accent-grad: linear-gradient(145deg, #fbbf24 0%, #d97706 100%);
}
.ws-card[data-accent="blue"] {
  --accent: #3b82f6;
  --accent-soft: rgba(59, 130, 246, 0.14);
  --accent-grad: linear-gradient(145deg, #60a5fa 0%, #2563eb 100%);
}
.ws-card[data-accent="sky"] {
  --accent: #0ea5e9;
  --accent-soft: rgba(14, 165, 233, 0.14);
  --accent-grad: linear-gradient(145deg, #38bdf8 0%, #0284c7 100%);
}
.ws-card[data-accent="brown"] {
  --accent: #a16207;
  --accent-soft: rgba(161, 98, 7, 0.12);
  --accent-grad: linear-gradient(145deg, #ca8a04 0%, #854d0e 100%);
}
.ws-card[data-accent="rose"] {
  --accent: #f43f5e;
  --accent-soft: rgba(244, 63, 94, 0.12);
  --accent-grad: linear-gradient(145deg, #fb7185 0%, #e11d48 100%);
}
.ws-card[data-accent="indigo"] {
  --accent: #6366f1;
  --accent-soft: rgba(99, 102, 241, 0.14);
  --accent-grad: linear-gradient(145deg, #818cf8 0%, #4f46e5 100%);
}
.ws-card[data-accent="green"] {
  --accent: #10b981;
  --accent-soft: rgba(16, 185, 129, 0.14);
  --accent-grad: linear-gradient(145deg, #34d399 0%, #059669 100%);
}
.ws-card[data-accent="wood"] {
  --accent: #92400e;
  --accent-soft: rgba(146, 64, 14, 0.12);
  --accent-grad: linear-gradient(145deg, #b45309 0%, #78350f 100%);
}

.ws-card__head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0.35rem 0.9rem;
  padding: 1.35rem 1.35rem 0;
  align-items: center;
}

.ws-card__num {
  grid-column: 1 / -1;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 0.15rem;
}

.ws-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--accent-grad);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow:
    0 8px 20px color-mix(in srgb, var(--accent) 35%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.4s var(--ease);
}

.ws-card:hover .ws-card__icon {
  transform: scale(1.08) rotate(-4deg);
}

.ws-card__icon svg {
  width: 26px;
  height: 26px;
}

.ws-card__titles {
  min-width: 0;
}

.ws-card__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.35rem;
}

.ws-card__titles h3 {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.35;
}

.ws-card__desc {
  position: relative;
  z-index: 1;
  margin: 0 1.35rem;
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--text-muted);
  flex: 1;
}

.ws-card__tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1.35rem;
}

.ws-card__tags span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.05);
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-full);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.ws-card:hover .ws-card__tags span {
  background: var(--accent-soft);
  color: color-mix(in srgb, var(--accent) 80%, #0f172a);
  border-color: color-mix(in srgb, var(--accent) 18%, transparent);
}

.ws-card__foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: auto;
  padding: 1rem 1.35rem 1.3rem;
  background: linear-gradient(180deg, transparent, rgba(248, 250, 252, 0.9));
  border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.ws-person {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.ws-person__role {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--accent-grad);
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
  line-height: 1.4;
}

.ws-person__name {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}



/* ---------- Notices ---------- */
.notices {
  position: relative;
  background:
    radial-gradient(ellipse 55% 45% at 100% 0%, rgba(13, 148, 136, 0.07), transparent 55%),
    radial-gradient(ellipse 45% 40% at 0% 80%, rgba(59, 130, 246, 0.05), transparent 50%),
    var(--surface);
  overflow: hidden;
}

.notices__glow {
  position: absolute;
  width: 480px;
  height: 480px;
  bottom: 20%;
  right: -80px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1), transparent 70%);
  pointer-events: none;
  filter: blur(24px);
}

.notices__layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 4.5rem;
  align-items: stretch;
}

/* Notice cards — same language as workshop cards */
.nt-card {
  --accent: #0d9488;
  --accent-soft: rgba(13, 148, 136, 0.12);
  --accent-grad: linear-gradient(145deg, #0d9488 0%, #0f766e 100%);

  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 32px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    border-color 0.3s,
    opacity 0.55s var(--ease);
}

.nt-card.reveal {
  transition-delay: calc(var(--i, 0) * 0.06s);
}

.nt-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 8px 16px rgba(15, 23, 42, 0.06),
    0 24px 48px rgba(15, 23, 42, 0.1),
    0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent);
}

.nt-card.reveal.visible:hover {
  transform: translateY(-8px);
}

.nt-card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent) 8%, transparent) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.nt-card:hover .nt-card__shine {
  opacity: 1;
}

.nt-card[data-accent="teal"] {
  --accent: #0d9488;
  --accent-soft: rgba(13, 148, 136, 0.12);
  --accent-grad: linear-gradient(145deg, #14b8a6 0%, #0f766e 100%);
}
.nt-card[data-accent="blue"] {
  --accent: #3b82f6;
  --accent-soft: rgba(59, 130, 246, 0.12);
  --accent-grad: linear-gradient(145deg, #60a5fa 0%, #2563eb 100%);
}
.nt-card[data-accent="amber"] {
  --accent: #f59e0b;
  --accent-soft: rgba(245, 158, 11, 0.14);
  --accent-grad: linear-gradient(145deg, #fbbf24 0%, #d97706 100%);
}
.nt-card[data-accent="green"] {
  --accent: #10b981;
  --accent-soft: rgba(16, 185, 129, 0.14);
  --accent-grad: linear-gradient(145deg, #34d399 0%, #059669 100%);
}

.nt-card__head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.9rem;
  padding: 1.35rem 1.35rem 0;
  align-items: center;
}

.nt-card__num {
  grid-column: 1 / -1;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  opacity: 0.7;
}

.nt-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--accent-grad);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 35%, transparent);
  transition: transform 0.4s var(--ease);
}

.nt-card:hover .nt-card__icon {
  transform: scale(1.08) rotate(-4deg);
}

.nt-card__icon svg {
  width: 24px;
  height: 24px;
}

.nt-card__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.3rem;
}

.nt-card__titles h3 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.nt-card__desc {
  position: relative;
  z-index: 1;
  margin: 0 1.35rem;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.nt-card__note {
  position: relative;
  z-index: 1;
  margin: 0 1.35rem 1.25rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.8rem;
  line-height: 1.7;
  color: #92400e;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.18);
}

/* Contact rows table */
.nt-table {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0 1.1rem 1.25rem;
  padding: 0.55rem;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.nt-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  gap: 0.5rem 0.75rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.nt-row:hover {
  border-color: color-mix(in srgb, var(--accent) 22%, transparent);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.nt-row__role {
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: var(--accent-grad);
  padding: 0.25rem 0.55rem;
  border-radius: 8px;
  text-align: center;
  line-height: 1.4;
  white-space: nowrap;
}

.nt-row__name {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
}

.nt-row__phone {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.2s;
}

.nt-row__phone:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.nt-row__phones {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}

/* Recess schedule */
.nt-schedule {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0 1.35rem;
}

.nt-slot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nt-slot__time {
  flex-shrink: 0;
  min-width: 7.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  background: var(--accent-soft);
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  text-align: center;
}

.nt-slot__bar {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 25%, #e2e8f0));
  opacity: 0.55;
}

.nt-hours {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin: 0.25rem 1.35rem 0;
}

.nt-hours__item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  text-align: center;
}

.nt-hours__item strong {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.nt-hours__item span {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
}

/* Guide card extras */
.nt-quote {
  position: relative;
  z-index: 1;
  margin: 0 1.35rem;
  padding: 1rem 1.1rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--primary-dark);
  background: var(--accent-soft);
  border-radius: 14px;
  border-right: 4px solid var(--accent);
}

.nt-card__tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1.35rem;
}

.nt-card__tags span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.05);
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-full);
}

.nt-card:hover .nt-card__tags span {
  background: var(--accent-soft);
  color: color-mix(in srgb, var(--accent) 80%, #0f172a);
}

.nt-card__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.25rem 1.35rem 1.35rem;
  padding: 0.75rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent-grad);
  border-radius: var(--radius-full);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 35%, transparent);
  transition: transform 0.25s, box-shadow 0.25s;
}

.nt-card__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 40%, transparent);
}

.nt-card--guide {
  justify-content: flex-start;
}

.nt-card--guide .nt-card__desc {
  flex: 1;
}

/* Extra classes — reuse workshop card system */
.extra {
  position: relative;
  margin-top: 0.5rem;
  padding-top: 1rem;
}

.extra::before {
  content: "";
  position: absolute;
  top: 0;
  right: 10%;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.2), transparent);
}

.extra__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.extra .ws-card {
  height: 100%;
}

/* ---------- Events ---------- */
.events__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.event-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.event-card--featured {
  grid-column: span 1;
  grid-row: span 1;
}

.event-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.event-card--featured img {
  height: 220px;
}

.event-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.event-card__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0.55rem 0 0.4rem;
}

.event-card__body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 0.85rem;
}

.link-more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
  transition: gap 0.2s;
}

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

/* ---------- Staff ---------- */
.staff {
  background:
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(13, 148, 136, 0.06), transparent),
    var(--bg);
}

.staff__nav {
  flex-shrink: 0;
}

.staff__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.chip {
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.chip:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

/* Horizontal scroll track */
.staff__scroller {
  position: relative;
  margin-inline: calc(-1 * min(1.25rem, 4vw));
  padding-inline: min(1.25rem, 4vw);
}

.staff__scroller::before,
.staff__scroller::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 1rem;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}

.staff__scroller::before {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.staff__scroller::after {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.staff__grid {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(13, 148, 136, 0.35) transparent;
  cursor: grab;
}

.staff__grid::-webkit-scrollbar {
  height: 6px;
}

.staff__grid::-webkit-scrollbar-track {
  background: transparent;
}

.staff__grid::-webkit-scrollbar-thumb {
  background: rgba(13, 148, 136, 0.35);
  border-radius: 99px;
}

.staff-card {
  flex: 0 0 176px;
  width: 176px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--surface);
  border-radius: 20px;
  padding: 1.15rem 0.9rem 1.1rem;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, opacity 0.3s, border-color 0.3s;
}

.staff-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 148, 136, 0.2);
}

.staff-card.hidden {
  display: none;
}

/* Fixed square crop — all photos same visual size */
.staff-card__avatar {
  width: 112px;
  height: 112px;
  min-width: 112px;
  min-height: 112px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 0.95rem;
  border: 3px solid var(--primary-soft);
  box-shadow:
    0 0 0 3px var(--surface),
    0 0 0 5px rgba(94, 234, 212, 0.65),
    0 8px 20px rgba(13, 148, 136, 0.12);
  background: #e2e8f0;
  position: relative;
  flex-shrink: 0;
}

.staff-card__avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.staff-card__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  background: linear-gradient(145deg, #ccfbf1, #e0f2fe);
}

.staff__grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.staff-card h3 {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.staff-card p {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: auto;
}

.staff__hint {
  text-align: center;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.85;
}

.staff__more {
  text-align: center;
  margin-top: 1.75rem;
}

@media (max-width: 640px) {
  .staff-card {
    flex: 0 0 156px;
    width: 156px;
    min-height: 240px;
    padding: 1rem 0.75rem;
  }

  .staff-card__avatar {
    width: 100px;
    height: 100px;
    min-width: 100px;
    min-height: 100px;
  }

  .staff__scroller::before,
  .staff__scroller::after {
    width: 28px;
  }
}

/* ---------- CTA ---------- */
.cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 40%, #0891b2 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 35%);
}

.cta__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.cta p {
  opacity: 0.9;
  font-size: 1rem;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--surface);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact__info h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  margin: 0.4rem 0 0.75rem;
}

.contact__info > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.contact__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-soft);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact__item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.contact__item a,
.contact__item span {
  font-weight: 600;
  font-size: 0.95rem;
}

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

.socials {
  display: flex;
  gap: 0.65rem;
}

.socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: all 0.2s;
}

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

.contact__form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact__form h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact__form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.contact__form input,
.contact__form select,
.contact__form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.contact__form textarea {
  resize: vertical;
  min-height: 110px;
}

.form-note {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

/* ---------- Footer ---------- */
.footer {
  background: #0b1220;
  color: rgba(255, 255, 255, 0.75);
  padding-top: 4rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer__brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 28em;
}

.footer .logo img {
  height: 52px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer ul a {
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer ul a:hover {
  color: var(--primary-light);
}

.footer ul li {
  font-size: 0.9rem;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  font-size: 0.82rem;
}

.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer__credit {
  opacity: 0.5;
}

/* ---------- Back to top ---------- */
.back-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s var(--ease);
  z-index: 90;
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

/* Tablet & below */
@media (max-width: 1024px) {
  .container {
    width: min(100% - 2rem, var(--container));
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about__float--2 {
    left: 0.5rem;
  }

  .about__float {
    right: 0.5rem;
  }

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

  .notices__layout {
    grid-template-columns: 1fr 1fr;
  }

  .nt-card--wide {
    grid-column: span 1;
  }

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

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Mobile nav: hidden until open */
  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .nav.open {
    display: flex;
    position: fixed;
    top: calc(var(--header-h) + var(--topbar-h));
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1.25rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    gap: 0.35rem;
    z-index: 99;
    overflow-y: auto;
    animation: slideDown 0.3s var(--ease);
  }

  .nav.open .nav__link {
    padding: 1rem 1.15rem;
    font-size: 1.05rem;
    border-radius: 14px;
    text-align: right;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Phones & small tablets */
@media (max-width: 768px) {
  :root {
    --header-h: 64px;
    --topbar-h: 36px;
  }

  .container {
    width: min(100% - 1.5rem, var(--container));
  }

  .section {
    padding: 3rem 0;
  }

  .section__head {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 1.75rem;
  }

  .section__head--center {
    align-items: center;
  }

  .section__head h2 {
    font-size: 1.45rem;
  }

  .section__sub {
    font-size: 0.92rem;
  }

  .carousel-nav {
    align-self: flex-end;
  }

  /* Top bar */
  .header,
  .topbar {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }

  .topbar {
    font-size: 0.75rem;
  }

  .topbar__meta {
    display: none;
  }

  .topbar__contact {
    width: 100%;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .topbar__contact a {
    font-size: 0.75rem;
  }

  /* Header */
  .header__inner {
    gap: 0.65rem;
  }

  .logo img {
    height: 42px;
    max-width: min(180px, 52vw);
  }

  .header__actions {
    gap: 0.4rem;
    margin-right: 0;
  }

  .header__actions .btn--ghost {
    display: none;
  }

  .header__actions .btn--primary {
    padding: 0.5rem 0.95rem;
    font-size: 0.82rem;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 2.25rem 0 2.75rem;
  }

  .hero__badge {
    font-size: 0.78rem;
    margin-bottom: 1.1rem;
  }

  .hero__title {
    font-size: clamp(1.75rem, 7.5vw, 2.25rem);
    margin-bottom: 0.9rem;
  }

  .hero__desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-bottom: 2rem;
  }

  .hero__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem 1rem;
    max-width: none;
    padding-top: 1.5rem;
  }

  .stat strong {
    font-size: 1.3rem;
  }

  .stat span {
    font-size: 0.75rem;
  }

  .floater {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    border-radius: 11px;
  }

  .floater:nth-child(n + 5) {
    display: none;
  }

  .hero__rings {
    width: 160px;
    height: 160px;
    right: -12%;
    opacity: 0.22;
  }

  .hero__spotlight {
    width: 280px;
    height: 280px;
  }

  /* Highlights */
  .highlight-card {
    flex: 0 0 min(260px, 82vw);
  }

  .highlight-card__img {
    height: 180px;
  }

  /* About */
  .about__float {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 0.85rem;
    max-width: none;
  }

  .about__float--2 {
    position: relative;
    top: auto;
    left: auto;
  }

  .about__card--main {
    border-radius: 18px;
  }

  .about__links {
    flex-direction: column;
  }

  .about__links .btn {
    width: 100%;
  }

  /* Workshops + extra */
  .workshops__grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .extra__grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .ws-card {
    border-radius: 18px;
  }

  .ws-card__head {
    padding: 1.15rem 1.1rem 0;
    gap: 0.3rem 0.75rem;
  }

  .ws-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .ws-card__icon svg {
    width: 22px;
    height: 22px;
  }

  .ws-card__titles h3 {
    font-size: 1.05rem;
  }

  .ws-card__desc {
    margin: 0 1.1rem;
    font-size: 0.86rem;
  }

  .ws-card__tags {
    padding: 0 1.1rem;
  }

  .ws-card__foot {
    padding: 0.85rem 1.1rem 1.1rem;
  }

  /* Notices */
  .notices__layout {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-bottom: 3rem;
  }

  .nt-card {
    border-radius: 18px;
  }

  .nt-card__head {
    padding: 1.15rem 1.1rem 0;
  }

  .nt-card__desc,
  .nt-card__note,
  .nt-quote {
    margin-left: 1.1rem;
    margin-right: 1.1rem;
  }

  .nt-table {
    margin: 0 0.85rem 1.1rem;
    padding: 0.4rem;
  }

  .nt-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0.7rem;
  }

  .nt-row__role {
    justify-self: start;
    white-space: normal;
  }

  .nt-row__phones {
    align-items: flex-start;
  }

  .nt-row__phone {
    font-size: 0.92rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .nt-schedule,
  .nt-hours {
    margin-left: 1.1rem;
    margin-right: 1.1rem;
  }

  .nt-slot {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .nt-slot__time {
    min-width: 0;
    width: 100%;
  }

  .nt-slot__bar {
    display: none;
  }

  .nt-card__tags {
    padding: 0 1.1rem;
  }

  .nt-card__cta {
    margin: 0.25rem 1.1rem 1.15rem;
    min-height: 48px;
  }

  /* Staff */
  .staff__filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
  }

  .staff__filters::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex-shrink: 0;
    padding: 0.5rem 0.95rem;
    font-size: 0.82rem;
    min-height: 40px;
  }

  .staff-card {
    flex: 0 0 150px;
    width: 150px;
    min-height: 232px;
  }

  .staff-card__avatar {
    width: 96px;
    height: 96px;
    min-width: 96px;
    min-height: 96px;
  }

  /* Events */
  .events__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .event-card img,
  .event-card--featured img {
    height: 180px;
  }

  /* Contact */
  .contact__form {
    padding: 1.25rem;
    border-radius: 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact__form input,
  .contact__form select,
  .contact__form textarea {
    font-size: 16px; /* prevents iOS zoom on focus */
    min-height: 48px;
  }

  .contact__form textarea {
    min-height: 120px;
  }

  .contact__item {
    gap: 0.75rem;
  }

  .contact__icon {
    width: 44px;
    height: 44px;
  }

  /* CTA */
  .cta {
    padding: 2.5rem 0;
  }

  .cta__inner {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .cta h2 {
    font-size: 1.3rem;
  }

  .cta__actions {
    justify-content: center;
    width: 100%;
    flex-direction: column;
  }

  .cta__actions .btn {
    width: 100%;
  }

  /* Footer */
  .footer {
    padding-top: 2.75rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding-bottom: 2rem;
  }

  .footer__bottom .container {
    flex-direction: column;
    text-align: center;
    gap: 0.35rem;
  }

  /* Buttons touch targets */
  .btn {
    min-height: 44px;
  }

  .btn--lg {
    min-height: 48px;
  }

  .icon-btn {
    width: 44px;
    height: 44px;
  }

  .back-top {
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    left: max(1rem, env(safe-area-inset-left, 0px));
    width: 46px;
    height: 46px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  .header,
  .topbar {
    padding-left: max(0.85rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.85rem, env(safe-area-inset-right, 0px));
  }

  .logo {
    margin-right: 0;
  }

  .logo img {
    height: 38px;
    max-width: min(160px, 48vw);
  }

  .header__actions {
    margin-left: 0;
  }

  .header__actions .btn--primary {
    padding: 0.45rem 0.8rem;
    font-size: 0.78rem;
  }

  .hero__title {
    font-size: 1.65rem;
    line-height: 1.35;
  }

  .hero__desc {
    font-size: 0.9rem;
  }

  .hero__stats {
    gap: 0.75rem;
  }

  .stat {
    padding: 0.65rem 0.5rem;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 12px;
    border: 1px solid var(--border);
  }

  .highlight-card {
    flex: 0 0 min(240px, 86vw);
  }

  .section {
    padding: 2.5rem 0;
  }

  .section__head h2 {
    font-size: 1.3rem;
  }

  .staff-card {
    flex: 0 0 142px;
    width: 142px;
    min-height: 220px;
    padding: 0.9rem 0.65rem;
  }

  .staff-card__avatar {
    width: 88px;
    height: 88px;
    min-width: 88px;
    min-height: 88px;
  }

  .staff-card h3 {
    font-size: 0.8rem;
    min-height: 2.4em;
  }

  .staff-card p {
    font-size: 0.72rem;
  }

  .nt-hours {
    grid-template-columns: 1fr;
  }

  .check-list li {
    font-size: 0.9rem;
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .header__actions .btn--primary {
    display: none;
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .topbar__contact a:last-child {
    display: none;
  }
}
