/* Color palette from README.md */
:root {
  --salmon: #fc806a;
  --green: #324d3e;
  /* Adjustable split positions for background */
  --split-x: 48.3%; /* desktop vertical split */
  --split-y: 50%; /* mobile horizontal split */
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  min-height: 100vh;
  position: relative;
}

/* Two fixed layers for split background */
body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
}

body::before {
  top: 0;
  left: 0;
  right: 0;
  height: var(--split-y);
  background: var(--salmon); /* salmon on top for mobile */
}

body::after {
  top: var(--split-y);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--green);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 24px; /* 5% top/bottom padding on mobile */
  position: relative;
  z-index: 1;
}

.logo {
  display: block;
  height: auto;
  max-width: 100%;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

/* Default: mobile-first */
.logo-desktop { display: none; }
.logo-mobile {
  display: block;
  width: 100%;
  max-width: min(75vw, 420px);
  height: auto;
  max-height: 90vh; /* keep within vertical viewport minus 5% top/bottom */
}

/* Desktop breakpoint */
@media (min-width: 768px) {
  /* Desktop: 15% top/bottom padding */
  .hero { padding: 15vh 24px; }
  /* Switch to vertical split on desktop */
  body::before {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: var(--split-x);
    height: auto;
  }

  body::after {
    top: 0;
    bottom: 0;
    left: var(--split-x);
    right: 0;
    height: auto;
  }
  .logo-desktop {
    display: block;
    width: auto;
    height: 70vh; /* ensure exactly 15% top and bottom remain */
    max-width: 90vw; /* avoid horizontal overflow on narrow desktops */
  }
  .logo-mobile { display: none; }
}


