/* ============================================
   EMPLOYER MAGAZINE — em-* prefix
   Nordic Magazine Feature layout for employer pages
   Elegant editorial with selective cinematic elements
   ============================================ */

/* -- Local Fonts (self-contained, match village pages) -- */
@font-face {
  font-family: 'Glacial Indifference';
  src: url('/assets/fonts/GlacialIndifference-Regular.woff2') format('woff2'),
       url('/assets/fonts/GlacialIndifference-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Glacial Indifference';
  src: url('/assets/fonts/GlacialIndifference-Bold.woff2') format('woff2'),
       url('/assets/fonts/GlacialIndifference-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- Page-scoped tokens ----
   village-editorial.css scopes vars under .village-page;
   we must replicate them for .employer-page so v-chapter,
   v-prose, v-split, v-quote--wall, etc. all work.            */
.employer-page {
  --color-cream: var(--surface-story);
  --color-warm-white: var(--surface-explore);
  --color-midnight: var(--surface-strong);
  --color-dark-panel: var(--surface-utility);
  --color-text-muted: #666;
  overflow-x: clip;
}

.employer-page main {
  overflow-x: clip;
}

.employer-page [id] {
  scroll-margin-top: 90px;
}

/* Footer: match village page styling */
.employer-page .site-footer {
  border-top: 1px solid rgba(250, 248, 245, 0.1);
  margin-top: 0;
}

.employer-page .footer-column h4 {
  color: var(--color-gold);
}

/* Hide Village Snapshot facts and collapse spacing (employer page) */
.employer-page .v-glance__facts-header,
.employer-page .v-glance__facts {
  display: none;
}

.employer-page .v-glance {
  padding-bottom: 0;
}

/* Tighten gap between chapter content and village card */
.employer-page .v-sticky-scene + .em-village-card,
.employer-page .v-chapter + .em-village-card {
  margin-top: -2.5rem;
}

/* Center map card vertically — desktop only */
@media (min-width: 1025px) {
  .employer-page .v-location__card {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
  }
}


/* ============================================
   SECTION 1: em-opening — Full-viewport hero
   ============================================ */
.em-opening {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--color-midnight);
}

.em-opening__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  will-change: transform;
  animation: emKenBurns 25s ease-in-out infinite alternate;
}

@keyframes emKenBurns {
  from { transform: scale(1) translateY(var(--parallax-y, 0)); }
  to   { transform: scale(1.08) translateY(var(--parallax-y, 0)); }
}

.em-opening__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 22, 40, 0.82) 0%,
    rgba(10, 22, 40, 0.45) 35%,
    rgba(10, 22, 40, 0.15) 60%,
    transparent 100%
  );
  pointer-events: none;
}

.em-opening__content {
  position: absolute;
  /* Reduce bottom offset on shorter viewports so kicker/region doesn't get pushed out of view. */
  bottom: clamp(var(--space-xl), 7vh, var(--space-4xl));
  left: var(--space-2xl);
  max-width: 680px;
  z-index: 1;
}

.em-opening__kicker {
  display: inline-block;
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(
    to bottom,
    rgba(10, 22, 40, 0.72),
    rgba(10, 22, 40, 0.52)
  );
  border: 1px solid rgba(196, 145, 138, 0.25);
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: emReveal 0.8s var(--ease-out-expo) 0.3s forwards;
}

.em-opening__title {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  /* Scale more gradually across desktop sizes (incl. smaller laptops). */
  font-size: clamp(3.25rem, 1.5rem + 6.5vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.9;
  color: var(--color-text-inverse);
  margin: 0 0 var(--space-md);
  opacity: 0;
  animation: emReveal 0.9s var(--ease-out-expo) 0.5s forwards;
}

.em-opening__subtitle {
  font-family: 'Cormorant Garamond', var(--font-display), serif;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: rgba(250, 248, 245, 0.7);
  margin: 0;
}

.em-opening__word {
  display: inline-block;
  margin-right: 0.3em;
  opacity: 0;
  filter: blur(4px);
  animation: emWordReveal 0.7s var(--ease-out-expo) forwards;
  animation-delay: calc(0.7s + var(--word-i, 0) * 0.1s);
}

@keyframes emReveal {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes emWordReveal {
  from { opacity: 0; filter: blur(4px); transform: translateY(8px); }
  to   { opacity: 1; filter: blur(0); transform: translateY(0); }
}

/* Scroll hint */
.em-opening__scroll-hint {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  opacity: 1;
  transition: opacity 0.6s var(--ease-out-expo);
}

.em-opening__scroll-hint.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.em-opening__scroll-hint svg {
  width: 24px;
  height: 24px;
  stroke: rgba(250, 248, 245, 0.5);
  fill: none;
  stroke-width: 2;
  animation: emScrollPulse 2s ease-in-out infinite;
}

@keyframes emScrollPulse {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%      { transform: translateY(6px); opacity: 1; }
}


/* ============================================
   SECTION 3: em-numbers — Stats panel (dark)
   ============================================ */
.em-numbers {
  background: var(--color-dark-panel);
  padding: var(--space-3xl) var(--space-xl);
}

.em-numbers__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.em-numbers__header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(196, 145, 138, 0.2);
}

.em-numbers__logo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.em-numbers__name {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-gold);
  letter-spacing: 0.04em;
  margin: 0;
}

.em-numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.em-numbers__stat {
  text-align: center;
}

.em-numbers__figure {
  display: block;
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--color-text-inverse);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.em-numbers__label {
  display: block;
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(196, 145, 138, 0.85);
  margin-bottom: var(--space-xs);
}

.em-numbers__detail {
  display: block;
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm);
  color: rgba(250, 248, 245, 0.5);
  line-height: 1.4;
}


/* ============================================
   SECTION 4: em-video-feature — Video (cream + dark card)
   ============================================ */
.em-video-feature {
  background: var(--color-cream);
  padding: var(--space-3xl) var(--space-xl);
}

.em-video-feature__inner {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--color-dark-panel);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.em-video-feature__header {
  padding: var(--space-xl) var(--space-xl) var(--space-md);
}

.em-video-feature__label {
  display: block;
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.em-video-feature__title {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--color-text-inverse);
  margin: 0;
}

.em-video-feature__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.em-video-feature__frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.em-video-feature__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 22, 40, 0.35);
  border: none;
  cursor: pointer;
  transition: background 0.3s var(--ease-out-expo);
  z-index: 1;
}

.em-video-feature__play:hover {
  background: rgba(10, 22, 40, 0.2);
}

.em-video-feature__play.is-hidden {
  display: none;
}

.em-video-feature__play-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(196, 145, 138, 0.4);
  transition: transform 0.3s var(--ease-out-expo);
}

.em-video-feature__play:hover .em-video-feature__play-icon {
  transform: scale(1.08);
}

.em-video-feature__play-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--color-midnight);
  margin-left: 3px; /* optical centering */
}


/* ============================================
   SECTION 5: em-sectors — Product sector grid
   ============================================ */
.em-sectors {
  max-width: 1060px;
  margin: var(--space-xl) auto 0;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.em-sectors__card {
  padding: var(--space-xl);
  background: var(--color-warm-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

.em-sectors__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.em-sectors__icon {
  display: block;
  width: 32px;
  height: 32px;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.em-sectors__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.em-sectors__name {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 var(--space-sm);
}

.em-sectors__desc {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0;
}


/* ============================================
   SECTION 9: em-position — Job cards (on dark)
   ============================================ */
.em-positions {
  max-width: 1060px;
  margin: var(--space-xl) auto 0;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.em-position {
  background: rgba(21, 33, 56, 0.6);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}

.em-position:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(196, 145, 138, 0.15);
}

.em-position__title {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-inverse);
  margin: 0 0 var(--space-lg);
}

.em-position__label {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  margin: 0 0 var(--space-sm);
}

.em-position__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
}

.em-position__list li {
  position: relative;
  padding-left: 1.2rem;
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(250, 248, 245, 0.7);
  margin-bottom: var(--space-xs);
}

.em-position__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 2px;
  background: var(--color-gold);
  opacity: 0.6;
}

.em-position__contact {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm);
  color: rgba(250, 248, 245, 0.7);
  line-height: 1.6;
  margin: 0 0 var(--space-lg);
}

.em-position__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: var(--space-sm);
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-midnight);
  background: var(--color-gold);
  padding: 0.65em 1.5em;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo);
}

.em-position__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 145, 138, 0.35);
}

.em-position__cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.em-positions-note {
  max-width: 1060px;
  margin: var(--space-xl) auto 0;
  padding: 0 var(--space-xl);
}

.em-positions-note p {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm);
  color: rgba(250, 248, 245, 0.5);
  line-height: 1.7;
  text-align: center;
  font-style: italic;
}


/* ============================================
   SECTION 10: em-gallery — Filmstrip gallery
   ============================================ */
.em-gallery {
  background: var(--color-cream);
  padding: var(--space-3xl) 0 var(--space-2xl);
}

.em-gallery__header {
  max-width: 1060px;
  margin: 0 auto var(--space-xl);
  padding: 0 var(--space-xl);
}

.em-gallery__title {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-text-primary);
  margin: 0;
}

.em-gallery__viewport {
  position: relative;
  width: 100%;
}

.em-gallery__track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0 var(--space-xl);
  scrollbar-width: none;
}

.em-gallery__track::-webkit-scrollbar {
  display: none;
}

.em-gallery__frame {
  flex: 0 0 clamp(300px, 45vw, 560px);
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  scroll-snap-align: center;
  margin: 0;
}

.em-gallery__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.em-gallery__frame:hover img {
  transform: scale(1.03);
}

.em-gallery__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(250, 248, 245, 0.15);
  background: rgba(10, 22, 40, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: opacity 0.3s, background 0.3s;
}

.em-gallery__btn:hover {
  background: rgba(10, 22, 40, 0.9);
}

.em-gallery__btn:disabled {
  opacity: 0.2;
  cursor: default;
}

.em-gallery__btn--prev {
  left: var(--space-md);
}

.em-gallery__btn--next {
  right: var(--space-md);
}

.em-gallery__btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-text-inverse);
  fill: none;
  stroke-width: 2;
}

.em-gallery__counter {
  text-align: center;
  margin-top: var(--space-lg);
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
}

.em-gallery__counter-sep {
  margin: 0 0.3em;
  opacity: 0.5;
}


/* ============================================
   SECTION 11: em-certs — Certifications (dark)
   ============================================ */
.em-certs {
  background: var(--color-dark-panel);
  padding: var(--space-3xl) var(--space-xl);
}

.em-certs__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: var(--space-3xl);
  align-items: flex-start;
}

.em-certs__group {
  flex: 1 1 0;
}

.em-certs__group-title {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  margin: 0 0 var(--space-lg);
}

.em-certs__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.em-certs__badge {
  display: inline-block;
  /* Glacial Indifference renders dotless "i" on some platforms/screens at this size.
     Use the site body font for these small pills for reliable legibility. */
  font-family: var(--font-body);
  /* Slight bump improves legibility (e.g. dot on "i") on some screens. */
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-inverse);
  padding: 0.4em 1em;
  border: 1px solid rgba(196, 145, 138, 0.35);
  border-radius: var(--radius-full);
  background: rgba(196, 145, 138, 0.08);
  letter-spacing: 0.04em;
}

.em-certs__text {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-base);
  color: rgba(250, 248, 245, 0.7);
  line-height: 1.7;
  margin: 0;
}


/* ============================================
   SECTION 12: em-village-card — Discover village
   ============================================ */
.em-village-card {
  background: var(--color-cream);
  padding: var(--space-xl) var(--space-xl) var(--space-3xl);
}

.em-village-card__inner {
  max-width: calc(1060px - var(--space-xl) * 2);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s var(--ease-out-expo);
}

.em-village-card__inner:hover {
  transform: translateY(-4px);
}

.em-village-card__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius-lg) 0 0 0;
}

.em-village-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.em-village-card__inner:hover .em-village-card__media img {
  transform: scale(1.05);
}

.em-village-card__content {
  background: var(--color-dark-panel);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0 var(--radius-lg) 0 0;
}

.em-village-card__eyebrow {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.em-village-card__title {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-text-inverse);
  margin: 0 0 var(--space-md);
}

.em-village-card__text {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-base);
  color: rgba(250, 248, 245, 0.7);
  line-height: 1.7;
  margin: 0 0 var(--space-lg);
}

.em-village-card__link {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.em-village-card__link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}


/* ============================================
   SECTION 13: em-next-step — IP Huse CTA (cinematic)
   Full-width dark section with background image,
   two action paths, and inviting visual presence.
   ============================================ */
.em-next-step {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4xl) var(--space-xl);
}

.em-next-step__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.em-next-step__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.em-next-step__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.7) 0%, rgba(36, 61, 79, 0.5) 50%, rgba(10, 22, 40, 0.65) 100%);
}

.em-next-step__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
}

.em-next-step__logo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  margin-bottom: var(--space-xl);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(196, 145, 138, 0.2);
  transition: transform 0.4s var(--ease-out-expo);
}

.em-next-step:hover .em-next-step__logo {
  transform: scale(1.05);
}

.em-next-step__kicker {
  display: block;
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.em-next-step__title {
  font-family: 'Cormorant Garamond', var(--font-display), serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  color: var(--color-text-inverse);
  margin: 0 0 var(--space-lg);
}

.em-next-step__text {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-base);
  color: rgba(250, 248, 245, 0.65);
  line-height: 1.7;
  margin: 0 0 var(--space-2xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.em-next-step__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.em-next-step__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 0.85em 2.2em;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition:
    transform 0.3s var(--ease-out-expo),
    box-shadow 0.3s var(--ease-out-expo),
    background 0.3s;
}

.em-next-step__btn:hover {
  transform: translateY(-2px);
}

.em-next-step__btn--primary {
  background: var(--color-gold);
  color: var(--color-midnight);
  font-size: var(--text-base);
  padding: 0.9em 2.5em;
}

.em-next-step__btn--primary:hover {
  box-shadow: 0 8px 28px rgba(196, 145, 138, 0.4);
  background: #ddb07e;
}

.em-next-step__btn--outline {
  background: transparent;
  color: var(--color-text-inverse);
  border: 1px solid rgba(250, 248, 245, 0.3);
}

.em-next-step__btn--outline:hover {
  background: rgba(250, 248, 245, 0.08);
  border-color: rgba(250, 248, 245, 0.5);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.em-next-step__btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Contact details row */
.em-next-step__details {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(250, 248, 245, 0.1);
}

.em-next-step__detail {
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease-out-expo);
}

.em-next-step__detail:hover {
  transform: translateY(-2px);
}

.em-next-step__detail-label {
  display: block;
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}

.em-next-step__detail-value {
  display: block;
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-base);
  color: rgba(250, 248, 245, 0.8);
  transition: color 0.3s;
}

.em-next-step__detail:hover .em-next-step__detail-value {
  color: var(--color-gold);
}

.em-next-step__detail-icon {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 auto var(--space-xs);
  color: var(--color-gold);
  opacity: 0.7;
}

.em-next-step__detail-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}


/* ============================================
   SECTION 14: em-nudge — Freysta nudge (small)
   ============================================ */
.em-nudge {
  max-width: 680px;
  margin: 0 auto var(--space-2xl);
  padding: var(--space-lg) var(--space-xl);
  text-align: center;
}

.em-nudge__heading {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-xs);
}

.em-nudge__body {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0 0 var(--space-sm);
}

.em-nudge__link {
  font-family: 'Glacial Indifference', var(--font-body), sans-serif;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-gold);
  text-decoration: none;
}

.em-nudge__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ============================================
   RESPONSIVE — Tablet (<=1024px)
   ============================================ */
@media (max-width: 1024px) {
  .em-numbers__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .em-certs__inner {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .em-village-card__inner {
    grid-template-columns: 1fr;
  }

  .em-village-card__media {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .em-village-card__content {
    border-radius: 0;
  }
}


/* ============================================
   RESPONSIVE — Mobile (<=768px)
   ============================================ */
@media (max-width: 768px) {
  .em-opening {
    height: 100vh;
    height: 100dvh;
  }

  .em-opening__content {
    bottom: var(--space-2xl);
    left: var(--space-lg);
    right: var(--space-lg);
    max-width: none;
  }

  .em-opening__title {
    font-size: clamp(2.8rem, 11vw, 5rem);
  }

  .em-opening__kicker {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    padding: 0.4rem 0.65rem;
    border-radius: 14px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .em-opening__scroll-hint {
    display: none;
  }

  .em-numbers__header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .em-numbers__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .em-sectors {
    grid-template-columns: 1fr;
  }

  .em-positions {
    grid-template-columns: 1fr;
    padding: 0 var(--space-md);
  }

  .em-gallery__btn {
    display: none;
  }

  .em-gallery__frame {
    flex: 0 0 clamp(280px, 80vw, 500px);
  }

  .em-video-feature__play-icon {
    width: 60px;
    height: 60px;
  }

  .em-video-feature__play-icon svg {
    width: 22px;
    height: 22px;
  }

  .em-next-step {
    min-height: 400px;
    padding: var(--space-3xl) var(--space-lg);
  }

  .em-next-step__details {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .em-next-step__detail {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}


/* ============================================
   RESPONSIVE — Small mobile (<=480px)
   ============================================ */
@media (max-width: 480px) {
  .em-numbers__grid {
    grid-template-columns: 1fr;
  }

  .em-next-step__actions {
    flex-direction: column;
  }

  .em-next-step__btn {
    width: 100%;
    justify-content: center;
  }

  .em-next-step__title {
    font-size: 1.8rem;
  }
}


/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .em-opening__media {
    animation: none !important;
  }

  .em-opening__kicker,
  .em-opening__title {
    opacity: 1;
    animation: none !important;
  }

  .em-opening__word {
    opacity: 1;
    filter: none;
    animation: none !important;
  }

  .em-opening__scroll-hint svg {
    animation: none !important;
  }
}


