/* Future Focus Mentor — mobile-first homepage */

:root {
  --bg: #f5f5f7;
  --surface: rgba(255, 255, 255, 0.86);
  --text: #141414;
  --muted: #66666d;
  --line: rgba(0, 0, 0, 0.09);
  --dark: #101114;
  --radius: 26px;
  --header-height: 68px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--header-height);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  background: rgba(245, 245, 247, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--dark);
  color: white;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.brand-name {
  font-size: 0.98rem;
}

.menu-button {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: rgba(255,255,255,0.8);
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.menu-button span {
  width: 22px;
  height: 2px;
  display: block;
  background: var(--text);
  border-radius: 100px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: calc(var(--header-height) + 8px);
  left: 16px;
  right: 16px;
  padding: 12px;
  border-radius: 22px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.16);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: 180ms ease;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  display: block;
  padding: 15px 14px;
  border-radius: 14px;
  font-size: 1.05rem;
  text-decoration: none;
  font-weight: 650;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  background: #f2f2f4;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: end;
  overflow: hidden;
  background: #111;
}

.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.58)),
    url("hero.jpg") center center / cover no-repeat;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.10) 0%,
    rgba(0,0,0,0.18) 42%,
    rgba(0,0,0,0.72) 100%
  );
}

.hero-content {
  position: relative;
  width: 100%;
  padding: 120px 24px 46px;
  color: white;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.82;
}

.eyebrow.dark {
  color: #55555c;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.8rem, 12vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  font-weight: 760;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 26px;
  font-size: 1.08rem;
  color: rgba(255,255,255,0.88);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: white;
  color: #111;
  text-decoration: none;
  font-weight: 750;
}

.scroll-hint {
  display: block;
  margin-top: 34px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.68);
}

.story-section {
  padding: 72px 20px 82px;
}

.story-card {
  min-height: 75svh;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-card h2,
.section-heading h2,
.final-cta h2,
.floating-panel h2 {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.story-card h2 {
  font-size: clamp(2.4rem, 9vw, 5.1rem);
}

.story-card p:last-child {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: 1.08rem;
  color: var(--muted);
}

.feature-scroll {
  position: relative;
  background: #0d0e11;
}

.feature-image {
  position: sticky;
  top: 0;
  height: 100svh;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.14), rgba(0,0,0,0.55)),
    url("mentor.jpg") center center / cover no-repeat;
}

.feature-text-stack {
  position: relative;
  margin-top: -100svh;
  z-index: 3;
}

.floating-panel {
  min-height: 100svh;
  padding: 110px 24px 50px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: white;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.04) 0%,
    rgba(0,0,0,0.22) 45%,
    rgba(0,0,0,0.78) 100%
  );
}

.floating-panel h2 {
  max-width: 760px;
  font-size: clamp(2.6rem, 10vw, 5.4rem);
}

.floating-panel p:last-child {
  max-width: 620px;
  font-size: 1.06rem;
  color: rgba(255,255,255,0.82);
}

.services {
  padding: 90px 20px;
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 36px;
}

.section-heading h2 {
  font-size: clamp(2.3rem, 8vw, 4.8rem);
}

.service-grid {
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.service-card {
  padding: 28px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 16px 44px rgba(0,0,0,0.045);
}

.service-number {
  color: #8c8c94;
  font-size: 0.78rem;
  font-weight: 750;
}

.service-card h3 {
  margin: 30px 0 8px;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.final-cta {
  margin: 0 14px 14px;
  padding: 70px 24px;
  border-radius: 30px;
  background: var(--dark);
  color: white;
}

.final-cta h2 {
  max-width: 780px;
  font-size: clamp(2.6rem, 9vw, 5.3rem);
}

.final-cta > p:not(.eyebrow) {
  max-width: 590px;
  color: rgba(255,255,255,0.72);
  font-size: 1.08rem;
}

.cta-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.dark-button {
  background: white;
  color: #111;
}

.secondary-link {
  color: white;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 2px;
}

footer {
  padding: 26px 20px 42px;
  color: #777780;
  text-align: center;
  font-size: 0.86rem;
}

@media (min-width: 760px) {
  .site-header {
    padding-left: 30px;
    padding-right: 30px;
  }

  .hero-content,
  .floating-panel {
    padding-left: 7vw;
    padding-right: 7vw;
    padding-bottom: 7vh;
  }

  .story-section,
  .services {
    padding-left: 6vw;
    padding-right: 6vw;
  }

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

  .final-cta {
    margin: 20px;
    padding: 90px 7vw;
  }

  .cta-actions {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 1100px) {
  .hero-content {
    padding-bottom: 10vh;
  }

  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .mobile-menu {
    left: auto;
    width: 340px;
  }
}

/* Respect motion-sensitive users */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
