:root {
  --ark-navy: #0A3D62;         /* Primary dark blue */
  --ark-horizon: #ACB9DB;      /* Light blue-gray */
  --ark-gold: #C9A15C;         /* Gold accent */
  --ark-white: #F5F7FA;        /* Near-white */
  --ark-charcoal: #1b1c1f;     /* Charcoal/dark gray */
}

body {
  margin: 0; padding: 0;
  font-family: 'Open Sans', 'Montserrat', Arial, sans-serif;
  background: var(--ark-white);
  color: var(--ark-charcoal);
  min-height: 100vh;
}

.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 95%;
  background: rgba(10,61,98,0.98); /* navy with opacity */
  color: var(--ark-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 4vw;
  z-index: 1000;
  box-shadow: 0 4px 14px rgba(44,54,70,0.12);
}

.navbar .logo-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar .logo-bar img {
  height: 56px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  transition: max-height 0.3s;
}


.nav-links a {
  color: var(--ark-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 1px;
  transition: color 0.18s;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--ark-gold);
  border-bottom: 2px solid var(--ark-gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 36px; height: 36px;
  cursor: pointer;
  margin-left: 1.5rem;
}
.nav-toggle span {
  display: block;
  height: 4px; width: 30px;
  margin: 4px 0;
  background: var(--ark-gold);
  border-radius: 2px;
  transition: 0.27s;
}

/* Responsive Nav */
@media (max-width: 900px) {
  .nav-links { gap: 1.1rem; }
  .navbar .logo-bar img { height: 34px; }
}
@media (max-width: 700px) {
  .navbar { padding: 0.7rem 2vw;}
  .nav-links {
    position: fixed;
    top: 60px;
    right: 0;
    background: rgba(10,61,98,0.97);
    flex-direction: column;
    align-items: flex-start;
    width: 64vw;
    max-height: 0;
    overflow: hidden;
    border-radius: 0 0 0 18px;
    box-shadow: -3px 5px 20px rgba(44,54,70,0.13);
    transition: max-height 0.36s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nav-links.open { max-height: 400px; padding-bottom: 0.7rem; }
  .nav-links a { padding: 0.7rem 1.5rem; width: 100%; }
  .nav-toggle { display: flex; }
}

/* HERO / LANDING */
.hero, .hero.hero-alt-bg {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 0px;
  z-index: 1;
  background: linear-gradient(120deg, var(--ark-navy) 20%, var(--ark-horizon) 100%);
  color: var(--ark-white);
  text-align: center;
}

/* make the hero‐content container full‐width */
.hero-content {
  position: relative;
  z-index: 2;               /* ensure children can layer above the video */
}

/* let the video itself fill its parent and scale */
.hero-logo {
  display: block;           /* remove inline spacing artifacts */
  width: 100%;              /* fill 100% of .hero-content’s width */
  max-width: 100%;          
  height: auto;             /* keep aspect ratio */
  object-fit: cover;        /* crop safely if the container’s ratio differs */
}
.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--ark-gold);
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.2s;
  text-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.hero-subtitle {
  font-size: 1.35rem;
  color: var(--ark-white);
  font-weight: 600;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.3s;
}
.hero-cta {
  margin-top: 2.2rem;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.3s;
}
.cta-btn {
  font-size: 1.17rem;
  padding: 1rem 2.5rem;
  border-radius: 9px;
  font-weight: 800;
  background: var(--ark-gold);
  color: var(--ark-charcoal);
  border: none;
  box-shadow: 0 8px 32px rgba(44,54,70,0.13);
  cursor: pointer;
  transition: background 0.14s, color 0.14s, transform 0.13s;
}
.cta-btn:hover { background: var(--ark-navy); color: var(--ark-white); transform: translateY(-2px) scale(1.03);}
.hero-disclosure {
  margin-top: 2.4rem;
  font-size: 1rem;
  background: #fff5daee;
  color: #b87e09;
  display: inline-block;
  border-radius: 8px;
  padding: 0.85rem 1.2rem;
  box-shadow: 0 3px 18px rgba(44,54,70,0.06);
  opacity: 0.96;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.3s;
}
@media (max-width: 650px) {
  .hero-title { font-size: 1.48rem;}
  .hero-logo { width: 100px;}
  .hero-content { margin-top: 1.7rem;}
  .navbar .site-name { font-size: 1rem;}
  .nav-links a { font-size: 1rem;}
}

/* Page Content Layouts */
.page-hero, .about-hero, .strategy-hero, .team-hero {
  background: linear-gradient(100deg, var(--ark-navy) 70%, var(--ark-horizon) 100%);
  color: var(--ark-white);
  padding: 3rem 4vw 2.5rem 4vw;
  text-align: center;
  border-radius: 0 0 28px 28px;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 32px rgba(44,54,70,0.09);
  position: relative;
}
.page-hero h1, .about-hero h1, .strategy-hero h1, .team-hero h1 {
  font-size: 2.3rem;
  margin-bottom: 1.1rem;
  letter-spacing: 2px;
}
.page-section, .about-section, .strategy-section, .team-section {
  max-width: 950px;
  margin: 0 auto;
  padding: 2rem 4vw 2rem 4vw;
  background: var(--ark-white);
  border-radius: 12px;
  box-shadow: 0 3px 20px rgba(44,54,70,0.04);
}

h2 {
  font-size: 1.36rem;
  color: var(--ark-navy);
  font-weight: 700;
  margin-top: 2rem;
}

ul, p {
  font-size: 1.12rem;
  line-height: 1.7;
}

.about-values, .strategy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}
.about-value, .strategy-box {
  background: var(--ark-white);
  border-left: 5px solid var(--ark-gold);
  border-radius: 8px;
  padding: 1.2rem 1.4rem 1.2rem 1.1rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  box-shadow: 0 1px 8px rgba(44,54,70,0.05);
  min-height: 80px;
  display: flex;
  align-items: center;
}

.strategy-list {
  margin: 1.2rem 0 2.1rem 1.1rem;
  font-size: 1.07rem;
}

.risk-section .sets-section {
  background: var(--ark-white);
  border-left: 5px solid var(--ark-navy);
  border-radius: 8px;
  padding: 1.1rem 1.2rem 1.1rem 1.3rem;
  margin-top: 2.1rem;
  margin-bottom: 2rem;
  font-size: 1.05rem;
  box-shadow: 0 1px 10px rgba(44,54,70,0.04);
}

.edge-highlight {
  font-weight: 700;
  color: var(--ark-gold);
  margin-bottom: 1rem;
  font-size: 1.13rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2.5rem;
  margin-top: 2.2rem;
}
.team-member {
  background: var(--ark-white);
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(44,54,70,0.09);
  padding: 2rem 1.2rem;
  text-align: center;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.team-member img {
  border-radius: 50%;
  height: 94px;
  width: 94px;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid var(--ark-gold);
}
.team-member h3 {
  margin: 0.5rem 0 0.25rem 0;
  color: var(--ark-navy);
  font-weight: 700;
  font-size: 1.3rem;
}
.team-member p {
  font-size: 1rem;
  margin: 0.15rem 0;
  color: var(--ark-charcoal);
}
.team-member .team-title {
  color: var(--ark-gold);
  font-weight: 600;
  font-size: 1.06rem;
  margin-bottom: 0.15rem;
}

footer {
  background: var(--ark-charcoal);
  color: var(--ark-white);
  text-align: center;
  font-size: 1.02rem;
  padding: 2rem 4vw;
  margin-top: 0;
  border-top: 2px solid var(--ark-gold);
}

/* Utility */
.about-highlight, .strategy-highlight, .team-highlight {
  background: #fff5daee;
  color: #b87e09;
  display: inline-block;
  border-radius: 8px;
  font-size: 1.03rem;
  padding: 0.8rem 1.3rem;
  margin: 1.2rem 0 0.5rem 0;
  box-shadow: 0 3px 18px rgba(44,54,70,0.04);
}

@media (max-width: 800px) {
  .about-section, .strategy-section, .team-section, .page-section { padding: 1.1rem 2vw 1.1rem 2vw;}
  .about-values, .strategy-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr;}
  .navbar .logo-bar img { height: 32px;}
  width: 100%;
}
@media (max-width: 600px) {
  .navbar .site-name { font-size: 1rem;}
  .hero-title { font-size: 1.2rem;}
  .hero-logo { width: 90px;}
  width: 100%;
}

/* make sure the rotating words sit above the video */
.hero-words {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;               /* higher than .hero-content’s video */
  pointer-events: none;
}

/* the word itself */
.hero-words #heroWord {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;                   /* bold */
  font-size: clamp(2rem, 6vw, 4rem);  /* scales from 2rem up to 4rem */
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  white-space: nowrap;
}

/* 1) Make the wrapper for video + words */
.hero-video-wrapper {
  position: relative;
  width: 100%;            /* full‑width */
  max-width: 100%;        
  overflow: hidden;       /* hides any video overflow */
}

/* 2) Ensure video fills its wrapper */
.hero-video-wrapper .hero-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 3) Center the words inside that wrapper */
.hero-video-wrapper .hero-words {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;             /* above the video */
  pointer-events: none;
}

/* subtitle overlaid on the video, at the bottom */
.hero-video-wrapper .hero-video-subtitle {
  position: absolute;
  bottom: clamp(1rem, 5vw, 2rem);    /* responsive distance from bottom */
  left: 50%;
  transform: translateX(-50%);
  width: 90%;                        /* or whatever max you like */
  max-width: 800px;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  line-height: 1.4;
  color: var(--ark-white);
  z-index: 2;                        /* above the video, below rotating words */
  pointer-events: none;
}

@media (max-width: 400px) {
  .hero-content {
    margin-top: -25 !important;
  }
}