/* ============================================================
   Skill Nation — Ultra Premium White Theme
   ============================================================ */

:root {
  --white: #ffffff;
  --bg-alt: #f6f7f9;
  --bg-soft: #fafbfc;
  --ink: #0a0d14;
  --ink-soft: #1c2230;
  --body: #4b5563;
  --muted: #8a93a3;
  --hairline: #e8eaef;
  --hairline-soft: #f0f2f5;
  --accent: #2050e0;
  --accent-deep: #1636a8;
  --accent-soft: #eef2ff;
  --gold: #b98a2f;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 1px 2px rgba(10, 13, 20, 0.04), 0 8px 24px rgba(10, 13, 20, 0.05);
  --shadow-lift: 0 2px 4px rgba(10, 13, 20, 0.06), 0 24px 48px -12px rgba(10, 13, 20, 0.12);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection { background: var(--ink); color: var(--white); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 32px; }

/* ---------- Typography ---------- */

h1, h2, h3, h4 { color: var(--ink); font-weight: 600; letter-spacing: -0.02em; }

.display {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.display .serif, .h-section .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.h-section {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.h-card { font-size: 1.25rem; line-height: 1.35; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: var(--body);
  max-width: 620px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(10,13,20,.2), 0 8px 20px -6px rgba(10,13,20,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(10,13,20,.2), 0 16px 32px -8px rgba(10,13,20,.4); }

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--hairline);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn-light {
  background: var(--white);
  color: var(--ink);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -8px rgba(0,0,0,.35); }

.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2px;
  transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.text-link:hover { border-color: var(--ink); gap: 12px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--hairline); background: rgba(255,255,255,0.92); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.brand-logo {
  height: 42px;
  width: auto;
  display: block;
}

.brand-logo-footer { height: 46px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--body);
  transition: color 0.25s var(--ease);
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.header-actions { display: flex; align-items: center; gap: 12px; }

.btn-login {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 100px;
  transition: background 0.25s var(--ease);
}
.btn-login:hover { background: var(--bg-alt); }

.btn-nav-cta {
  padding: 11px 22px;
  font-size: 0.875rem;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 76px; left: 0; right: 0;
  z-index: 99;
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
  padding: 16px 32px 32px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline-soft);
}
.mobile-menu a.btn {
  margin-top: 20px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  color: var(--white);
  border-bottom: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 190px 0 96px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(32, 80, 224, 0.07), transparent 60%),
    radial-gradient(800px 400px at 0% 10%, rgba(185, 138, 47, 0.05), transparent 55%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(10,13,20,0.028) 1px, transparent 1px);
  background-size: 118px 100%;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 85%);
  mask-image: linear-gradient(to bottom, black 0%, transparent 85%);
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

.hero-inner { position: relative; max-width: 640px; }

/* ---------- Hero artwork ---------- */

.hero-art {
  position: relative;
  height: 460px;
  perspective: 1200px;
}

.art-glow {
  position: absolute;
  inset: 8% 2% 12% 6%;
  background:
    radial-gradient(circle at 35% 30%, rgba(32, 80, 224, 0.22), transparent 62%),
    radial-gradient(circle at 75% 75%, rgba(12, 160, 205, 0.18), transparent 60%);
  filter: blur(38px);
  border-radius: 50%;
}

.art-rings {
  position: absolute;
  top: 50%; left: 50%;
  width: 460px; height: 460px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.art-rings span {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px solid rgba(10, 13, 20, 0.07);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.art-rings span:nth-child(1) { width: 96%; height: 96%; }
.art-rings span:nth-child(2) { width: 72%; height: 72%; border-color: rgba(32, 80, 224, 0.1); }
.art-rings span:nth-child(3) { width: 48%; height: 48%; border-style: dashed; border-color: rgba(10, 13, 20, 0.08); }

/* AI-learning neural network visual */
.ai-viz {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 2;
}

.nn-link {
  stroke: url(#nnLink);
  stroke-width: 1.4;
  stroke-dasharray: 5 11;
  animation: nnFlow 2.6s linear infinite;
}
.nn-link:nth-child(3n)   { animation-duration: 3.4s; animation-delay: -0.5s; }
.nn-link:nth-child(3n+1) { animation-duration: 2.9s; animation-delay: -1.2s; }
.nn-link:nth-child(4n)   { animation-duration: 3.9s; }

.nn-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: nnPulse 3.6s ease-in-out infinite;
}
.nn-node:nth-child(2n) { animation-delay: -1.1s; }
.nn-node:nth-child(3n) { animation-delay: -2.2s; animation-duration: 4.4s; }

.nn-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: nnRing 3.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.nn-ring:nth-child(2) { animation-delay: 1.2s; }
.nn-ring:nth-child(3) { animation-delay: 2.4s; }

.nn-core-group {
  transform-box: fill-box;
  transform-origin: center;
  animation: artFloatA 9s ease-in-out infinite;
}

.nn-spark {
  transform-box: fill-box;
  transform-origin: center;
  animation: nnSpark 4.2s ease-in-out infinite;
}
.nn-spark:nth-child(2) { animation-delay: -1.4s; }
.nn-spark:nth-child(3) { animation-delay: -2.8s; }
.nn-spark:nth-child(4) { animation-delay: -3.6s; }

@keyframes nnFlow  { to { stroke-dashoffset: -64; } }
@keyframes nnPulse { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.35); opacity: 1; } }
@keyframes nnRing  { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes nnSpark { 0%, 100% { transform: scale(.6); opacity: .25; } 50% { transform: scale(1.15); opacity: .9; } }

.art-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.5) blur(12px);
  backdrop-filter: saturate(1.5) blur(12px);
  border: 1px solid var(--hairline);
  border-radius: 100px;
  box-shadow: 0 2px 6px rgba(10,13,20,.05), 0 18px 36px -14px rgba(10,13,20,.24);
  z-index: 4;
  white-space: nowrap;
}
.art-chip .chip-value {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.art-chip .chip-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}
.art-chip .chip-icon {
  width: 32px; height: 32px;
  border-radius: 100px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}
.art-chip .chip-icon svg { width: 16px; height: 16px; }

.art-chip-rating {
  top: 2%;
  right: 4%;
  animation: artFloatB 10s ease-in-out infinite;
}
.art-chip-learners {
  bottom: 2%;
  left: 2%;
  animation: artFloatA 12s ease-in-out infinite;
}

.chip-faces { display: flex; }
.chip-faces img {
  width: 30px; height: 30px;
  border-radius: 100px;
  object-fit: cover;
  border: 2px solid var(--white);
}
.chip-faces img + img { margin-left: -11px; }

@keyframes artFloatA {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}
@keyframes artFloatB {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .art-chip, .nn-link, .nn-node, .nn-ring, .nn-core-group, .nn-spark { animation: none !important; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 10px;
  border: 1px solid var(--hairline);
  border-radius: 100px;
  background: var(--white);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--body);
  margin-bottom: 36px;
  box-shadow: var(--shadow-card);
}
.hero-badge .pill {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.hero .lead { margin: 28px 0 40px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Stats ---------- */

.stats-band { padding: 40px 0 96px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline);
}

.stat {
  padding: 40px 32px 8px 0;
  border-right: 1px solid var(--hairline);
}
.stat:last-child { border-right: none; }
.stat + .stat { padding-left: 32px; }

.stat-value {
  font-size: clamp(2.25rem, 3.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}
.stat-value .unit {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.55em;
  color: var(--accent);
  margin-left: 2px;
}
.stat-label {
  margin-top: 10px;
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

/* ---------- Sections ---------- */

.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 680px; margin-bottom: 64px; }
.section-head .lead { margin-top: 20px; }

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
}
.section-head-row .section-head { margin-bottom: 0; }

/* ---------- Steps (How it works) ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3rem;
  line-height: 1;
  color: var(--hairline);
  -webkit-text-stroke: 1px #d6dae2;
  color: transparent;
  margin-bottom: 28px;
  display: block;
}

.step-card h3 { margin-bottom: 12px; }
.step-card p { font-size: 0.9375rem; color: var(--body); }

/* ---------- Workshop cards ---------- */

.trainer-block { margin-bottom: 88px; }
.trainer-block:last-child { margin-bottom: 0; }

.trainer-head {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 32px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--hairline);
}

.trainer-avatar {
  width: 72px; height: 72px;
  flex-shrink: 0;
  border-radius: 22px;
  object-fit: cover;
  background: var(--bg-alt);
  box-shadow: 0 4px 16px rgba(10,13,20,.22);
}

.trainer-head h3 { font-size: 1.5rem; letter-spacing: -0.025em; }
.trainer-head .trainer-role {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
}

.workshop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.workshop-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 0;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.workshop-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: #dde1e8;
}

.workshop-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--hairline-soft);
}
.workshop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.workshop-card:hover .workshop-img img { transform: scale(1.045); }

.workshop-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 28px 24px;
}

.workshop-tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.workshop-tag.tag-gold { color: var(--gold); background: #faf5e9; }

.workshop-card h4 { font-size: 1.1875rem; line-height: 1.35; margin-bottom: 10px; }
.workshop-card p { font-size: 0.9rem; color: var(--body); flex: 1; }

.workshop-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline-soft);
}

.workshop-trainer {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.workshop-trainer .mini-avatar {
  width: 26px; height: 26px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg-alt);
}

.workshop-arrow {
  width: 38px; height: 38px;
  border-radius: 100px;
  border: 1px solid var(--hairline);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.workshop-card:hover .workshop-arrow {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: rotate(-45deg);
}

/* ---------- Feature / community rows ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 42px 36px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 26px;
}
.feature-icon svg { width: 24px; height: 24px; }

.feature-card h3 { font-size: 1.1875rem; margin-bottom: 12px; }
.feature-card p { font-size: 0.9375rem; }

/* ---------- Trainer profiles (About / Home) ---------- */

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.profile-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.profile-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.profile-top {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 28px;
}
.profile-card .trainer-avatar { width: 84px; height: 84px; font-size: 1.75rem; border-radius: 26px; }
.profile-card h3 { font-size: 1.625rem; letter-spacing: -0.025em; }
.profile-role { font-size: 0.9375rem; color: var(--accent); font-weight: 600; margin-top: 4px; }
.profile-card > p { font-size: 0.9688rem; margin-bottom: 28px; }

.profile-topics { display: flex; flex-wrap: wrap; gap: 8px; }

.profile-link { margin-top: 30px; }
.profile-topics span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  padding: 7px 14px;
  border-radius: 100px;
}

/* ---------- CTA band ---------- */

.cta-band { padding: 110px 0; }

.cta-box {
  position: relative;
  background: var(--ink);
  border-radius: 32px;
  padding: clamp(60px, 8vw, 100px) clamp(32px, 6vw, 90px);
  overflow: hidden;
  text-align: center;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 350px at 80% -20%, rgba(32,80,224,.35), transparent 60%),
    radial-gradient(500px 300px at 10% 120%, rgba(109,40,217,.22), transparent 60%);
  pointer-events: none;
}

.cta-box h2 {
  position: relative;
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 640px;
  margin: 0 auto 20px;
}
.cta-box h2 .serif { font-family: var(--font-serif); font-style: italic; font-weight: 500; }
.cta-box p {
  position: relative;
  color: rgba(255,255,255,.72);
  font-size: 1.0625rem;
  max-width: 480px;
  margin: 0 auto 40px;
}
.cta-box .btn { position: relative; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  padding: 180px 0 80px;
  overflow: hidden;
}
.page-hero .hero-bg { opacity: 0.8; }
.page-hero .display { max-width: 760px; }
.page-hero .lead { margin-top: 24px; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.contact-card .feature-icon { margin-bottom: 24px; }
.contact-card h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.contact-card p { font-size: 0.9375rem; }
.contact-card a.big {
  display: block;
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-top: 4px;
  transition: color .25s var(--ease);
}
.contact-card a.big:hover { color: var(--accent); }
.contact-card .sub { font-size: 0.8125rem; color: var(--muted); margin-top: 10px; }

.address-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}
.address-card .address-info { padding: 48px 44px; }
.address-card .address-info h3 { font-size: 1.25rem; margin-bottom: 16px; }
.address-card .address-info p { font-size: 0.9688rem; max-width: 380px; }
.address-card iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- Legal pages ---------- */

.legal-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 28px;
}
.legal-meta span strong { color: var(--ink); font-weight: 600; }

.legal-body { padding: 24px 0 110px; }

.legal-callout {
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 28px 32px;
  margin: 0 0 56px;
  font-size: 0.9688rem;
}
.legal-callout strong { color: var(--ink); }

.prose h2 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin: 56px 0 20px;
  padding-top: 40px;
  border-top: 1px solid var(--hairline);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.prose h3 { font-size: 1.125rem; margin: 36px 0 14px; }
.prose p { margin-bottom: 18px; font-size: 0.9688rem; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 4px; }
.prose ul li, .prose ol li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 0.9688rem;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 6px; top: 11px;
  width: 6px; height: 6px;
  border-radius: 100px;
  background: var(--accent);
  opacity: 0.65;
}
.prose ol { counter-reset: item; }
.prose ol li { counter-increment: item; }
.prose ol li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0; top: 0;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.875rem;
}
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); border-bottom: 1px solid rgba(32,80,224,.25); transition: border-color .25s; word-break: break-word; }
.prose a:hover { border-bottom-color: var(--accent); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.62);
  padding: 88px 0 44px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 90% -20%, rgba(32,80,224,.18), transparent 60%);
  pointer-events: none;
}

.footer-top {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .brand { color: #fff; margin-bottom: 20px; }
.footer-brand p { font-size: 0.9063rem; max-width: 320px; line-height: 1.7; }

.footer-col h4 {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.footer-col ul li { margin-bottom: 14px; }
.footer-col a {
  font-size: 0.9063rem;
  color: rgba(255,255,255,.62);
  transition: color 0.25s var(--ease);
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 40px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,.45);
}

.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.15);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.7);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer-socials a:hover { background: #fff; color: var(--ink); border-color: #fff; }
.footer-socials svg { width: 17px; height: 17px; }

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

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

@media (max-width: 1080px) {
  .hero-layout { grid-template-columns: 1fr; gap: 48px; }
  .hero-inner { max-width: 700px; }
  .hero-art { height: 380px; max-width: 560px; }
}

@media (max-width: 1024px) {
  .steps-grid, .feature-grid, .workshop-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; padding-left: 0 !important; padding-right: 0; }
  .stat:nth-child(odd) { border-right: 1px solid var(--hairline); padding-right: 32px; }
  .stat:nth-child(even) { padding-left: 32px !important; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container, .container-narrow { padding: 0 22px; }
  .nav-links, .header-actions .btn-nav-cta, .header-actions .btn-login { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 150px 0 64px; }
  .section, .cta-band { padding: 72px 0; }
  .steps-grid, .feature-grid, .workshop-grid, .contact-grid, .profiles-grid { grid-template-columns: 1fr; }
  .hero-art { height: 300px; }
  .art-chip { padding: 9px 14px; gap: 8px; }
  .art-chip .chip-value { font-size: 0.9375rem; }
  .art-chip .chip-icon { width: 27px; height: 27px; }
  .chip-faces img { width: 25px; height: 25px; }
  .art-rings { width: 320px; height: 320px; }
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 44px; }
  .section-head { margin-bottom: 44px; }
  .address-card { grid-template-columns: 1fr; }
  .address-card iframe { min-height: 280px; }
  .trainer-head { flex-wrap: wrap; }
  .profile-card { padding: 36px 28px; }
  .stats-band { padding-bottom: 64px; }
}

@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none !important; padding: 28px 0 4px !important; border-bottom: 1px solid var(--hairline-soft); }
  .stat:last-child { border-bottom: none; }
  .hero-actions .btn { width: 100%; }
}
