/* =============================================================
   LPFT — Lone Peak Financial Technologies
   Global Stylesheet

   COLOR PALETTE:
     --navy:       #1B2A4A   (headings, nav, buttons)
     --navy-light: #2C3E6B   (hover states)
     --blue-mist:  #C8D8EC   (soft background accents)
     --blue-pale:  #E8EFF8   (card backgrounds)
     --white:      #FFFFFF
     --off-white:  #F5F7FB
     --gray:       #6B7B95   (body text)
     --gray-light: #A0AEBF   (subtle text)

   FONTS:
     Headings: Playfair Display (serif)
     Body:     Inter (sans-serif)

   TO SWAP HERO IMAGES:
     Search for "HERO-IMAGE" in this file or in the HTML.
     Each page hero uses a CSS class (.hero-home, .hero-about, etc.)
     Replace the background-image URL or gradient as needed.
   ============================================================= */

/* --- CSS Custom Properties --- */
:root {
  --navy:       #1B2A4A;
  --navy-light: #2C3E6B;
  --navy-dark:  #111D35;
  --blue-mist:  #C8D8EC;
  --blue-pale:  #E8EFF8;
  --blue-accent: #8AADD4;
  --white:      #FFFFFF;
  --off-white:  #F5F7FB;
  --gray:       #556178;
  --gray-light: #A0AEBF;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--gray);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1rem; font-weight: 600; }

p {
  margin-bottom: 1rem;
  max-width: 680px;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3.5rem 0;
}

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

.text-center p {
  margin-left: auto;
  margin-right: auto;
}

/* ===========================================================
   NAVIGATION
   =========================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 216, 236, 0.4);
  transition: background 0.3s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* --- Logo --- */
.logo {
  display: flex;
  align-items: center;
  line-height: 1.1;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.logo-mark {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 2px;
}

.logo-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.65rem;
  color: var(--gray-light);
  letter-spacing: 0.5px;
}

/* --- Nav Links --- */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2.4rem;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--navy);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--navy);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* --- Mobile Menu Toggle --- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

   HERO-IMAGE: To change the hero background for any page,
   replace the background gradient/image below.
   If using a real photo, use:
     background-image: url('your-image.jpg');
     background-size: cover;
     background-position: center;
   =========================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 480px;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
  color: var(--navy);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero h1 {
  margin-bottom: 0.6rem;
}

.hero .subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--navy);
  opacity: 0.85;
  margin-bottom: 0;
}



/* HERO-IMAGE — Home Page */
.hero-home {
  min-height: 540px;
  text-align: left;
  align-items: flex-end;
  padding-bottom: 3rem;
  background-image:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 45%,
      rgba(255, 255, 255, 0.25) 65%,
      rgba(255, 255, 255, 0.55) 85%,
      rgba(255, 255, 255, 0.72) 100%),
    url('images/hero-home.png');
  background-size: cover;
  background-position: top center;
}


.hero-home .hero-content {
  max-width: 1100px;
  width: 100%;
  padding: 0 2rem;
}

.hero-home h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  margin-bottom: 1rem;
}

.hero-home .hero-description {
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 1.8rem;
  color: var(--gray);
}

/* HERO-IMAGE — About Page */
.hero-about {
  background-image:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 45%,
      rgba(255, 255, 255, 0.25) 65%,
      rgba(255, 255, 255, 0.55) 85%,
      rgba(255, 255, 255, 0.72) 100%),
    url('images/hero-home.png');
  background-size: cover;
  background-position: center;
}

/* HERO-IMAGE — Tech & AI Page */
.hero-tech {
  /* Replace with: background-image: url('images/hero-tech.jpg'); */
  background:
    linear-gradient(180deg,
      rgba(200, 215, 240, 0.4) 0%,
      rgba(190, 210, 238, 0.6) 35%,
      rgba(225, 235, 248, 0.7) 60%,
      rgba(255, 255, 255, 1) 100%),
    linear-gradient(145deg, #c4d6ed 0%, #afc8e4 35%, #dde8f4 65%, #f0f4fa 100%);
}

/* HERO-IMAGE — Contact Page */
.hero-contact {
  background-image:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 45%,
      rgba(255, 255, 255, 0.25) 65%,
      rgba(255, 255, 255, 0.55) 85%,
      rgba(255, 255, 255, 0.72) 100%),
    url('images/hero-home.png');
  background-size: cover;
  background-position: center;
}

/* ===========================================================
   VIDEO HERO BACKGROUNDS
   Used on the Tech & AI page hero section.
   The video plays behind the text with a semi-transparent overlay.
   =========================================================== */
.hero-video-section {
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%);
  object-fit: cover;
  object-position: top center;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(200, 215, 240, 0.45) 0%,
    rgba(190, 210, 238, 0.5) 35%,
    rgba(225, 235, 248, 0.6) 60%,
    rgba(255, 255, 255, 0.95) 100%);
  z-index: 1;
}

/* --- Hero CTA Buttons --- */
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* ===========================================================
   HOME PAGE — Who We Are / What We Do
   =========================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.two-col h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
  font-style: italic;
}

.two-col .lead {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.icon-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.icon-list .icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  opacity: 0.7;
}

.icon-list .icon svg {
  width: 22px;
  height: 22px;
}

/* ===========================================================
   HOME PAGE — Bottom Split (Tech & AI + Contact Form)
   =========================================================== */
.bottom-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.bottom-split-left {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  color: var(--white);
  overflow: hidden;
  background: var(--navy); /* fallback while video loads */
}

/* --- Video background for bottom-split Tech & AI box --- */
.bottom-split-left .bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.bottom-split-left .bg-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,42,74,0.35) 0%, rgba(27,42,74,0.7) 100%);
  z-index: 1;
}

.bottom-split-left h2 {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.bottom-split-left p {
  position: relative;
  z-index: 2;
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.6;
}

.bottom-split-right {
  padding: 3rem;
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bottom-split-right h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

/* ===========================================================
   FORMS
   =========================================================== */
.form-group {
  margin-bottom: 1rem;
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray);
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--blue-mist);
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 42, 74, 0.08);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-light);
}

.btn-submit {
  display: inline-block;
  padding: 0.75rem 2.5rem;
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
}

/* ===========================================================
   ABOUT PAGE — Executive Leadership
   =========================================================== */
.leadership-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.leadership-photo {
  position: relative;
}

.leadership-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 4px;
}

.leadership-photo .photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(27, 42, 74, 0.85);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 0 0 4px 4px;
}

.photo-caption .name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.photo-caption .title {
  font-size: 0.8rem;
  opacity: 0.85;
}

.leadership-bio h3 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.leadership-bio .role {
  font-size: 0.9rem;
  color: var(--gray-light);
  margin-bottom: 1rem;
}

.leadership-bio .highlight {
  font-weight: 600;
  color: var(--navy);
}

.leadership-bio p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

/* ===========================================================
   ABOUT PAGE — Leadership Team Cards
   =========================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.team-card {
  background: var(--white);
  border: 1px solid rgba(200, 216, 236, 0.5);
  border-radius: 6px;
  padding: 1.8rem 1.2rem;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.team-card:hover {
  box-shadow: 0 8px 30px rgba(27, 42, 74, 0.08);
  transform: translateY(-2px);
}

.team-card .card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--navy);
  opacity: 0.7;
}

.team-card .card-icon svg {
  width: 100%;
  height: 100%;
}

.team-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.team-card p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--gray);
  max-width: none;
}

/* ===========================================================
   TECH & AI PAGE — Approach / Cards
   =========================================================== */
.approach-box {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(232, 239, 248, 0.4);
  border: 1px solid rgba(200, 216, 236, 0.5);
  border-radius: 6px;
  padding: 2rem 2.5rem;
  text-align: left;
}

.approach-box p {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.approach-box ul {
  padding-left: 0;
  margin-bottom: 1rem;
  list-style: none;
}

.approach-box ul li {
  font-size: 0.93rem;
  margin-bottom: 0.4rem;
  line-height: 1.6;
  padding-left: 1.2rem;
  position: relative;
}

.approach-box ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--navy);
}

.approach-box .closing {
  font-style: italic;
  color: var(--gray);
  margin-top: 1rem;
  margin-bottom: 0;
}

.tech-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.tech-card {
  background: var(--white);
  border: 1px solid rgba(200, 216, 236, 0.5);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.tech-card:hover {
  box-shadow: 0 8px 30px rgba(27, 42, 74, 0.08);
  transform: translateY(-2px);
}

.tech-card .card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--navy);
  opacity: 0.7;
}

.tech-card .card-icon svg {
  width: 100%;
  height: 100%;
}

.tech-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.tech-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--gray);
  max-width: none;
}

/* ===========================================================
   CONTACT PAGE — Form Card
   =========================================================== */
.contact-form-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid rgba(200, 216, 236, 0.4);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(27, 42, 74, 0.06);
}

/* ===========================================================
   TAGLINE BANNER
   =========================================================== */
.tagline-banner {
  padding: 3rem 2rem;
  text-align: center;
  /* Subtle mountain-mist background */
  background:
    linear-gradient(180deg, rgba(232, 239, 248, 0.3) 0%, rgba(200, 216, 236, 0.4) 50%, rgba(240, 244, 250, 0.3) 100%),
    var(--off-white);
}

.tagline-banner .tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-style: italic;
  color: var(--navy);
  max-width: 700px;
  margin: 0 auto 0.5rem;
  line-height: 1.4;
}

.tagline-banner .tagline-sub {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--gray);
  max-width: 550px;
  margin: 0 auto;
}

/* ===========================================================
   LOGIN PAGE
   =========================================================== */
.hero-login {
  background-image:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 45%,
      rgba(255, 255, 255, 0.25) 65%,
      rgba(255, 255, 255, 0.55) 85%,
      rgba(255, 255, 255, 0.72) 100%),
    url('images/hero-home.png');
  background-size: cover;
  background-position: center;
}

.login-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid rgba(200, 216, 236, 0.5);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(27, 42, 74, 0.08);
  text-align: left;
}

.login-btn {
  width: 100%;
  text-align: center;
  letter-spacing: 1px;
}

.login-error {
  background: #fff0f0;
  border: 1px solid #f5c6c6;
  color: #c0392b;
  border-radius: 4px;
  padding: 0.65rem 0.9rem;
  font-size: 0.88rem;
  margin-top: 0.75rem;
}

/* ===========================================================
   CLIENT PORTAL — post-login area
   =========================================================== */
.portal-body {
  background: var(--off-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Portal Header */
.portal-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.portal-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portal-logo .logo-img {
  height: 40px;
  filter: brightness(0) invert(1); /* makes the dark logo white on dark bg */
}

.portal-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.portal-nav-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.portal-nav-exit {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}

.portal-nav-exit:hover {
  color: var(--white);
}

.portal-logout-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.45rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.portal-logout-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

/* Portal Main */
.portal-main {
  flex: 1;
  padding-top: 68px; /* offset for fixed header */
}

.portal-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.portal-page-header {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(200, 216, 236, 0.5);
  padding-bottom: 1.5rem;
}

.portal-page-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.portal-page-subtitle {
  font-size: 0.95rem;
  color: var(--gray);
  margin: 0;
  max-width: none;
}

/* Project Cards Grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.project-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--white);
  border: 1px solid rgba(200, 216, 236, 0.5);
  border-radius: 8px;
  padding: 1.6rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
  box-shadow: 0 6px 28px rgba(27, 42, 74, 0.1);
  transform: translateY(-2px);
  border-color: var(--blue-accent);
}

.project-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--blue-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.project-card-icon svg {
  width: 22px;
  height: 22px;
}

.project-card-body {
  flex: 1;
}

.project-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.project-card-desc {
  font-size: 0.84rem;
  color: var(--gray);
  line-height: 1.5;
  margin: 0;
  max-width: none;
}

.project-card-arrow {
  flex-shrink: 0;
  color: var(--gray-light);
  width: 20px;
  height: 20px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.project-card-arrow svg {
  width: 100%;
  height: 100%;
}

.project-card:hover .project-card-arrow {
  color: var(--navy);
  transform: translateX(3px);
}

/* Portal Content Card (individual project pages) */
.portal-content-card {
  background: var(--white);
  border: 1px solid rgba(200, 216, 236, 0.5);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 2px 12px rgba(27, 42, 74, 0.05);
}

.portal-content-card p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--gray);
  max-width: 680px;
}

/* Portal Footer */
.portal-footer {
  padding: 1.5rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(200, 216, 236, 0.4);
  background: var(--white);
  margin-top: auto;
}

.portal-footer p {
  font-size: 0.78rem;
  color: var(--gray-light);
  max-width: none;
  margin: 0;
}

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid rgba(200, 216, 236, 0.4);
  background: var(--white);
}

.site-footer p {
  font-size: 0.8rem;
  color: var(--gray-light);
  max-width: none;
  margin: 0 auto;
}

/* ===========================================================
   DIVIDER
   =========================================================== */
.divider {
  width: 60px;
  height: 2px;
  background: var(--blue-mist);
  margin: 1.5rem auto;
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 960px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .leadership-card {
    grid-template-columns: 220px 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--blue-mist);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .hero {
    min-height: 380px;
    padding-top: 6rem;
  }

  .hero-home {
    min-height: 440px;
    text-align: center;
    align-items: center;
    background-position: 68% 10%;
  }

  .hero-home .hero-content {
    padding: 0;
  }

  .hero-home .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .bottom-split {
    grid-template-columns: 1fr;
  }

  .leadership-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .leadership-photo {
    max-width: 280px;
    margin: 0 auto;
  }

  .tech-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .container {
    padding: 0 1.2rem;
  }
}
