/* ================================================================
   KHORAZMI LAB — LANDING PAGE STYLESHEET
   style.css

   Structure:
   1. Root Variables (Design Tokens)
   2. Reset & Base
   3. Typography System
   4. Layout & Container
   5. Reusable Components
      5a. Buttons
      5b. Section Headers
      5c. Cards (generic)
      5d. Tags
      5e. Forms
   6. Header / Navigation
   7. Hero Section
   8. About Section
   9. Projects Section
   10. Investors Section
   11. Partnership Section
   12. Contact Section
   13. Footer
   14. Responsive Rules (Tablet 768px+ / Desktop 1200px+)
================================================================ */


/* ================================================================
   1. ROOT VARIABLES — Design Tokens
   All color, spacing, typography, and radius decisions live here.
   Editing these values cascades across the entire design system.
================================================================ */
:root {
  /* --- Color Palette (Brand) --- */
  --color-navy:       #0D1846;   /* Primary dark background — trust, intellect */
  --color-navy-deep:  #090f33;   /* Deeper navy for gradients / hero */
  --color-navy-mid:   #142060;   /* Mid-tone navy for card surfaces on dark */
  --color-offwhite:   #E3E3E3;   /* Light background surface — clean reading */
  --color-offwhite-2: #F0F0F0;   /* Slightly lighter variant for contrast */
  --color-blue:       #406EB7;   /* Secondary accent — lines, borders, accents */
  --color-blue-light: #5a87d1;   /* Lighter blue for hover states */
  --color-orange:     #E95623;   /* Primary CTA — high-energy call-to-action */
  --color-orange-dark:#c94418;   /* Pressed/hover state for orange */

  /* Soft orange-to-yellow gradient accent — used sparingly */
  --gradient-warm:    linear-gradient(135deg, #E95623 0%, #f5a623 100%);

  /* Text colors */
  --color-text-dark:  #0D1846;   /* Body on light bg */
  --color-text-muted: #5a6480;   /* Supporting text on light bg */
  --color-text-light: #E3E3E3;   /* Body on dark bg */
  --color-text-dim:   #8a95b0;   /* Supporting text on dark bg */
  --color-text-white: #ffffff;

  /* --- Typography --- */
  --font-heading: 'Montserrat', sans-serif;   /* All headings, nav, buttons */
  --font-body:    'Source Sans 3', sans-serif; /* Body copy, descriptions */

  /* Type scale (mobile-first, fluid) */
  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-md:   1.125rem;   /* 18px */
  --text-lg:   1.25rem;    /* 20px */
  --text-xl:   1.5rem;     /* 24px */
  --text-2xl:  1.875rem;   /* 30px */
  --text-3xl:  2.25rem;    /* 36px */
  --text-4xl:  2.75rem;    /* 44px */
  --text-5xl:  3.5rem;     /* 56px */
  --text-6xl:  4.5rem;     /* 72px */

  /* --- Spacing Scale (8px base unit) --- */
  --sp-1:  0.25rem;   /* 4px */
  --sp-2:  0.5rem;    /* 8px */
  --sp-3:  0.75rem;   /* 12px */
  --sp-4:  1rem;      /* 16px */
  --sp-5:  1.25rem;   /* 20px */
  --sp-6:  1.5rem;    /* 24px */
  --sp-8:  2rem;      /* 32px */
  --sp-10: 2.5rem;    /* 40px */
  --sp-12: 3rem;      /* 48px */
  --sp-16: 4rem;      /* 64px */
  --sp-20: 5rem;      /* 80px */
  --sp-24: 6rem;      /* 96px */
  --sp-32: 8rem;      /* 128px */

  /* --- Layout --- */
  --container-max:   1200px;
  --container-pad:   var(--sp-6);  /* Mobile side padding */
  --header-height:   88px;

  /* --- Radii --- */
  --radius-sm:  2px;
  --radius-md:  4px;
  --radius-lg:  8px;

  /* --- Borders --- */
  --border-color-light:  rgba(64, 110, 183, 0.25);   /* Blue tint on dark bg */
  --border-color-dark:   rgba(13, 24, 70, 0.12);     /* Navy tint on light bg */

  /* --- Shadows --- */
  /* Restrained — no heavy drop shadows; institutional, not playful */
  --shadow-card:   0 2px 16px rgba(13, 24, 70, 0.08);
  --shadow-card-hover: 0 4px 28px rgba(13, 24, 70, 0.14);

  /* --- Transitions --- */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
}


/* ================================================================
   2. RESET & BASE
   Minimal, purposeful reset. Box-sizing, scroll behavior, baseline.
================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Smooth scrolling for same-page anchor navigation */
html {
  scroll-behavior: smooth;
  font-size: 16px; /* establishes rem base */
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-dark);
  background-color: var(--color-offwhite-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Remove list styling from semantic lists that are used for layout */
ul[role="list"] {
  list-style: none;
}

/* Anchor baseline */
a {
  color: inherit;
  text-decoration: none;
}

/* Image reset */
img, svg {
  display: block;
  max-width: 100%;
}

/* Form element normalization */
input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
}

/* Focus ring — accessible, on-brand */
:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 3px;
}


/* ================================================================
   3. TYPOGRAPHY SYSTEM
   Consistent type hierarchy across headings, body, labels.
   Montserrat carries authority; Source Sans 3 provides warmth.
================================================================ */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }

p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.75;
}

/* Eyebrow / overline label — small caps treatment */
.eyebrow {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: var(--sp-6);
}

/* Section label — decorative index number prefix */
.section-label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: var(--sp-4);
}

.section-label--dim {
  color: var(--color-blue-light);
  opacity: 0.7;
}

/* Section title — primary heading for each section */
.section-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: var(--sp-6);
  line-height: 1.18;
}

/* Section intro — supporting paragraph below section title */
.section-intro {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  max-width: 56ch;
  line-height: 1.75;
  margin-bottom: var(--sp-12);
}

.section-intro--muted {
  color: var(--color-text-dim);
}


/* ================================================================
   4. LAYOUT & CONTAINER
   Centered max-width container, consistent section rhythm.
================================================================ */

/* Main container — constrains content width, adds horizontal padding */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* Section rhythm — generous vertical breathing room */
.section {
  padding-block: var(--sp-20);
  position: relative;
  overflow: hidden; /* contain decorative elements */
}

/* Light section surface */
.section--light {
  background-color: var(--color-offwhite);
}

/* Dark section surface — navy primary */
.section--dark {
  background-color: var(--color-navy);
}

/* Section header group — label + title + intro */
.section-header {
  margin-bottom: var(--sp-12);
}

/* On dark backgrounds, reverse text colors */
.section-header--light .section-title {
  color: var(--color-text-white);
}

.section-header--light .section-intro {
  color: var(--color-text-dim);
}


/* ================================================================
   5a. BUTTONS
   Two primary types: filled orange (primary), ghost/outline (secondary).
   Designed to anchor CTAs without overwhelming the institutional tone.
================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--sp-4) var(--sp-8);
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition-base),
              border-color var(--transition-base),
              color var(--transition-base),
              transform var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

/* Primary CTA — orange, high energy */
.btn--primary {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-text-white);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--color-orange-dark);
  border-color: var(--color-orange-dark);
  transform: translateY(-1px);
}

/* Ghost / secondary — transparent with border */
.btn--ghost {
  background-color: transparent;
  border-color: rgba(227, 227, 227, 0.4);
  color: var(--color-text-light);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--color-text-light);
  background-color: rgba(227, 227, 227, 0.06);
  transform: translateY(-1px);
}

/* Full-width button for forms */
.btn--full {
  width: 100%;
}

/* CTA group — horizontal button pair */
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
}


/* ================================================================
   5b. SECTION HEADERS (shared pattern — see section above)
================================================================ */


/* ================================================================
   5c. CARDS (generic card base)
   Cards use a consistent border + shadow + padding pattern.
   Section-specific cards extend this base.
================================================================ */

/* No generic .card class — sections define their own for control */


/* ================================================================
   5d. TAGS
   Capability / audience tags in About section
================================================================ */

.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-3);
  margin-top: var(--sp-10);
}

.tag {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-sm);
  color: var(--color-blue);
  background-color: transparent;
  transition: border-color var(--transition-base), background-color var(--transition-base);
}

.tag:hover {
  background-color: rgba(64, 110, 183, 0.06);
  border-color: var(--color-blue);
}


/* ================================================================
   5e. FORMS
   Institutional, minimal form styling. Focused state uses brand blue.
================================================================ */

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-label {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-dark);
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-md);
  background-color: var(--color-text-white);
  color: var(--color-text-dark);
  font-size: var(--text-base);
  font-family: var(--font-body);
  line-height: 1.5;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(64, 110, 183, 0.12);
}

.form-input::placeholder {
  color: var(--color-text-muted);
  opacity: 0.7;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a6480' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-5) center;
  padding-right: var(--sp-10);
  cursor: pointer;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}


/* ================================================================
   6. HEADER / NAVIGATION
   Sticky, dark — uses backdrop blur for depth.
   Mobile: collapses via CSS checkbox toggle.
================================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(9, 15, 51, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(64, 110, 183, 0.18);
  height: var(--header-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* ---- Brand Logo ---- */
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 80px;
  width: auto;
  display: block;
  /* Invert the orange SVG to white for dark header */
  filter: brightness(0) invert(1);
  transition: opacity var(--transition-base);
}

.brand:hover .brand-logo {
  opacity: 0.85;
}

/* Smaller logo in footer */
.brand-logo--footer {
  height: 60px;
}

/* ---- Desktop Navigation ---- */
.site-nav {
  display: none; /* hidden mobile — shown at tablet+ */
  align-items: center;
  gap: var(--sp-8);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(227, 227, 227, 0.75);
  transition: color var(--transition-base);
  text-decoration: none;
  position: relative;
}

/* Animated underline on hover */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-orange);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--color-text-white);
}

.nav-link:hover::after {
  width: 100%;
}

/* ---- Language Switcher ---- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-left: var(--sp-4);
  padding-left: var(--sp-4);
  border-left: 1px solid rgba(64, 110, 183, 0.3);
}

/* Language buttons — replace <a> with <button> for proper semantics */
.lang-btn {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(227, 227, 227, 0.5);
  transition: color var(--transition-base);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.lang-btn--active,
.lang-btn:hover {
  color: var(--color-text-white);
}

.lang-divider {
  color: rgba(64, 110, 183, 0.4);
  font-size: var(--text-xs);
}

/* ---- Mobile Menu Toggle (CSS-only checkbox) ---- */
.mobile-menu-check {
  /* Hidden checkbox that controls the mobile drawer */
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 101;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text-light);
  border-radius: 1px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Animate hamburger to ✕ when checked */
.mobile-menu-check:checked ~ .mobile-nav-drawer {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ---- Mobile Drawer ---- */
.mobile-nav-drawer {
  background-color: var(--color-navy-deep);
  border-top: 1px solid rgba(64, 110, 183, 0.18);
  padding: var(--sp-6) var(--container-pad) var(--sp-8);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-base), opacity var(--transition-base);
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  z-index: 99;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  list-style: none;
  margin-bottom: var(--sp-6);
}

.mobile-nav-list .nav-link {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-light);
}

.lang-switcher--mobile {
  border-left: none;
  padding-left: 0;
  margin-left: 0;
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(64, 110, 183, 0.2);
}


/* ================================================================
   7. HERO SECTION
   Full-screen dark navy with decorative vertical line motif.
   Typography alone carries the visual weight — no illustrations.
================================================================ */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  background-color: var(--color-navy-deep);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: var(--sp-24) var(--sp-32);
}

/* ---- Decorative vertical line motif ---- */
/* Inspired by KL logo structure — vertical bars of varying height and opacity */
.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.vline {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
}

.vline--1 {
  left: 8%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(64, 110, 183, 0.18) 20%,
    rgba(64, 110, 183, 0.28) 50%,
    rgba(64, 110, 183, 0.12) 80%,
    transparent 100%
  );
}

.vline--2 {
  left: 15%;
  background: linear-gradient(
    to bottom,
    transparent 15%,
    rgba(233, 86, 35, 0.15) 30%,
    rgba(233, 86, 35, 0.22) 55%,
    rgba(64, 110, 183, 0.08) 75%,
    transparent 100%
  );
  width: 2px;
}

.vline--3 {
  right: 12%;
  background: linear-gradient(
    to bottom,
    transparent 10%,
    rgba(64, 110, 183, 0.14) 35%,
    rgba(64, 110, 183, 0.2) 65%,
    transparent 100%
  );
}

.vline--4 {
  right: 20%;
  background: linear-gradient(
    to bottom,
    transparent 25%,
    rgba(64, 110, 183, 0.08) 50%,
    rgba(64, 110, 183, 0.16) 70%,
    transparent 100%
  );
}

/* Subtle dot grid overlay — adds depth without noise */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(64, 110, 183, 0.1) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ---- Hero content ---- */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-headline {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-text-white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-6);
}

/* Italic accent highlights key phrase with orange color */
.headline-accent {
  font-style: normal;
  color: var(--color-orange);
  position: relative;
}

.hero-subtext {
  font-size: var(--text-md);
  color: var(--color-text-dim);
  max-width: 54ch;
  line-height: 1.8;
  margin-bottom: var(--sp-10);
}

/* Bottom decorative rule — separates hero from next section */
.hero-bottom-rule {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(64, 110, 183, 0.4) 30%,
    rgba(233, 86, 35, 0.5) 50%,
    rgba(64, 110, 183, 0.4) 70%,
    transparent
  );
}


/* ================================================================
   8. ABOUT SECTION
   Pillar cards + philosophy blockquote + capability tags
================================================================ */

/* Pillars grid — mobile single column, tablet+ three columns */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  margin-bottom: var(--sp-12);
}

/* Individual pillar card */
.pillar-card {
  padding: var(--sp-8);
  background-color: var(--color-text-white);
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.pillar-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

/* Decorative pillar icon — vertical line + diamond */
.pillar-icon {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
  height: 32px;
}

.pillar-line {
  display: block;
  width: 2px;
  height: 100%;
  background-color: var(--color-orange);
  border-radius: 1px;
}

.pillar-diamond {
  display: block;
  width: 8px;
  height: 8px;
  background-color: var(--color-blue);
  transform: rotate(45deg);
  border-radius: 1px;
}

.pillar-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--sp-3);
  letter-spacing: -0.01em;
}

.pillar-text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Philosophy blockquote — centrepiece of About section */
/* Orange left border + restrained dark-on-light typography */
.philosophy-statement {
  margin: var(--sp-12) 0 0;
  padding: var(--sp-8) var(--sp-10);
  border-left: 3px solid var(--color-orange);
  background-color: rgba(13, 24, 70, 0.03);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.philosophy-text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.6;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-4);
  font-style: normal;
}

.philosophy-cite {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-blue);
  font-style: normal;
}


/* ================================================================
   9. PROJECTS SECTION
   Dark navy grid of three project direction cards
================================================================ */

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

/* Project card — dark on dark, differentiated by border + subtle bg */
.project-card {
  padding: var(--sp-8);
  background-color: var(--color-navy-mid);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.project-card:hover {
  border-color: rgba(64, 110, 183, 0.5);
  transform: translateY(-2px);
}

/* Top section of project card: index number + accent line */
.project-card-top {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.project-index {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-orange);
}

/* Accent line extends from index number — structural visual */
.project-accent-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(64, 110, 183, 0.4),
    transparent
  );
}

.project-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-white);
  margin-bottom: var(--sp-4);
  letter-spacing: -0.01em;
}

.project-desc {
  font-size: var(--text-base);
  color: var(--color-text-dim);
  line-height: 1.75;
  margin-bottom: var(--sp-6);
}

/* Project link — subtle underline CTA */
.project-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-blue-light);
  transition: color var(--transition-base), gap var(--transition-base);
  text-decoration: none;
}

.project-link:hover {
  color: var(--color-orange);
  gap: var(--sp-3);
}

.link-arrow {
  display: inline-block;
  transition: transform var(--transition-base);
}

.project-link:hover .link-arrow {
  transform: translateX(2px);
}

/* ---- Products sub-section within Projects ---- */
.products-header {
  margin-top: var(--sp-16);
  margin-bottom: var(--sp-10);
}

.products-header .section-title {
  color: var(--color-text-white);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

.product-card {
  padding: var(--sp-6) var(--sp-8);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-lg);
  background-color: rgba(255, 255, 255, 0.03);
  transition: background-color var(--transition-base), border-color var(--transition-base);
}

.product-card:hover {
  background-color: rgba(64, 110, 183, 0.06);
  border-color: rgba(64, 110, 183, 0.4);
}

.product-name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-orange);
  margin-bottom: var(--sp-2);
}

.product-desc {
  font-size: var(--text-base);
  color: var(--color-text-dim);
  line-height: 1.75;
}

/* Mission / Vision sub-section in About */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}

.mv-card {
  padding: var(--sp-8);
  background-color: var(--color-text-white);
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.mv-card-label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: var(--sp-4);
}

.mv-card-text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
}


/* ================================================================
   10. INVESTORS SECTION
   Two-column layout: pitch content + metric cards
================================================================ */

/* Stack on mobile, side-by-side on desktop */
.investors-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: start;
}

/* Investment rationale list */
.investors-reasons {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-10);
}

.investors-reason {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Custom bullet: orange dash */
.reason-bullet {
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 2px;
  background-color: var(--color-orange);
  margin-top: 0.65em;
  border-radius: 1px;
}

/* Metric cards stack on mobile */
.investors-metrics {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

/* Individual stat card */
.metric-card {
  padding: var(--sp-8) var(--sp-6);
  background-color: var(--color-text-white);
  border: 1px solid var(--border-color-dark);
  border-left: 3px solid var(--color-orange);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.metric-value {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.04em;
  line-height: 1;
}

.metric-label {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}


/* ================================================================
   11. PARTNERSHIP SECTION
   Three tracks displayed as numbered cards on dark background
================================================================ */

.section--partnership {
  /* Additional top border in blue */
  border-top: 1px solid rgba(64, 110, 183, 0.2);
}

/* Background decorative vertical lines */
.section-vlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.svline {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
}

.svline--1 {
  right: 25%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(64, 110, 183, 0.1) 40%,
    rgba(64, 110, 183, 0.15) 60%,
    transparent
  );
}

.svline--2 {
  right: 50%;
  background: linear-gradient(
    to bottom,
    transparent 20%,
    rgba(64, 110, 183, 0.07) 50%,
    transparent
  );
}

.partnership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  margin-bottom: var(--sp-12);
}

.partnership-card {
  padding: var(--sp-8);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-lg);
  background-color: rgba(255, 255, 255, 0.03);
  position: relative;
  transition: background-color var(--transition-base), border-color var(--transition-base);
}

.partnership-card:hover {
  background-color: rgba(64, 110, 183, 0.06);
  border-color: rgba(64, 110, 183, 0.4);
}

/* Roman numeral track identifier */
.partnership-number {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-orange);
  margin-bottom: var(--sp-5);
}

.partnership-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-white);
  margin-bottom: var(--sp-4);
}

.partnership-desc {
  font-size: var(--text-base);
  color: var(--color-text-dim);
  line-height: 1.75;
}

/* Contact email display in partnership section */
.partnership-contact {
  padding-top: var(--sp-10);
  border-top: 1px solid rgba(64, 110, 183, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-2);
}

.partnership-contact-label {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

.partnership-email {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-white);
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color var(--transition-base);
}

.partnership-email:hover {
  color: var(--color-orange);
}


/* ================================================================
   12. CONTACT SECTION
   Form + sidebar (info + map placeholder)
================================================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: start;
}

/* Contact info sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: var(--sp-1);
}

.contact-info-value {
  font-size: var(--text-base);
  color: var(--color-text-dark);
  line-height: 1.65;
}

.contact-info-link {
  color: var(--color-navy);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-base);
}

.contact-info-link:hover {
  color: var(--color-orange);
}

/* ---- Google Map Embed ---- */
.map-embed {
  width: 100%;
  height: 220px;
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


/* ================================================================
   13. FOOTER
   Dark navy, compact, legal/nav links
================================================================ */

.site-footer {
  background-color: var(--color-navy-deep);
  border-top: 1px solid rgba(64, 110, 183, 0.2);
  padding-block: var(--sp-8);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-5);
}

/* Footer brand — logo size handled by .brand-logo--footer */
.brand--footer {
  /* No additional overrides needed — logo class handles sizing */
}

/* Footer nav links */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
}

.footer-link {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(227, 227, 227, 0.5);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-link:hover {
  color: var(--color-text-white);
}

.footer-divider {
  color: rgba(64, 110, 183, 0.4);
}

.footer-copy {
  font-size: var(--text-xs);
  color: rgba(227, 227, 227, 0.3);
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}


/* ================================================================
   14. RESPONSIVE RULES
   Mobile-first approach: base styles above = mobile.
   Tablet (768px+) and Desktop (1200px+) breakpoints below.
================================================================ */

/* ---- TABLET: 768px+ ---- */
@media (min-width: 768px) {

  /* Typography scales up on larger screens */
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  .section-title { font-size: var(--text-3xl); }

  /* Container gets more padding */
  :root {
    --container-pad: var(--sp-8);
  }

  /* Header: show desktop nav, hide hamburger */
  .site-nav {
    display: flex;
  }

  .mobile-menu-toggle,
  .mobile-nav-drawer,
  .mobile-menu-check {
    display: none;
  }

  /* Hero headline grows */
  .hero-headline {
    font-size: var(--text-5xl);
  }

  /* Pillars: 3-column grid on tablet */
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Projects: 3-column grid */
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Investors: side-by-side */
  .investors-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
  }

  /* Metrics side-by-side on tablet */
  .investors-metrics {
    flex-direction: column;
  }

  /* Products: 2-column grid on tablet */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Mission/Vision: side-by-side */
  .mission-vision-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Partnership: 3 columns */
  .partnership-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Contact: form + sidebar side-by-side */
  .contact-layout {
    grid-template-columns: 1fr 380px;
    gap: var(--sp-16);
  }

  /* Form row becomes 2 columns */
  .form-row {
    flex-direction: row;
  }

  .form-row .form-field {
    flex: 1;
  }

  /* Footer: horizontal row */
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}


/* ---- DESKTOP: 1200px+ ---- */
@media (min-width: 1200px) {

  :root {
    --container-pad: var(--sp-10);
  }

  /* Headline scales to full size */
  .hero-headline {
    font-size: var(--text-6xl);
  }

  .hero-subtext {
    font-size: var(--text-lg);
  }

  /* Section titles get largest size */
  .section-title {
    font-size: var(--text-4xl);
  }

  /* Sections get full vertical breathing room */
  .section {
    padding-block: var(--sp-32);
  }

  /* Investors: wider left column for content */
  .investors-layout {
    grid-template-columns: 3fr 2fr;
  }

  /* Metrics on desktop: horizontal row */
  .investors-metrics {
    flex-direction: column;
    gap: var(--sp-4);
  }

  /* Philosophy statement gets more horizontal padding */
  .philosophy-statement {
    padding: var(--sp-10) var(--sp-16);
  }

  .philosophy-text {
    font-size: var(--text-2xl);
  }

  /* Metric values scale up on desktop */
  .metric-value {
    font-size: var(--text-5xl);
  }

  /* Products: 3 columns on desktop */
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Map embed taller on desktop */
  .map-embed {
    height: 280px;
  }
}


/* ================================================================
   UTILITY: Reduced motion
   Respect user preference for reduced motion.
================================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
