/* ============================================================
   THE NORMAN SHULEVITZ FOUNDATION — style.css
   ============================================================ */

/* ── Custom Fonts ─────────────────────────────────────────── */
@font-face {
  font-family: 'FFF Acid Grotesk';
  src: url('fonts/FFFAcidGrotesk-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Advercase';
  src: url('fonts/Advercase-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Advercase';
  src: url('fonts/Advercase-Bold.otf') format('opentype'),
       url('fonts/Advercase-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --teal:        #0BEACB;
  --teal-hover:  #42FCE2;
  --dark-navy:   #1D2B38;
  --nav-text:    #6F7A83;
  --info-bg:     #F2F1EE;
  --team-bg:     #F2F1EE;
  --contact-bg:  #1E2A36;
  --font-main:   'FFF Acid Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-serif:  'Advercase', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: #fff;
  color: var(--dark-navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
ul  { list-style: none; }
a   { text-decoration: none; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 82px;
  width: auto;
}

/* Nav right group */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 10px 20px;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 400;
  color: var(--nav-text);
  padding: 5px 14px;
  border-radius: 50px;
  transition: color 0.22s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--dark-navy);
}

.btn-contact-nav {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 400;
  color: var(--dark-navy);
  background: var(--teal);
  border-radius: 50px;
  padding: 12px 26px;
  white-space: nowrap;
  transition: background 0.22s ease;
}

.btn-contact-nav:hover {
  background: var(--teal-hover);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Dark cinematic gradient background mimicking the starry mountain scene */
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, #1a2d3e 0%, transparent 60%),
    radial-gradient(ellipse at 30% 80%, #0d1c27 0%, transparent 55%),
    linear-gradient(160deg, #0f1f2e 0%, #162433 40%, #1c2f3e 70%, #0a1520 100%);
}

/* Subtle star/light streaks overlay using CSS */
.hero-bg-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(125deg, transparent 30%, rgba(200,230,255,0.04) 31%, transparent 32%),
    linear-gradient(118deg, transparent 45%, rgba(200,230,255,0.03) 46%, transparent 47%),
    linear-gradient(132deg, transparent 55%, rgba(200,230,255,0.04) 56%, transparent 57%),
    linear-gradient(140deg, transparent 20%, rgba(200,230,255,0.02) 21%, transparent 22%),
    linear-gradient(110deg, transparent 60%, rgba(200,230,255,0.03) 61%, transparent 62%);
}

/* Norman hero image — fills entire banner, centered */
.hero-person {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Bottom fade */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent 0%, rgba(10, 20, 30, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px 90px;
}

.hero-headline {
  font-family: var(--font-main);
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  color: #ffffff;
  max-width: 680px;
}

.hero-teal {
  color: var(--teal);
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.section {
  width: 100%;
  position: relative;
}

.section-label {
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--nav-text);
  text-transform: uppercase;
  margin-bottom: 50px;
}

.section-label-light {
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   INFORMATION SECTION
   ============================================================ */
.section-information {
  background: var(--info-bg);
  padding: 88px 60px 110px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
}

/* Left */
.info-headline {
  font-family: var(--font-main);
  font-size: clamp(28px, 3.2vw, 50px);
  font-weight: 400;
  line-height: 1.14;
  color: var(--dark-navy);
  margin-bottom: 38px;
}

.info-body {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.72;
  color: #3e4e5c;
  margin-bottom: 22px;
  max-width: 500px;
}

.info-photos {
  margin-top: 52px;
}

.info-portraits-combined {
  max-width: 420px;
  height: auto;
  /* slight drop shadow to match the design floating look */
  filter: drop-shadow(4px 6px 14px rgba(0,0,0,0.18));
}

/* Right */
.info-right {
  padding-top: 4px;
}

.norman-illustration {
  width: 96px;
  height: auto;
  margin-bottom: 26px;
}

.who-was-title {
  font-family: var(--font-main);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--dark-navy);
  margin-bottom: 26px;
}

/* ============================================================
   MISSION SECTION
   ============================================================ */
.section-mission {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.mission-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}

/* Background photo — positioned center-right, brighter, smooth left fade */
.mission-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mission-bg-img {
  width: 80%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  position: absolute;
  right: 0;
  top: 0;
  filter: brightness(1.2);
}

/* Smooth fade from solid #1D2B38 on left into transparent on right */
.mission-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #1D2B38 0%,
    #1D2B38 20%,
    rgba(29, 43, 56, 0.95) 32%,
    rgba(29, 43, 56, 0.60) 50%,
    rgba(29, 43, 56, 0.15) 72%,
    rgba(29, 43, 56, 0.05) 100%
  );
}

/* Content on left */
.mission-content {
  position: relative;
  z-index: 2;
  padding: 88px 60px 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mission-headline {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.08;
  color: #ffffff;
  margin-bottom: 30px;
  letter-spacing: -0.01em;
}

.mission-body {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 430px;
  margin-bottom: 34px;
}

.mission-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.mission-list li {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  gap: 13px;
}

.check-icon {
  display: inline-block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
.section-team {
  background: var(--team-bg);
  padding: 88px 60px 110px;
}

.team-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 70px;
}

.team-headline {
  font-family: var(--font-main);
  font-size: clamp(22px, 2.6vw, 38px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--dark-navy);
}

.team-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  padding-bottom: 4px;
}

.team-divider {
  width: 100%;
  border: none;
  border-top: 1px solid rgba(29, 43, 56, 0.22);
}

.team-tagline {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 400;
  color: var(--dark-navy);
  text-align: right;
}

.team-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.team-card-img-wrap {
  border-radius: 14px;
  overflow: hidden;
  /* Each image already has teal bg baked in */
  background: var(--teal);
  aspect-ratio: 3 / 4;
}

.team-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.team-member-name {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 400;
  color: var(--dark-navy);
  line-height: 1.4;
}

.team-member-role {
  color: #7C7C7C;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.section-contact {
  background: var(--contact-bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  overflow: hidden;
}

.contact-left {
  padding: 88px 60px 70px;
  display: flex;
  flex-direction: column;
}

.contact-headline {
  font-family: var(--font-main);
  font-size: clamp(22px, 2.6vw, 38px);
  font-weight: 400;
  line-height: 1.25;
  color: #ffffff;
  margin-top: 16px;
  margin-bottom: 44px;
}

.btn-contact-outline {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 400;
  color: var(--teal);
  border: 2px solid var(--teal);
  border-radius: 50px;
  padding: 13px 34px;
  width: fit-content;
  transition: background 0.24s ease, color 0.24s ease;
  margin-bottom: 60px;
}

.btn-contact-outline:hover {
  background: var(--teal);
  color: var(--dark-navy);
}

.contact-footer {
  margin-top: auto;
}

.contact-footer p {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.9;
}

/* Right — globe illustration */
.contact-right {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0;
  overflow: hidden;
}

.contact-globe {
  width: 80%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  /* nudge it so it crops at bottom like the design */
  margin-bottom: -8%;
  margin-right: 4%;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-person {
    left: 50%;
    transform: translateX(-10%);
    height: 88%;
  }
}

@media (max-width: 900px) {
  .navbar {
    padding: 14px 24px;
  }
  .nav-logo-img { height: 60px; }
  .nav-links { padding: 8px 14px; }
  .nav-link { font-size: 13px; padding: 4px 10px; }
  .btn-contact-nav { font-size: 13px; padding: 10px 20px; }

  .hero-content { padding: 0 32px 64px; }

  .section-information,
  .section-team { padding: 64px 32px 80px; }

  .info-grid { grid-template-columns: 1fr; gap: 52px; }

  .mission-inner { grid-template-columns: 1fr; }
  .mission-content { padding: 64px 32px 72px; min-height: 600px; }

  .team-header { grid-template-columns: 1fr; gap: 24px; }
  .team-header-right { align-items: flex-start; }
  .team-tagline { text-align: left; }
  .team-cards { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .section-contact { grid-template-columns: 1fr; }
  .contact-left { padding: 64px 32px 48px; }
  .contact-right { justify-content: center; max-height: 280px; padding: 0 32px 0; }
  .contact-globe { width: 55%; margin-bottom: -5%; margin-right: 0; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero-headline { font-size: 30px; }
  .hero-person { left: 50%; transform: translateX(0%); height: 80%; }
  .team-cards { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .info-portraits-combined { max-width: 100%; }
}
