:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  color: #f4f2ea;
  background: #07151b;
  --copper: #edc099;
  --muted: #c2d3d4;
}

* { box-sizing: border-box; }
body, h1, h2, p, figure { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { color: #07151b; background: #edc099; }
:focus-visible { outline: 3px solid #f2c598; outline-offset: 6px; }

.family-oasis {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: max(800px, 100svh);
  padding: 0 4.6vw;
  overflow: clip;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 31px 0;
}
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; }
.brand-emblem { width: 36px; height: 44px; object-fit: contain; }
.brand-wordmark { width: 174px; height: 27px; object-fit: contain; }
.launch-label { font-size: .875rem; letter-spacing: .13em; line-height: 1.5; text-transform: uppercase; }
.launch-label span { color: var(--copper); }

.hero { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 36px; padding: 60px 0 66px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { font-size: .8125rem; line-height: 1.6; letter-spacing: .17em; text-transform: uppercase; color: #d1e1df; }
h1 { font-size: clamp(4.6rem, 7.25vw, 7.9rem); font-weight: 400; letter-spacing: -.06em; line-height: 1.015; margin: 25px 0 27px; }
h1 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.065em; color: var(--copper); }
.teaser { max-width: 330px; font-size: 1.125rem; line-height: 1.65; color: var(--muted); }

.hero-art { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-art > img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.family-weather { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.logo-emergence { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: #041218; opacity: 0; }
.logo-emergence > img { position: absolute; left: var(--logo-x, 70%); top: var(--logo-y, 43%); width: clamp(200px, 19vw, 300px); height: auto; max-width: none; object-fit: contain; transform: translate(-50%, -50%); mix-blend-mode: lighten; }
.hero-art::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, #03131cea 0%, #03131cc4 22%, #03131c40 47%, #03131c00 66%),
    linear-gradient(0deg, #03131ccf 0%, #03131c00 25%, #03131c00 78%, #03131c65 100%);
}

.launch-invitation { display: flex; flex-direction: column; align-items: flex-start; gap: 25px; }
.reveal { display: flex; align-items: center; gap: 18px; }
.reveal span { font-size: .8125rem; text-transform: uppercase; letter-spacing: .19em; color: var(--muted); }
.reveal strong { font-size: 2.4rem; line-height: 1; font-weight: 400; letter-spacing: -.05em; }
.launch-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 14px 27px;
  border: 1px solid #e0b78f;
  border-radius: 2px;
  background: #e4ba92;
  color: #102025;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background .18s ease;
}
.launch-cta:hover { background: #f3d0ac; }

.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0 26px; color: #c0d2d3; font-size: .8125rem; line-height: 1.6; }
.footer-divider { margin: 0 .4em; }
.footer-actions, .motion-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.footer-actions { gap: 30px; }
.motion-controls button { color: inherit; font: inherit; min-height: 42px; background: transparent; cursor: pointer; }
.replay-logo { border: 0; padding: 10px 0; text-decoration: underline; text-underline-offset: 5px; }
.motion-toggle { border: 1px solid #859c9b; border-radius: 2px; padding: 10px 14px; }
.motion-controls button:hover { color: #f1c49d; }
.preview-links { display: flex; flex-wrap: wrap; gap: 25px; }
.preview-links > span { color: #e2bf9f; }
.preview-links a { text-underline-offset: 5px; }

#preview-dialog { color: #f4f2ea; background: #0c242c; border: 1px solid #66817d; border-radius: 5px; width: min(540px, calc(100vw - 32px)); padding: 34px; }
#preview-dialog::backdrop { background: #020c11c9; backdrop-filter: blur(8px); }
.close-dialog { display: block; margin: 0 0 28px auto; padding: 8px; border: 0; background: transparent; color: #d2e0e1; font-size: .875rem; }
#preview-dialog h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 2.65rem; line-height: 1.12; font-weight: 400; letter-spacing: -.045em; color: var(--copper); margin: 17px 0; }
#preview-dialog > p:not(.eyebrow) { color: #cfdddd; font-size: 1rem; line-height: 1.65; }
#preview-dialog .launch-cta { margin-top: 26px; }

@media (min-width: 1900px) {
  .family-oasis { padding-inline: 5vw; }
  h1 { font-size: 8.4rem; }
}

@media (max-width: 1000px) and (min-width: 701px) {
  h1 { font-size: 6.8vw; }
  .hero-art > img { object-position: 64% 50%; }
  .hero-art::after { background: linear-gradient(90deg, #03131ced, #03131c9c 28%, #03131c00 73%), linear-gradient(0deg, #03131cbf, transparent 32%); }
}

@media (max-width: 700px) {
  .family-oasis { min-height: 100svh; display: block; padding: 0; }
  .site-header { padding: 22px 23px; gap: 15px; }
  .brand { gap: 7px; }
  .brand-emblem { width: 29px; height: 35px; }
  .brand-wordmark { width: 137px; height: 23px; }
  .launch-label { max-width: 105px; text-align: right; font-size: .75rem; letter-spacing: .07em; }
  .hero { display: grid; grid-template-columns: 1fr; gap: 0; padding: 16px 0 28px; }
  .hero-copy { padding: 17px 25px 20px; }
  .eyebrow { font-size: .75rem; letter-spacing: .11em; }
  h1 { font-size: clamp(3.1rem, 12.5vw, 5rem); margin: 19px 0 19px; line-height: 1.045; }
  .teaser { max-width: 295px; font-size: 1rem; line-height: 1.65; }
  .hero-art { position: relative; z-index: 0; grid-row: 2; width: 100%; height: auto; aspect-ratio: 1.04; margin: 0; }
  .hero-art > img { object-position: 82% 50%; }
  .logo-emergence > img { width: 180px; }
  .hero-art::after { background: linear-gradient(0deg, #07151b 0%, #07151b00 14%, #07151b00 78%, #07151b 100%); }
  .launch-invitation { padding: 8px 25px 0; gap: 22px; align-items: stretch; }
  .reveal { justify-content: center; gap: 17px; }
  .reveal strong { font-size: 2rem; }
  .launch-cta { min-height: 50px; }
  .site-footer { padding: 20px 25px 25px; gap: 13px; font-size: .75rem; border-top: 1px solid #253a40; }
  .preview-links { width: 100%; justify-content: space-between; gap: 16px; }
  .footer-divider { margin: 0 .2em; }
  .footer-actions { width: 100%; gap: 15px; }
  .motion-controls { width: 100%; justify-content: space-between; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
