@font-face {
  font-family: "DM Serif Display";
  src: url("assets/fonts/DMSerifDisplay-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  background: #0a1020;
  color: #edf0f7;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }

.atmosphere {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 12% 24%, #086e8f34, transparent 45%),
    radial-gradient(ellipse at 86% 72%, #b34d4f2d, transparent 47%),
    radial-gradient(ellipse at 55% 105%, #50349438, transparent 60%),
    linear-gradient(155deg, #0a1426, #0a1020 50%, #111323);
}

.horizon {
  position: absolute;
  inline-size: 1100px;
  block-size: 1100px;
  border-radius: 50%;
  left: calc(50% - 550px);
  top: 51%;
  border: 1px solid #73c6ed16;
  box-shadow: 0 -20px 90px #47bce40b, inset 0 30px 100px #33aad207;
}

.orbit {
  position: absolute;
  inline-size: 1000px;
  block-size: 420px;
  border: 1px solid #9ab9d813;
  border-radius: 50%;
  left: calc(50% - 500px);
  top: 21%;
  transform: rotate(-24deg);
}
.orbit-two { transform: rotate(27deg); top: 28%; border-color: #e5a2960b; }

.travel-route { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; overflow: visible; }
.travel-route path { fill: none; stroke: url(#route-light); }
.route-shadow { stroke-width: 16px; opacity: .035; filter: blur(8px); }
.route-line { stroke-width: 1px; opacity: .28; stroke-dasharray: 4 10; }
.travel-route circle { fill: #7ed7eb; opacity: .6; }
.travel-route .route-ring { fill: none; stroke: #83cbeb; stroke-width: 1px; opacity: .24; }

.island-scene { position: absolute; inline-size: clamp(360px, 48vw, 760px); left: -10%; bottom: -2%; }
.island-fill { fill: url(#coast-light); }
.island-ridge { fill: none; stroke: #6eafc3; stroke-width: 1.1px; opacity: .32; }
.shore { fill: none; stroke: #739cb6; stroke-width: .8px; opacity: .18; }

.palm-scene { position: absolute; inline-size: clamp(250px, 29vw, 420px); right: -3%; bottom: -5%; overflow: visible; }
.palm-trunk { fill: none; stroke: url(#palm-light); stroke-width: 11px; opacity: .2; }
.palm-leaves { fill: #32849a; fill-opacity: .12; stroke: #6bafc3; stroke-width: 1px; stroke-opacity: .28; }
.palm-ribs { fill: none; stroke: #8bb5c8; stroke-width: .7px; opacity: .16; }

.light {
  position: absolute;
  inline-size: 5px;
  block-size: 5px;
  border-radius: 50%;
  background: #7ce5f4;
  box-shadow: 0 0 18px #62d8ee8c;
}
.light-one { top: 22%; left: 18%; }
.light-two { top: 73%; left: 84%; background: #ffb480; box-shadow: 0 0 18px #ff9c758c; }
.light-three { top: 81%; left: 28%; inline-size: 3px; block-size: 3px; opacity: .55; }

main {
  position: relative;
  min-block-size: 100svh;
  padding: 54px 24px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 27px;
}

.glass {
  position: relative;
  inline-size: min(100%, 980px);
  padding: 52px 72px 40px;
  overflow: hidden;
  border: 1px solid #c9dfff25;
  border-top-color: #d8e6ff42;
  border-radius: 32px;
  background: linear-gradient(140deg, #26384c66, #151d318c 52%, #2c273866);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  backdrop-filter: blur(24px) saturate(130%);
  box-shadow: 0 24px 100px #02071555, inset 0 1px #ffffff0d;
  text-align: center;
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(118deg, #d6efff09, transparent 38%, #ffb38403);
}

.brand {
  position: relative;
  max-inline-size: 720px;
  margin: 0 auto 26px;
  line-height: 0;
}
.brand img { display: block; inline-size: 100%; block-size: auto; }

.teaser { position: relative; }
.teaser h2 {
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(38px, 4.8vw, 63px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.015em;
}
.teaser p {
  margin: 23px 0 0;
  color: #bac5da;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.65;
  font-weight: 400;
}

.signature { display: flex; align-items: center; justify-content: center; gap: 10px; margin-block-start: 30px; }
.signature span { inline-size: 40px; block-size: 1px; background: linear-gradient(90deg, transparent, #7f92ae50); }
.signature span:last-child { transform: rotate(180deg); }
.signature i { inline-size: 4px; block-size: 4px; border-radius: 50%; background: #ffac80b3; box-shadow: 0 0 12px #ff926046; }

footer { position: relative; text-align: center; }
footer p { margin: 0; color: #a3afc6; font-size: 12px; line-height: 1.8; text-wrap: balance; }
footer .project-links { margin-block-start: 10px; }
footer a { color: #c1cce0; white-space: nowrap; text-decoration-color: #7c8aa466; text-underline-offset: 4px; }
footer a:hover { color: #ffe0c8; text-decoration-color: currentColor; }
footer a:focus-visible { outline: 2px solid #ffb580; outline-offset: 6px; border-radius: 2px; }

@media (max-width: 600px) {
  main { padding: 28px 18px; gap: 24px; }
  .glass { padding: 38px 24px 32px; border-radius: 25px; }
  .brand { margin-block-end: 28px; }
  .teaser h2 { font-size: clamp(31px, 8.6vw, 43px); }
  .teaser p { margin-block-start: 21px; font-size: 15px; }
  .desktop-break { display: none; }
  .horizon { top: 52%; }
  .light-one { left: 10%; top: 15%; }
  .light-two { left: 91%; top: 82%; }
  .palm-scene { inline-size: 265px; right: -18%; bottom: -4%; }
  .island-scene { inline-size: 420px; left: -36%; bottom: 2%; opacity: .8; }
  .route-line { opacity: .2; }
}
