/* ============================================
   ZEUS H2GO - Stylesheet
   White-dominant redesign
   ============================================ */

:root {
  /* Brand colors */
  --navy-900: #0a2540;
  --navy-800: #103057;
  --navy-700: #1a3a66;
  --green-500: #2ecc71;
  --green-600: #27b765;
  --green-400: #5cd68a;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #fafbfc;
  --gray-100: #f4f6f8;
  --gray-200: #e4e8ec;
  --gray-300: #cdd3da;
  --gray-500: #6b7785;
  --gray-700: #3a4452;
  --gray-900: #14181f;

  /* Accent for content-needed markers */
  --content-marker: #d946ef;

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container-max: 1280px;
  --container-pad: clamp(20px, 3vw, 48px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--navy-900);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
}

h4 {
  font-size: 1.15rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  color: var(--gray-700);
  line-height: 1.7;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 16px;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: var(--gray-700);
  max-width: 640px;
}

/* Content needed marker */
.content-needed {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--content-marker);
  border: 1px dashed var(--content-marker);
  border-radius: 3px;
  margin-bottom: 8px;
  background: rgba(217, 70, 239, 0.04);
}

.placeholder-text {
  color: var(--content-marker);
  font-style: italic;
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

section {
  padding: clamp(48px, 6vw, 80px) 0;
}

.section-tight {
  padding: clamp(36px, 4.5vw, 60px) 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.nav-wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 44px;
}

.brand img,
.brand svg {
  height: 44px;
  width: auto;
  display: block;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy-900);
  position: relative;
  padding: 8px 0;
  transition: color 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green-600);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--green-500);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.nav-cta:hover {
  background: var(--navy-800);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  position: relative;
  width: 22px;
  height: 2px;
  background: var(--navy-900);
  transition: background 0.2s;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--navy-900);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--white);
    z-index: 45;
    padding: 32px var(--container-pad);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
  }

  .nav-open .mobile-menu {
    transform: translateX(0);
  }

  .mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .mobile-menu a {
    display: block;
    padding: 16px 0;
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--navy-900);
    border-bottom: 1px solid var(--gray-200);
  }

  .mobile-menu a:hover {
    color: var(--green-600);
  }

  .mobile-menu .nav-cta {
    display: inline-flex;
    margin-top: 24px;
  }
}

@media (min-width: 981px) {
  .mobile-menu {
    display: none;
  }
}

/* ============================================
   HERO - The only place navy gradient lives
   ============================================ */

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--green-600) 130%);
  color: var(--white);
  overflow: hidden;
  padding: clamp(64px, 9vw, 120px) 0 clamp(64px, 9vw, 100px);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 30%, rgba(46, 204, 113, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 15% 80%, rgba(46, 204, 113, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.hero .container {
  position: relative;
}

.hero h1 {
  color: var(--white);
  max-width: 920px;
  margin-bottom: 24px;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.82);
  max-width: 580px;
  margin-bottom: 36px;
}

.hero .eyebrow {
  color: var(--green-400);
}

.hero-compact {
  padding: clamp(48px, 6vw, 80px) 0 clamp(48px, 6vw, 70px);
}

.hero-compact h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

/* Hero with image variant */
.hero-with-image {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-image {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-200);
  position: relative;
}

@media (max-width: 880px) {
  .hero-with-image {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  background: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(46, 204, 113, 0.55);
}

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

.btn-dark:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--gray-300);
}

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

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

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

.btn-ghost {
  padding: 0;
  background: none;
  color: var(--navy-900);
  font-weight: 500;
  border-radius: 0;
  border-bottom: 1px solid var(--navy-900);
  padding-bottom: 4px;
}

.btn-ghost:hover {
  color: var(--green-600);
  border-color: var(--green-600);
}

.btn-arrow::after {
  content: '→';
  transition: transform 0.25s var(--ease);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h2 {
  margin-bottom: 16px;
}

/* ============================================
   CARDS
   ============================================ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--gray-300);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(10, 37, 64, 0.15);
}

.card-image {
  aspect-ratio: 4/3;
  background: var(--gray-100);
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--gray-500);
  letter-spacing: 0.02em;
}

.card h3 {
  font-size: 1.25rem;
}

.card p {
  font-size: 0.95rem;
  flex: 1;
}

.card-footer {
  margin-top: 16px;
}

/* Feature cards (no image) */
.feature-card {
  padding: 36px;
  background: var(--gray-50);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  transition: all 0.25s var(--ease);
}

.feature-card:hover {
  background: var(--white);
  border-color: var(--green-500);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(46, 204, 113, 0.1);
  color: var(--green-600);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 600;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
}

/* ============================================
   STATS
   ============================================ */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 48px;
  padding: 56px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 400;
  color: var(--navy-900);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================
   TWO COLUMN
   ============================================ */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.two-col-image {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-100);
}

.two-col-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 880px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   QUOTE
   ============================================ */

.quote-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 24px 0;
}

.quote-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.quote-block blockquote::before {
  content: '"';
  display: block;
  font-size: 3rem;
  color: var(--green-500);
  line-height: 0.5;
  margin-bottom: 16px;
}

.quote-attribution {
  font-size: 0.9rem;
  color: var(--gray-500);
  letter-spacing: 0.04em;
}

/* ============================================
   FORM
   ============================================ */

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--navy-900);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.12);
}

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

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

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ACCORDION (FAQs)
   ============================================ */

.accordion-item {
  border-bottom: 1px solid var(--gray-200);
}

.accordion-item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy-900);
  transition: color 0.2s var(--ease);
}

.accordion-item summary:hover {
  color: var(--green-600);
}

.accordion-item summary::-webkit-details-marker { display: none; }

.accordion-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--green-600);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.accordion-item[open] summary::after {
  transform: rotate(45deg);
}

.accordion-content {
  padding-bottom: 28px;
  color: var(--gray-700);
  line-height: 1.7;
  max-width: 760px;
}

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

.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 28px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 280px;
  color: var(--white);
}

.footer-brand .brand-text span {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 16px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--green-400);
}

.footer-newsletter input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter input:focus {
  outline: none;
  border-color: var(--green-500);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  font-size: 0.9rem;
  transition: all 0.2s var(--ease);
}

.social-links a:hover {
  background: var(--green-500);
  border-color: var(--green-500);
  color: var(--navy-900);
}

@media (max-width: 880px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================
   IMAGE PLACEHOLDER
   ============================================ */

.img-placeholder {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  display: grid;
  place-items: center;
  color: var(--gray-500);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0, transparent 10px, rgba(10, 37, 64, 0.03) 10px, rgba(10, 37, 64, 0.03) 11px);
}

.img-placeholder span {
  position: relative;
  z-index: 1;
  background: var(--white);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px dashed var(--content-marker);
  color: var(--content-marker);
  font-weight: 500;
}

/* ============================================
   PAGE-SPECIFIC HELPERS
   ============================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.team-member {
  text-align: left;
}

.team-photo {
  aspect-ratio: 4/5;
  background: var(--gray-100);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 12px;
}

/* Article body */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-body p {
  margin-bottom: 24px;
}

.article-body h2,
.article-body h3 {
  margin-top: 48px;
  margin-bottom: 16px;
}

.article-body img {
  border-radius: 8px;
  margin: 32px 0;
}

/* Filter sidebar (Media Centre) */
.filter-layout {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 64px;
}

.filter-list {
  list-style: none;
  position: sticky;
  top: 100px;
}

.filter-list li {
  border-bottom: 1px solid var(--gray-200);
}

.filter-list a {
  display: block;
  padding: 14px 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-500);
  transition: color 0.2s var(--ease);
}

.filter-list a:hover,
.filter-list a.active {
  color: var(--navy-900);
}

@media (max-width: 800px) {
  .filter-layout {
    grid-template-columns: 1fr;
  }
  .filter-list {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0 24px;
    margin-bottom: 32px;
  }
  .filter-list li {
    border-bottom: none;
  }
}

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

.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.bg-gray { background: var(--gray-50); }

.divider {
  height: 1px;
  background: var(--gray-200);
  margin: clamp(40px, 6vw, 80px) 0;
}


/* When img-placeholder contains a real image, hide placeholder pattern */
.img-placeholder:has(img) {
  background: var(--gray-100);
}
.img-placeholder:has(img)::before {
  display: none;
}
.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.two-col-image:has(img) {
  background: transparent;
}
.two-col-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-image:has(img) {
  background: transparent;
}
.team-photo:has(img) {
  background: transparent;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
