:root {
  --sky-high: #DCE7EA;
  --sky-haze: #F2E3CC;
  --ink: #16302E;
  --bay: #10413F;
  --bay-deep: #09292A;
  --foam: #CFE3DC;
  --flame: #E0663F;
  --display: "Gloock", Georgia, serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, monospace;
  --horizon: 56svh;
}

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

html, body { height: 100%; }

body {
  background: var(--bay-deep);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

.scene {
  min-height: 100svh;
  display: grid;
  grid-template-rows: var(--horizon) 1fr;
}

.sky {
  background: linear-gradient(180deg, var(--sky-high) 0%, var(--sky-haze) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 16px;
}

.name,
.reflection {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 11vw, 9.5rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-align: center;
}

.name {
  color: var(--ink);
  /* the baseline sits on the waterline */
  margin-bottom: -0.14em;
  position: relative;
  z-index: 1;
}

.name span,
.reflection span { display: block; }

.bay {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bay) 0%, var(--bay-deep) 100%);
  border-top: 2px solid var(--flame);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px 28px;
}

/* the reflection: the name, flipped, fading and rippling into the bay */
.reflection {
  color: var(--foam);
  transform: scaleY(-1);
  transform-origin: center;
  position: absolute;
  top: 0.1em;
  left: 16px;
  right: 16px;
  opacity: 0.2;
  filter: blur(1px);
  -webkit-mask-image: linear-gradient(0deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(0deg, #000 0%, transparent 85%);
  pointer-events: none;
  user-select: none;
}

.bay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg,
    transparent 0 9px,
    rgba(207, 227, 220, 0.05) 9px 10px);
  animation: drift 9s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(7px); }
}

.copy {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 32px;
  text-align: center;
  color: var(--foam);
}

.lede {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 400;
}

.soon {
  margin-top: 6px;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 500;
  color: #FFFFFF;
}

.coords {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--foam);
  opacity: 0.7;
}

@media (max-width: 600px) {
  :root { --horizon: 50svh; }
}

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