/* DAVUS GROUP: coming-soon page. Dark by design (follows the DAVUS WEB brand frames). */
:root {
  --bg: #000;
  --fg: #fff;
  --muted: rgba(255, 255, 255, 0.62);
  --faint: rgba(255, 255, 255, 0.4);
  --line: rgba(255, 255, 255, 0.16);
  --gutter: clamp(16px, 4vw, 44px);
  --earth-w: min(100vw, 1680px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }

/* header */
.top {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(20px, env(safe-area-inset-top)) var(--gutter) 0;
}
.wordmark {
  font-weight: 600;
  font-size: clamp(16px, 1.9vw, 26px);
  letter-spacing: 0.01em;
}
.mark {
  width: clamp(36px, 4.4vw, 62px);
  height: auto;
}

/* hero */
main { flex: 1; display: flex; flex-direction: column; }

.hero {
  position: relative;
  padding-top: clamp(84px, 9vw, 130px);
  overflow-x: clip;
}
.earth {
  width: var(--earth-w);
  aspect-ratio: 1440 / 615;
  margin-inline: calc((100% - var(--earth-w)) / 2);
}
.earth img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro {
  position: relative;
  /* pull the copy up into the dark side of the planet */
  margin-top: calc(var(--earth-w) * 615 / 1440 * -0.4);
  padding: 0 var(--gutter);
  text-align: center;
}
.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}
h1 {
  margin: 0 auto;
  max-width: 16ch;
  font-weight: 300;
  font-size: clamp(30px, 4.6vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.lede {
  margin: 20px auto 0;
  max-width: 40ch;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--muted);
}

.contact {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 36px;
  font-size: clamp(15px, 1.25vw, 18px);
}
.contact a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.contact a:hover { border-color: var(--fg); }
.contact a:focus-visible { outline: 1px solid var(--fg); outline-offset: 6px; }
.contact svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linejoin: round;
}

/* numbers */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: auto var(--gutter) 0;
  padding-top: clamp(56px, 7vw, 96px);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 28px);
  padding: 4px clamp(14px, 2.6vw, 40px) 4px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.stat__value {
  font-size: clamp(26px, 3.6vw, 50px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* footer */
.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: clamp(40px, 5vw, 64px) var(--gutter) 0;
  padding: 20px 0 max(22px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--faint);
}

/* small screens */
@media (max-width: 700px) {
  :root { --earth-w: 190vw; }
  .hero { padding-top: 96px; }
  .intro { margin-top: calc(var(--earth-w) * 615 / 1440 * -0.34); }
  .contact { flex-direction: column; align-items: center; gap: 4px; }
  .stats { grid-template-columns: 1fr; }
  .stat {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .stat:first-child { border-top: 1px solid var(--line); }
  .stat__value { font-size: 30px; }
  .foot { flex-direction: column; gap: 6px; border-top: 0; margin-top: 8px; }
}

/* entrance */
@media (prefers-reduced-motion: no-preference) {
  .earth img { animation: rise 2.4s var(--ease) both; }
  .top, .intro > *, .stats, .foot { animation: fade-up 1.1s var(--ease) both; }
  .top { animation-delay: 0.3s; }
  .intro > :nth-child(1) { animation-delay: 0.7s; }
  .intro > :nth-child(2) { animation-delay: 0.85s; }
  .intro > :nth-child(3) { animation-delay: 1s; }
  .intro > :nth-child(4) { animation-delay: 1.15s; }
  .stats { animation-delay: 1.35s; }
  .foot { animation-delay: 1.5s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(6%) scale(1.04); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
