/* MOQ Istanbul — under-construction page */

:root {
  --bg:        #0a0e15;
  --bg-deep:   #05070b;
  --text:      #f2ece3;
  --muted:     #9aa6b6;
  --faint:     #64707f;

  --orange:      #f78f03;
  --orange-deep: #ec5d08;
  --ember:       #b51d02;
  --gold:        #daaf68;
  --steel:       #89a1ba;

  --line:    rgba(218, 175, 104, .16);
  --line-2:  rgba(255, 255, 255, .07);
  --surface: rgba(255, 255, 255, .028);

  --display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --shell: 1080px;
}

*, *::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(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient light ------------------------------------------------------- */

.glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(64rem 26rem at 50% 96%, rgba(236, 93, 8, .20),  transparent 70%),
    radial-gradient(78rem 46rem at 50% -16rem, rgba(247, 143, 3, .34), transparent 66%),
    radial-gradient(52rem 36rem at 90% 4%,   rgba(236, 93, 8, .20),  transparent 62%),
    radial-gradient(56rem 40rem at 4% 30%,   rgba(137, 161, 186, .16), transparent 62%),
    linear-gradient(180deg, #121826 0%, var(--bg) 42%, var(--bg-deep) 100%);
}

a { color: inherit; }

/* Top bar ------------------------------------------------------------- */

.topbar {
  width: min(100% - 2.5rem, var(--shell));
  margin: 0 auto;
  padding: 1.75rem 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
}

.mark { width: 34px; height: 34px; flex: none; overflow: visible; }
.mark-ring {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 72 28;
  transform-origin: 50% 50%;
  animation: spin 9s linear infinite;
  opacity: .85;
}
.mark-play { fill: var(--orange); }
@keyframes spin { to { transform: rotate(360deg); } }

.wordmark-text {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.wordmark-text em {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
}

.topbar-link {
  font-size: .86rem;
  letter-spacing: .04em;
  color: var(--muted);
  text-decoration: none;
  padding: .45rem .85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  transition: color .2s, border-color .2s, background-color .2s;
}
.topbar-link:hover {
  color: var(--text);
  border-color: rgba(218, 175, 104, .42);
  background: rgba(247, 143, 3, .07);
}

/* Layout -------------------------------------------------------------- */

main {
  flex: 1 0 auto;
  width: min(100% - 2.5rem, var(--shell));
  margin: 0 auto;
  padding: clamp(3rem, 10vw, 6.5rem) 0 2rem;
}

/* Hero ---------------------------------------------------------------- */

.hero { text-align: center; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1.9rem;
  padding: .42rem 1rem .42rem .72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(247, 143, 3, .06);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(247, 143, 3, .55);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(247, 143, 3, .5); }
  70%  { box-shadow: 0 0 0 9px rgba(247, 143, 3, 0); }
  100% { box-shadow: 0 0 0 0   rgba(247, 143, 3, 0); }
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.9rem, 11.5vw, 7.5rem);
  line-height: .95;
  letter-spacing: -.035em;
  background: linear-gradient(174deg, #fff8ec 6%, var(--gold) 46%, var(--orange) 78%, var(--orange-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 34rem;
  margin: 1.6rem auto 0;
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  color: var(--muted);
  text-wrap: pretty;
}
.lede strong { color: var(--text); font-weight: 600; }

/* Buffer bar ---------------------------------------------------------- */

.buffer {
  max-width: 24rem;
  margin: clamp(2.5rem, 6vw, 3.5rem) auto 0;
}
.buffer-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}
.buffer-fill {
  height: 100%;
  width: 40%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ember), var(--orange-deep) 45%, var(--orange));
  box-shadow: 0 0 18px rgba(247, 143, 3, .45);
  animation: buffer 4.2s cubic-bezier(.45, .05, .3, 1) infinite;
}
@keyframes buffer {
  0%   { transform: translateX(-100%); width: 34%; }
  45%  { transform: translateX(90%);   width: 62%; }
  55%  { transform: translateX(90%);   width: 62%; }
  100% { transform: translateX(260%);  width: 34%; }
}
.buffer-label {
  margin: .95rem 0 0;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--faint);
}
.ellipsis i { font-style: normal; animation: blink 1.4s steps(1, end) infinite; }
.ellipsis i:nth-child(2) { animation-delay: .25s; }
.ellipsis i:nth-child(3) { animation-delay: .5s; }
@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .15; } }

/* Fact cards ---------------------------------------------------------- */

.facts {
  margin-top: clamp(3.25rem, 8vw, 4.75rem);
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.card {
  position: relative;
  padding: 1.45rem 1.5rem 1.55rem;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: var(--surface);
  backdrop-filter: blur(6px);
  overflow: hidden;
  transition: border-color .25s, transform .25s, background-color .25s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 143, 3, .7), transparent);
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(218, 175, 104, .3);
  background: rgba(255, 255, 255, .045);
}

.card h2 {
  margin: 0;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--faint);
}
.card-value {
  margin: .6rem 0 .35rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.85rem;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--text);
}
.card-note { margin: 0; font-size: .92rem; color: var(--muted); }

/* Sponsor ------------------------------------------------------------- */

.sponsor {
  margin-top: clamp(3.5rem, 9vw, 5rem);
  text-align: center;
}
.eyebrow {
  margin: 0;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--faint);
}
.sponsor-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  margin-top: 1.6rem;
  padding: 2rem 3.4rem 1.6rem;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: var(--surface);
  text-decoration: none;
  transition: border-color .25s, background-color .25s, transform .25s;
}
.sponsor-link:hover {
  border-color: rgba(218, 175, 104, .35);
  background: rgba(247, 143, 3, .055);
  transform: translateY(-3px);
}
.sponsor-link img {
  width: auto;
  height: clamp(160px, 27vw, 225px);
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, .55));
}
.sponsor-cta {
  font-size: .84rem;
  letter-spacing: .05em;
  color: var(--muted);
  transition: color .25s;
}
.sponsor-link:hover .sponsor-cta { color: var(--gold); }

/* Note ---------------------------------------------------------------- */

.note {
  max-width: 30rem;
  margin: clamp(2.75rem, 7vw, 3.5rem) auto 0;
  text-align: center;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--faint);
  text-wrap: pretty;
}

/* Footer & skyline ---------------------------------------------------- */

footer {
  flex: none;
  margin-top: auto;
  padding-top: clamp(2.5rem, 7vw, 3.5rem);
}

.skyline {
  display: block;
  width: 100%;
  height: clamp(120px, 17vw, 190px);
  margin-bottom: -1px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%);
          mask-image: linear-gradient(180deg, transparent, #000 45%);
}
.skyline .sky-far  { fill: rgba(137, 161, 186, .10); }
.skyline .sky-near { fill: rgba(137, 161, 186, .19); }
.skyline .cable path,
.skyline .hangers path {
  fill: none;
  stroke: rgba(137, 161, 186, .22);
}
.skyline .cable path   { stroke-width: 4; stroke-linecap: round; }
.skyline .hangers path { stroke-width: 1.6; }
.skyline .water path {
  fill: none;
  stroke: rgba(218, 175, 104, .14);
  stroke-width: 2;
  stroke-linecap: round;
}

.footer-inner {
  width: min(100% - 2.5rem, var(--shell));
  margin: 0 auto;
  padding: 1.6rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.2rem;
  justify-content: space-between;
  border-top: 1px solid var(--line-2);
  font-size: .82rem;
  color: var(--faint);
}
.footer-inner p { margin: 0; }
.footer-inner a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.footer-inner a:hover { color: var(--gold); border-color: var(--gold); }

/* Focus & motion ------------------------------------------------------ */

a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .buffer-fill { transform: none; width: 55%; }
}

@media (max-width: 30rem) {
  .topbar { padding-top: 1.25rem; }
  .wordmark-text { font-size: .92rem; letter-spacing: .1em; }
  .topbar-link { font-size: .78rem; padding: .4rem .7rem; }
}

/* Waitlist ------------------------------------------------------------ */

.waitlist { margin-top: clamp(3rem, 8vw, 4.5rem); }

.wl-card {
  max-width: 41rem;
  margin: 0 auto;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(247, 143, 3, .07), rgba(247, 143, 3, 0) 58%),
    rgba(255, 255, 255, .035);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .9);
}

.wl-head { text-align: center; }
.wl-head h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.4vw, 1.7rem);
  letter-spacing: -.02em;
  color: var(--text);
}
.wl-head p {
  margin: .6rem auto 0;
  max-width: 28rem;
  font-size: .95rem;
  color: var(--muted);
  text-wrap: pretty;
}

.wl-count[hidden] { display: none; }
.wl-count {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem !important;
  padding: .3rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(247, 143, 3, .07);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--gold) !important;
}
.wl-count::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.wl-form { margin-top: 1.6rem; }

.wl-fields {
  display: grid;
  gap: .9rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.wl-field { display: block; }
.wl-field span {
  display: block;
  margin-bottom: .4rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
}
.wl-field input {
  width: 100%;
  padding: .78rem .95rem;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: rgba(5, 7, 11, .55);
  color: var(--text);
  font: inherit;
  font-size: .98rem;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.wl-field input::placeholder { color: #4d5866; }
.wl-field input:hover { border-color: rgba(255, 255, 255, .14); }
.wl-field input:focus {
  outline: none;
  border-color: rgba(247, 143, 3, .6);
  background: rgba(5, 7, 11, .8);
  box-shadow: 0 0 0 3px rgba(247, 143, 3, .14);
}
.wl-field input[aria-invalid="true"] {
  border-color: rgba(181, 29, 2, .85);
  box-shadow: 0 0 0 3px rgba(181, 29, 2, .18);
}

/* Honeypot — kept out of sight for people, reachable for bots */
.wl-hp {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wl-form button {
  width: 100%;
  margin-top: 1.1rem;
  padding: .85rem 1.2rem;
  border: 1px solid rgba(247, 143, 3, .45);
  border-radius: 11px;
  background: linear-gradient(180deg, var(--orange), var(--orange-deep));
  color: #1a0d02;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: filter .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 10px 26px -12px rgba(247, 143, 3, .75);
}
.wl-form button:hover { filter: brightness(1.07); box-shadow: 0 14px 30px -12px rgba(247, 143, 3, .85); }
.wl-form button:active { transform: translateY(1px); }
.wl-form button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wl-form button[disabled] {
  cursor: progress;
  filter: saturate(.55) brightness(.85);
  box-shadow: none;
}

.wl-status {
  margin: .95rem 0 0;
  font-size: .9rem;
  line-height: 1.5;
  text-align: center;
  text-wrap: pretty;
}
.wl-status:empty { display: none; }
.wl-status[data-tone="ok"]    { color: #8fd694; }
.wl-status[data-tone="error"] { color: #ff9c7a; }

.wl-fine {
  margin: .9rem 0 0;
  text-align: center;
  font-size: .78rem;
  color: var(--faint);
}

/* Success state replaces the form once someone is on the list */
.wl-done {
  margin-top: 1.6rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(218, 175, 104, .28);
  border-radius: 14px;
  background: rgba(247, 143, 3, .06);
  text-align: center;
}
.wl-done h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
}
.wl-done p { margin: .5rem 0 0; font-size: .92rem; color: var(--muted); }
