:root {
  --sand: #f8f6f3;
  --ocean: #104150;
  --orange: #fb8219;
  --ocean-line: rgba(16, 65, 80, 0.13);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  min-width: 320px;
  margin: 0;
  overflow: hidden;
  background: var(--sand);
}

body {
  color: var(--ocean);
  font-family:
    "Glacial Indifference",
    "Avenir Next",
    Avenir,
    "Segoe UI",
    sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  position: relative;
  display: grid;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  isolation: isolate;
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 22px;
  z-index: -2;
  border: 1px solid var(--ocean-line);
  border-radius: 32px;
  pointer-events: none;
}

.page-shell::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 22px;
  width: min(34vw, 430px);
  height: min(34vw, 430px);
  z-index: -3;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(16, 65, 80, 0.17) 1px,
    transparent 0
  );
  background-size: 25px 25px;
  opacity: 0.3;
  mask-image: linear-gradient(225deg, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero {
  width: min(800px, calc(100% - 56px));
  margin: auto;
  padding: 34px 0 20px;
  text-align: center;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 72px;
  margin: 0 auto 20px;
}

.brand-mark img {
  display: block;
  width: 72px;
  height: auto;
}

.eyebrow {
  margin: 0;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

h1 {
  max-width: 800px;
  margin: 14px auto 0;
  color: var(--ocean);
  font-size: clamp(2.45rem, 5vw, 4.15rem);
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 0.99;
}

h1 span {
  display: block;
  margin-top: 0.1em;
  color: var(--orange);
}

.intro {
  max-width: 570px;
  margin: 20px auto 0;
  color: rgba(16, 65, 80, 0.7);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.55;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 10px 16px;
  border: 1px solid rgba(16, 65, 80, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--ocean);
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.035em;
  box-shadow: 0 10px 28px rgba(16, 65, 80, 0.05);
  backdrop-filter: blur(10px);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(251, 130, 25, 0.12);
  animation: breathe 2.8s ease-in-out infinite;
}

footer {
  padding: 0 32px 38px;
  color: rgba(16, 65, 80, 0.4);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.ambient {
  position: absolute;
  z-index: -4;
  border-radius: 50%;
  pointer-events: none;
}

.ambient-one {
  width: min(56vw, 710px);
  aspect-ratio: 1;
  left: -25vw;
  bottom: -36vw;
  background: radial-gradient(
    circle,
    rgba(251, 130, 25, 0.13) 0%,
    rgba(251, 130, 25, 0.04) 46%,
    transparent 72%
  );
}

.ambient-two {
  width: min(48vw, 600px);
  aspect-ratio: 1;
  top: -27vw;
  right: -18vw;
  background: radial-gradient(
    circle,
    rgba(16, 65, 80, 0.12) 0%,
    rgba(16, 65, 80, 0.035) 47%,
    transparent 72%
  );
}

.route {
  position: absolute;
  z-index: -1;
  width: 210px;
  height: 105px;
  border: 1.5px solid rgba(16, 65, 80, 0.13);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  pointer-events: none;
}

.route-one {
  left: clamp(-72px, 4vw, 54px);
  top: 23%;
  transform: rotate(22deg);
}

.route-two {
  right: clamp(-90px, 3vw, 40px);
  bottom: 17%;
  transform: rotate(201deg);
}

.route-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.route-dot-start {
  top: 39px;
  right: -2px;
  background: var(--ocean);
}

.route-dot-end {
  top: 41px;
  left: -1px;
  background: var(--orange);
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(251, 130, 25, 0.12);
  }
  50% {
    transform: scale(0.86);
    box-shadow: 0 0 0 8px rgba(251, 130, 25, 0.04);
  }
}

@media (max-width: 640px) {
  .page-shell::before {
    inset: 12px;
    border-radius: 24px;
  }

  .page-shell::after {
    top: 12px;
    right: 12px;
    width: 70vw;
    height: 70vw;
  }

  .hero {
    width: min(100% - 44px, 620px);
    padding: 26px 0 14px;
  }

  .brand-mark,
  .brand-mark img {
    width: 58px;
  }

  .brand-mark {
    margin-bottom: 16px;
  }

  h1 {
    font-size: clamp(2.15rem, 10vw, 3.15rem);
    letter-spacing: -0.044em;
    line-height: 1;
  }

  .intro {
    margin-top: 17px;
    font-size: 0.98rem;
  }

  .status {
    margin-top: 18px;
  }

  footer {
    padding: 0 24px 28px;
    font-size: 0.65rem;
  }

  .route-one {
    top: 16%;
    left: -130px;
  }

  .route-two {
    right: -135px;
    bottom: 10%;
  }
}

@media (max-height: 760px) {
  .hero {
    padding-top: 20px;
    padding-bottom: 10px;
  }

  .brand-mark,
  .brand-mark img {
    width: 54px;
  }

  .brand-mark {
    margin-bottom: 13px;
  }

  h1 {
    margin-top: 11px;
    font-size: clamp(2.2rem, 4.6vw, 3.45rem);
  }

  .intro {
    margin-top: 15px;
    line-height: 1.45;
  }

  .status {
    margin-top: 16px;
    padding: 9px 14px;
  }

  footer {
    padding-bottom: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .status-dot {
    animation: none;
  }
}
