/* Splash page styles */

@import url('https://fonts.googleapis.com/css2?family=Story+Script&display=swap');

:root {
  --bg: #e3f0f5;          /* pale sky blue */
  --sky: #cfe4f6;         /* pastel blue */
  --mint: #d1efdf;        /* pastel mint */
  --sage: #dbeecf;        /* pastel green */
  --ink: #133f49;         /* custom */
  --ink-soft: #3d6075;
  --font: "Helvetica Neue", Arial, sans-serif;
}

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

html { height: 100%; }

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  background-image:
    radial-gradient(60rem 40rem at 90% 100%, var(--mint), transparent 70%),
    radial-gradient(50rem 36rem at 0% 0%, var(--sky), transparent 70%),
    radial-gradient(40rem 30rem at 100% 0%, var(--sage), transparent 70%);
  background-attachment: fixed;
}

.story-script-regular {
  font-family: "Story Script", sans-serif !important;
  font-weight: 400;
  font-style: normal;
  color: #55adc0;
}

.tangerine {
  font-family: "Tangerine", cursive;
  font-weight: 700;
  font-style: normal;
  color: #55adc0;
}


.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3.5rem);
}

/* The one memorable thing: the name, set huge. */
h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.5rem, min(15vw, 20vh), 4rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  font-family: "Story Script", sans-serif;
  font-variation-settings: "opsz" 96;
  overflow-wrap: anywhere;
}

.intro-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: 2rem;
}

.portrait {
  display: block;
  width: clamp(6.5rem, 12vw, 9.5rem);
  aspect-ratio: 225 / 244;
  height: auto;
  object-fit: cover;
  border-radius: 999px 999px 1rem 1rem; /* arch */
  box-shadow: 0 0 0 4px rgb(255 255 255 / 0.6);
}

/* Compass: soft, faint background image in the upper right */
.compass-wrap {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.compass {
  position: absolute;
  top: -2rem;
  right: -2.5rem;
  width: min(56vw, 30rem);
  height: auto;
  opacity: 0.18; /* lower = more transparent */
  filter: grayscale(0.35);
}

.page, .mountains, footer { position: relative; z-index: 1; }

.intro {
  max-width: 34rem;
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  line-height: 1.35;
  color: var(--ink-soft);
}

/* Mountains */
.mountains {
  display: block;
  width: 100%;
  height: clamp(16rem, 22vw, 27rem);
  opacity: 0.3; /* transparency of the whole scene: lower = more see-through */
}

footer {
  background: rgb(108 195 154 / 0.3); /* same color and opacity as the foreground hill */
  font-size: 0.9375rem;
  color: var(--ink);
}
.footer-inner {
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding: 0.5rem clamp(1.5rem, 4vw, 3.5rem) clamp(1.25rem, 3vw, 2rem);
}

/* Mobile adjust */
@media (max-width: 1023px) {
.mountains {
  height: clamp(12rem, 22vw, 12rem);
  }
}
