/* ============================================================
   MORI INVESTMENTS — Landing Page Styles
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  --color-yellow: #F5C518;
  --color-black: #0A0A0A;
  --color-light: #F2F0EB;
  --color-charcoal: #141414;
  --color-grey: #888888;
  --color-accent: #1E1E1E;

  --color-light-text: #161412;
  --color-light-muted: #5a564f;

  --font: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1200px;
  --gutter: 24px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.25s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-weight: 400;
  background: var(--color-black);
  color: var(--color-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 15px 28px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
}

.btn--primary {
  background: var(--color-yellow);
  color: var(--color-black);
}
.btn--primary:hover {
  background: #ffd633;
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--color-light);
  border-color: rgba(242, 240, 235, 0.25);
}
.btn--outline:hover {
  border-color: var(--color-yellow);
  color: var(--color-yellow);
  transform: translateY(-2px);
}

.btn--pill {
  background: var(--color-yellow);
  color: var(--color-black);
  border-radius: 999px;
  padding: 20px 44px;
  font-size: 1.05rem;
  font-weight: 600;
}
.btn--pill:hover {
  background: #ffd633;
  transform: translateY(-2px);
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
}
.logo__mark {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--color-light);
}
.logo__sub {
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--color-grey);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition),
              box-shadow var(--transition);
}
.nav.scrolled {
  border-bottom-color: rgba(242, 240, 235, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  background: rgba(10, 10, 10, 0.95);
}

.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__link {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--color-grey);
  position: relative;
  transition: color var(--transition);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--color-yellow);
  transition: width var(--transition);
}
.nav__link:hover {
  color: var(--color-light);
}
.nav__link:hover::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-light);
  transition: transform var(--transition), opacity var(--transition);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-black);
  overflow: hidden;
}

/* Animated technical grid background */
.hero__grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(245, 197, 24, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 197, 24, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 35%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 35%, transparent 80%);
  animation: gridDrift 26s linear infinite;
  pointer-events: none;
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 56px 56px, 56px 56px; }
}

/* Coordinate accent dots */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(242, 240, 235, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 120px var(--gutter) 80px;
}
.hero__content {
  max-width: 860px;
}
.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-yellow);
  margin-bottom: 28px;
}
.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 300;
  color: #c9c6bf;
  max-width: 640px;
  margin-bottom: 44px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================================
   ABOUT STRIP
   ============================================================ */
.about {
  background: var(--color-light);
  color: var(--color-light-text);
  padding: 110px 0;
}
.about__inner {
  max-width: 920px;
}
.about__lead {
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin-bottom: 48px;
}
.about__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
  border-top: 1px solid rgba(22, 20, 18, 0.15);
  padding-top: 32px;
}
.about__meta-value {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-light-text);
}
.about__meta li {
  position: relative;
}

/* ============================================================
   SECTION HEAD
   ============================================================ */
.section-head {
  margin-bottom: 64px;
}
.section-head__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-yellow);
  margin-bottom: 18px;
}
.section-head__tag--dark {
  color: #b08c00;
}
.section-head__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-light);
}
.section-head__title--dark {
  color: var(--color-light-text);
}

/* ============================================================
   FOCUS AREAS
   ============================================================ */
.focus {
  background: var(--color-charcoal);
  padding: 110px 0;
}
.focus__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--color-black);
  border: 1px solid rgba(242, 240, 235, 0.08);
  border-left: 3px solid transparent;
  border-radius: 6px;
  padding: 36px 32px;
  transition: border-color var(--transition), transform var(--transition),
              background var(--transition);
}
.card:hover {
  border-left-color: var(--color-yellow);
  border-top-color: rgba(242, 240, 235, 0.14);
  border-right-color: rgba(242, 240, 235, 0.14);
  border-bottom-color: rgba(242, 240, 235, 0.14);
  transform: translateY(-4px);
  background: #0d0d0d;
}
.card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-yellow);
  margin-bottom: 24px;
}
.card__icon svg {
  width: 100%;
  height: 100%;
}
.card__title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.card__desc {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--color-grey);
  line-height: 1.55;
}

/* Stagger reveal of cards */
.focus__grid .card:nth-child(2) { transition-delay: 0.05s; }
.focus__grid .card:nth-child(3) { transition-delay: 0.1s; }
.focus__grid .card:nth-child(4) { transition-delay: 0.05s; }
.focus__grid .card:nth-child(5) { transition-delay: 0.1s; }
.focus__grid .card:nth-child(6) { transition-delay: 0.15s; }

/* ============================================================
   ACQUISITION CRITERIA
   ============================================================ */
.criteria {
  background: var(--color-light);
  color: var(--color-light-text);
  padding: 110px 0;
}
.criteria__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.criteria__list {
  display: flex;
  flex-direction: column;
}
.criteria__row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(22, 20, 18, 0.12);
}
.criteria__row:first-child {
  border-top: 1px solid rgba(22, 20, 18, 0.12);
}
.criteria__check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-yellow);
  color: var(--color-black);
}
.criteria__check svg {
  width: 18px;
  height: 18px;
}
.criteria__text {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.criteria__copy {
  padding-top: 8px;
}
.criteria__para {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-light-muted);
  margin-bottom: 20px;
}
.criteria__para:last-child {
  margin-bottom: 0;
}

/* ============================================================
   INDUSTRIES TICKER
   ============================================================ */
.ticker {
  background: var(--color-black);
  border-top: 1px solid rgba(242, 240, 235, 0.06);
  border-bottom: 1px solid rgba(242, 240, 235, 0.06);
  overflow: hidden;
  padding: 26px 0;
  white-space: nowrap;
}
.ticker__track {
  display: inline-flex;
  animation: tickerScroll 38s linear infinite;
}
.ticker__group {
  display: inline-flex;
  align-items: center;
}
.ticker__item {
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--color-yellow);
  padding: 0 6px;
}
.ticker__dot {
  color: rgba(245, 197, 24, 0.4);
  padding: 0 18px;
  font-weight: 300;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--color-black);
  padding: 130px 0;
  text-align: center;
}
.contact__inner {
  max-width: 720px;
  margin: 0 auto;
}
.contact__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 14px 0 24px;
}
.contact__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 300;
  color: var(--color-grey);
  margin-bottom: 48px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-black);
  border-top: 1px solid rgba(242, 240, 235, 0.07);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 0.85rem;
  color: var(--color-grey);
  letter-spacing: 0.01em;
}

/* ============================================================
   RESPONSIVE — tablet (≤1200px)
   ============================================================ */
@media (max-width: 1200px) {
  .focus__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   RESPONSIVE — mobile (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }
  .nav__links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(242, 240, 235, 0.08);
    padding: 8px var(--gutter) 16px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }
  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links li {
    width: 100%;
  }
  .nav__link {
    display: block;
    width: 100%;
    padding: 16px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(242, 240, 235, 0.06);
  }
  .nav__link::after { display: none; }

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

  .criteria__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about,
  .focus,
  .criteria {
    padding: 80px 0;
  }
  .contact {
    padding: 90px 0;
  }

  .section-head {
    margin-bottom: 44px;
  }

  .btn {
    width: 100%;
  }
  .hero__actions {
    flex-direction: column;
  }
  .btn--pill {
    width: 100%;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
