@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Avenir', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #ffffff;
  color: #111111;
  line-height: 1.6;
}

/* Generic layout */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Slight inset on text */
.section p,
.about p {
  padding: 0 0.2rem;
}

/* Logo / Header */
.site-header {
  padding: 1.5rem 2rem 0.5rem 2rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  background: #18848E;
}

/* Logo without shadow, no radius */
.logo {
  background: #18848E;
  padding: 0.75rem 1.5rem;
  border-radius: 0;
  box-shadow: none;
}

.logo img {
  width: 220px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Nav toggle (hamburger) */
.nav-toggle {
  position: absolute;
  right: 1.5rem;
  top: 1.6rem;
  width: 36px;
  height: 30px;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 20;
}

.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: #00FFFF;
  transition: 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Nav bar with rounded corners */
.main-nav {
  max-width: 900px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: #00FFFF;
  border-radius: 999px;
  transform: translateY(-1.4rem);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.main-nav a {
  text-decoration: none;
  color: #111111;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-arrow {
  font-size: 0.8rem;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4.5rem 2rem 4rem 2rem;
  background: #18848E;
  color: #00FFFF;
}

.hero h1 {
  font-family: 'Label', 'Inter', system-ui, sans-serif;
  font-size: 3.0rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #00FFFF;
}

.hero-mainline {
  font-size: 1.4rem;
  color: #ffffff;
  font-weight: 700;
  margin-top: 0.5rem;
}

.hero-subcopy {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 500;
  margin-top: 1.2rem;
  max-width: 700px;
}

/* CTA buttons – base */
.cta a,
.shifts-cta a,
.evidence-cta a {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  transition: 0.3s;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

/* Keep CTAs cyan in all states except hover */
.cta a,
.cta a:link,
.cta a:visited,
.cta a:active,
.shifts-cta a,
.shifts-cta a:link,
.shifts-cta a:visited,
.shifts-cta a:active,
.evidence-cta a,
.evidence-cta a:link,
.evidence-cta a:visited,
.evidence-cta a:active {
  background: #00FFFF;
  color: #111111;
  text-decoration: none;
}

/* Hover state */
.cta a:hover,
.shifts-cta a:hover,
.evidence-cta a:hover {
  background: #18848E;
  color: #00FFFF;
  box-shadow: 0 4px 12px rgba(0,0,0,0.24);
}

/* Hero CTA wrapper */
.cta {
  text-align: center;
  margin-top: 2.2rem;
}

/* Section titles – rounded */
.section-title {
  background: #18848E;
  border-radius: 14px;
  padding: 0.9rem 1.2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.section-title h2 {
  color: #00FFFF;
  font-size: 1.4rem;
  text-transform: uppercase;
}

.section-title p {
  color: #ffffff;
  font-size: 0.95rem;
}

/* About / general sections */
.about {
  font-size: 1.05rem;
  color: #111111;
  background: #ffffff;
}

.about p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.inline-link {
  color: #18848E;
  font-weight: 700;
  text-decoration: none;
}

.inline-link:hover {
  text-decoration: underline;
}

/* Shifts */
.shifts-section {
  background: #ffffff;
}

.shifts-intro-top {
  margin-bottom: 1.2rem;
  font-size: 1.02rem;
}

.shifts-intro {
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.shifts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.shift-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Equal-height header strip for all cards */
.shift-header-strip {
  background: #f5fafa;
  padding: 0.85rem 1rem;
  margin: 0;
  border-radius: 0;
  width: 100%;
  height: 110px; /* fixed height for equal backgrounds */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.shift-header-strip h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.shift-tagline {
  font-weight: 600;
  color: #18848E;
  font-size: 0.95rem;
}

.shift-body {
  padding: 1.2rem 1.2rem 0.5rem 1.2rem;
  flex: 1 1 auto;
}

.shift-body p {
  margin-bottom: 1rem;
}

.shift-result {
  margin: 0 1.2rem 1.2rem 1.2rem;
  font-weight: 500;
  color: #18848E;
}

.shifts-between-text {
  margin-top: 2.5rem;
  text-align: center;
}

.shifts-between-text p {
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: #18848E;
}

/* Evidence */
.evidence-details {
  border-radius: 16px;
  border: 1px solid #18848E;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  background: #ffffff;
}

.evidence-details[open] {
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.evidence-details summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.2rem;
  background: #f5fafa;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

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

.evidence-summary-main {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.evidence-summary-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #18848E;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.evidence-chevron {
  display: inline-block;
  transition: transform 0.2s ease;
}

.evidence-details[open] .evidence-chevron {
  transform: rotate(90deg);
}

.evidence-label {
  font-weight: 600;
  color: #18848E;
}

.evidence-sub {
  font-size: 0.95rem;
  color: #111111;
}

.evidence-content {
  padding: 1.5rem 1.2rem 1.5rem 1.2rem;
  background: #ffffff;
}

.evidence-content p {
  margin-bottom: 1.3rem;
}

.evidence-cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* Footer */
.site-footer {
  padding: 2rem 2rem 2.5rem 2rem;
  background: #18848E;
  color: #ffffff;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  text-align: center;
}

.footer-content p {
  margin: 0;
}

.footer-content a {
  color: #00FFFF;
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
  animation-play-state: paused;
}

.fade-delay {
  animation-delay: 0.2s;
}

.fade-delay-2 {
  animation-delay: 0.4s;
}

.fade-delay-3 {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .shifts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 3.5rem 1.5rem 3.5rem 1.5rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-mainline {
    font-size: 1.25rem;
  }

  .hero-subcopy {
    font-size: 0.98rem;
  }

  .section {
    padding: 3.5rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .main-nav {
    flex-direction: column;
    border-radius: 16px;
  }

  .footer-content {
    font-size: 0.8rem;
  }
}
