:root {
  --header-height: 64px;
  --content-max-width: 1100px;
  --overlay-gap-desktop: 6%;
  --overlay-gap-tablet: 4%;
  --overlay-gap-mobile: 3%;
  --overlay-width-desktop: 22%;
  --overlay-width-tablet: 38%;
  --overlay-width-mobile: 68%;
  --overlay-bg: rgba(0, 0, 0, 0.68); /* ~68% opaque black */
  --text-on-dark: #ffffff;
  --text-on-light: #111111;
  --accent: #3aa4ff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: var(--text-on-light);
  background: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.header-inner {
  height: 100%;
  margin: 0 auto;
  max-width: var(--content-max-width);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.brand-logo-small {
  height: 54px;
  width: auto;
  display: block;
}
.brand-text {
  color: inherit;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 20px;
  padding: 8px 10px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}
.site-nav a:hover {
  color: var(--accent);
}
.site-nav .btn {
  margin-left: 24px;
  padding: 8px 18px;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 12px 26px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  opacity: 0.92;
}
.btn-outline {
  border-color: rgba(0,0,0,0.2);
  color: var(--text-on-light);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.join-link {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 8px 20px;
}

/* Main / Hero */
.main {
  padding-top: var(--header-height);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  background-image: url("./img/IMG_1469.jpeg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  isolation: isolate;
}

.hero-overlay-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--overlay-gap-desktop);
  width: var(--overlay-width-desktop);
  background: var(--overlay-bg);
  color: var(--text-on-dark);
  display: block;
  padding: calc(var(--header-height) + 24px) 24px 24px 24px;
}

.brand-logo {
  display: block;
  width: 95%;
  max-width: 360px;
  height: auto;
}

.motto {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 25%;
  color: var(--text-on-dark);
}
.motto h1 {
  margin: 0 0 8px 0;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.2;
}
.motto p {
  margin: 0;
  opacity: 0.9;
  font-size: clamp(14px, 1.6vw, 18px);
}

/* Sections */
.section {
  padding: 64px 20px;
}
.section .section-inner {
  margin: 0 auto;
  max-width: var(--content-max-width);
}
.section h2 {
  margin: 0 0 16px 0;
  font-size: clamp(22px, 3vw, 28px);
}
.section p {
  margin: 0 0 12px 0;
  color: #333;
}

.section.join {
  background: #f4f7fb;
}
.join-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.join-copy {
  flex: 1 1 320px;
  max-width: 640px;
}
.join-cta {
  flex: 0 0 auto;
}

.contact-cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 24px;
}
.contact-card {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(15,17,21,0.04);
}
.contact-role {
  margin: 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #7a7f89;
}
.contact-name {
  margin: 8px 0 6px 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-on-light);
}
.contact-email {
  color: var(--accent);
  font-weight: 500;
}
.contact-email:hover {
  text-decoration: underline;
}
.contact-meta {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: #555;
}
.contact-meta .label {
  font-weight: 600;
  color: #333;
}

/* Footer */
.site-footer {
  background: #0f1115;
  color: #cfd3dc;
}
.footer-inner {
  margin: 0 auto;
  max-width: var(--content-max-width);
  padding: 32px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.footer-col a {
  color: #9fc6ff;
}
.footer-col a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-overlay-bar {
    left: var(--overlay-gap-tablet);
    width: var(--overlay-width-tablet);
  }
}
@media (max-width: 640px) {
  .hero-overlay-bar {
    left: var(--overlay-gap-mobile);
    width: var(--overlay-width-mobile);
  }
  .join-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .join-cta {
    width: 100%;
  }
  .join-cta .btn {
    width: 100%;
    text-align: center;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}


