/* ============================================================
   ITER — Global Stylesheet  v3  "Warm Editorial"
   ============================================================ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Jost:wght@300;400;500;600&display=swap');

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

/* ── VARIABLES ── */
:root {
  /* Palette */
  --ink:        #16100A;
  --terra:      #C4581E;
  --terra-dark: #9E4216;
  --terra-glow: rgba(196, 88, 30, 0.22);
  --ocean:      #1B4F72;
  --ocean-mid:  #1D5F88;
  --moss:       #2E4A2F;
  --cream:      #FAF6EE;
  --sand:       #F2EAD8;
  --sand-dark:  #E8DCC6;
  --gold:       #C8A84B;
  --gold-light: rgba(200, 168, 75, 0.18);
  --warm-gray:  #8A7968;
  --white:      #FFFFFF;

  /* Nav */
  --nav-bg:  #100C07;
  --nav-h:   70px;

  /* Typography */
  --display: 'Cormorant Garamond', Georgia, serif;
  --body:    'Jost', sans-serif;

  /* Easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── GRAIN OVERLAY — applied to body for global texture ── */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}


/* ============================================================
   NAVIGATION
   ============================================================ */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--nav-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.site-nav::after {
  content: '';
  position: absolute;
  bottom: 0; left: 3rem; right: 3rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,168,75,0.3), transparent);
}

.site-nav.scrolled {
  background: rgba(16, 12, 7, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 40px rgba(0,0,0,0.5);
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  gap: 0;
}

.nav-brand-icon { display: flex; align-items: center; }

.nav-logo-img {
  height: 50px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-spring);
}

.nav-brand:hover .nav-logo-img {
  opacity: 0.85;
  transform: scale(1.04);
}

.nav-brand-name { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-links li a {
  display: block;
  padding: 0.45rem 1.1rem;
  text-decoration: none;
  color: rgba(255,255,255,0.55);
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.25s ease;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 1.1rem; right: 1.1rem;
  height: 1px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out-expo);
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #ffffff;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--terra) !important;
  color: #ffffff !important;
  border-radius: 100px !important;
  padding: 0.55rem 1.4rem !important;
  margin-left: 1rem;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  text-transform: none !important;
  transition: background 0.25s ease, transform 0.25s var(--ease-spring), box-shadow 0.25s ease !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: #d96826 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(196,88,30,0.4) !important;
}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--ink);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 3rem; right: 3rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,168,75,0.25), transparent);
}

.footer-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0;
}

.footer-logo-img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.footer-brand:hover .footer-logo-img { opacity: 1; }
.footer-brand-name { display: none; }

.site-footer > span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.5px;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-nav a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.footer-nav a:hover { color: var(--gold); }


/* ============================================================
   SHARED UTILITIES
   ============================================================ */

.section-label {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header h2 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 300;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: var(--ink);
}

.section-header h2 em {
  font-style: italic;
  color: var(--terra);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--terra);
  color: white;
  border: none;
  padding: 1rem 2.2rem;
  border-radius: 100px;
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  background: var(--terra-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(196,88,30,0.38);
}

.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--warm-gray);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: color 0.25s ease, gap 0.3s var(--ease-out-expo);
}

.btn-ghost::after { content: '→'; transition: transform 0.3s var(--ease-spring); }
.btn-ghost:hover  { color: var(--ink); gap: 1rem; }
.btn-ghost:hover::after { transform: translateX(4px); }

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--terra);
  padding: 1rem 2.4rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.btn-white:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--nav-h);
  overflow: hidden;
  position: relative;
}

/* Warm ambient glow behind content */
.hero::before {
  content: '';
  position: absolute;
  top: -20%; left: -10%;
  width: 70vw; height: 70vw;
  background: radial-gradient(circle, rgba(196,88,30,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4.5rem 5rem 5.5rem;
  position: relative;
  z-index: 1;
}

.hero-logo-display {
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.1s var(--ease-out-expo) forwards;
}

.hero-logo-display img {
  max-width: 300px;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.14));
  transition: transform 0.6s var(--ease-spring);
}

.hero-logo-display img:hover {
  transform: scale(1.03) translateY(-4px);
}

.eyebrow {
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 1s 0.2s var(--ease-out-expo) forwards;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--terra);
  flex-shrink: 0;
}

h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 5.5vw, 5.8rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -1px;
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: fadeUp 1s 0.35s var(--ease-out-expo) forwards;
}

h1 em {
  font-style: italic;
  color: var(--terra);
}

.hero-sub {
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--warm-gray);
  max-width: 400px;
  margin-bottom: 2.4rem;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 1s 0.5s var(--ease-out-expo) forwards;
}

.hero-buttons {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  opacity: 0;
  animation: fadeUp 1s 0.65s var(--ease-out-expo) forwards;
}

/* Decorative horizontal rule below hero-left */
.hero-left::after {
  content: '';
  position: absolute;
  bottom: 3rem; left: 5.5rem;
  width: 80px; height: 1px;
  background: linear-gradient(90deg, var(--terra), transparent);
  opacity: 0;
  animation: fadeUp 1s 1s var(--ease-out-expo) forwards;
}

/* Hero right — full-bleed map panel */
.hero-right {
  position: relative;
  background: var(--ocean);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

/* Layered gradient atmosphere */
.hero-right::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 25% 70%, rgba(200,168,75,0.2), transparent 55%),
    radial-gradient(ellipse at 80% 15%, rgba(196,88,30,0.25), transparent 45%),
    radial-gradient(ellipse at 60% 90%, rgba(27,79,114,0.8), transparent 60%);
  z-index: 1;
}

/* Subtle grid */
.hero-right::after {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
}

.map-visual {
  position: relative; z-index: 3;
  width: 100%;
  flex: 1;
  display: flex; align-items: center; justify-content: center;
}

.world-grid { display: none; } /* handled by ::after */

.pins-container {
  position: relative;
  width: 380px; height: 380px;
}

.pin {
  position: absolute;
  display: flex; flex-direction: column; align-items: center;
  animation: floatPin 4s ease-in-out infinite;
}

.pin:nth-child(2) { animation-delay: -1.3s; }
.pin:nth-child(3) { animation-delay: -2.6s; }
.pin:nth-child(4) { animation-delay: -0.8s; }

.pin-avatar {
  width: 52px; height: 52px;
  border-radius: 50% 50% 50% 0%;
  border: 2.5px solid rgba(255,255,255,0.9);
  font-size: 1.35rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--terra);
  box-shadow: 0 8px 28px rgba(0,0,0,0.4), 0 0 0 6px rgba(196,88,30,0.15);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease-spring);
}

.pin:hover .pin-avatar {
  transform: rotate(45deg) scale(1.15);
}

.pin-avatar-inner { transform: rotate(-45deg); }

.pin-label {
  margin-top: 0.7rem;
  background: rgba(255,255,255,0.96);
  color: var(--ink);
  padding: 0.38rem 0.9rem;
  border-radius: 100px;
  font-size: 0.72rem; font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  letter-spacing: 0.3px;
}

.pin:nth-child(1) { top: 12%; left: 52%; }
.pin:nth-child(2) { top: 46%; left: 12%; }
.pin:nth-child(3) { top: 66%; left: 58%; }
.pin:nth-child(4) { top: 26%; left: 26%; }

.connection-line { display: none; } /* removing in favor of cleaner look */

.hero-stats {
  display: flex;
  gap: 1.2rem;
  z-index: 10;
  padding: 2rem 2.5rem 2.5rem;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 1s 1.1s var(--ease-out-expo) forwards;
}

.stat-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 1.1rem 1.6rem;
  text-align: center; color: white;
  transition: background 0.3s ease, transform 0.3s var(--ease-spring);
}

.stat-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}

.stat-num {
  font-family: var(--display);
  font-size: 2rem; font-weight: 400;
  display: block; line-height: 1;
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 0.68rem; opacity: 0.6;
  letter-spacing: 1px; text-transform: uppercase;
  display: block; margin-top: 0.3rem;
}


/* ============================================================
   FEATURES
   ============================================================ */

.features {
  padding: 9rem 5.5rem;
  background: var(--sand);
  position: relative;
  overflow: hidden;
}

/* Large ghost watermark */
.features::before {
  content: 'ITER';
  position: absolute;
  font-family: var(--display);
  font-size: 22vw;
  font-weight: 300;
  color: rgba(196,88,30,0.04);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -4px;
  line-height: 1;
}

/* Curved top edge */
.features::after {
  content: '';
  position: absolute;
  top: -60px; left: 0; right: 0;
  height: 120px;
  background: var(--cream);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  transform: scaleX(1.5);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative; z-index: 1;
}

.feature-card {
  background: var(--white);
  border-radius: 28px;
  padding: 2.6rem;
  border: 1px solid rgba(196,88,30,0.07);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,88,30,0.06), transparent 70%);
  transform: translate(30%, 30%);
  transition: transform 0.4s var(--ease-out-expo), opacity 0.4s ease;
  opacity: 0;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 56px rgba(22,16,10,0.1), 0 4px 16px rgba(22,16,10,0.06);
}

.feature-card:hover::before { opacity: 1; transform: translate(20%, 20%) scale(1.5); }

.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.6rem;
  position: relative;
}

.icon-terra {
  background: rgba(196,88,30,0.1);
  box-shadow: 0 4px 16px rgba(196,88,30,0.12);
}
.icon-ocean {
  background: rgba(27,79,114,0.1);
  box-shadow: 0 4px 16px rgba(27,79,114,0.12);
}
.icon-moss {
  background: rgba(46,74,47,0.1);
  box-shadow: 0 4px 16px rgba(46,74,47,0.12);
}

.feature-card h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--warm-gray);
  font-weight: 300;
}


/* ============================================================
   HOW IT WORKS
   ============================================================ */

.how {
  padding: 9rem 5.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  background: var(--cream);
}

.how-left > .section-label { margin-bottom: 2.5rem; }

.how-steps { display: flex; flex-direction: column; gap: 2.8rem; }

.step {
  display: flex;
  gap: 1.8rem;
  align-items: flex-start;
}

.step-num {
  font-family: var(--display);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(196,88,30,0.18);
  line-height: 0.9;
  min-width: 60px;
  letter-spacing: -2px;
  transition: color 0.3s ease;
}

.step:hover .step-num { color: var(--terra); }

.step h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  letter-spacing: -0.2px;
}

.step p {
  font-size: 0.9rem;
  color: var(--warm-gray);
  line-height: 1.8;
  font-weight: 300;
}

.how-visual {
  background: var(--ocean);
  border-radius: 36px;
  height: 480px;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 40px 80px rgba(22,16,10,0.18), 0 8px 24px rgba(22,16,10,0.1);
}

.how-visual::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(200,168,75,0.25), transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(196,88,30,0.2), transparent 50%);
}

.phone-mockup {
  position: relative; z-index: 2;
  width: 200px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 36px;
  padding: 10px;
  backdrop-filter: blur(12px);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

.phone-screen {
  background: var(--cream);
  border-radius: 28px;
  padding: 1rem;
  min-height: 340px;
}

.profile-row {
  display: flex; align-items: center; gap: 0.65rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(22,16,10,0.07);
}

.profile-pic {
  width: 32px; height: 32px;
  border-radius: 50%; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--sand);
}

.profile-name { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2px; }
.profile-dest { font-size: 0.6rem; color: var(--terra); margin-top: 0.1rem; }

.post-img {
  width: 100%; height: 95px;
  background: linear-gradient(135deg, var(--ocean), var(--moss));
  border-radius: 14px;
  margin-bottom: 0.65rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}

.post-caption {
  font-size: 0.6rem;
  color: var(--warm-gray);
  line-height: 1.6;
  font-weight: 300;
}

.join-btn {
  width: 100%; margin-top: 0.8rem;
  background: var(--terra); color: white;
  border: none; border-radius: 100px;
  padding: 0.5rem;
  font-size: 0.63rem; font-weight: 600;
  cursor: pointer; letter-spacing: 0.3px;
  font-family: var(--body);
  transition: background 0.2s ease;
}

.join-btn:hover { background: var(--terra-dark); }


/* ============================================================
   ABOUT — PAGE HERO
   ============================================================ */

.page-hero {
  padding: 140px 5.5rem 100px;
  background: var(--ocean);
  position: relative; overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(196,88,30,0.3), transparent 50%),
    radial-gradient(ellipse at 85% 10%, rgba(200,168,75,0.18), transparent 45%);
}

.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Wave clip on bottom edge of page-hero */
.page-hero {
  clip-path: ellipse(120% 100% at 50% 0%);
  padding-bottom: 130px;
}

.page-hero-inner {
  position: relative; z-index: 2;
  max-width: 700px;
}

.page-hero .eyebrow {
  color: var(--gold);
  opacity: 0;
  animation: fadeUp 1s 0.2s var(--ease-out-expo) forwards;
}

.page-hero .eyebrow::before { background: var(--gold); }

.page-hero h1 {
  color: white;
  opacity: 0;
  animation: fadeUp 1s 0.35s var(--ease-out-expo) forwards;
}

.page-hero h1 em { font-style: italic; color: var(--gold); }

.page-hero p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 1s 0.5s var(--ease-out-expo) forwards;
}


/* MISSION */
.mission {
  padding: 9rem 5.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.mission-text .section-label { margin-bottom: 1rem; }

.mission-text h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 1.8rem;
}

.mission-text h2 em { font-style: italic; color: var(--terra); }

.mission-text p {
  font-size: 0.97rem;
  line-height: 1.9;
  color: var(--warm-gray);
  margin-bottom: 1.2rem;
  font-weight: 300;
}

.mission-visual {
  background: var(--sand);
  border-radius: 36px;
  padding: 3.5rem;
  position: relative; overflow: hidden;
  box-shadow: 0 2px 40px rgba(22,16,10,0.06);
}

.mission-visual::before {
  content: '\201C';
  font-family: var(--display);
  font-size: 16rem; line-height: 0.7;
  color: rgba(196,88,30,0.07);
  position: absolute; top: 0.5rem; left: 1.5rem;
  pointer-events: none;
}

.quote-text {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 1.8rem;
  position: relative; z-index: 1;
}

.quote-author {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--terra);
  letter-spacing: 2px;
  text-transform: uppercase;
}


/* VALUES */
.values {
  padding: 9rem 5.5rem;
  background: var(--sand);
  position: relative; overflow: hidden;
}

.values::before {
  content: '';
  position: absolute;
  top: -80px; left: 0; right: 0;
  height: 160px;
  background: var(--cream);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  transform: scaleX(1.5);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  position: relative; z-index: 1;
}

.value-card {
  background: white;
  border-radius: 28px;
  padding: 2.6rem;
  border: 1px solid rgba(196,88,30,0.07);
  display: flex; gap: 1.8rem; align-items: flex-start;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(22,16,10,0.08);
}

.value-num {
  font-family: var(--display);
  font-size: 2.8rem; font-weight: 300;
  color: rgba(196,88,30,0.15);
  line-height: 1; min-width: 52px;
  letter-spacing: -2px;
  transition: color 0.3s ease;
}

.value-card:hover .value-num { color: rgba(196,88,30,0.4); }

.value-card h3 {
  font-family: var(--display);
  font-size: 1.3rem; font-weight: 400;
  margin-bottom: 0.65rem; letter-spacing: -0.2px;
}

.value-card p {
  font-size: 0.9rem; line-height: 1.8;
  color: var(--warm-gray); font-weight: 300;
}


/* TEAM */
.team { padding: 9rem 5.5rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.team-card {
  text-align: center;
}

.team-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.6rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  position: relative;
  transition: transform 0.4s var(--ease-spring);
}

.team-card:hover .team-avatar { transform: scale(1.08) translateY(-4px); }

.team-avatar::after {
  content: '';
  position: absolute; inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--terra);
  opacity: 0.5;
  transition: opacity 0.3s ease, inset 0.3s var(--ease-spring);
}

.team-card:hover .team-avatar::after { opacity: 1; inset: -8px; }

.team-name {
  font-family: var(--display);
  font-size: 1.3rem; font-weight: 400;
  margin-bottom: 0.35rem; letter-spacing: -0.2px;
}
.team-role {
  font-size: 0.75rem; color: var(--terra); font-weight: 500;
  margin-bottom: 0.9rem; letter-spacing: 1.5px; text-transform: uppercase;
}
.team-bio {
  font-size: 0.88rem; color: var(--warm-gray);
  line-height: 1.8; font-weight: 300;
}


/* CTA STRIP */
.cta-strip {
  background: var(--terra);
  padding: 6rem 5.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 3rem;
  position: relative; overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(255,255,255,0.1), transparent 50%),
    radial-gradient(ellipse at 90% 50%, rgba(0,0,0,0.1), transparent 50%);
}

.cta-strip::after {
  content: 'GO';
  position: absolute;
  font-family: var(--display);
  font-size: 22vw; font-weight: 300;
  color: rgba(255,255,255,0.04);
  right: -2vw; top: 50%;
  transform: translateY(-50%);
  white-space: nowrap; pointer-events: none;
  letter-spacing: -8px;
}

.cta-strip h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: white; letter-spacing: -1px; line-height: 1.15;
  position: relative; z-index: 1;
}

.cta-strip h2 em { font-style: italic; opacity: 0.8; }

.cta-strip .btn-white { position: relative; z-index: 1; flex-shrink: 0; }


/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--nav-h);
}

.contact-left {
  background: var(--ocean);
  padding: 6rem 5rem;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}

.contact-left::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 35%, rgba(196,88,30,0.3), transparent 50%),
    radial-gradient(ellipse at 85% 75%, rgba(200,168,75,0.18), transparent 50%);
}

.contact-left::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

.contact-left-inner { position: relative; z-index: 2; }

.contact-left .eyebrow {
  color: var(--gold); margin-bottom: 1.2rem;
  opacity: 0; animation: fadeUp 1s 0.2s var(--ease-out-expo) forwards;
}

.contact-left .eyebrow::before { background: var(--gold); }

.contact-left h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.05; letter-spacing: -1px;
  color: white; margin-bottom: 1.4rem;
  opacity: 0; animation: fadeUp 1s 0.35s var(--ease-out-expo) forwards;
}

.contact-left h1 em { font-style: italic; color: var(--gold); }

.contact-intro {
  font-size: 0.97rem; line-height: 1.85;
  color: rgba(255,255,255,0.55); max-width: 380px;
  margin-bottom: 3rem; font-weight: 300;
  opacity: 0; animation: fadeUp 1s 0.5s var(--ease-out-expo) forwards;
}

.contact-methods {
  display: flex; flex-direction: column; gap: 1.6rem;
  opacity: 0; animation: fadeUp 1s 0.65s var(--ease-out-expo) forwards;
}

.contact-method { display: flex; align-items: center; gap: 1rem; }

.method-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
  transition: background 0.3s ease;
}

.contact-method:hover .method-icon { background: rgba(255,255,255,0.14); }

.method-label {
  font-size: 0.66rem; color: rgba(255,255,255,0.35);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 0.2rem;
}
.method-value { font-size: 0.95rem; color: white; font-weight: 400; }

.social-row {
  display: flex; gap: 0.75rem; margin-top: 2.8rem;
  opacity: 0; animation: fadeUp 1s 0.8s var(--ease-out-expo) forwards;
}

.social-btn {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; text-decoration: none;
  transition: background 0.25s ease, transform 0.3s var(--ease-spring), border-color 0.25s ease;
}

.social-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-3px);
}

/* Contact form */
.contact-right {
  padding: 6rem 5rem;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--cream);
}

.contact-right .section-label { margin-bottom: 0.8rem; }

.contact-right h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  letter-spacing: -1px; line-height: 1.1;
  margin-bottom: 2.5rem;
}

.contact-right h2 em { font-style: italic; color: var(--terra); }

.contact-form { display: flex; flex-direction: column; gap: 1.3rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

.form-group { display: flex; flex-direction: column; gap: 0.45rem; }

.form-group label {
  font-size: 0.72rem; font-weight: 500;
  color: var(--warm-gray); letter-spacing: 1px; text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  background: white;
  border: 1.5px solid rgba(196,88,30,0.12);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  color: var(--ink);
  font-family: var(--body);
  font-size: 0.93rem;
  font-weight: 300;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none; width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(22,16,10,0.25); }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 4px rgba(196,88,30,0.07);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.pill-group { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* All pill styling lives in contact.html <style> block */

.submit-btn {
  background: var(--terra); color: white;
  border: none; border-radius: 100px;
  padding: 1rem 2.6rem;
  font-family: var(--body);
  font-size: 0.92rem; font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
  align-self: flex-start; margin-top: 0.5rem;
  letter-spacing: 0.3px;
}

.submit-btn:hover {
  background: var(--terra-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(196,88,30,0.38);
}

.success-panel {
  display: none; text-align: center;
  padding: 4rem 2rem;
}

.success-icon { font-size: 3.5rem; margin-bottom: 1.2rem; }

.success-panel h3 {
  font-family: var(--display);
  font-size: 2rem; font-weight: 300;
  margin-bottom: 0.8rem;
}

.success-panel p {
  color: var(--warm-gray);
  font-size: 0.95rem; line-height: 1.8; font-weight: 300;
}


/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes floatPin {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-12px) rotate(0.5deg); }
  66%       { transform: translateY(-6px) rotate(-0.5deg); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}


/* ============================================================
   NAV SCROLLED + MOBILE
   ============================================================ */

.nav-burger {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: white;
  font-size: 1.2rem;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s ease;
}
.nav-burger:hover { background: rgba(255,255,255,0.08); }

.nav-links.nav-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(16,12,7,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 1.2rem 1.8rem;
  gap: 0.3rem;
  z-index: 999;
}

.nav-links.nav-open li a {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  letter-spacing: 2px;
}

.nav-links.nav-open li:last-child a { border-bottom: none; }
.nav-links.nav-open .nav-cta { margin-left: 0; text-align: center; margin-top: 0.5rem; }


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  .hero-left  { padding: 5rem 3.5rem 5rem 4rem; }
  .features, .how, .mission, .values, .team { padding: 7rem 4rem; }
  .contact-left, .contact-right { padding: 5rem 4rem; }
  .cta-strip  { padding: 5rem 4rem; }
}

@media (max-width: 900px) {
  .site-nav { padding: 0 1.5rem; }
  .nav-burger { display: block; }
  .nav-links  { display: none; }

  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 4rem 2rem 3rem; }
  .hero-right { height: 55vh; }
  .hero-left::after { display: none; }

  .features, .how, .mission, .values, .team { padding: 6rem 2rem; }
  .contact-left, .contact-right { padding: 5rem 2rem; }
  .cta-strip { flex-direction: column; text-align: center; padding: 4rem 2rem; }

  .features-grid { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; }
  .mission { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact-page { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .page-hero { clip-path: none; padding: 120px 2rem 80px; }

  .site-footer { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 560px) {
  h1 { font-size: 2.8rem; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; align-items: center; gap: 0.8rem; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
}
