:root {
  --bg: #fbf7f3;
  --surface: #ffffff;
  --surface-alt: #f7efe7;
  --text: #173126;
  --muted: #4a6b5d;
  --primary: #1f7a57;
  --primary-dark: #14563d;
  --accent-gold: #f2b24f;
  --accent-orange: #e76c3d;
  --accent-plum: #5c2d91;
  --ring: rgba(31, 122, 87, 0.16);
  --radius: 18px;
  --shadow: 0 16px 40px rgba(12, 38, 28, 0.08);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(
    90deg,
    rgba(251, 247, 243, 0.9),
    rgba(255, 244, 230, 0.84) 48%,
    rgba(244, 237, 251, 0.82)
  );
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(23, 49, 38, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
}

.logo span {
  line-height: 1;
}

.mobile-header-title {
  display: none;
}

.desktop-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.desktop-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

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

.mobile-menu-toggle,
.mobile-menu {
  display: none;
}

.mobile-menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(23, 49, 38, 0.2);
  border-radius: 10px;
  background: #ffffff;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.mobile-menu {
  border-top: 1px solid rgba(120, 78, 34, 0.2);
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.97), rgba(250, 242, 234, 0.97));
  padding: 0.4rem 0.8rem 0.75rem;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding: 0.62rem 0.2rem;
  border-bottom: 1px solid rgba(23, 49, 38, 0.08);
}

.mobile-menu a:last-child {
  border-bottom: 0;
}

.mobile-menu a:hover {
  color: var(--accent-plum);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.1rem);
}

h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.77rem;
}

.hero {
  position: relative;
}

.hero-full {
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.panel-media {
  position: absolute;
  inset: 0;
}

.hero-media img,
.panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media img {
  animation: slow-zoom 24s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(43, 20, 31, 0.72), rgba(16, 42, 32, 0.18) 65%),
    radial-gradient(circle at 92% 10%, rgba(242, 178, 79, 0.24), transparent 32%),
    linear-gradient(to top, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 760px;
  align-self: end;
  padding-bottom: 5.25rem;
}

.lead {
  color: rgba(255, 255, 255, 0.92);
  max-width: 62ch;
  font-size: 1.1rem;
}

.cta-group {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px var(--ring);
}

.btn-primary {
  color: #fff;
  background: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  color: #f6fffa;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
  animation: bob 1.8s ease-in-out infinite;
}

.section {
  padding: 5rem 0;
}

.section.alt {
  background:
    radial-gradient(circle at 10% 0%, rgba(242, 178, 79, 0.14), transparent 30%),
    radial-gradient(circle at 92% 100%, rgba(92, 45, 145, 0.08), transparent 30%),
    var(--surface-alt);
}

.section-intro {
  color: var(--muted);
  max-width: 72ch;
}

.grid-two {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards {
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.2rem;
  border: 1px solid rgba(231, 108, 61, 0.18);
  box-shadow: var(--shadow);
}

.card ul {
  margin: 0.6rem 0 0;
  padding-left: 1.15rem;
}

.immersive-panel {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.panel-media img {
  animation: drift 18s ease-in-out infinite alternate;
}

.panel-flipped .panel-media img {
  animation: drift-flipped 18s ease-in-out infinite alternate;
}

.panel-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(10, 26, 20, 0.5), rgba(10, 26, 20, 0.18)),
    radial-gradient(circle at 88% 12%, rgba(242, 178, 79, 0.22), transparent 33%);
}

.panel-inner {
  position: relative;
  z-index: 2;
}

.panel-card {
  max-width: 560px;
  background: rgba(8, 26, 20, 0.52);
  color: #eff7f2;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 1.4rem 1.35rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.panel-card .eyebrow {
  color: rgba(193, 233, 212, 0.95);
}

.panel-right .panel-inner {
  display: flex;
  justify-content: flex-end;
}

.stats {
  margin-top: 1.1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat {
  background: var(--surface);
  border: 1px solid rgba(92, 45, 145, 0.14);
  border-radius: var(--radius);
  padding: 1rem;
}

.stat-value {
  margin: 0 0 0.2rem;
  color: var(--accent-plum);
  font-size: 2rem;
  font-weight: 800;
}

.stat-label {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  background: #0f2e24;
  color: #dbece4;
  padding: 3rem 0 3.2rem;
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: center;
}

.site-footer h2 {
  color: #fff;
}

.site-footer p {
  margin: 0;
  max-width: 64ch;
}

.contact-email {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.contact-email a {
  color: #dbece4;
  text-decoration: none;
  border-bottom: 1px solid rgba(219, 236, 228, 0.4);
  padding-bottom: 0.08rem;
}

.contact-email a:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slow-zoom {
  0% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1.12);
  }
}

@keyframes drift {
  0% {
    transform: scale(1.02) translateY(0);
  }
  100% {
    transform: scale(1.08) translateY(-10px);
  }
}

@keyframes drift-flipped {
  0% {
    transform: scaleX(-1) scale(1.02) translateY(0);
  }
  100% {
    transform: scaleX(-1) scale(1.08) translateY(-10px);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-6px);
  }
}

@media (max-width: 980px) {
  .grid-two,
  .cards,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero-full,
  .immersive-panel {
    min-height: 88vh;
  }

  .panel-card {
    max-width: 100%;
  }
}

@media (min-width: 861px) {
  #women-focus .panel-inner {
    display: flex;
    align-items: flex-end;
    min-height: 100vh;
    padding-bottom: 2.2rem;
  }

  #women-focus .panel-card {
    width: min(780px, 92%);
    max-width: 780px;
    padding: 1rem 1.35rem;
  }
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .mobile-header-title {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text);
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
  }

  .hero-full,
  .immersive-panel {
    display: block;
    min-height: auto;
  }

  .hero-media,
  .panel-media {
    position: relative;
    height: 62vh;
    min-height: 340px;
    inset: auto;
  }

  .panel-flipped .panel-media img {
    object-position: calc(100% + 100px) center;
  }

  .hero-overlay,
  .panel-overlay {
    display: none;
  }

  #women-focus .panel-media {
    height: 48vh;
    min-height: 260px;
  }

  .section {
    padding: 4rem 0;
  }

  #about.section {
    padding-top: 1.5rem;
  }

  .hero-content {
    position: relative;
    color: var(--text);
    max-width: 100%;
    padding-top: 1.5rem;
    padding-bottom: 3.8rem;
    align-self: auto;
  }

  .hero-content .eyebrow {
    color: var(--primary-dark);
  }

  .hero-content .lead {
    color: var(--muted);
    max-width: 100%;
  }

  .panel-inner {
    padding: 1.2rem 0 2rem;
  }

  .panel-right .panel-inner {
    display: block;
  }

  .panel-card {
    max-width: 100%;
    background: var(--surface);
    color: var(--text);
    backdrop-filter: none;
    border: 1px solid rgba(23, 49, 38, 0.08);
    box-shadow: var(--shadow);
  }

  .panel-card .eyebrow {
    color: var(--primary-dark);
  }

  .logo span {
    display: none;
  }

  .scroll-cue {
    bottom: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-media img,
  .panel-media img,
  .scroll-cue {
    animation: none;
  }
}
