html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  min-height: 100vh;
  background: #89fff8; /* white gutters */
}

/* center the hero on wide screens */
.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

/* hero now has a max width */
.hero {
  width: min(1920px, 100vw);
  min-height: 100vh;
  position: relative; /* required */

  background-image: url("/assets/bg-desktop.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

/* top title bar */
.top-bar {
  display: flex;
  align-items: center;

  padding: clamp(18px, 3vw, 36px);
}

/* title styling */
.site-title{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;

  /* bigger, but still restrained */
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1;
}

/* two-tone treatment */
.name-first{
  color: #89fff8;
}

.name-last{
  color: #e8e8e8;
  margin-left: 0.2em; /* breathing room between names */
}


/* Mike hero image */
.hero-photo{
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;

  height: auto;
  width: min(80vw, 1000px);   /* aim for ~50% viewport width */
  max-height: 92vh;          /* don't exceed viewport height */
  object-fit: contain;

  pointer-events: none;
  user-select: none;
}

/* hero text container */
.hero-copy{
  position: absolute;
  left: clamp(40px, 6vw, 96px);
  top: 50%;
  transform: translateY(-50%);

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  z-index: 3;
}

.hero-line{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;   /* key: tightens Explore vs Scale */
  line-height: 0.88;         /* tighter than before */
  margin: 0;
  padding: 0;
  color: rgba(232,232,232,0.95);
}

.hero-explore{
  font-size: clamp(60px, 6.4vw, 120px);
  font-weight: 600;
}

.hero-scale{
  font-size: clamp(96px, 9.6vw, 180px);
  font-weight: 900;
  color: #89fff8;
  margin-left: .25em;

  /* explicit spacing control */
  margin-top: -0.08em;   /* pulls Scale closer to Explore */
}

.asterisk {
    font-size: 0.55em;
    margin-left: -0.14em;
    position: relative;
    top: -0.45em;
}

.hero-note{
  margin-top: clamp(20px, 2.4vw, 36px);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: clamp(15px, 1.4vw, 20px);
  color: rgba(232,232,232,0.75);
  margin-left: 1.9em
}

@media (max-width: 720px) and (min-height: 700px) {
  html, body { overflow-x: hidden; }
  .hero { height: 100svh; overflow: hidden; }

    .hero-copy{
    left: 24px;
    right: 24px;

    top: 40%;
    transform: translateY(-50%);
    }

  /* Mobile: keep the header out of the notch and give it real space */
    .top-bar{
        padding-top: calc(clamp(18px, 3vw, 36px) + env(safe-area-inset-top));
        padding-left: 24px;
        padding-right: 24px;
    }

  .hero-explore{ font-size: clamp(42px, 10vw, 56px); }
  .hero-scale{ font-size: clamp(64px, 16vw, 92px); margin-top: -0.12em; }

  .hero-note{
    margin-left: 1.05ch;
    margin-top: 16px;
    font-size: 14px;
  }

  .hero-photo{
    width: 150vw;
    max-width: none;
    height: auto;

    position: absolute;
    bottom: -6vh;
    left: 50%;
    transform: translateX(-35%);
  }
}

@media (max-width: 720px) and (max-height: 699px) {
  html, body { overflow-x: hidden; }
  .hero { height: 100vh; overflow: hidden; }

  .hero-copy{
    top: 23%;                 /* pin near top */
    left: 18px;
    right: 18px;
    transform: none;
  }

  .hero-photo{
    width: 100vw;              /* sane size for short windows */
    max-width: none;
    bottom: -2vh;
    left: 50%;
    transform: translateX(-40%);
  }
}

