/* ==========================================================================
   EMN — shared stylesheet for all /emn/* pages
   Extracted from what used to be per-page inline <style> blocks.

   The landing page (index.html) has its own look and is scoped under
   .emn-landing. The two practice tools (interview-prep.html,
   sight-melody.html) share one visual system and are both scoped under
   .emn-tool, so their generic selectors (body, footer, .wrap, .section,
   .brand, ...) don't bleed into the landing page now that everything
   shares one file.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@400;500;600;700&family=Bricolage+Grotesque:wght@700;800&family=Instrument+Serif:ital@0;1&display=swap');

@keyframes pulse{0%,100%{opacity:1}50%{opacity:.25}}

/* --------------------------------------------------------------------------
   Landing page (emn/index.html)
   -------------------------------------------------------------------------- */

.emn-landing {
  /* Brand */
  --red: #C8102E;
  --red-dark: #9C0C24;
  --red-tint: #FCE9EB;

  /* Neutrals */
  --ink: #1A1A1A;
  --gray-700: #4B5563;
  --gray-500: #8A8F98;
  --gray-300: #D8DBDF;
  --gray-100: #F4F5F6;
  --paper: #FFFFFF;

  /* Accent — used sparingly */
  --blue: #2E5FA3;

  /* Type */
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max-width: 1200px;
  --side-pad: 40px;
  --radius: 10px;

  scroll-behavior: smooth;

  /* Size shared by every big headline (cost, audition, services, partners, closing banner). */
  --title-feature: clamp(36px, 5.2vw, 64px);
}

.emn-landing * { box-sizing: border-box; }

.emn-landing body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.emn-landing a { color: inherit; text-decoration: none; }

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

.emn-landing .wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.emn-landing :focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* Header / Nav */

.emn-landing .emn-header {
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
}

.emn-landing .emn-header__inner {
  max-width: none;
  margin: 0;
  padding: 0 var(--side-pad) 0 0;
  height: 64px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
}

.emn-landing .emn-logo {
  display: block;
  height: 100%;
  font-size: 0;
  line-height: 0;
  flex-shrink: 0;
}

.emn-landing .emn-logo img {
  height: 64px;
  width: 64px;
  object-fit: cover;
  display: block;
  vertical-align: top;
  border-radius: 0;
}

.emn-landing .emn-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.emn-landing .emn-nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

.emn-landing .emn-nav__caret {
  appearance: none;
  border: none;
  background: none;
  cursor: pointer;
  padding: 8px 8px 8px 2px;
  margin-left: -6px;
  color: var(--gray-500);
  font-size: 11px;
  line-height: 1;
  transition: color 0.15s ease, transform 0.15s ease;
}

.emn-landing .emn-nav__item:hover .emn-nav__caret,
.emn-landing .emn-nav__item.is-open .emn-nav__caret {
  color: var(--red);
  transform: rotate(180deg);
}

.emn-landing .emn-nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--paper);
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 30;
}

.emn-landing .emn-nav__item:hover .emn-nav__dropdown,
.emn-landing .emn-nav__item.is-open .emn-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.emn-landing .emn-nav__dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.emn-landing a.emn-nav__dropdown-item:hover {
  background: var(--gray-100);
  color: var(--red);
}

.emn-landing .emn-nav__dropdown-item.is-active {
  color: var(--red);
}

.emn-landing .emn-nav__dropdown-label {
  display: block;
  padding: 10px 12px 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.emn-landing .emn-nav__dropdown-item--sub {
  margin-left: 12px;
  padding: 7px 12px;
  font-size: 13.5px;
  color: var(--gray-700);
  border-left: 2px solid var(--gray-300);
  border-radius: 0 6px 6px 0;
}

.emn-landing .emn-nav__dropdown-item.is-disabled {
  color: var(--gray-500);
  cursor: default;
}

.emn-landing .emn-nav__dropdown-item .soon {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-500);
  background: var(--gray-100);
  padding: 2px 7px;
  border-radius: 20px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .emn-landing .emn-nav__dropdown {
    left: auto;
    right: 0;
  }
}

.emn-landing .emn-nav__link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--gray-700);
  padding: 8px 14px;
  border-radius: 6px;
  position: relative;
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.emn-landing .emn-nav__link:hover {
  color: var(--ink);
  background: var(--gray-100);
}

.emn-landing .emn-nav__link.is-active {
  color: var(--red);
}

.emn-landing .emn-nav__link--cta {
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: 999px;
  padding: 6px 14px;
}

.emn-landing .emn-nav__link--cta:hover {
  background: var(--red-tint);
  color: var(--red);
}

.emn-landing .emn-nav__link--user {
  background: var(--red);
  color: #fff;
  border-radius: 999px;
}

.emn-landing .emn-nav__link--user:hover {
  background: var(--red-dark);
  color: #fff;
}

.emn-landing .emn-nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 1px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

/* Mobile nav */
@media (max-width: 640px) {
  .emn-landing .emn-header__inner {
    flex-wrap: wrap;
    height: auto;
    padding: 0 var(--side-pad) 14px 0;
  }
  .emn-landing .emn-logo { height: 52px; }
  .emn-landing .emn-logo img { height: 52px; width: 52px; }
  .emn-landing .emn-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2px;
    padding-left: var(--side-pad);
  }
  .emn-landing .emn-nav__link {
    padding: 8px 8px;
    font-size: 13px;
    flex: 1;
    text-align: center;
  }
  .emn-landing .emn-nav__link--cta {
    flex: 0 0 auto;
    padding: 6px 22px;
  }
}

/* Main content area */

.emn-landing main {
  flex: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

/* Landing hero */
.emn-landing .hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--red);
  padding: 96px var(--side-pad) 88px;
  text-align: center;
  margin-bottom: 0;
}

.emn-landing .hero__inner {
  max-width: 720px;
  margin: 0 auto;
}

.emn-landing .hero__eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 18px;
}

.emn-landing .hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  margin: 0 0 18px;
  color: #FFFFFF;
}

.emn-landing .hero h1 em {
  font-style: normal;
  font-weight: 700;
  color: #FFFFFF;
}

.emn-landing .hero p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto;
  max-width: 640px;
}

/* Home: dark header stays pinned; the hero sits below it */
.emn-landing .emn-header--dark {
  position: relative;
  background: #0b0002;
}

.emn-landing .wrap > .emn-header--dark {
  position: sticky;
  top: 0;
  z-index: 60;
}

.emn-landing .emn-header--dark .emn-nav__link {
  color: #fff;
}

.emn-landing .emn-header--dark .emn-nav__link:not(.emn-nav__link--user):not(.emn-nav__link--cta):hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.emn-landing .emn-header--dark .emn-nav__link.is-active::after {
  background: #fff;
}

.emn-landing .emn-header--dark .emn-nav__caret {
  color: rgba(255, 255, 255, 0.7);
}

.emn-landing .emn-header--dark .emn-nav__item:hover .emn-nav__caret,
.emn-landing .emn-header--dark .emn-nav__item.is-open .emn-nav__caret {
  color: #fff;
}

.emn-landing .emn-header--dark .emn-nav__link--cta {
  background: #fff;
  border-color: #fff;
  color: var(--red);
}

.emn-landing .emn-header--dark .emn-nav__link--cta:hover {
  background: var(--red-tint);
  color: var(--red);
}

.emn-landing .emn-header--dark :focus-visible,
.emn-landing .hero-dark :focus-visible {
  outline-color: #fff;
}

.emn-landing .hero-dark {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 440px;
  min-height: max(440px, calc(100svh - 64px - 56px));
  padding: 32px 0 64px;
  background:
    var(--hero-poster, none) center / cover no-repeat,
    radial-gradient(60% 90% at 88% 45%, rgba(200, 16, 46, 0.38), transparent 70%),
    linear-gradient(100deg, #000 0%, #0d0002 35%, #2a0006 68%, #4a0a12 100%);
}

.emn-landing .hero-dark__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.emn-landing .hero-dark__video.is-ready { opacity: 1; }

/* Keeps the headline readable over any video frame. */
.emn-landing .hero-dark--media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.46) 55%, rgba(0, 0, 0, 0.30) 100%);
  pointer-events: none;
}

.emn-landing .hero-dark__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 clamp(24px, 7.5vw, 160px);
}

.emn-landing .hero-dark__inner > * {
  max-width: 820px;
}

.emn-landing .hero-dark__eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.2;
  color: #fff;
  margin: 0 0 14px;
}

.emn-landing .hero-dark h1 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 28px;
}

.emn-landing .hero-dark__sub {
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 34em;
}

/* Optional portrait: drop /assets/img/hero.png and it appears on the right. */
.emn-landing .hero-dark__photo {
  position: absolute;
  right: 4%;
  bottom: 0;
  height: min(92%, 780px);
  width: auto;
  pointer-events: none;
  z-index: 1;
}

/* Call-to-action banner: below the hero; once scrolled to, it pins under the header */
.emn-landing .cta-bar {
  position: sticky;
  top: 64px;
  z-index: 59;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(24px, 7.5vw, 160px);
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.emn-landing .cta-bar p {
  margin: 0;
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 500;
  color: var(--ink);
}

.emn-landing .cta-bar__btn {
  flex-shrink: 0;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 9px 28px;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.emn-landing .cta-bar__btn:hover {
  background: var(--red-dark);
}

@media (max-width: 860px) {
  .emn-landing .hero-dark__photo { display: none; }
}

@media (max-width: 640px) {
  /* Phones: the header scrolls away, only the banner stays pinned. */
  .emn-landing .wrap > .emn-header--dark { position: relative; }
  .emn-landing .cta-bar { top: 0; height: auto; min-height: 60px; gap: 12px; padding: 10px 16px; }
  .emn-landing .cta-bar p { font-size: 13px; line-height: 1.3; }
  .emn-landing .cta-bar__btn { padding: 9px 18px; font-size: 13.5px; }
  .emn-landing .hero-dark { min-height: max(420px, calc(100svh - 110px - 64px)); padding-bottom: 40px; }
}

/* Apps banner: red strip with a call to open Practice Lab */
.emn-landing .band--gray.band--wide { margin-bottom: 0; }

.emn-landing .apps-banner {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 88px;
  padding: 48px clamp(24px, 7.5vw, 160px);
  background: var(--red);
  color: #fff;
}

.emn-landing .apps-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.emn-landing .apps-banner__text {
  margin: 0;
  max-width: 1400px;
  font-family: 'Bricolage Grotesque', var(--font-body);
  font-weight: 700;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.emn-landing .apps-banner__text strong { font-weight: 800; }

.emn-landing .apps-banner__btn {
  flex-shrink: 0;
  padding: 16px 40px;
  border-radius: 6px;
  background: #fff;
  color: var(--red);
  font-weight: 700;
  font-size: 16px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.emn-landing .apps-banner__btn:hover { background: var(--red-tint); transform: translateY(-1px); }
.emn-landing .apps-banner :focus-visible { outline-color: #fff; }

/* Partners */
.emn-landing .partners {
  padding: 72px clamp(24px, 7.5vw, 160px) 88px;
  background: var(--gray-100);
  text-align: center;
}

.emn-landing .partners__title {
  margin: 0 0 40px;
  font-family: 'Bricolage Grotesque', var(--font-body);
  font-weight: 800;
  font-size: var(--title-feature);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.emn-landing .partners__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.emn-landing .partner {
  display: flex;
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
}

.emn-landing .partner__link {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 34px 28px 32px;
  color: inherit;
}

.emn-landing a.partner__link:hover { color: var(--red); }

.emn-landing .partner__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 112px;
}

.emn-landing .partner__logo img {
  max-width: 80%;
  max-height: 100%;
  object-fit: contain;
}

.emn-landing .partner__name {
  margin-top: -4px;
  font-family: 'Bricolage Grotesque', var(--font-body);
  font-weight: 800;
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.emn-landing .partner__desc {
  max-width: 30ch;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--gray-700);
}

@media (max-width: 899px) {
  .emn-landing .partners__list { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
}

/* Services ("Clases y mentorías especializadas"): full-width heading + four cards */
.emn-landing .section.section--services {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  padding: 0 clamp(24px, 7.5vw, 160px) 96px;
}

.emn-landing .section--services .section__body {
  max-width: 70ch;
  margin-bottom: 44px;
}

.emn-landing .services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.emn-landing .service {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px 30px;
  background: #fff;
  border: 2px solid var(--c, var(--gray-300));
  border-radius: var(--radius);
}

.emn-landing .service:nth-child(1) { --c: #3358C4; --c-tint: #E8EDFA; --c-dark: #24418F; }
.emn-landing .service:nth-child(2) { --c: #00A857; --c-tint: #DFF5EA; --c-dark: #0B7A43; }
.emn-landing .service:nth-child(3) { --c: #F2711C; --c-tint: #FDEBDD; --c-dark: #B24E0B; }
.emn-landing .service:nth-child(4) { --c: #B45BD6; --c-tint: #F5E8FB; --c-dark: #8B3DAA; }

.emn-landing .service h3 {
  margin: 0;
  font-family: 'Bricolage Grotesque', var(--font-body);
  font-weight: 700;
  font-size: clamp(21px, 1.7vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.emn-landing .service__tag {
  align-self: flex-start;
  margin: 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--c-tint, var(--red-tint));
  color: var(--c-dark, var(--red-dark));
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.emn-landing .service > p:last-child {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--gray-700);
}

@media (max-width: 1499px) {
  .emn-landing .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 719px) {
  .emn-landing .services { grid-template-columns: minmax(0, 1fr); }
}

/* Closing banner (home): full-width video/gradient with a centred call to action */
.emn-landing .end-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  min-height: max(520px, 68vh);
  padding: 80px var(--side-pad);
  text-align: center;
  color: #fff;
  background:
    var(--end-img, none) center / cover no-repeat,
    radial-gradient(60% 90% at 50% 50%, rgba(200, 16, 46, 0.40), transparent 70%),
    linear-gradient(120deg, #000 0%, #2a0006 55%, #4a0a12 100%);
}

/* Darkens the photo so the text stays readable. */
.emn-landing .end-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.62));
  pointer-events: none;
}

.emn-landing .end-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.emn-landing .end-cta__title {
  margin: 0;
  font-family: 'Bricolage Grotesque', var(--font-body);
  font-weight: 800;
  font-size: var(--title-feature);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.emn-landing .end-cta__ask {
  margin: 14px 0 34px;
  font-family: 'Instrument Serif', var(--font-display);
  font-style: italic;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.1;
}

.emn-landing .end-cta__btn {
  display: inline-block;
  padding: 16px 46px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.emn-landing .end-cta__btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.emn-landing .end-cta :focus-visible { outline-color: #fff; }

/* Email + social icons, all on one line under the button */
.emn-landing .end-cta__contact {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 38px;
}

.emn-landing .end-cta__mail {
  font-weight: 700;
  font-size: clamp(15px, 1.5vw, 20px);
  color: #fff;
  white-space: nowrap;
}

.emn-landing .end-cta__mail:hover { text-decoration: underline; }

.emn-landing .end-cta__social {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.emn-landing .end-cta__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid #ef4458;
  border-radius: 50%;
  color: #ef4458;
  transition: background 0.15s ease, color 0.15s ease;
}

.emn-landing .end-cta__social a:hover { background: #ef4458; color: #fff; }
.emn-landing .end-cta__social svg { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) {
  .emn-landing .hero-dark__video { display: none; }
}

/* "Postula" form (native <dialog>) */
.emn-landing .end-cta button.end-cta__btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.emn-landing dialog.apply {
  width: min(92vw, 520px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  overflow-y: auto;
}

.emn-landing dialog.apply::backdrop { background: rgba(20, 18, 16, 0.6); }

.emn-landing .apply__form,
.emn-landing .apply__done {
  position: relative;
  padding: 34px 32px 28px;
}

.emn-landing .apply__form[hidden],
.emn-landing .apply__done[hidden] { display: none; }

.emn-landing .apply__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: none;
  font-size: 16px;
  color: var(--gray-500);
  cursor: pointer;
}

.emn-landing .apply__close:hover { background: var(--gray-100); color: var(--red); }

.emn-landing .apply__title {
  margin: 0 0 8px;
  padding-right: 30px;
  font-family: 'Bricolage Grotesque', var(--font-body);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.emn-landing .apply__lead {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--gray-700);
}

.emn-landing .apply__field {
  display: block;
  margin-bottom: 16px;
}

.emn-landing .apply__field span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gray-700);
}

.emn-landing .apply__field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  background: #fff;
  font: 400 15px var(--font-body);
  color: var(--ink);
}

.emn-landing .apply__field input:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px var(--red-tint); }

.emn-landing .apply__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.emn-landing .apply__msg {
  margin: 0 0 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--red);
}

.emn-landing .apply__msg[hidden] { display: none; }

.emn-landing .apply__submit {
  width: 100%;
  padding: 14px;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font: 700 15px var(--font-body);
  cursor: pointer;
  transition: background 0.15s ease;
}

.emn-landing .apply__submit:hover { background: var(--red-dark); }
.emn-landing .apply__submit:disabled { opacity: 0.6; cursor: default; }

.emn-landing .apply__note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--gray-500);
}

.emn-landing .apply__done { text-align: center; padding-top: 40px; }

.emn-landing .apply__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #E8F5EE;
  color: #1E8E5A;
  font-size: 28px;
  font-weight: 700;
}

.emn-landing .apply__done .apply__title { padding-right: 0; }
.emn-landing .apply__done .apply__submit { width: auto; padding: 12px 36px; }

/* Mentores page */
.emn-landing .m-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  min-height: max(560px, 78vh);
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.62)),
    var(--m-hero-img, linear-gradient(100deg, #000 0%, #2a0006 68%, #4a0a12 100%))
    center / cover no-repeat;
}

.emn-landing .m-hero :focus-visible { outline-color: #fff; }

.emn-landing .m-hero__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px var(--side-pad) 80px;
  color: #fff;
}

.emn-landing .m-hero__lead {
  max-width: 20em;
  margin: 0;
  font-weight: 600;
  font-size: clamp(19px, 2.3vw, 32px);
  line-height: 1.25;
}

.emn-landing .m-hero h1 {
  margin: 28px 0 44px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(60px, 9vw, 132px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.emn-landing .m-hero__btn {
  padding: 15px 38px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  transition: background 0.15s ease;
}

.emn-landing .m-hero__btn:hover { background: rgba(255, 255, 255, 0.16); }

.emn-landing main.m-main {
  max-width: none;
  padding: 0;
  background: #FAF8F5;
}

.emn-landing .m-team {
  padding: 72px clamp(20px, 5vw, 80px) 96px;
  scroll-margin-top: 130px;
}

.emn-landing .cta-bar + main { padding-top: 72px; }

/* On the home page the mentors sit full-width between two regular sections. */
.emn-landing .m-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #FAF8F5;
}

.emn-landing .m-team__title {
  max-width: 1500px;
  margin: 0 auto 44px;
  text-wrap: balance;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
}

/* Home: "Mentores" in the shared big-title style, with a sentence under it. */
.emn-landing .m-team__title--feature {
  margin-bottom: 16px;
  font-family: 'Bricolage Grotesque', var(--font-body);
  font-weight: 800;
  font-size: var(--title-feature);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.emn-landing .m-team__sub {
  max-width: 1100px;
  margin: 0 auto 48px;
  text-align: center;
  text-wrap: balance;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.4;
  color: var(--gray-700);
}

.emn-landing .m-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 44px;
  max-width: 1320px;
  margin: 0 auto;
}

.emn-landing .mentor {
  flex: 1 1 320px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(40, 20, 10, 0.07);
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.emn-landing .mentor:hover { box-shadow: 0 16px 38px rgba(40, 20, 10, 0.13); transform: translateY(-2px); }
.emn-landing .mentor.is-open { box-shadow: 0 0 0 2px var(--red), 0 16px 38px rgba(40, 20, 10, 0.13); }

.emn-landing .mentor__photo {
  position: relative;
  aspect-ratio: 1 / 1.05;
  background: linear-gradient(160deg, #6b4a36, #2a1710);
  overflow: hidden;
}

.emn-landing .mentor__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.emn-landing .mentor__initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 60px;
  font-family: var(--font-display);
  font-size: 96px;
  color: rgba(255, 255, 255, 0.35);
}

.emn-landing .mentor__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 90px 26px 24px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
}

.emn-landing .mentor__caption h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.1;
}

.emn-landing .mentor__caption p {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 17px;
}

.emn-landing .mentor__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 20px;
  padding: 26px 28px 28px;
}

.emn-landing .mentor__body p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--gray-700);
}

.emn-landing .mentor__btn {
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 20px;
  border: 1px solid var(--red);
  border-radius: 999px;
  background: none;
  font: 600 13.5px var(--font-body);
  color: var(--red);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.emn-landing .mentor__btn::after { content: ' ▾'; }
.emn-landing .mentor__btn[aria-expanded="true"]::after { content: ' ▴'; }
.emn-landing .mentor__btn:hover,
.emn-landing .mentor.is-open .mentor__btn { background: var(--red); color: #fff; }

/* The biography that drops open under a mentor's row */
.emn-landing .m-panel {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: minmax(180px, 230px) 1fr;
  gap: 36px;
  padding: 36px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(40, 20, 10, 0.07);
  animation: m-panel-in 0.25s ease;
  outline: none;
}

.emn-landing .m-panel[hidden] { display: none; }

@keyframes m-panel-in { from { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .emn-landing .m-panel { animation: none; } }

.emn-landing .m-panel__photo {
  position: relative;
  min-height: 360px;
  background: linear-gradient(160deg, #6b4a36, #2a1710);
  overflow: hidden;
}

.emn-landing .m-panel__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.emn-landing .m-panel__photo span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 72px;
  color: rgba(255, 255, 255, 0.35);
}

.emn-landing .m-panel__body { position: relative; min-width: 0; }

.emn-landing .m-panel__close {
  position: absolute;
  top: -8px;
  right: -8px;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  background: none;
  font: 600 13px var(--font-body);
  color: var(--gray-500);
  cursor: pointer;
}

.emn-landing .m-panel__close:hover { color: var(--red); background: var(--gray-100); }

.emn-landing .m-panel__role {
  margin: 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.emn-landing .m-panel__name {
  margin: 4px 0 22px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.emn-landing .m-sec { background: #fff; color: var(--ink); border-top: 1px solid var(--gray-300); }
.emn-landing .m-sec:last-of-type { border-bottom: 1px solid var(--gray-300); }

.emn-landing .m-sec summary {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 18px 0;
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
}

.emn-landing .m-sec summary::-webkit-details-marker { display: none; }
.emn-landing .m-sec summary::before { content: '+'; font-weight: 400; color: var(--red); }
.emn-landing .m-sec[open] summary::before { content: '–'; }

.emn-landing .m-sec__text {
  padding: 0 0 24px 30px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-700);
}

.emn-landing .m-sec__text p { margin: 0 0 16px; }
.emn-landing .m-sec__text p:last-child { margin-bottom: 0; }

@media (max-width: 760px) {
  .emn-landing .m-grid { gap: 28px; }
  .emn-landing .m-panel { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
  .emn-landing .m-panel__photo { min-height: 0; aspect-ratio: 4 / 3; }
  .emn-landing .m-panel__close { top: -4px; right: -4px; }
  .emn-landing .m-sec__text { padding: 0 0 22px 0; }
}

/* Full-bleed band */
.emn-landing .band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--gray-100);
  border-top: none;
  border-bottom: 1px solid var(--gray-300);
  padding: 44px var(--side-pad);
  margin-bottom: 88px;
}

.emn-landing .band__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.emn-landing .band h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(19px, 2.3vw, 24px);
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.emn-landing .band h2 .caps {
  font-style: normal;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.02em;
}

.emn-landing .band p {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--gray-700);
  margin: 0;
}

.emn-landing .band .disclaimer {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--red);
  margin: 10px 0 0;
}

.emn-landing .section--center {
  text-align: center;
}

.emn-landing .section--center .section__note {
  border-left: none;
  padding-left: 0;
  max-width: 620px;
  margin: 0 auto;
}

/* Gray full-bleed band */
.emn-landing .band--gray {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #F1F6F7;
  padding: 76px var(--side-pad);
  margin-bottom: 88px;
}

.emn-landing .band--gray .band-inner {
  max-width: 860px;
  margin: 0 auto;
}

.emn-landing .band--gray .section {
  padding: 0;
  margin: 0;
  max-width: none;
}

.emn-landing .band--gray .section__title {
  color: var(--ink);
}

.emn-landing .band--gray .section__body {
  color: var(--gray-700);
}

.emn-landing .band--gray figure img {
  border: none;
}

/* Audition diagram: nudged a little to the left of its column (desktop only). */
@media (min-width: 981px) {
  .emn-landing .section--audition > figure { transform: translateX(-3.5vw); }
}

/* Wide gray band: same two-column layout as the cost section, inside the gray background */
.emn-landing .band--gray.band--wide {
  padding: 76px 0;
  background: #fff;
}

.emn-landing .band--gray .section--wide {
  width: auto;
  margin-left: 0;
  padding: 0 clamp(24px, 7.5vw, 160px);
}

/* Stat comparison block */
.emn-landing .stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 30px 32px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  margin: 0 0 28px;
}

.emn-landing .stat {
  flex: 1;
}

.emn-landing .stat__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin: 0 0 8px;
}

.emn-landing .stat__figure {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1;
  margin: 0;
  letter-spacing: -0.02em;
}

.emn-landing .stat__figure--muted {
  color: var(--gray-500);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.emn-landing .stat__figure--red {
  color: var(--red);
}

.emn-landing .stat__arrow {
  font-size: 22px;
  color: var(--gray-300);
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .emn-landing .stats {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    text-align: center;
  }
  .emn-landing .stat__arrow { transform: rotate(90deg); }
}

/* Content sections */
.emn-landing .section {
  padding: 0 0 88px;
  max-width: 860px;
  margin: 0 auto;
}

.emn-landing .section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3.4vw, 32px);
  color: var(--ink);
  margin: 0 0 18px;
}

/* Feature heading: small italic serif line over a big bold grotesque title */
.emn-landing .section__eyebrow {
  font-family: 'Instrument Serif', var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.1;
  color: var(--red);
  margin: 0 0 6px;
}

.emn-landing .section__title--feature {
  font-family: 'Bricolage Grotesque', var(--font-body);
  font-weight: 800;
  font-size: var(--title-feature);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0 0 32px;
}

.emn-landing .section__body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  margin: 0 0 28px;
}

.emn-landing .section__body a {
  color: var(--red);
  font-weight: 500;
  border-bottom: 1px solid rgba(200, 16, 46, 0.3);
}

.emn-landing .section__body a:hover {
  border-bottom-color: var(--red);
}

.emn-landing .section__body strong {
  color: var(--ink);
  font-weight: 600;
}

.emn-landing .section__cta {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 14px;
}

.emn-landing .btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 8px;
  margin: 4px 0 24px;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.emn-landing .btn:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(200, 16, 46, 0.25);
}

.emn-landing .btn-row {
  text-align: center;
  margin: 4px 0 24px;
}

.emn-landing .btn-row .btn {
  margin: 0;
}

.emn-landing .section__note {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--gray-500);
  margin: 0;
  padding-left: 14px;
  border-left: 2px solid var(--gray-300);
}

.emn-landing .section figure {
  margin: 0;
}

/* Wide variant: breaks out of the centred column and uses the full width,
   aligned with the hero text — text on the left, picture on the right. */
.emn-landing .section--wide {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  padding: 0 clamp(24px, 7.5vw, 160px) 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px clamp(40px, 5vw, 96px);
  align-items: center;
}

.emn-landing .section--wide .section__body {
  max-width: 62ch;
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .emn-landing .section--wide { grid-template-columns: minmax(0, 1fr); }
}

.emn-landing .section figure img {
  width: 100%;
  height: auto;
  border: none;
  border-radius: 0;
}

/* Landing — tool cards */
.emn-landing .tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 880px;
  margin: 48px auto 96px;
}

@media (max-width: 640px) {
  .emn-landing .tool-grid { grid-template-columns: 1fr; }
}

.emn-landing .tool-card {
  display: block;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.emn-landing .tool-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 24px rgba(200, 16, 46, 0.08);
  transform: translateY(-2px);
}

.emn-landing .tool-card__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin: 0 0 10px;
}

.emn-landing .tool-card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 10px;
  color: var(--ink);
}

.emn-landing .tool-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--gray-700);
  margin: 0;
}

.emn-landing .tool-card__arrow {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
}

/* Subpage (Practice Lab / Feedback) — content pending */

.emn-landing .subpage-header {
  padding: 56px 0 32px;
  border-bottom: 1px solid var(--gray-300);
  margin-bottom: 48px;
}

.emn-landing .subpage-header__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 10px;
}

.emn-landing .subpage-header h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0;
  color: var(--ink);
}

.emn-landing .empty-state {
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius);
  padding: 64px 32px;
  text-align: center;
  margin-bottom: 96px;
}

.emn-landing .empty-state p {
  font-size: 15px;
  color: var(--gray-500);
  margin: 0;
}

/* Footer */

.emn-landing .emn-footer {
  border-top: 1px solid var(--gray-300);
  background: var(--gray-100);
}

.emn-landing .emn-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px var(--side-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.emn-landing .emn-footer p {
  font-size: 13px;
  color: var(--gray-500);
  margin: 0;
}

.emn-landing .emn-footer__links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--gray-500);
}

.emn-landing .emn-footer__links a {
  color: var(--gray-700);
  font-weight: 500;
}

.emn-landing .emn-footer__links a:hover {
  color: var(--red);
}

.emn-landing .emn-footer__icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.emn-landing .emn-footer__icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  color: var(--gray-700);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.emn-landing .emn-footer__icons a.is-wa:hover {
  border-color: #25D366;
  color: #25D366;
  background: rgba(37, 211, 102, 0.08);
}

.emn-landing .emn-footer__icons a:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-tint);
}

.emn-landing .emn-footer__icons svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   EMN tool pages (emn/interview-prep.html, emn/sight-melody.html)

   Both are re-audition practice tools that share one visual system, based
   on Sight Melody's palette/topbar/brand treatment, with Interview Prep's
   bordered footer used as the shared footer style.
   -------------------------------------------------------------------------- */

.emn-tool {
  --red: #C8102E;
  --red-dark: #9B0C22;
  --red-deep: #8E0B20;
  --ink: #1B1B1D;
  --paper: #FBFBF9;
  --panel: #FFFFFF;
  --line: #E4E2DD;
  --muted: #767470;
  --yellow: #F7E9A8;
  --yellow-ink: #6B5407;
  --green: #2E8B47;
  --amber: #E08A00;
  --shadow: 0 10px 30px rgba(20,20,20,0.10);
}

.emn-tool * { box-sizing: border-box; }

.emn-tool body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Shared topbar / brand signature (Sight Melody's treatment) */

.emn-tool .topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  flex-wrap: nowrap;
}
.emn-tool .gear-btn {
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color .15s ease, transform .1s ease;
  flex-shrink: 0;
}
.emn-tool .gear-btn:hover { border-color: var(--red); }
.emn-tool .gear-btn:active { transform: scale(0.96); }
.emn-tool .gear-btn svg { width: 22px; height: 22px; stroke: var(--ink); }
.emn-tool .brand { display: flex; flex-direction: column; line-height: 1.1; }
.emn-tool .brand .title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.emn-tool .brand .title em { color: var(--red); font-style: italic; }
.emn-tool .brand .sub {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.emn-tool .topbar-ad {
  background: var(--red); color: #fff; border-radius: 12px;
  padding: 11px 16px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.emn-tool .topbar-ad .pitch {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 16px; line-height: 1.3;
  white-space: nowrap;
}
.emn-tool .topbar-ad .links { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.emn-tool .topbar-ad a { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; transition: opacity .15s; }
.emn-tool .topbar-ad a:hover { opacity: .85; }
.emn-tool .topbar-ad a.cta { background: #fff; color: var(--red); padding: 6px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.emn-tool .topbar-ad a.icon { border: 1px solid rgba(255,255,255,.5); color: #fff; padding: 6px; border-radius: 50%; }
@media (max-width: 640px) {
  .emn-tool .topbar { flex-wrap: wrap; }
  .emn-tool .topbar-ad { max-width: 100%; width: 100%; margin-left: 0; flex: 1 1 100%; }
  .emn-tool .topbar-ad .pitch { white-space: normal; font-size: 15px; }
}

.emn-tool .brandline-below {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 22px 40px 22px;
}
.emn-tool .brandline-below img.logo { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: block; }
.emn-tool .brandline-below .brandtext { display: flex; flex-direction: column; gap: 1px; line-height: 1.22; }
.emn-tool .brandline-below .byline { font-size: 12.5px; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.emn-tool .brandline-below .sublabel { font-size: 10.5px; color: var(--muted); letter-spacing: .04em; }

/* Shared footer (Interview Prep's bordered separator) */

.emn-tool footer {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  text-align: left;
}
.emn-tool .footer--edge { padding-left: 22px; padding-right: 22px; padding-bottom: 22px; }
.emn-tool .fnote { color: var(--muted); }
.emn-tool .flinks { display: flex; align-items: center; gap: 8px; }
.emn-tool .flinks a {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; color: var(--muted); font-size: 11.5px; font-weight: 600;
  transition: color .15s;
}
.emn-tool .flinks a.contact {
  color: var(--red); border: 1px solid var(--red);
  padding: 6px 14px; border-radius: 999px;
}
.emn-tool .flinks a.contact:hover { background: var(--red); color: #fff; }
.emn-tool .flinks a.icon { border: 1px solid var(--line); border-radius: 50%; padding: 6px; }
.emn-tool .flinks a.icon:hover { color: var(--ink); border-color: var(--ink); }
.emn-tool .flinks a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
@media (max-width: 640px) {
  .emn-tool footer { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .emn-tool * { animation: none!important; transition: none!important; }
}

/* ---- Interview Prep components ---- */

.emn-tool .wrap { width: 100%; max-width: 1600px; margin: 0 auto; flex: 1; display: flex; flex-direction: column; padding: 22px; }

.emn-tool .controls { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.emn-tool button {
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: 9px 15px; border-radius: 999px; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.emn-tool button:hover:not(:disabled) { border-color: var(--ink); }
.emn-tool button:disabled { opacity: .35; cursor: not-allowed; }
.emn-tool button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.emn-tool button.on { background: var(--red); border-color: var(--red); color: #fff; }
.emn-tool button.primary { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.emn-tool button.primary:hover:not(:disabled) { background: var(--red); border-color: var(--red); }
.emn-tool .spacer { flex: 1; }
.emn-tool label.toggle { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); cursor: pointer; user-select: none; }
.emn-tool label.toggle input { accent-color: var(--red); width: 15px; height: 15px; cursor: pointer; }

.emn-tool .stage { flex: 1; display: flex; flex-direction: column; justify-content: center; min-height: 0; }
.emn-tool .card {
  border-radius: 16px; padding: clamp(32px,5vh,52px) clamp(28px,4vw,56px);
  cursor: pointer; user-select: none;
  background: var(--red); color: #fff;
  min-height: clamp(200px,34vh,300px); display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.emn-tool .card.variant { background: var(--yellow); color: var(--yellow-ink); }
.emn-tool .tag {
  font-size: 10.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  opacity: .72; margin-bottom: 16px;
}
.emn-tool .q { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: clamp(22px,2.5vw,38px); line-height: 1.26; }
.emn-tool .card .idx {
  position: absolute; top: 20px; right: 24px;
  font-size: 12px; font-variant-numeric: tabular-nums; opacity: .5; font-weight: 500;
}

.emn-tool .timer { margin-top: 14px; }
.emn-tool .bar { height: 7px; background: var(--line); border-radius: 99px; overflow: hidden; }
.emn-tool .fill { height: 100%; width: 0%; background: var(--muted); transition: width .25s linear, background .4s; }
.emn-tool .fill.zone-green { background: var(--green); }
.emn-tool .fill.zone-amber { background: var(--amber); }
.emn-tool .fill.zone-red { background: var(--red); }
.emn-tool .readout { display: flex; justify-content: space-between; align-items: baseline; margin-top: 9px; }
.emn-tool .clock { font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.emn-tool .zonelabel { font-size: 12px; color: var(--muted); }

.emn-tool .rec { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 16px; min-height: 38px; }
.emn-tool .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: pulse 1.1s infinite; }
.emn-tool audio { height: 36px; max-width: 260px; }
.emn-tool .note { font-size: 12px; color: var(--muted); line-height: 1.5; }
.emn-tool .note.warn { color: var(--red-deep); }

.emn-tool .nav { display: flex; gap: 8px; align-items: center; margin-top: 18px; }

@media (max-width: 980px) {
  .emn-tool .controls { margin-bottom: 14px; }
  .emn-tool .card { min-height: clamp(170px,25vh,240px); }
  .emn-tool .nav { margin-top: 14px; }
}
@media (max-width: 560px) {
  .emn-tool .wrap { padding: 16px; }
  .emn-tool .rec { min-height: 0; }
  .emn-tool .controls { margin-bottom: 12px; }
  .emn-tool .card { min-height: clamp(140px,20vh,200px); padding: 26px 22px; }
  .emn-tool .clock { font-size: 22px; }
}

/* ---- Sight Melody components ---- */

.emn-tool .main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: pointer;
  user-select: none;
}
.emn-tool .stage-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: 96vw;
  padding: 0 36px; /* nudges the hint text and play button in from the edges */
  margin-bottom: 14px;
}
.emn-tool .header-right-group { justify-self: end; display: flex; align-items: center; gap: 10px; }
.emn-tool .dictation-btn {
  padding: 5px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink);
  background: var(--panel);
  cursor: pointer;
  transition: all .12s ease;
  /* latching push button: pressed-in look while active, popped-out otherwise */
  box-shadow: 0 1px 0 var(--line);
}
.emn-tool .dictation-btn:hover { border-color: var(--red); color: var(--ink); }
.emn-tool .dictation-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.35);
}
.emn-tool .play-btn {
  padding: 5px 14px;
  border: 1.5px solid var(--red);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  background: var(--panel);
  color: var(--ink);
  transition: all .12s ease;
}
.emn-tool .play-btn:hover { background: var(--red); color: #fff; }
.emn-tool .play-btn.playing { background: var(--red); color: #fff; }
.emn-tool .play-btn:disabled { opacity: .5; cursor: default; }
.emn-tool .record-row {
  display: flex; align-items: center; gap: 12px;
}
.emn-tool .record-btn {
  padding: 6px 16px; border: 1.5px solid var(--red); border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  background: var(--panel); color: var(--red); cursor: pointer;
  transition: all .12s ease;
}
.emn-tool .record-btn:hover { background: var(--red); color: #fff; }
.emn-tool .record-btn.recording {
  background: var(--red); color: #fff; animation: recordPulse 1.2s ease-in-out infinite;
}
@keyframes recordPulse { 0%,100%{ opacity:1; } 50%{ opacity:.6; } }
.emn-tool .record-status { display: flex; align-items: center; gap: 8px; }
.emn-tool .record-status audio { height: 32px; max-width: 260px; }
.emn-tool .record-delete-btn {
  width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%;
  border: 1px solid var(--line); background: var(--panel); color: var(--muted);
  font-size: 11px; line-height: 1; cursor: pointer; transition: all .12s ease;
}
.emn-tool .record-delete-btn:hover { border-color: var(--red); color: var(--red); }
.emn-tool .record-note {
  font-family: 'Inter', sans-serif; font-size: 11.5px; color: var(--muted);
}
.emn-tool .record-note.warn { color: var(--red); }

.emn-tool #staff-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px 18px;
  max-width: 96vw;
  overflow-x: auto;
}
.emn-tool .bpm-row {
  display: flex; justify-content: flex-start;
  width: 100%; max-width: 96vw; padding: 0 36px; margin-top: 10px;
}
.emn-tool .bpm-control { display: flex; align-items: center; gap: 8px; }
.emn-tool .bpm-btn {
  width: 26px; height: 26px; padding: 0; border-radius: 50%;
  border: 1.5px solid var(--red); background: var(--panel); color: var(--ink);
  font-size: 13px; font-weight: 700; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .12s ease;
}
.emn-tool .bpm-btn:hover { background: var(--red); color: #fff; }
.emn-tool .bpm-value {
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600;
  color: var(--muted); min-width: 56px; text-align: center;
}
.emn-tool .staff-key-label {
  justify-self: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .02em;
}
.emn-tool #staff-wrap svg { display: block; margin: 0 auto; }

.emn-tool .mode-toggle-row {
  justify-self: start;
  display: flex; align-items: center; gap: 6px;
}
.emn-tool .mode-btn {
  padding: 6px 13px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--panel); color: var(--muted);
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: .02em; cursor: pointer; transition: all .12s ease;
}
.emn-tool .mode-btn:hover { border-color: var(--red); color: var(--ink); }
.emn-tool .mode-btn.active { background: var(--red); border-color: var(--red); color: #fff; }

/* Rhythm mode: pitch-related settings (Key, Scale quality, Degrees, Absolute
   pitch limits, Register) don't apply, so they're covered with a gray layer
   and can't be clicked -- rather than just disabling inputs one by one. */
.emn-tool .section.pitch-section, .emn-tool .section.melody-pool-section, .emn-tool .section.clef-section { position: relative; }
.emn-tool .section.pitch-section.locked::after,
.emn-tool .section.melody-pool-section.locked::after,
.emn-tool .section.clef-section.locked::after {
  content: ''; position: absolute; inset: -6px;
  background: rgba(120,120,120,.55); border-radius: 10px; z-index: 5;
}
.emn-tool .meta-row {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: 96vw;
  padding: 0 36px; /* same inset as .stage-header, so Record lines up under Play melody */
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .03em;
}
.emn-tool .meta-stats { grid-column: 2; justify-self: center; display: flex; gap: 18px; }
.emn-tool .record-row { grid-column: 3; justify-self: end; }
.emn-tool .meta-row span b { color: var(--red); font-weight: 600; }

/* Settings panel */
.emn-tool .overlay {
  position: fixed; inset: 0;
  background: rgba(20,18,16,0.28);
  opacity: 0; pointer-events: none;
  transition: opacity .18s ease;
  z-index: 40;
}
.emn-tool .overlay.open { opacity: 1; pointer-events: auto; }
.emn-tool .panel {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 400px; max-width: 92vw;
  background: var(--panel);
  box-shadow: 6px 0 30px rgba(0,0,0,0.12);
  transform: translateX(-100%);
  transition: transform .22s cubic-bezier(.4,0,.2,1);
  z-index: 50;
  display: flex; flex-direction: column;
}
.emn-tool .panel.open { transform: translateX(0); }
.emn-tool .panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.emn-tool .panel-header h2 {
  font-family: 'Fraunces', serif;
  font-size: 18px; font-weight: 600; margin: 0;
}
.emn-tool .close-btn {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--panel); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
}
.emn-tool .close-btn:hover { border-color: var(--red); color: var(--red); }
.emn-tool .panel-body {
  overflow-y: auto;
  padding: 6px 20px 30px;
  flex: 1;
}
.emn-tool .section {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.emn-tool .section:last-child { border-bottom: none; }
.emn-tool .section h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: var(--muted);
  margin: 0 0 10px 0;
  font-weight: 600;
}
.emn-tool .section p.hint {
  font-size: 11.5px; color: var(--muted); margin: -4px 0 10px 0; line-height: 1.4;
}
.emn-tool .chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.emn-tool .chip {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  background: var(--panel);
  color: var(--ink);
  transition: all .12s ease;
  user-select: none;
}
.emn-tool .chip:hover { border-color: var(--red); }
.emn-tool .chip.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  font-weight: 600;
}
.emn-tool .row2 { display: flex; gap: 8px; }
.emn-tool .row2 .chip { flex: 1; text-align: center; }
.emn-tool .check-grid { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.emn-tool .check-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; cursor: pointer;
}
.emn-tool .check-item input {
  width: 16px; height: 16px; accent-color: var(--red); cursor: pointer;
}
.emn-tool .range-inputs { display: flex; gap: 10px; align-items: center; }
.emn-tool .range-inputs label { font-size: 12px; color: var(--muted); display: block; margin-bottom: 4px; }
.emn-tool .range-inputs select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  background: var(--panel);
}
.emn-tool select.field {
  padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 13px; font-family: inherit; background: var(--panel); width: 100%;
}
.emn-tool .meter-group { margin-bottom: 12px; }
.emn-tool .meter-group:last-child { margin-bottom: 0; }
.emn-tool .meter-group .label { font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.emn-tool .footer-note {
  font-size: 11px; color: var(--muted); line-height: 1.5; padding: 14px 20px 20px;
  border-top: 1px solid var(--line);
}
.emn-tool ::-webkit-scrollbar { width: 8px; }
.emn-tool ::-webkit-scrollbar-thumb { background: #DDD9D2; border-radius: 8px; }

/* --------------------------------------------------------------------------
   Obtén Feedback (feedback.html)
   APPEND to the end of emn.css. Nothing above this line is modified.
   -------------------------------------------------------------------------- */

.emn-landing .fb-wrap {
  height: 100vh;
  overflow: hidden;
}

.emn-landing body.fb-locked {
  overflow: hidden;
}

/* Stage fills everything under the sticky header */
.emn-landing .fb-stage {
  flex: 1;
  position: relative;
  overflow-y: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

.emn-landing .fb-slide {
  display: none;
  min-height: 100%;
  padding: 48px var(--side-pad);
  background: var(--paper);
}

.emn-landing .fb-slide.is-active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.emn-landing .fb-slide__inner {
  width: 100%;
  max-width: 720px;
}

.emn-landing .fb-slide--red {
  background: #D4485E;
  color: #fff;
}

.emn-landing .fb-slide--red .fb-title,
.emn-landing .fb-slide--red .fb-sub {
  color: #fff;
}

.emn-landing .fb-step {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin: 0 0 10px;
}

.emn-landing .fb-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 14px;
}

.emn-landing .fb-sub {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--gray-700);
  margin: 0 0 22px;
}

.emn-landing .fb-slide--red .fb-sub {
  color: rgba(255, 255, 255, 0.9);
}

/* Brief box */
.emn-landing .fb-brief {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 0 0 26px;
}

.emn-landing .fb-brief__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.75);
}

.emn-landing .fb-brief p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 10px;
}

.emn-landing .fb-brief p:last-of-type {
  margin-bottom: 0;
}

.emn-landing .fb-brief a {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.emn-landing .fb-brief a.fb-btn--light,
.emn-landing .fb-slide--red a.fb-btn--light {
  color: var(--red);
  border-bottom: none;
}

/* Prep checklist (slide 1) */
.emn-landing .fb-intro-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 26px;
}

.emn-landing .fb-prep__min {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin: auto 0 0 !important;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.emn-landing .fb-linkfield {
  display: block;
  margin-bottom: 16px;
}

.emn-landing .fb-linkfield span {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 7px;
}

.emn-landing .fb-prep__lead {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 18px;
}

.emn-landing .fb-prep {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.emn-landing .fb-prep__item {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 12px;
  background: var(--red);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 16px 16px 18px;
}

.emn-landing .fb-prep__n {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emn-landing .fb-prep__item > div {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.emn-landing .fb-prep__item h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  color: #fff;
  margin: 1px 0 6px;
}

.emn-landing .fb-prep__item p {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.emn-landing .fb-prep__item a {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.emn-landing .fb-prep__q {
  margin: 8px 0 0;
  padding-left: 16px;
}

.emn-landing .fb-prep__q li {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 3px;
}

.emn-landing .fb-prep__q--solo {
  padding-left: 18px;
  margin: 0 0 20px;
}

.emn-landing .fb-prep__q--solo li {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 6px;
}

.emn-landing .fb-upload {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--red);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 16px;
}

.emn-landing .fb-upload__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  color: #fff;
  margin: 0 0 8px;
}

.emn-landing .fb-upload p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 10px;
}

.emn-landing .fb-upload p:last-child {
  margin-bottom: 0;
}

.emn-landing .fb-upload strong {
  color: #fff;
  font-weight: 700;
}

.emn-landing .fb-upload__warn {
  border-left: 2px solid #fff;
  padding-left: 12px;
  font-weight: 500;
}

.emn-landing .fb-prep__foot {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  text-align: right;
  margin: 0 0 18px;
}

@media (max-width: 780px) {
  .emn-landing .fb-prep { grid-template-columns: 1fr; }
}

.emn-landing .fb-upload--center {
  text-align: center;
}

.emn-landing .fb-upload--center .fb-upload__warn {
  border-left: none;
  border-top: none;
  padding-left: 0;
  padding-top: 14px;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.5;
  position: relative;
}

.emn-landing .fb-upload--center .fb-upload__warn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
}

.emn-landing .fb-alert {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--red);
  background: var(--red-tint);
  border: 1px solid var(--red);
  border-radius: 7px;
  padding: 11px 14px;
  margin: 18px 0 0;
}

.emn-landing .fb-nav-row--center {
  display: flex;
  justify-content: center;
}

/* Buttons */
.emn-landing .fb-btn {
  display: inline-block;
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}

.emn-landing .fb-btn:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.emn-landing .fb-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.emn-landing .fb-btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--red);
  margin-top: 6px;
}

.emn-landing .fb-btn--light:hover {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.88);
}

.emn-landing .fb-btn--ghost {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-300);
}

.emn-landing .fb-btn--ghost:hover {
  background: var(--gray-100);
  border-color: var(--gray-500);
  color: var(--ink);
}

.emn-landing .fb-nav-row {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

/* Text inputs */
.emn-landing .fb-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  padding: 13px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  background: var(--paper);
}

.emn-landing .fb-input:focus {
  outline: none;
  border-color: var(--red);
}

/* Instrument chips */
.emn-landing .fb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.emn-landing .fb-chip {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--paper);
  border: 1px solid var(--gray-300);
  border-radius: 20px;
  padding: 9px 18px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.emn-landing .fb-chip:hover {
  border-color: var(--red);
  color: var(--red);
}

.emn-landing .fb-chip.is-on {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.emn-landing .fb-sheet {
  margin-top: 20px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 14px;
}

.emn-landing .fb-sheet img {
  width: 100%;
  height: auto;
  margin-bottom: 12px;
}

.emn-landing .fb-counter {
  color: var(--red);
  font-weight: 700;
}

.emn-landing .fb-take__head--stack {
  display: block;
}

.emn-landing .fb-take__head {
  flex-wrap: wrap;
}

.emn-landing .fb-take__sheetlabel {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin: 0 0 10px;
}

.emn-landing .fb-sheetwrap {
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--paper);
}

.emn-landing .fb-sheetwrap img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

.emn-landing .fb-warn {
  font-size: 13.5px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--red);
  background: var(--red-tint);
  border-left: 3px solid var(--red);
  border-radius: 0 6px 6px 0;
  padding: 11px 14px;
  margin: 0 0 22px;
}

.emn-landing .fb-take__plays {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  margin-top: 8px;
}

.emn-landing .fb-take__plays.is-spent {
  color: var(--red);
}

.emn-landing .fb-underline {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Recording takes */
.emn-landing .fb-take {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 12px;
  transition: border-color 0.15s ease;
}

.emn-landing .fb-take.is-recording {
  border-color: var(--red);
  background: var(--red-tint);
}

.emn-landing .fb-take.is-done {
  border-color: #2E9E5B;
}

.emn-landing .fb-take.has-take:not(.is-done) {
  border-color: #E0A106;
  background: #FFFBF0;
}

.emn-landing .fb-take__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.emn-landing .fb-take__n {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emn-landing .fb-take__audio {
  flex: 1;
  height: 34px;
}

.emn-landing .fb-take__q {
  flex: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
}

.emn-landing .fb-take__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.emn-landing .fb-btn--rec {
  font-size: 13.5px;
  padding: 9px 18px;
}

.emn-landing .fb-take__status {
  font-size: 12.5px;
  color: var(--gray-500);
}

.emn-landing .fb-chips--quiz {
  margin-top: 4px;
}

.emn-landing .fb-take__sheet {
  flex: 1;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--red);
  border-bottom: 1px solid rgba(200, 16, 46, 0.3);
}

.emn-landing .fb-take__sheet:hover {
  border-bottom-color: var(--red);
}

.emn-landing .fb-brief--center {
  text-align: center;
}

.emn-landing .fb-brief--center .fb-btn--light {
  margin-top: 14px;
}

.emn-landing .fb-slide a.fb-btn--bold,
.emn-landing .fb-brief a.fb-btn--bold {
  font-weight: 700;
}

/* Debe ir DESPUÉS de .fb-btn--ghost para ganarle el color gris */
.emn-landing .fb-btn.fb-btn--onred {
  color: #fff;
  font-weight: 600;
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.emn-landing .fb-btn.fb-btn--onred:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
  color: #fff;
}

/* Closing links */
.emn-landing .fb-close-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
}

.emn-landing .fb-close-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.emn-landing .fb-close-links a {
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  display: flex;
  align-items: center;
}

/* Modal */
.emn-landing .fb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.72);
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}

.emn-landing .fb-overlay[hidden] {
  display: none;
}

.emn-landing .fb-modal {
  position: relative;
  background: var(--paper);
  border-radius: 14px;
  padding: 34px 34px 30px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.emn-landing .fb-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: none;
  background: none;
  font-size: 26px;
  line-height: 1;
  color: var(--gray-500);
  cursor: pointer;
}

.emn-landing .fb-modal__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 25px;
  color: var(--ink);
  margin: 0 0 6px;
}

.emn-landing .fb-modal__sub {
  font-size: 14px;
  color: var(--gray-700);
  margin: 0 0 22px;
}

.emn-landing .fb-field {
  display: block;
  margin-bottom: 15px;
}

.emn-landing .fb-field span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.emn-landing .fb-field input,
.emn-landing .fb-field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  padding: 10px 13px;
  border: 1px solid var(--gray-300);
  border-radius: 7px;
  background: var(--paper);
}

.emn-landing .fb-field input:focus,
.emn-landing .fb-field select:focus {
  outline: none;
  border-color: var(--red);
}

.emn-landing .fb-form__error {
  font-size: 13px;
  color: var(--red);
  margin: 0 0 12px;
}

.emn-landing .fb-modal .fb-btn {
  width: 100%;
  margin-top: 6px;
}

@media (max-width: 640px) {
  .emn-landing .fb-slide {
    padding: 32px var(--side-pad);
  }
  .emn-landing .fb-modal {
    padding: 28px 22px 24px;
  }
}

/* --------------------------------------------------------------------------
   "Ir a Página Principal" button — same pill as the ad's "Aprende cómo"
   (.topbar-ad a.cta), with the colours inverted: white fill, red border,
   red label. Sits at the right of .brandline-below, level with the EMN
   signature. Scoped to .emn-tool so the landing page is unaffected.
   -------------------------------------------------------------------------- */

.emn-tool .brandline-below .home-link {
  margin-left: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  border: 1px solid var(--red);
  transition: background .15s ease, color .15s ease;
}
.emn-tool .brandline-below .home-link:hover { background: var(--red); color: #fff; }
.emn-tool .brandline-below .home-link:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* Mentores: the sentence itself is the page title */
.emn-landing .m-hero h1.m-hero__title {
  max-width: 17em;
  margin: 0 0 44px;
  text-wrap: balance;
  font-size: var(--title-feature);
  line-height: 1.08;
}

/* Nosotros page */
.emn-landing .m-hero--story h1 {
  max-width: 14em;
  margin: 18px 0 44px;
  text-wrap: balance;
  font-size: var(--title-feature);
  line-height: 1.05;
}

.emn-landing .n-main { padding-bottom: 0; }

.emn-landing .n-story {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px var(--side-pad, 24px);
  scroll-margin-top: 110px;
}

.emn-landing .n-kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.emn-landing .n-kicker--light { color: #ff8f9d; }

.emn-landing .n-title {
  margin: 0 0 28px;
  font-family: 'Bricolage Grotesque', var(--font-body);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--ink);
}
.emn-landing .n-title--sm { font-size: clamp(26px, 3vw, 38px); }
.emn-landing .n-title--light { color: #fff; }

.emn-landing .n-prose p {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.7;
  color: #3a3a3a;
}
.emn-landing .n-prose--light p { color: rgba(255, 255, 255, 0.88); }

.emn-landing .n-block { padding: 72px var(--side-pad, 24px); }
.emn-landing .n-block--alt { background: #fff; }
.emn-landing .n-block--dark { background: linear-gradient(100deg, #000 0%, #2a0006 68%, #4a0a12 100%); }

.emn-landing .n-block__inner {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.emn-landing .n-block__inner--center { display: block; max-width: 820px; }
.emn-landing .n-block__logo { width: 100%; height: auto; }

.emn-landing .n-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.emn-landing .n-card {
  padding: 26px 24px;
  background: #fff;
  border: 1px solid #e6e1d9;
  border-top: 4px solid var(--red);
  border-radius: 8px;
}
.emn-landing .n-card h3 { margin: 0 0 10px; font-size: 20px; }
.emn-landing .n-card p { margin: 0; font-size: 15.5px; line-height: 1.6; color: #444; }

.emn-landing .n-cta {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px var(--side-pad, 24px) 96px;
  text-align: center;
}
.emn-landing .n-cta p { margin: 0 0 28px; font-size: 18px; color: #444; }
.emn-landing .n-cta__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.emn-landing .n-btn {
  padding: 14px 32px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  transition: background 0.15s ease;
}
.emn-landing .n-btn:hover { background: rgba(0, 0, 0, 0.06); }
.emn-landing .n-btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.emn-landing .n-btn--red:hover { background: var(--red-dark); }

@media (max-width: 800px) {
  .emn-landing .n-block__inner { grid-template-columns: 1fr; gap: 24px; }
  .emn-landing .n-block__logo { max-width: 140px; }
  .emn-landing .n-cards { grid-template-columns: 1fr; }
  .emn-landing .n-story, .emn-landing .n-block { padding-top: 56px; padding-bottom: 56px; }
}

/* Nosotros: presentación del fundador */
.emn-landing .n-intro {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 88px var(--side-pad, 24px) 40px;
  scroll-margin-top: 110px;
}
.emn-landing .n-intro__photo {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6e1d9;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.emn-landing .n-intro__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.emn-landing .n-intro__photo span { font-family: var(--font-display); font-size: 88px; color: rgba(255, 255, 255, 0.85); }
.emn-landing .n-intro__role { margin: -12px 0 22px; font-weight: 600; color: var(--red); }
.emn-landing .n-intro__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.emn-landing .n-intro__tags li { padding: 6px 14px; border: 1px solid #d9d3c9; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: #fff; }
@media (max-width: 800px) {
  .emn-landing .n-intro { grid-template-columns: 1fr; gap: 28px; padding-top: 56px; }
  .emn-landing .n-intro__photo { max-width: 320px; }
}

/* Nosotros: primeros colaboradores */
.emn-landing .n-collab { max-width: 1000px; padding-bottom: 72px; }
.emn-landing .n-collab__list { display: grid; gap: 22px; }
.emn-landing .n-person {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 24px;
  background: #fff;
  border: 1px solid #e6e1d9;
  border-left: 4px solid var(--red);
  border-radius: 8px;
}
.emn-landing .n-person__photo {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(160deg, #2a0006, #8a0a1d);
  display: flex;
  align-items: center;
  justify-content: center;
}
.emn-landing .n-person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.emn-landing .n-person__photo span { font-family: var(--font-display); font-size: 56px; color: rgba(255, 255, 255, 0.85); }
.emn-landing .n-person h3 { margin: 0 0 4px; font-size: 22px; }
.emn-landing .n-person__role { margin: 0 0 12px; font-weight: 600; font-size: 14px; color: var(--red); }
.emn-landing .n-person p:last-child { margin: 0; font-size: 16px; line-height: 1.65; color: #3a3a3a; }
@media (max-width: 640px) {
  .emn-landing .n-person { grid-template-columns: 1fr; }
  .emn-landing .n-person__photo { max-width: 200px; }
}
