:root {
  --primary-navy: #1a3a52;
  --secondary-navy: #2d5f7f;
  --sannasig-teal: #00677B;
  --warm-bronze: #a67c52;
  --charcoal: #3d3d3d;
  --medium-gray: #6b6b6b;
  --light-gray: #d4d4d4;
  --off-white: #f8f6f3;
}

@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600;700&family=Source+Sans+Pro:wght@300;400;600&display=swap');

@font-face {
  font-family: 'Versailles';
  src: url('fonts/Versailles Roman.otf') format('opentype');
}
@font-face {
  font-family: 'Macklin Sans Light';
  src: url('fonts/MacklinSans-Light.otf') format('opentype');
}
@font-face {
  font-family: 'Macklin Sans Bold';
  src: url('fonts/MacklinSans-Bold.otf') format('opentype');
}

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

body {
  font-family: 'Macklin Sans Light', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--off-white);
  color: var(--charcoal);
  line-height: 1.65;
  font-size: 19px;
  font-weight: 400;
}

.site-header {
  width: 100%;
  background-color: #ffffff;
  padding: 30px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.header-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.header-container .logo img {
  height: 160px;
}

.site-nav {
  width: 100%;
  background-color: var(--primary-navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: flex-end;
}

.nav-container ul {
  list-style: none;
  display: flex;
}

.nav-container ul li {
  margin-left: 0;
}

.nav-container ul li a {
  display: block;
  padding: 18px 24px;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Source Sans Pro', 'Macklin Sans Bold', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  text-transform: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-container ul li a:hover {
  background-color: var(--sannasig-teal);
  color: #ffffff;
}

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(255,255,255,0.02) 10px,
      rgba(255,255,255,0.02) 20px
    );
  pointer-events: none;
}

.content {
  padding: 60px 40px;
  max-width: 1000px;
  margin: 0 auto;
  background-color: #ffffff;
  box-shadow: 0 0 30px rgba(0,0,0,0.08);
  border-radius: 2px;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.about, .contact-info {
  margin-bottom: 50px;
}

.about:last-child, .contact-info:last-child {
  margin-bottom: 0;
}

h2 {
  font-family: 'Crimson Text', 'Versailles', Georgia, serif;
  font-weight: 600;
  color: var(--primary-navy);
  font-size: 36px;
  margin-bottom: 24px;
  border-bottom: 3px solid var(--sannasig-teal);
  padding-bottom: 16px;
  line-height: 1.3;
}

h3 {
  font-family: 'Source Sans Pro', 'Macklin Sans Bold', sans-serif;
  font-weight: 600;
  text-transform: none;
  color: var(--secondary-navy);
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

p + h3 {
  margin-top: 36px;
}

p {
  margin-bottom: 28px;
  line-height: 1.65;
  color: var(--charcoal);
}

em {
  color: var(--medium-gray);
  font-style: normal;
  font-weight: 400;
}

a {
  color: var(--sannasig-teal);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

a:hover {
  border-bottom-color: var(--sannasig-teal);
}

.team-member {
  display: flex;
  margin-bottom: 60px;
  padding-bottom: 60px;
  align-items: flex-start;
  border-bottom: 1px solid var(--light-gray);
}

.team-member:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.team-member img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  margin-right: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  border: 4px solid var(--off-white);
}

.team-info h2 {
  margin-top: 0;
  font-size: 32px;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 16px;
}

.team-info h3 {
  font-size: 18px;
  color: var(--warm-bronze);
  margin-top: 0;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.team-info ul {
  list-style-type: none;
  margin-left: 0;
  margin-bottom: 20px;
  padding-left: 0;
}

.team-info ul li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
  color: var(--medium-gray);
  font-size: 16px;
}

.team-info ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--sannasig-teal);
  font-weight: bold;
}

.cta-section {
  background: linear-gradient(135deg, var(--off-white) 0%, #ffffff 100%);
  border: 2px solid var(--light-gray);
  border-radius: 4px;
  padding: 30px;
  margin-top: 40px;
  text-align: center;
}

.cta-section p {
  margin-bottom: 0;
  font-size: 19px;
  color: var(--secondary-navy);
}

footer {
  background-color: var(--primary-navy);
  color: var(--light-gray);
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
  font-size: 14px;
}

@media (max-width: 768px) {
  body {
    font-size: 18px;
  }

  .header-container, .nav-container, .content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header-container .logo img {
    height: 120px;
  }

  .site-header, .site-nav {
    text-align: center;
  }

  .nav-container {
    justify-content: center;
  }

  .nav-container ul {
    flex-direction: column;
  }

  .nav-container ul li {
    margin: 0;
  }

  .nav-container ul li a {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  .content {
    margin-top: -20px;
    padding: 40px 20px;
  }

  .hero {
    height: 180px;
  }

  .content.team .team-member {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 40px;
    padding-bottom: 40px;
  }

  .content.team .team-member img {
    margin-bottom: 20px;
    margin-right: 0;
    width: 180px;
    height: 180px;
  }

  .team-info h2 {
    font-size: 26px;
  }
}

@media print {
  .site-nav {
    display: none;
  }

  .hero {
    height: 100px;
  }

  body {
    background-color: white;
  }

  .content {
    box-shadow: none;
    margin-top: 0;
  }
}
