/*
Theme Name:   Nagaland Me Child
Theme URI:    https://nagaland.me
Description:  Premium parent brand theme for nagaland.me — built for speed, SEO, and Apple-style scroll experience.
Author:       Nagaland Me
Template:     astra
Version:      1.0.0
Text Domain:  nagaland-me-child
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Colors */
  --nm-dark:        #0B110E;
  --nm-dark-2:      #141C18;
  --nm-cream:       #F6F4EF;
  --nm-white:       #FFFFFF;
  --nm-green:       #1A5733;
  --nm-green-mid:   #22733F;
  --nm-green-light: #2D9152;
  --nm-gold:        #C4902A;
  --nm-gold-light:  #E0AE4A;
  --nm-text:        #181D1A;
  --nm-text-2:      #3A4440;
  --nm-muted:       #697770;
  --nm-border:      rgba(24, 29, 26, 0.09);
  --nm-border-dark: rgba(255, 255, 255, 0.08);

  /* Typography */
  --nm-font-display: 'Cormorant Garamond', Georgia, serif;
  --nm-font-body:    'Outfit', -apple-system, sans-serif;

  /* Spacing */
  --nm-gap:     clamp(1.5rem, 4vw, 3rem);
  --nm-section: clamp(4rem, 10vw, 8rem);
  --nm-radius:  12px;
  --nm-radius-lg: 20px;

  /* Transitions */
  --nm-ease:    cubic-bezier(0.16, 1, 0.3, 1);
  --nm-ease-in: cubic-bezier(0.4, 0, 1, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body.nm-homepage {
  font-family: var(--nm-font-body);
  color: var(--nm-text);
  background: var(--nm-cream);
  overflow-x: hidden;
  line-height: 1.6;
}

body.nm-homepage * {
  font-family: inherit;
}

/* Remove default Astra styles on the homepage */
body.nm-homepage .site-header,
body.nm-homepage .site-footer,
body.nm-homepage #masthead,
body.nm-homepage .ast-above-header,
body.nm-homepage .ast-below-header {
  display: none !important;
}

body.nm-homepage .site-content,
body.nm-homepage .content-area,
body.nm-homepage .ast-container,
body.nm-homepage #page,
body.nm-homepage .entry-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

body.nm-homepage article.post,
body.nm-homepage .hentry {
  padding: 0;
  margin: 0;
}

/* ============================================================
   SCROLL REVEAL SYSTEM (Apple-style)
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--nm-ease), transform 0.9s var(--nm-ease);
  will-change: opacity, transform;
}

[data-reveal="left"] {
  transform: translateX(-36px) translateY(0);
}

[data-reveal="right"] {
  transform: translateX(36px) translateY(0);
}

[data-reveal="scale"] {
  transform: scale(0.93);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none !important;
}

[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }
[data-delay="5"] { transition-delay: 0.42s; }
[data-delay="6"] { transition-delay: 0.52s; }

/* ============================================================
   LAYOUT
   ============================================================ */
.nm-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.nm-label {
  display: inline-block;
  font-family: var(--nm-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nm-green-mid);
  margin-bottom: 1rem;
}

.nm-section-header {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.nm-section-header h2 {
  font-family: var(--nm-font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--nm-text);
  letter-spacing: -0.02em;
}

.nm-section-header .nm-label {
  display: block;
}

.nm-section-desc {
  margin-top: 1rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--nm-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.nm-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--nm-font-body);
  font-size: 0.925rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.8rem 1.75rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s var(--nm-ease);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.nm-btn--primary {
  background: var(--nm-green);
  color: var(--nm-white);
}

.nm-btn--primary:hover {
  background: var(--nm-green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 87, 51, 0.28);
  color: var(--nm-white);
}

.nm-btn--ghost {
  background: transparent;
  color: var(--nm-cream);
  border: 1.5px solid rgba(246, 244, 239, 0.3);
}

.nm-btn--ghost:hover {
  border-color: rgba(246, 244, 239, 0.7);
  background: rgba(246, 244, 239, 0.07);
  transform: translateY(-2px);
  color: var(--nm-cream);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nm-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
  padding: 0;
}

.nm-nav.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.1);
}

.nm-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nm-nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nm-nav__logo img {
  height: 52px;
  width: auto;
  display: block;
}

.nm-nav__wordmark {
  font-family: var(--nm-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nm-text);
  letter-spacing: -0.02em;
}

.nm-nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nm-nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--nm-text-2);
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: 100px;
  transition: color 0.2s ease, background 0.2s ease;
  letter-spacing: 0.01em;
}

.nm-nav__links a:hover {
  color: var(--nm-green);
  background: rgba(26, 87, 51, 0.06);
}

.nm-nav__cta {
  background: var(--nm-green) !important;
  color: var(--nm-white) !important;
  padding: 0.45rem 1.1rem !important;
}

.nm-nav__cta:hover {
  background: var(--nm-green-mid) !important;
  color: var(--nm-white) !important;
}

.nm-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nm-nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--nm-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.nm-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nm-dark);
  overflow: hidden;
}

/* Animated gradient mesh background */
.nm-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.nm-hero__mesh {
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse 60% 50% at 20% 60%, rgba(26,87,51,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(196,144,42,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 60% 80%, rgba(26,87,51,0.18) 0%, transparent 50%);
  animation: nm-mesh-drift 18s ease-in-out infinite alternate;
}

@keyframes nm-mesh-drift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-2%, 1%) scale(1.02); }
  66%  { transform: translate(1%, -2%) scale(0.99); }
  100% { transform: translate(2%, 2%) scale(1.01); }
}

/* Grain overlay */
.nm-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}

.nm-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 10rem clamp(1.25rem, 5vw, 3rem) 5rem;
  max-width: 900px;
  width: 100%;
}

.nm-hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nm-gold);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease 0.1s, transform 0.7s var(--nm-ease) 0.1s;
}

.nm-hero__headline {
  font-family: var(--nm-font-display);
  font-size: clamp(4rem, 10vw, 9.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--nm-cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05em;
  margin-bottom: 2.5rem;
}

.nm-hero__line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--nm-ease), transform 0.9s var(--nm-ease);
}

.nm-hero__line--accent {
  color: var(--nm-green-light);
  font-style: italic;
}

.nm-hero__sub {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: rgba(246, 244, 239, 0.62);
  line-height: 1.65;
  margin-bottom: 2.8rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s var(--nm-ease);
}

.nm-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s var(--nm-ease);
}

/* Hero load animation — fires on DOMContentLoaded */
.nm-hero--loaded .nm-hero__eyebrow { opacity: 1; transform: none; }
.nm-hero--loaded .nm-hero__line    { opacity: 1; transform: none; }
.nm-hero--loaded .nm-hero__sub     { opacity: 1; transform: none; }
.nm-hero--loaded .nm-hero__actions { opacity: 1; transform: none; }

.nm-hero__line:nth-child(1) { transition-delay: 0.2s; }
.nm-hero__line:nth-child(2) { transition-delay: 0.35s; }
.nm-hero__line:nth-child(3) { transition-delay: 0.5s; }
.nm-hero__sub     { transition-delay: 0.65s !important; }
.nm-hero__actions { transition-delay: 0.78s !important; }

/* Scroll hint */
.nm-hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 2;
  opacity: 0;
  animation: nm-fade-in 1s ease 1.4s forwards;
}

.nm-hero__scroll-hint span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 244, 239, 0.35);
}

.nm-hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(246,244,239,0.3), transparent);
  animation: nm-scroll-pulse 2.2s ease-in-out infinite;
}

@keyframes nm-fade-in {
  to { opacity: 1; }
}

@keyframes nm-scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(1.15); }
}

/* ============================================================
   INTRO STRIP
   ============================================================ */
.nm-intro {
  background: var(--nm-cream);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  border-bottom: 1px solid var(--nm-border);
}

.nm-intro__text {
  font-family: var(--nm-font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--nm-text-2);
  max-width: 840px;
  font-style: italic;
  letter-spacing: -0.01em;
}

/* ============================================================
   VENTURES SECTION
   ============================================================ */
.nm-ventures {
  background: var(--nm-cream);
  padding: var(--nm-section) 0;
}

.nm-ventures__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.nm-venture-card {
  position: relative;
  background: var(--nm-white);
  border: 1px solid var(--nm-border);
  border-radius: var(--nm-radius-lg);
  padding: 2.25rem 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  transition: transform 0.4s var(--nm-ease), box-shadow 0.4s var(--nm-ease), border-color 0.3s ease;
  cursor: default;
}

.nm-venture-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--nm-green), var(--nm-gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nm-venture-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(11, 17, 14, 0.1);
  border-color: rgba(34, 115, 63, 0.25);
}

.nm-venture-card:hover::before {
  opacity: 1;
}

.nm-venture-card--wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
}

.nm-venture-card--wide .nm-venture-card__body {
  flex: 1;
}

.nm-venture-card--wide .nm-venture-card__num {
  font-size: 4rem;
}

.nm-venture-card__num {
  font-family: var(--nm-font-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: rgba(26, 87, 51, 0.12);
  line-height: 1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.04em;
  transition: color 0.3s ease;
}

.nm-venture-card:hover .nm-venture-card__num {
  color: rgba(26, 87, 51, 0.22);
}

.nm-venture-card__tag {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nm-green-mid);
  background: rgba(26, 87, 51, 0.07);
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
}

.nm-venture-card__name {
  font-family: var(--nm-font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 600;
  color: var(--nm-text);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.nm-venture-card__desc {
  font-size: 0.95rem;
  color: var(--nm-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
}

.nm-venture-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--nm-green-mid);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color 0.2s ease, gap 0.2s ease;
  margin-top: auto;
}

.nm-venture-card__link:hover {
  border-color: var(--nm-green-mid);
  gap: 0.6rem;
  color: var(--nm-green);
}

.nm-venture-card__link svg {
  transition: transform 0.2s ease;
}

.nm-venture-card__link:hover svg {
  transform: translate(2px, -2px);
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.nm-stats {
  background: var(--nm-dark);
  padding: clamp(3.5rem, 7vw, 5rem) 0;
}

.nm-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.nm-stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.nm-stat__num {
  font-family: var(--nm-font-display);
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  font-weight: 700;
  color: var(--nm-cream);
  letter-spacing: -0.04em;
  line-height: 1;
}

.nm-stat__label {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(246, 244, 239, 0.4);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.nm-about {
  background: var(--nm-cream);
  padding: var(--nm-section) 0;
}

.nm-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.nm-about__content h2 {
  font-family: var(--nm-font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--nm-text);
  margin-bottom: 1.75rem;
}

.nm-about__text p {
  font-size: 1rem;
  color: var(--nm-text-2);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.nm-about__text p:last-child {
  margin-bottom: 0;
}

.nm-about__founder {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--nm-border);
}

.nm-founder {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nm-founder__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(26, 87, 51, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nm-green-mid);
  flex-shrink: 0;
  overflow: hidden;
}

.nm-founder__avatar svg {
  width: 100%;
  height: 100%;
}

.nm-founder__info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.nm-founder__info strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--nm-text);
}

.nm-founder__info span {
  font-size: 0.78rem;
  color: var(--nm-muted);
}

/* About visual — card stack */
.nm-about__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nm-about__card-stack {
  position: relative;
  width: 280px;
  height: 340px;
}

.nm-about__card {
  position: absolute;
  background: var(--nm-white);
  border: 1px solid var(--nm-border);
  border-radius: var(--nm-radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--nm-text);
  box-shadow: 0 4px 20px rgba(11, 17, 14, 0.06);
  white-space: nowrap;
  transition: transform 0.4s var(--nm-ease);
}

.nm-about__card span {
  font-size: 1.1rem;
}

.nm-about__card--1 { top: 0;    left: 0;   transform: rotate(-4deg); z-index: 5; }
.nm-about__card--2 { top: 50px; left: 20px; transform: rotate(1.5deg); z-index: 4; }
.nm-about__card--3 { top: 105px; left: 5px;  transform: rotate(-2deg); z-index: 3; }
.nm-about__card--4 { top: 160px; left: 25px; transform: rotate(2.5deg); z-index: 2; }
.nm-about__card--5 { top: 215px; left: 8px;  transform: rotate(-1deg); z-index: 1; }

.nm-about__card--1:hover,
.nm-about__card--2:hover,
.nm-about__card--3:hover,
.nm-about__card--4:hover,
.nm-about__card--5:hover {
  transform: rotate(0deg) translateX(10px) !important;
  z-index: 10;
  box-shadow: 0 10px 40px rgba(11,17,14,0.12);
}

/* ============================================================
   CREATOR SERVICES SECTION
   ============================================================ */
.nm-services {
  background: var(--nm-dark-2);
  padding: var(--nm-section) 0;
  color: var(--nm-cream);
}

.nm-services .nm-section-header h2 {
  color: var(--nm-cream);
}

.nm-services .nm-label {
  color: var(--nm-gold);
}

.nm-services .nm-section-desc {
  color: rgba(246, 244, 239, 0.55);
}

.nm-services__content {
  color: rgba(246, 244, 239, 0.75);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.nm-services__content h1,
.nm-services__content h2,
.nm-services__content h3 {
  color: var(--nm-cream);
  font-family: var(--nm-font-display);
}

.nm-services__content a {
  color: var(--nm-gold-light);
}

.nm-services__content img {
  border-radius: var(--nm-radius);
  max-width: 100%;
}

.nm-services__cta {
  margin-top: 2.5rem;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.nm-cta-banner {
  background: var(--nm-green);
  padding: clamp(3rem, 7vw, 5rem) 0;
  overflow: hidden;
}

.nm-cta-banner__inner {
  text-align: center;
}

.nm-cta-banner h2 {
  font-family: var(--nm-font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
  color: var(--nm-cream);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.nm-cta-banner p {
  font-size: 1.05rem;
  color: rgba(246, 244, 239, 0.7);
  margin-bottom: 2.5rem;
}

.nm-cta-banner__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.nm-cta-banner__pill {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--nm-cream);
  background: rgba(246, 244, 239, 0.12);
  border: 1px solid rgba(246, 244, 239, 0.2);
  padding: 0.55rem 1.25rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.nm-cta-banner__pill:hover {
  background: rgba(246, 244, 239, 0.22);
  border-color: rgba(246, 244, 239, 0.4);
  transform: translateY(-2px);
  color: var(--nm-white);
}

/* ============================================================
   FOOTER
   ============================================================ */
.nm-footer {
  background: var(--nm-dark);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem;
  color: rgba(246, 244, 239, 0.6);
}

.nm-footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--nm-border-dark);
  margin-bottom: 1.75rem;
}

.nm-footer__brand img {
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
  display: block;
}

.nm-footer__wordmark {
  display: block;
  font-family: var(--nm-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nm-cream);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.nm-footer__brand p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(246, 244, 239, 0.45);
  margin-bottom: 1.5rem;
}

.nm-footer__social {
  display: flex;
  gap: 0.75rem;
}

.nm-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(246, 244, 239, 0.6);
  text-decoration: none;
  transition: all 0.25s ease;
}

.nm-footer__social a:hover {
  background: var(--nm-green);
  border-color: var(--nm-green);
  color: var(--nm-white);
  transform: translateY(-2px);
}

.nm-footer__col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 244, 239, 0.35);
  margin-bottom: 1.25rem;
}

.nm-footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.nm-footer__col a {
  font-size: 0.9rem;
  color: rgba(246, 244, 239, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.4;
}

.nm-footer__col a:hover {
  color: var(--nm-cream);
}

.nm-footer__bottom {
  text-align: center;
}

.nm-footer__bottom p {
  font-size: 0.78rem;
  color: rgba(246, 244, 239, 0.28);
  line-height: 1.6;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 900px) {
  .nm-ventures__grid {
    grid-template-columns: 1fr;
  }

  .nm-venture-card--wide {
    flex-direction: column;
    gap: 0;
  }

  .nm-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .nm-about__grid {
    grid-template-columns: 1fr;
  }

  .nm-about__visual {
    display: none;
  }

  .nm-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .nm-footer__brand {
    grid-column: 1 / -1;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 640px) {
  .nm-nav__links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 999;
  }

  .nm-nav__links.is-open {
    display: flex;
  }

  .nm-nav__links a {
    font-size: 1.2rem;
    padding: 0.75rem 1.5rem;
    color: var(--nm-text);
  }

  .nm-nav__toggle {
    display: flex;
    position: relative;
    z-index: 1000;
  }

  .nm-nav__toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nm-nav__toggle.is-open span:nth-child(2) {
    opacity: 0;
  }
  .nm-nav__toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nm-hero__headline {
    font-size: clamp(3.5rem, 15vw, 5rem);
  }

  .nm-hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .nm-hero__actions .nm-btn {
    width: 100%;
    justify-content: center;
    max-width: 280px;
  }

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

  .nm-footer__grid {
    grid-template-columns: 1fr;
  }

  .nm-venture-card {
    padding: 1.75rem 1.5rem 1.5rem;
  }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .nm-hero__eyebrow,
  .nm-hero__line,
  .nm-hero__sub,
  .nm-hero__actions {
    opacity: 1;
    transform: none;
  }
}

:focus-visible {
  outline: 2px solid var(--nm-green-mid);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ============================================================
   RANK MATH SEO — ensure breadcrumbs, etc. look clean
   ============================================================ */
.nm-homepage .rank-math-breadcrumb {
  display: none;
}

/* ============================================================
   ASTRA HEADER LOGO SIZE OVERRIDE
   Forces logo bigger regardless of Astra Customizer limit
   ============================================================ */
.site-header .site-logo img,
.site-header .custom-logo,
.site-header .custom-logo-link img,
.ast-site-identity img,
#masthead img.custom-logo,
.main-header-bar .site-logo img,
.main-header-bar .custom-logo {
  height: 70px !important;
  width: auto !important;
  max-height: 70px !important;
  max-width: none !important;
}

/* Mobile — slightly smaller but still prominent */
@media (max-width: 768px) {
  .site-header .site-logo img,
  .site-header .custom-logo,
  .site-header .custom-logo-link img,
  .ast-site-identity img,
  #masthead img.custom-logo,
  .main-header-bar .site-logo img,
  .main-header-bar .custom-logo {
    height: 54px !important;
    max-height: 54px !important;
  }
}