/* ==========================================================================
   EYMA AI - COMPLETE PREMIUM UI STYLESHEET
   ========================================================================== */

:root {
  --cream:#FAF7F2;--sand:#F5F0E8;--sand-dark:#EDE6D6;
  --ink:#1A1714;--ink-soft:#3D3830;--ink-muted:#7A7165;
  --amber:#C17F3A;--amber-light:#E8A84E;--amber-pale:#FBF0DC;
  --forest:#2C4A3E;--forest-light:#3D6B5C;
  --border:#DDD5C4;--border-light:#EDE8DF;--white:#FFFFFF;
  
  --r-sm:8px;--r-md:12px;--r-lg:16px;--r-xl:24px;
  
  /* Premium Layered Shadows for Depth */
  --sh-sm: 0 2px 8px rgba(26,23,20,.04), 0 1px 2px rgba(26,23,20,.02);
  --sh-md: 0 8px 24px rgba(26,23,20,.06), 0 2px 8px rgba(26,23,20,.04);
  --sh-lg: 0 20px 48px rgba(26,23,20,.08), 0 8px 24px rgba(26,23,20,.04);
  --sh-xl: 0 32px 80px rgba(26,23,20,.12), 0 16px 40px rgba(26,23,20,.06);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

/* Custom Minimalist Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-muted); }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::after {
  content:''; position:fixed; inset:0; 
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events:none; z-index:9999; opacity:.35;
}

h1,h2,h3,h4 { font-family:'Playfair Display', serif; line-height:1.15; letter-spacing: -0.02em; }
h1 { font-size:clamp(2.4rem, 5vw, 3.8rem); font-weight:700; }
h2 { font-size:clamp(1.7rem, 3vw, 2.4rem); font-weight:600; }
h3 { font-size:1.15rem; font-weight:600; letter-spacing: -0.01em; }
p { color:var(--ink-soft); }
a { text-decoration:none; color:inherit; }
img { max-width:100%; display:block; }
button { font-family:'DM Sans', sans-serif; cursor:pointer; }
input,select,textarea { font-family:'DM Sans', sans-serif; }
section { padding:clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5rem); }
.container { max-width:1120px; margin:0 auto; width:100%; }

/* ─── NAV (GLASSMORPHISM) ─── */

/* ==========================================
   MASTER NAVIGATION BAR & MOBILE MENU
========================================== */

nav {
  position: fixed; 
  top: 0;
  left: 0;         
  
  /* THE FIX: !important forces Vite to keep these exact values during the build */
  z-index: 2000 !important;
  
  /* Make sure you have a hex code fallback (#fcfaf5) in case the variable fails! */
  background-color: var(--cream, #fcfaf5) !important; 
  
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 5%;
  box-sizing: border-box;
}
/* Because 'fixed' makes the nav float, we need to push the rest of the website down slightly so the top doesn't hide behind the navbar! */
body {
  padding-top: 70px; 
}

/* Glassmorphism Effect when scrolled */
#nav.scrolled {
  background: rgba(250, 247, 242, 0.75); 
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--sh-sm, 0 4px 6px rgba(0,0,0,0.05)); 
  border-color: rgba(26, 23, 20, 0.05);
}

/* 2. Logo Styles */
.nav-logo { display:flex; align-items:center; gap:10px; font-family:'Playfair Display',serif; font-size:1.2rem; font-weight:700; color:var(--ink); text-decoration: none;}
.nav-logo span { color: var(--amber); }
.custom-logo { height: 40px; width: auto; display: block; border-radius: 6px; }

/* 3. Desktop Links */
.nav-links { display:flex; align-items:center; gap:2rem; list-style:none; margin:0; padding:0; }
.nav-links a { font-size:.875rem; font-weight:500; color:var(--ink-muted); transition:color .2s; text-decoration: none;}
.nav-links a:hover, .nav-links a.active { color:var(--ink); }

/* 4. Mobile Hamburger Button */
.nav-mob {
  display: none; /* Hidden on desktop! */
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
  z-index: 2000; /* Must stay on top of the mobile menu */
}
.nav-mob span { display:block; width:25px; height:2px; background:var(--ink); border-radius:2px; transition:all .3s; }

/* Hamburger Animation (Turns into an X) */
.nav-mob.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mob.open span:nth-child(2) { opacity: 0; }
.nav-mob.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 5. Mobile Dropdown Menu (Floating under hamburger) */
#mob-menu {
  display: none;
  position: fixed; /* Floats relative to the nav bar */
  top: 80px; /* Pushes it exactly below the bottom edge of the nav */
  right: 5%; /* Aligns it with the right side of your screen */
  background: var(--cream, #faf7f2);
  z-index: 1900;
  flex-direction: column;
  align-items: flex-end; /* Aligns the text nicely to the right */
  padding: 20px 25px;
  gap: 1.5rem;
  border-radius: 12px; /* Nice rounded corners */
  box-shadow: 0 10px 25px rgba(0,0,0,0.1); /* Adds a soft drop shadow */
  border: 1px solid rgba(0,0,0,0.05);
}

#mob-menu.open { display: flex; }

/* Make the text slightly smaller for a dropdown box */
/* 5. Mobile Dropdown Menu (Floating under hamburger) */
#mob-menu {
  display: none;
  position: fixed; 
  top: 80px; 
  right: 5%;
  
  /* THE COLOR FIX: Setting it to pure white to match your nav bar */
  background: #ffffff; 
  
  z-index: 1900;
  flex-direction: column;
  align-items: flex-end;
  
  /* THE SPACING FIX: Tighter padding so the box isn't massive */
  padding: 15px 20px;
  gap: 1rem; 
  
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1); /* Soft shadow */
  border: 1px solid rgba(0,0,0,0.05);
}

#mob-menu.open { display: flex; }

/* THE SIZE FIX: Making the text smaller and cleaner */
/* 5. Mobile Dropdown Menu (Floating under hamburger) */
#mob-menu {
  display: none;
  position: fixed; 
  top: 80px; 
  right: 5%;
  
  /* THE COLOR FIX: Setting it to pure white to match your nav bar */
  background: #ffffff; 
  
  z-index: 1900;
  flex-direction: column;
  align-items: flex-end;
  
  /* THE SPACING FIX: Tighter padding so the box isn't massive */
  padding: 15px 20px;
  gap: 1rem; 
  
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1); /* Soft shadow */
  border: 1px solid rgba(0,0,0,0.05);
}

#mob-menu.open { display: flex; }

/* THE SIZE FIX: Making the text smaller and cleaner */
#mob-menu a { 
  font-family: 'DM Sans', sans-serif;
  font-size: 16px; /* Shrunk down from 2rem to a standard size */
  font-weight: 500; 
  color: #111111; 
  opacity: 0; 
  transform: translateX(20px); 
  animation: mobIn .3s forwards; 
  text-decoration: none;
}
#mob-menu a:nth-child(1){animation-delay:.05s}
#mob-menu a:nth-child(2){animation-delay:.1s}
#mob-menu a:nth-child(3){animation-delay:.15s}
#mob-menu a:nth-child(4){animation-delay:.2s}

@keyframes mobIn{to{opacity:1;transform:none}}

/* 6. THE RESPONSIVE SWITCH */
@media (max-width: 768px) {
  .nav-links { display: none; } /* Hide the desktop links */
  .nav-mob { display: flex; }   /* Show the hamburger */
}

/* ─── PAGES & UTILS ─── */
.page { display:none; padding-top:68px; }
.page.active { display:block; }
.section-label { font-family:'DM Mono',monospace; font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--amber); display:flex; align-items:center; gap:10px; margin-bottom:1rem; }
.section-label::before { content:'—'; opacity:.6; }

/* ─── TACTILE BUTTONS ─── */
.btn, .nav-cta {
  display:inline-flex; align-items:center; gap:8px; padding:.8rem 1.75rem; 
  border-radius:var(--r-sm); font-size:.9rem; font-weight:500; border:none; 
  transition:
  background-color .2s ease,
  color .2s ease,
  border-color .2s ease,
  box-shadow .2s ease;
  cursor:pointer; position: relative;
}
.nav-cta { padding:.5rem 1.25rem; }
.btn-primary, .nav-cta {
  background:var(--forest); color:var(--white)!important;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.2), 0 4px 12px rgba(44,74,62,.2);
}
.btn-primary:hover, .nav-cta:hover {
  background:var(--forest-light)!important; 
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), 0 8px 24px rgba(44,74,62,.3);
}
.btn-secondary {
  background:transparent; color:var(--ink); border:1.5px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.btn-secondary:hover { border-color:var(--ink-soft); background:var(--white); box-shadow: var(--sh-md); }
.btn-amber {
  background:var(--amber); color:var(--white);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.25), 0 4px 12px rgba(193,127,58,.25);
}
.btn-amber:hover {
  background:var(--amber-light); 
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), 0 8px 24px rgba(193,127,58,.35);
}

/* ─── HOME: HERO ─── */
#hero-section { min-height:100vh; display:flex; align-items:center; position:relative; overflow:hidden; padding-top:80px; background:var(--cream); }
.hero-grid { position:absolute; inset:0; background-image:radial-gradient(circle,#c8b89a 1px,transparent 1px); background-size:32px 32px; opacity:.4; mask-image:radial-gradient(ellipse 80% 80% at 50% 50%,black 30%,transparent 100%); }
.hero-blob { position:absolute; border-radius:50%; pointer-events:none; filter:blur(90px); }
.blob1 { width:520px; height:520px; background:rgba(193,127,58,.12); top:-5%; right:-8%; animation:blobDrift 22s ease-in-out infinite alternate; }
.blob2 { width:420px; height:420px; background:rgba(44,74,62,.1); bottom:0; left:-10%; animation:blobDrift2 28s ease-in-out infinite alternate; }
@keyframes blobDrift { 0% {transform:translate(0,0) scale(1)} 100% {transform:translate(-30px,40px) scale(1.08)} }
@keyframes blobDrift2 { 0% {transform:translate(0,0) scale(1)} 100% {transform:translate(40px,-30px) scale(1.1)} }

.hero-inner { position:relative; z-index:1; max-width:1120px; margin:0 auto; width:100%; display:grid; grid-template-columns:1.1fr .9fr; gap:4rem; align-items:center; padding:0 clamp(1.5rem,5vw,5rem); }
.hero-badge { display:inline-flex; align-items:center; gap:8px; background:var(--white); border:1px solid rgba(193,127,58,.3); border-radius:100px; padding:.35rem 1rem .35rem .5rem; font-size:.78rem; font-weight:600; color:var(--amber); margin-bottom:1.5rem; box-shadow: var(--sh-sm); }
.hero-pulse { width:8px; height:8px; background:var(--amber); border-radius:50%; animation:pulse 2s infinite; box-shadow: 0 0 10px rgba(193,127,58,0.5); }
@keyframes pulse { 0%,100% {transform:scale(1); opacity:1} 50% {transform:scale(.75); opacity:.6} }

.hero-left h1 { margin-bottom:1.5rem; color:var(--ink); }
.hero-left h1 .typed-line { color:var(--amber); font-style:italic; display:inline-block; }
.cursor { display:inline-block; width:3px; height:.9em; background:var(--amber); margin-left:4px; vertical-align:middle; animation:blink .75s infinite; }
@keyframes blink { 0%,100% {opacity:1} 50% {opacity:0} }
.hero-sub { font-size:1.05rem; line-height:1.8; color:var(--ink-soft); margin-bottom:2.5rem; max-width:480px; }
.hero-actions { display:flex; gap:1rem; flex-wrap:wrap; margin-bottom:1.75rem; }
.hero-trust { display:flex; gap:1.25rem; flex-wrap:wrap; }
.trust-item { display:flex; align-items:center; gap:6px; font-size:.8rem; font-weight:600; color:var(--ink-muted); }
.trust-item::before { content:'✓'; color:var(--forest); font-weight:700; }

.hero-card{background:var(--white);border:1px solid var(--border);border-radius:var(--r-lg);padding:1.75rem;box-shadow:var(--sh-lg);position:relative;}
.hero-card::before{content:'';position:absolute;top:-1px;left:1.5rem;right:1.5rem;height:3px;background:linear-gradient(90deg,var(--amber),var(--forest));border-radius:0 0 4px 4px}
.hero-card-title{font-family:'DM Mono',monospace;font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-muted);margin-bottom:1.25rem}
.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--border-light);border-radius:10px;overflow:hidden;margin-bottom:1.5rem}
.stat-cell{background:var(--cream);padding:1.1rem;text-align:center}
.stat-num{font-family:'Playfair Display',serif;font-size:1.8rem;font-weight:700;color:var(--ink);display:block}
.stat-lbl{font-size:.72rem;color:var(--ink-muted);margin-top:2px}
.domain-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:1.25rem}
.dtag{font-size:.75rem;font-weight:500;padding:.3rem .75rem;border-radius:20px;border:1px solid var(--border)}
.dtag.active{background:var(--forest);color:var(--white);border-color:var(--forest)}
.dtag.muted{background:var(--sand);color:var(--ink-soft)}

/* ─── MARQUEE ─── */
.marquee-bar { background:var(--forest); padding:.9rem 0; overflow:hidden; white-space:nowrap; box-shadow: inset 0 2px 10px rgba(0,0,0,0.1); }
.marquee-track { display:inline-block; animation:marquee 38s linear infinite; }
.marquee-track:hover { animation-play-state:paused; }
.marquee-track span { font-family:'DM Mono',monospace; font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--amber); padding:0 2.5rem; }
@keyframes marquee { 0% {transform:translateX(0)} 100% {transform:translateX(-50%)} }

/* ─── TRUST BAR ─── */
.trust-bar { background: rgba(255,255,255,0.6); backdrop-filter: blur(10px); border-top:1px solid var(--border-light); border-bottom:1px solid var(--border-light); padding:1.5rem clamp(1.5rem,5vw,5rem); }
.trust-bar-inner { max-width:1120px; margin:0 auto; display:flex; align-items:center; justify-content:center; gap:2.5rem; flex-wrap:wrap; }
.tbar-item { display:flex; align-items:center; gap:8px; font-size:.82rem; font-weight:600; color:var(--ink-muted); }

/* ─── HOME: BENTO GRID (SERVICES) ─── */
#services-home { background: var(--cream); }
.services-header { text-align:center; margin-bottom:4rem; max-width:620px; margin-left:auto; margin-right:auto; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.bento-card {
  background: var(--white); border: 1px solid transparent; border-radius: 1.5rem;
  padding: 2.25rem; position: relative; overflow: hidden; display: flex; flex-direction: column;
  align-items: flex-start; box-shadow: var(--sh-sm);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.bento-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; 
  background: radial-gradient( 800px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(193, 127, 58, 0.7), var(--border-light) 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; z-index: 0; pointer-events: none;
}
.bento-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient( 600px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(193, 127, 58, 0.04), transparent 40%);
  z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.5s ease;
}
.bento-card:hover::after { opacity: 1; }
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.bento-card > * { z-index: 2; position: relative; }
.srv-icon {
  width: 52px; height: 52px; background: var(--amber-pale); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; 
  margin-bottom: 1.25rem; box-shadow: 0 4px 12px rgba(193,127,58,.1);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.bento-card:hover .srv-icon { transform: scale(1.1) rotate(-5deg); }
.bento-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.bento-card p { font-size: 0.9rem; line-height: 1.65; margin-bottom: 1.5rem; color: var(--ink-soft); }
.srv-tag { display: inline-block; font-family: 'DM Mono', monospace; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); background: rgba(44,74,62,.08); padding: .3rem .6rem; border-radius: 6px; font-weight: 600; }
.bento-wide { grid-column: span 2; flex-direction: row; align-items: center; justify-content: space-between; }
.bento-wide .bento-content { max-width: 65%; }
.bento-wide .srv-icon { margin-bottom: 1.5rem; }

/* ─── HOME: HOW IT WORKS ─── */
#how-home { background: var(--white); }
.how-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 1.5rem; padding-bottom: 2.5rem; position: relative; }
.step:not(:last-child)::after { content: ''; position: absolute; left: 18px; top: 40px; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--amber), transparent); opacity: 0.3; }
.step-dot { width: 38px; height: 38px; flex-shrink: 0; background: var(--white); border: 2px solid var(--amber); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'DM Mono', monospace; font-size: .75rem; font-weight: 600; color: var(--amber); position: relative; z-index: 1; box-shadow: 0 0 15px rgba(193,127,58,.15); }
.step-body h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.step-body p { font-size: .9rem; line-height: 1.65; }
.step-link { font-size: .85rem; color: var(--amber); font-weight: 600; cursor: pointer; display: inline-block; margin-top: .5rem; transition: transform 0.2s; }
.step-link:hover { transform: translateX(4px); }

/* ─── HOME: STATS & CTA ─── */
.stats-banner { background: var(--forest); padding: 5rem clamp(1.5rem, 5vw, 5rem); position: relative; overflow: hidden; }
.stats-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; position: relative; z-index: 2; }
.stat-big { color: var(--white); }
.stat-big .num { font-family: 'Playfair Display', serif; font-size: 3.2rem; font-weight: 700; display: block; line-height: 1; margin-bottom: .5rem; }
.stat-big .lbl { font-size: .85rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .05em; font-family: 'DM Mono', monospace; }

.cta-banner { background: linear-gradient(135deg, var(--amber-pale), var(--white)); border: 1px solid rgba(193,127,58,.15); border-radius: 2rem; padding: 4.5rem; text-align: center; margin: 0 clamp(1.5rem, 5vw, 5rem) clamp(3rem, 6vw, 5rem); box-shadow: var(--sh-lg); }
.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p { margin-bottom: 2.5rem; font-size: 1.05rem; }
.cta-banner .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── ABOUT PAGE ─── */
.page-hero { background:var(--cream); padding:clamp(4rem,8vw,6rem) clamp(1.5rem,5vw,5rem) 3rem; border-bottom:1px solid var(--border-light); }
.page-hero .section-label { margin-bottom:.75rem; }
.page-hero h1 { max-width:700px; margin-bottom:1.25rem; }
.page-hero p { max-width:600px; font-size:1.05rem; line-height:1.8; }
.about-story { background:var(--white); }
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:start; }
.about-story-text p { font-size:.95rem; line-height:1.85; margin-bottom:1.1rem; color:var(--ink-soft); }
.about-story-text p:last-child { font-family:'Playfair Display',serif; font-style:italic; color:var(--amber); font-size:1.05rem; }
.letter-cards { display:flex; flex-direction:column; gap:1rem; }
.letter-card { background:var(--sand); border:1px solid var(--border-light); border-radius:var(--r-md); padding:1.5rem; }
.letter-card h3 { font-size:1rem; margin-bottom:.5rem; color:var(--ink); }
.letter-card p { font-size:.85rem; line-height:1.7; }
.values-section { background:var(--sand); }
.values-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-top:2.5rem; }
.val-card { background:var(--white); border:1px solid var(--border-light); border-radius:var(--r-md); padding:1.4rem; transition:transform .2s,box-shadow .2s; }
.val-card:hover { transform:translateY(-3px); box-shadow:var(--sh-sm); }
.val-icon { font-size:1.4rem; margin-bottom:.75rem; }
.val-card h3 { font-size:.95rem; margin-bottom:.4rem; }
.val-card p { font-size:.82rem; line-height:1.65; }
.manifesto-quote { background:var(--forest); border-radius:var(--r-lg); padding:3rem; text-align:center; margin:4rem clamp(1.5rem,5vw,5rem); }
.manifesto-quote blockquote { font-family:'Playfair Display',serif; font-size:clamp(1.2rem,2.5vw,1.6rem); font-style:italic; color:var(--white); line-height:1.6; margin-bottom:1.25rem; }
.manifesto-quote cite { font-size:.82rem; color:rgba(255,255,255,.5); font-style:normal; font-family:'DM Mono',monospace; letter-spacing:.08em; }

/* ─── SERVICES PAGE ─── */
.services-page { background:var(--cream); }
.pillars { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; margin-top:3rem; }
.pillar { background:var(--white); border:1px solid var(--border); border-radius:var(--r-lg); padding:2rem; position:relative; overflow:hidden; }
.pillar::before { content:''; position:absolute; top:0; left:0; right:0; height:4px; }
.pillar:nth-child(1)::before { background:linear-gradient(90deg,var(--amber),var(--amber-light)); }
.pillar:nth-child(2)::before { background:linear-gradient(90deg,var(--forest),var(--forest-light)); }
.pillar:nth-child(3)::before { background:linear-gradient(90deg,#534AB7,#818CF8); }
.pillar-num { font-family:'DM Mono',monospace; font-size:.72rem; color:var(--ink-muted); margin-bottom:1rem; letter-spacing:.1em; }
.pillar h3 { font-size:1.1rem; margin-bottom:.75rem; }
.pillar ul { list-style:none; display:flex; flex-direction:column; gap:.55rem; }
.pillar ul li { font-size:.85rem; color:var(--ink-soft); display:flex; align-items:center; gap:8px; }
.pillar ul li::before { content:'→'; color:var(--amber); font-size:.75rem; flex-shrink:0; }

.pricing-section { background:var(--sand); padding:clamp(4rem,8vw,7rem) clamp(1.5rem,5vw,5rem); }
.pricing-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; margin-top:3rem; }
.price-card { background:var(--white); border:1px solid var(--border); border-radius:var(--r-lg); padding:2rem; position:relative; }
.price-card.featured { border-color:var(--forest); box-shadow:0 0 0 2px rgba(44,74,62,.1); }
.price-badge { position:absolute; top:-12px; left:50%; transform:translateX(-50%); background:var(--forest); color:var(--white); font-size:.7rem; font-family:'DM Mono',monospace; letter-spacing:.08em; padding:.25rem .85rem; border-radius:20px; white-space:nowrap; }
.price-tier { font-family:'DM Mono',monospace; font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-muted); margin-bottom:.75rem; }
.price-amount { font-family:'Playfair Display',serif; font-size:1.8rem; font-weight:700; color:var(--ink); margin-bottom:.25rem; }
.price-desc { font-size:.82rem; color:var(--ink-muted); margin-bottom:1.5rem; padding-bottom:1.5rem; border-bottom:1px solid var(--border-light); }
.price-features { list-style:none; display:flex; flex-direction:column; gap:.65rem; margin-bottom:1.75rem; }
.price-features li { font-size:.84rem; color:var(--ink-soft); display:flex; align-items:flex-start; gap:8px; line-height:1.5; }
.price-features li::before { content:'✓'; color:var(--forest); font-weight:700; flex-shrink:0; margin-top:1px; }

.faq-section { background:var(--white); padding:clamp(4rem,8vw,7rem) clamp(1.5rem,5vw,5rem); }
.faq-list { max-width:720px; margin:2.5rem auto 0; display:flex; flex-direction:column; gap:.75rem; }
.faq-item { border:1px solid var(--border-light); border-radius:var(--r-md); overflow:hidden; }
.faq-q { padding:1.1rem 1.5rem; display:flex; justify-content:space-between; align-items:center; cursor:pointer; font-weight:500; font-size:.95rem; transition:background .2s; }
.faq-q:hover { background:var(--sand); }
.faq-q .faq-icon { font-size:1.2rem; color:var(--amber); transition:transform .3s; flex-shrink:0; }
.faq-a { padding:0 1.5rem; max-height:0; overflow:hidden; transition:max-height .3s ease,padding .3s ease; }
.faq-a p { font-size:.88rem; line-height:1.75; color:var(--ink-soft); padding-bottom:1.1rem; }
.faq-item.open .faq-a { max-height:200px; padding-top:.25rem; }
.faq-item.open .faq-icon { transform:rotate(45deg); }


/* ─── CAREERS PAGE & JOBS BOARD ─── */

.careers-page { background:var(--cream); }

.careers-intro { background:var(--white); padding:clamp(3rem,6vw,5rem) clamp(1.5rem,5vw,5rem); }

.careers-intro-grid { max-width:1120px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:start; }

.careers-intro p { font-size:.93rem; line-height:1.85; margin-bottom:.85rem; color:var(--ink-soft); }

.offer-cards { display:grid; grid-template-columns:1fr 1fr; gap:.85rem; }

.offer-card { background:var(--cream); border:1px solid var(--border-light); border-radius:var(--r-md); padding:1.1rem; }

.offer-card h4 { font-size:.88rem; font-family:'DM Sans',sans-serif; font-weight:600; color:var(--ink); margin-bottom:.3rem; }

.offer-card p { font-size:.8rem; line-height:1.6; }



.jobs-section { background:var(--sand); padding:clamp(4rem,8vw,7rem) clamp(1.5rem,5vw,5rem); }

.jobs-filter { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.filter-btn { padding: .5rem 1.25rem; border-radius: 100px; font-size: .85rem; font-weight: 600; border: 1px solid var(--border); background: var(--white); color: var(--ink-muted); transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1); }

.filter-btn.active, .filter-btn:hover { background: var(--forest); color: var(--white); border-color: var(--forest); box-shadow: 0 4px 12px rgba(44,74,62,.2); transform: translateY(-2px); }



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

.job-card { background: var(--white); border: 1px solid var(--border-light); border-radius: 1rem; padding: 2rem; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease; cursor: pointer; }

.job-card:hover { transform: translateY(-5px) scale(1.01); box-shadow: var(--sh-lg); border-color: var(--border); }

.job-card h3 { font-size: 1.15rem; margin-bottom: .75rem; font-family: 'DM Sans', sans-serif; }

.job-badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }

.jbadge { font-size: .7rem; padding: 4px 10px; border-radius: 100px; font-weight: 600; font-family: 'DM Mono', monospace; letter-spacing: .04em; }

.jb-dept { background: var(--amber-pale); color: #7A4A1A; }

.jb-type { background: #E1F5EE; color: #085041; }

.jb-loc { background: var(--sand); color: var(--ink-muted); }

.job-arrow { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--amber); font-weight: 600; margin-top: 1rem; transition: transform 0.3s; }

.job-card:hover .job-arrow { transform: translateX(5px); }



.careers-cta-box { background:var(--forest); border-radius:var(--r-lg); padding:2.5rem; margin-top:2rem; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1.5rem; }

.careers-cta-box h3 { color:var(--white); font-size:1.2rem; margin-bottom:.35rem; }

.careers-cta-box p { color:rgba(255,255,255,.65); font-size:.88rem; }

.email-link { display:flex; align-items:center; gap:8px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2); border-radius:8px; padding:.55rem 1rem; font-size:.83rem; color:var(--white); transition:background .2s; margin-top:.5rem; }

.email-link:hover { background:rgba(255,255,255,.18); }

.equal-opp { margin-top:2rem; padding:1rem 1.25rem; background:var(--amber-pale); border:1px solid rgba(193,127,58,.2); border-radius:8px; font-size:.82rem; color:var(--ink-soft); line-height:1.65; } 
/* ─── JOIN PAGE ─── */
.join-page { background:var(--ink); }
.join-inner { max-width:1120px; margin:0 auto; display:grid; grid-template-columns:.85fr 1.15fr; gap:4rem; align-items:start; padding:clamp(3rem,6vw,5rem) clamp(1.5rem,5vw,5rem); }
.join-left h2 { color:var(--white); font-size:clamp(1.6rem,3vw,2.2rem); margin-bottom:1rem; }
.join-left > p { color:rgba(255,255,255,.6); font-size:.93rem; line-height:1.75; margin-bottom:2rem; }
.join-perks { display:flex; flex-direction:column; gap:.85rem; margin-bottom:2rem; }
.join-perk { display:flex; gap:12px; align-items:flex-start; }
.perk-ico { width:36px; height:36px; flex-shrink:0; background:rgba(255,255,255,.08); border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:.95rem; }
.join-perk h4 { font-size:.88rem; color:var(--white); font-family:'DM Sans',sans-serif; font-weight:600; margin-bottom:2px; }
.join-perk p { font-size:.8rem; color:rgba(255,255,255,.5); line-height:1.6; }
.join-contacts { display:flex; flex-direction:column; gap:.65rem; }
.join-contact-item { display:flex; gap:10px; align-items:center; }
.jci-icon { width:30px; height:30px; background:rgba(255,255,255,.07); border-radius:6px; display:flex; align-items:center; justify-content:center; font-size:.8rem; flex-shrink:0; }
.jci-lbl { font-size:.68rem; color:rgba(255,255,255,.35); text-transform:uppercase; letter-spacing:.08em; }
.jci-val { font-size:.85rem; color:var(--white); font-weight:500; }
.jci-val a { color:var(--amber-light); }
.join-form-wrap { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); border-radius:var(--r-lg); padding:2.25rem; }
.join-form-wrap h3 { color:var(--white); font-size:1.15rem; margin-bottom:.3rem; }
.join-form-wrap .fsub { color:rgba(255,255,255,.4); font-size:.82rem; margin-bottom:1.75rem; }
.progress-bar { height:4px; background:rgba(255,255,255,.1); border-radius:2px; margin-bottom:1.75rem; overflow:hidden; }
.progress-fill { height:100%; background:linear-gradient(90deg,var(--amber),var(--amber-light)); border-radius:2px; transition:width .4s ease; }
.step-indicator { display:flex; justify-content:space-between; margin-bottom:1.5rem; }
.si-item { font-family:'DM Mono',monospace; font-size:.68rem; color:rgba(255,255,255,.3); letter-spacing:.06em; }
.si-item.active { color:var(--amber); }
.form-step { display:none; }
.form-step.active { display:block; animation:stepIn .35s ease; }
@keyframes stepIn { from{opacity:0;transform:translateX(20px)} to{opacity:1;transform:none} }
.fg { margin-bottom:1.1rem; }
.fg label { display:block; font-size:.78rem; font-weight:500; color:rgba(255,255,255,.55); margin-bottom:.4rem; }
.char-counter { font-size:.72rem; color:rgba(255,255,255,.3); text-align:right; margin-top:4px; }
.radio-pills { display:flex; gap:.5rem; flex-wrap:wrap; margin-top:.4rem; }
.radio-pill { position:relative; }
.radio-pill input { position:absolute; opacity:0; pointer-events:none; }
.radio-pill label { display:block; padding:.4rem .9rem; border-radius:20px; font-size:.8rem; border:1px solid rgba(255,255,255,.15); color:rgba(255,255,255,.55); cursor:pointer; transition:all .2s; }
.radio-pill input:checked + label { background:var(--amber); border-color:var(--amber); color:var(--white); }
.fr { display:grid; grid-template-columns:1fr 1fr; gap:.85rem; }
.form-nav { display:flex; gap:.85rem; margin-top:1.5rem; }
.form-nav .btn { flex:1; justify-content:center; }
.success-screen { display:none; text-align:center; padding:1.5rem 0; }
.success-screen.show { display:block; animation:fadeUp .5s ease; }
.success-check { width:60px; height:60px; background:rgba(44,74,62,.3); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:1.6rem; margin:0 auto 1.25rem; }
.success-screen h3 { color:var(--white); margin-bottom:.5rem; }
.success-screen p { color:rgba(255,255,255,.55); font-size:.88rem; line-height:1.7; }
.err-msg { color:#ff6b6b; font-size:.75rem; margin-top:4px; display:none; }
.fg.error input, .fg.error select, .fg.error textarea { border-color:#ff6b6b; }
.fg.error .err-msg { display:block; }

/* ─── CONTACT PAGE ─── */
.contact-page { background:var(--cream); }
.contact-inner { max-width:1120px; margin:0 auto; display:grid; grid-template-columns:1fr 1.2fr; gap:4.5rem; align-items:start; padding:clamp(3rem,6vw,5rem) clamp(1.5rem,5vw,5rem); }
.contact-left h2 { margin-bottom:1rem; }
.contact-left > p { font-size:.93rem; line-height:1.8; margin-bottom:2rem; color:var(--ink-soft); }
.contact-items { display:flex; flex-direction:column; gap:.85rem; }
.ci { display:flex; gap:12px; align-items:center; }
.ci-icon { width:40px; height:40px; background:var(--sand); border:1px solid var(--border); border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:1rem; flex-shrink:0; }
.ci-lbl { font-size:.72rem; color:var(--ink-muted); text-transform:uppercase; letter-spacing:.07em; }
.ci-val { font-size:.9rem; color:var(--ink); font-weight:500; }
.ci-val a { color:var(--amber); }
.contact-form-box { background:var(--white); border:1px solid var(--border); border-radius:var(--r-lg); padding:2.25rem; box-shadow:var(--sh-md); }
.contact-form-box h3 { margin-bottom:.3rem; font-size:1.15rem; }
.contact-form-box .fsub { font-size:.82rem; color:var(--ink-muted); margin-bottom:1.75rem; }
.cfg { margin-bottom:1.1rem; }
.cfg label { display:block; font-size:.78rem; font-weight:500; color:var(--ink-soft); margin-bottom:.4rem; }
.cfr { display:grid; grid-template-columns:1fr 1fr; gap:.85rem; }
.cform .fg-wrap { margin-bottom:1.1rem; }
.cform .fg-wrap label { display:block; font-size:.78rem; font-weight:500; color:var(--ink-soft); margin-bottom:.4rem; }
.contact-dark { background:var(--forest); padding:3.5rem clamp(1.5rem,5vw,5rem); text-align:center; }
.contact-dark h2 { color:var(--white); margin-bottom:.6rem; }
.contact-dark p { color:rgba(255,255,255,.65); margin-bottom:1.75rem; }

/* ─── GLOBAL FORMS STYLING ─── */
.fg input, .fg select, .fg textarea, .cfg input, .cfg select, .cfg textarea, .cform input, .cform select, .cform textarea { 
  width: 100%; padding: .85rem 1.15rem; background: rgba(255,255,255,0.5); 
  border: 1px solid var(--border); border-radius: var(--r-sm); 
  font-size: .9rem; color: var(--ink); outline: none; 
  transition: all 0.3s ease; appearance: none; font-family:'DM Sans',sans-serif;
}
.fg input:focus, .fg select:focus, .fg textarea:focus, .cfg input:focus, .cfg select:focus, .cfg textarea:focus, .cform input:focus, .cform select:focus, .cform textarea:focus { 
  border-color: var(--amber); background: var(--white);
  box-shadow: 0 0 0 4px rgba(193, 127, 58, 0.15); 
}
.join-form-wrap .fg input, .join-form-wrap .fg select, .join-form-wrap .fg textarea {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); color: var(--white);
}
.join-form-wrap .fg input:focus, .join-form-wrap .fg select:focus, .join-form-wrap .fg textarea:focus {
  background: rgba(255,255,255,0.1); border-color: var(--amber-light);
  box-shadow: 0 0 0 4px rgba(232, 168, 78, 0.2);
}
textarea { resize:vertical; min-height:110px; }
.join-form-wrap textarea { min-height:90px; }

/* ─── FOOTER ─── */
footer { background: var(--ink); padding: 5rem clamp(1.5rem, 5vw, 5rem) 2rem; color: rgba(255,255,255,0.7); }
.foot-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;; gap: 3rem; margin-bottom: 4rem; }
.foot-col h4 { font-size: .75rem; font-family: 'DM Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1.25rem; }
.foot-col a, .foot-col p { font-size: .88rem; display: block; margin-bottom: .75rem; transition: color 0.2s; }
.foot-col a:hover { color: var(--white); }
.foot-brand { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--white); margin-bottom: .75rem; }
.foot-brand span { color: var(--amber); }
.foot-bar { max-width:1120px; margin:0 auto; padding-top:2rem; border-top:1px solid rgba(255,255,255,.08); display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; }
.foot-bar p, .foot-bar a { font-size:.78rem; color:rgba(255,255,255,.3); transition:color .2s; }
.foot-bar a:hover { color:rgba(255,255,255,.7); }

/* ─── MEDIA QUERIES ─── */
@media (max-width: 1024px) {
  .hero-inner, .how-inner, .about-grid, .careers-intro-grid, .contact-inner, .join-inner { grid-template-columns: 1fr; gap: 3rem; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; flex-direction: column; align-items: flex-start; }
  .bento-wide .bento-content { max-width: 100%; }
  .jobs-grid, .services-grid, .pillars, .pricing-grid, .values-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .hero-card, .join-left { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mob { display: flex; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 2.5rem 1.5rem; margin: 0 1rem 3rem; border-radius: 1rem; }
  .services-grid, .pillars, .pricing-grid, .values-grid, .offer-cards, .jobs-grid { grid-template-columns: 1fr; }
  .fr, .cfr { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
}

/* ─── SAFE GSAP ANIMATION BASELINE ─── */
.reveal {
  opacity: 0.05;
  will-change: transform, opacity;
}


/* ─── PREMIUM UX: 3D PAGE TRANSITIONS ─── */
.trans-layer {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  z-index: 999998; transform: translateY(100%); pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
#transition-layer-2 { z-index: 999999; }
.bg-amber { background: var(--amber); }
.bg-ink { background: var(--ink); }

.transition-logo { 
  font-family: 'Playfair Display', serif; font-size: 2.2rem; 
  color: var(--white); font-weight: 700; 
  opacity: 0; transform: scale(0.8); 
}
.transition-logo span { color: var(--amber); }

/* Enables the 3D shrink effect on the main pages */
.page {
  transform-origin: center top;
  will-change: transform, opacity, filter;
}

/* ─── 1. KILL VITE'S DEFAULT INVISIBLE BORDERS ─── */
#app {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* Prevents side-scrolling */
}
/* ─── NEURAL NETWORK MINI-GAME ─── */
.hero-game {
  width: 100%;
  max-width: 380px;
  justify-self: center; /* Keeps it centered in the right column */
}

.game-board {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.game-header h3 {
  font-size: 1.6rem;
  margin-bottom: 5px;
  color: var(--ink, #111111); /* Forces a strong, dark color */
  font-weight: 800; /* Makes it nice and bold */
  opacity: 1 !important; /* Ensures it is 100% visible, not transparent */
}

.game-header p {
  font-size: 0.95rem;
  color: #444444; /* A dark, readable gray */
  margin-bottom: 20px;
  font-weight: 500;
}

.game-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.game-node {
  height: 90px;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.game-node:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* The glow effect when a node flashes */
.game-node.active {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 25px rgba(255, 179, 71, 0.6);
  transform: scale(0.95);
}
/* ─── HOME PAGE: WHY JOIN / HOW IT WORKS SPLIT ─── */
.how-hero {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 60px auto;
}

.how-title {
  font-size: 2.6rem;
  line-height: 1.2;
  margin: 15px 0 20px 0;
  color: #000000 !important; /* Forces the main title to be solid black */
  font-weight: 800;
}

.how-subtitle {
  font-size: 1.15rem;
  color: #a0a0a0;
  line-height: 1.6;
}

/* 2-Column Grid */
.how-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.column-title {
  font-size: 1.8rem;
  color: #000000 !important; /* Forces "Why join EYMA AI" and "How it works" to be black */
  margin-bottom: 40px;
  font-weight: 700;
}

/* Glass cards for 'Why Join' list */
.why-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(255, 255, 255, 0.02);
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.why-item:hover {
  border-color: rgba(255, 179, 71, 0.4); /* Amber glow */
  transform: translateX(5px);
}

.why-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.why-text h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin: 0 0 8px 0;
  font-weight: 700;
}

.why-text p {
  color: #a0a0a0;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Mobile responsive */
@media (max-width: 960px) {
  .how-split {
    grid-template-columns: 1fr; /* Stacks vertically on phones */
    gap: 60px;
  }
  .how-title {
    font-size: 2rem;
  }
}


/* ─── LIGHT BACKGROUND OVERRIDES FOR "HOW IT WORKS" ─── */

/* 1. Make the subtitles and paragraphs dark grey */
#how-home .how-subtitle,
#how-home .why-text p,
#how-home .step-body p {
  color: #444444 !important; 
}

/* 2. Force all card titles and step titles to black */
#how-home .why-text h4,
#how-home .step-body h3 {
  color: #000000 !important;
}

/* 3. Invert the glass cards so they show up on white */
#how-home .why-item {
  background: rgba(0, 0, 0, 0.02) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* 4. Make sure the step numbers (01, 02, etc.) are visible */
#how-home .step-dot {
  color: #000000 !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
  background: transparent !important;
}

/* - New CSS style colour rearrangements - */
/* ─── OFF-WHITE BACKGROUND OVERRIDES FOR "WHAT WE DO" ─── */

/* 1. Make the section background off-white */
#services-home {
  background: #f4f4f5; /* A beautiful, premium off-white */
  padding: 100px 0;
  width: 100%;
}

/* 2. Make the main section titles dark */
#services-home h2, 
#services-home h3 {
  color: #000000 !important;
}

/* 3. Make the paragraph text dark grey */
#services-home p {
  color: #555555 !important;
}

/* 4. Update the Bento Cards to be solid white so they pop off the off-white background */
#services-home .bento-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

/* 5. Add a slight shadow when hovering over the cards */
#services-home .bento-card:hover {
  border-color: rgba(0, 0, 0, 0.15) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

/* 6. Update the little tags (e.g., "Core service") to match the light theme */
#services-home .srv-tag {
  background: rgba(0, 0, 0, 0.04) !important;
  color: #333333 !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* ─── MANIFESTO PAGE STYLES ─── */
.manifesto-section {
  background: #ffffff; /* Solid white background for reading */
  padding: 80px 0;
  width: 100%;
}

.manifesto-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

/* Sidebar Index */
.manifesto-sidebar {
  width: 300px;
  flex-shrink: 0;
}

.sticky-nav {
  position: sticky;
  top: 100px; /* Stays fixed as you scroll down */
  background: #f4f4f5; /* Off-white box */
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.05);
}

.sticky-nav h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sticky-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sticky-nav a {
  color: #555555;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.sticky-nav a:hover {
  color: var(--amber);
  padding-left: 5px; /* Slight nudge on hover */
}

/* Main Document Content */
.manifesto-body {
  flex: 1;
  max-width: 800px;
}

/* Reduce the gap between topics and add padding inside them */
.manifesto-body section {
  margin-bottom: 25px; /* Massively reduced from 70px */
  padding: 40px 40px; /* Adds breathing room inside the colored box */
  border-radius: 16px; /* Smooth, modern corners */
  transition: transform 0.2s ease;
}

/* ODD TOPICS (1, 3, 5, etc.) */
.manifesto-body section:nth-of-type(odd) {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

/* EVEN TOPICS (2, 4, 6, etc.) */
.manifesto-body section:nth-of-type(even) {
  background: #f4f4f5; 
  border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Hides topics 4 through 13 initially */
.collapsed-manifesto section:nth-of-type(n+4) {
  display: none;
}

/* Mobile responsiveness: slightly smaller padding on phones so it fits nicely */
@media (max-width: 960px) {
  .manifesto-body section {
    padding: 25px;
  }
}

.manifesto-body h2 {
  font-size: 2.2rem;
  color: #000000;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  font-weight: 800;
}

.manifesto-body p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333333;
}

.manifesto-body ul {
  margin-bottom: 25px;
  padding-left: 20px;
}

.manifesto-body li {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 10px;
}

.manifesto-values-list li {
  margin-bottom: 15px;
}

.manifesto-values-list strong {
  color: #000000;
  font-size: 1.2rem;
}

/* Mobile Responsive */
@media (max-width: 960px) {
  .manifesto-layout {
    flex-direction: column; /* Stack sidebar on top on mobile */
  }
  .manifesto-sidebar {
    width: 100%;
    margin-bottom: 40px;
  }
  .sticky-nav {
    position: relative;
    top: 0;
  }
}
/* ─── CAREERS PAGE VISIBILITY & FILTER FIX ─── */

/* 1. Force the grid and cards to ignore stuck fade animations */
#jobsGrid,
#page-careers .job-card {
  opacity: 1 !important;
  visibility: visible !important;
  /* (Your filter script uses 'display: none' to hide things, so forcing opacity won't break the filter!) */
}

/* 2. Force the text inside to be fully visible and ensure it is DARK, not white */
#page-careers .job-card h3 {
  opacity: 1 !important;
  visibility: visible !important;
  color: var(--ink) !important; /* Dark text for the title */
}

#page-careers .job-card p {
  opacity: 1 !important;
  visibility: visible !important;
  color: var(--ink-soft) !important; /* Dark grey for the role details */
}

#page-careers .job-badges span {
  opacity: 1 !important;
  visibility: visible !important;
}
/* ─── JOB DETAILS PAGE & FORM ─── */
.back-link {
  color: var(--amber);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.back-link:hover { color: var(--white); }

.jd-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.jd-content h2 {
  font-size: 1.5rem;
  color: var(--ink);
  margin: 2rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}
.jd-content h2:first-child { margin-top: 0; }

.jd-content p, .jd-content li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.jd-content ul { padding-left: 20px; margin-bottom: 2rem; }
.jd-content li { margin-bottom: 0.5rem; }

/* Sticky Application Form Box */
.jd-sidebar { position: sticky; top: 100px; }
.apply-box {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.apply-box h3 { font-size: 1.25rem; color: var(--ink); margin-bottom: 0.5rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #f9f9fa;
  transition: border-color 0.2s, background 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--forest);
  background: var(--white);
}

@media (max-width: 960px) {
  .jd-layout { grid-template-columns: 1fr; gap: 3rem; }
  .jd-sidebar { position: relative; top: 0; }
  .apply-box { padding: 1.5rem; }
}
/* Hides Manifesto topics until the Read More button is clicked */
.hidden-topic { display: none !important; }



/* 2. When JavaScript flips the switch, fade them in and slide them up! */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


/* Let's also add the blinking animation for your text cursor! */
.cursor {
  font-weight: bold;
  color: #f59e0b; /* Amber color */
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}


.game-node.active {
  background-color: var(--amber, #f59e0b) !important;
  box-shadow: 0 0 20px var(--amber, #f59e0b);
  transform: scale(1.05);
}

