:root {
  --bg: #ffffff;
  --bg-soft: #fff6f7;
  --text: #16181c;
  --muted: #5d6673;
  --accent: #d70f26;
  --line: #e8eaee;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
}

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

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
  border-bottom: none;
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(16, 20, 28, 0.08);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.05);
}

.nav-overlay {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #ffffff;
  z-index: 25;
  transition: color 0.2s ease;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-header.scrolled .nav-toggle {
  color: var(--text);
}

.main-nav {
  display: flex;
  gap: 20px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.main-nav a:hover {
  color: #ffe7ea;
}

.btn {
  border: 1px solid var(--accent);
  padding: 10px 16px;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.12);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.site-header.scrolled .brand-logo {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.site-header.scrolled .main-nav {
  color: #4b5563;
  text-shadow: none;
}

.site-header.scrolled .main-nav a:hover {
  color: var(--accent);
}

.site-header.scrolled .btn-outline {
  color: var(--accent);
  border-color: var(--accent);
  background: transparent;
}

.site-header.scrolled .btn-outline:hover {
  color: #ffffff;
  background: var(--accent);
}

.btn-solid {
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
}

.hero {
  height: min(88vh, 900px);
  min-height: 300px;
  width: 100%;
  overflow: hidden;
  border-bottom: none;
  margin-bottom: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section {
  padding: 60px 0;
  position: relative;
  z-index: 1;
  background: var(--bg);
}

.section-dark {
  background: linear-gradient(180deg, #fffafb, var(--bg));
  position: relative;
  z-index: 1;
}

#about {
  padding-top: 40px;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: end;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  margin: 0 0 8px;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2rem, 1.6rem + 2vw, 3.4rem);
}

h2 {
  font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.8rem);
}

h3 {
  font-size: 1.6rem;
}

.lead {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.section-head {
  margin-bottom: 28px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

.card {
  border: 1px solid var(--line);
  padding: 24px;
  background: #ffffff;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.card a {
  color: var(--accent);
  margin-top: auto;
}

.card:hover {
  border-color: rgba(215, 15, 38, 0.35);
  box-shadow: 0 14px 30px rgba(215, 15, 38, 0.08);
}

/* Project Cards with Images */
.project-card {
  padding: 0;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.project-card .card-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.project-card .card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.member-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 8px;
  display: block;
}

/* Leadership Cards - Image Focused with Hover Details */
.leadership-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.leadership-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 400px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: #ffffff;
}

.leadership-card .card-image-wrapper {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 24px 24px;
  transition: transform 0.5s ease;
  background: linear-gradient(135deg, #fffafb 0%, #ffffff 100%);
}

.leadership-card .member-image {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.leadership-card:hover .card-image-wrapper {
  transform: translateY(-40px);
}

.leadership-card:hover .member-image {
  transform: scale(0.85);
  opacity: 0.9;
}

.leadership-card .card-details {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 32px 24px 24px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 60%, rgba(255, 255, 255, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
  backdrop-filter: blur(4px);
}

.leadership-card:hover .card-details {
  opacity: 1;
  transform: translateY(0);
}

.leadership-card .card-details h3 {
  margin-bottom: 8px;
  font-size: 1.5rem;
  color: var(--text);
}

.leadership-card .card-title {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.leadership-card .card-bio {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.9rem;
  max-width: 280px;
  margin: 0 0 8px 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.service-grid-three {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .service-grid-three {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .service-grid,
  .service-grid-three {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 40px 0;
  }

  .card {
    min-height: auto;
  }

  .container {
    width: min(1160px, 94vw);
  }

  .phone-numbers {
    flex-direction: column;
    align-items: flex-start;
  }

  .phone-numbers .separator {
    display: none;
  }
}

.service-item {
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 18px;
  color: var(--muted);
}

.service-item span {
  color: var(--accent);
  margin-right: 10px;
}

.cta {
  border: 1px solid var(--line);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-footer {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border-top: 2px solid var(--line);
  margin-top: 80px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 80px;
  padding: 80px 0 60px;
}

.footer-brand {
  max-width: 100%;
  position: relative;
}

.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  margin: 0 0 20px 0;
  display: block;
}

.footer-tagline {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 40px 0;
  max-width: 500px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(232, 234, 238, 0.5);
  transition: padding-left 0.3s ease;
}

.contact-item:hover {
  padding-left: 4px;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
  width: 20px;
  height: 20px;
  opacity: 0.9;
}

.contact-item span,
.contact-item a {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--accent);
}

.phone-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.phone-numbers .separator {
  color: var(--muted);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-content: start;
}

.footer-column h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 28px 0;
  color: var(--text);
  position: relative;
  padding-bottom: 12px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.footer-column:hover h4::after {
  width: 60px;
}

.link-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-list li {
  margin: 0;
  padding: 0;
}

.link-list a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.link-list a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  color: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-5px);
}

.link-list a:hover {
  color: var(--accent);
  padding-left: 20px;
}

.link-list a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.02);
  border-top: 1px solid var(--line);
  padding: 28px 0;
  margin-top: 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

/* Horizon Animated Section - Background only */
.horizon-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #000000;
  z-index: 0;
  margin: 0;
  padding: 0;
}

.horizon-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.horizon-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 100%;
  pointer-events: none;
  opacity: 0;
}

.horizon-content .container {
  pointer-events: auto;
}

.horizon-content .two-col {
  gap: 40px;
  align-items: center;
}

.horizon-content .eyebrow {
  color: var(--accent);
  font-size: 0.875rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 600;
  opacity: 0.95;
}

.horizon-content h1 {
  color: #ffffff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7), 0 2px 10px rgba(0, 0, 0, 0.5);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.25;
  margin: 0 0 32px 0;
  font-weight: 700;
  max-width: 600px;
}

.horizon-content .lead {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.85;
  margin: 0;
  max-width: 500px;
}


@media (max-width: 940px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
    z-index: 20;
    text-shadow: none;
    padding: 80px 24px 24px;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 18;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .main-nav a {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 500;
  }

  .main-nav a:hover {
    color: var(--accent);
  }

  .btn-outline {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .leadership-cards {
    grid-template-columns: 1fr;
  }

  .leadership-card {
    min-height: 350px;
  }

  .leadership-card .card-image-wrapper {
    min-height: 350px;
    padding: 30px 20px 20px;
  }

  .leadership-card .member-image {
    width: 220px;
    height: 220px;
  }

  .leadership-card:hover .card-image-wrapper {
    transform: translateY(-30px);
  }

  .leadership-card:hover .member-image {
    transform: scale(0.8);
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 0 40px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-logo {
    height: 50px;
  }

  .brand-logo {
    height: 40px;
  }

  .footer-tagline {
    margin-bottom: 32px;
  }

  .footer-contact-info {
    gap: 16px;
  }

  .contact-item {
    padding: 10px 0;
  }

  .footer-column h4 {
    margin-bottom: 20px;
    font-size: 1.3rem;
  }

  .link-list {
    gap: 10px;
  }

  .cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 24px;
  }

  .cta .btn {
    align-self: center;
  }

  .horizon-content {
    padding: 0 20px;
  }

  .horizon-section {
    height: 100vh;
    min-height: 500px;
  }
}

@media (max-width: 480px) {
  .horizon-section {
    min-height: 400px;
  }

  .horizon-content {
    padding: 0 16px;
  }

  .horizon-content h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .horizon-content .lead {
    font-size: 0.9rem;
  }

  .header-inner {
    min-height: 64px;
  }

  .horizon-content h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .horizon-content .lead {
    font-size: clamp(0.95rem, 2vw, 1rem);
  }

  #about {
    padding-top: 30px;
  }
}
