:root {
  --bg-0: #0b0e14;
  --bg-1: #101521;
  --text: #e9edf4;
  --muted: #a9b3c7;
  --border: #273246;
  --glow: rgba(255, 90, 138, 0.22);
  --accent: #ff5a8a; /* soft rose accent */
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: hidden; /* disable vertical scroll */
}

body {
  margin: 0;
  background: radial-gradient(1200px 800px at 10% -10%, #141a26 0%, var(--bg-0) 45%),
              radial-gradient(900px 700px at 110% 10%, #1b1523 0%, var(--bg-0) 55%),
              var(--bg-0);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Micro-animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.page {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 20px 48px; /* tighter bottom space so there is no extra gutter */
  min-height: 100dvh;
}

.hero {
  text-align: left;
}

.brand {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 1px;
  margin: 0 0 8px;
  font-size: 64px;
}

.subtitle {
  margin: 8px 0;
  color: var(--muted);
  font-weight: 500;
  font-size: 18px;
}

.highlight {
  color: var(--accent);
  font-weight: 700;
}

.links {
  margin-top: 28px;
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Staggered reveal */
.link-list li { opacity: 0; transform: translateY(6px); animation: fadeUp 420ms ease forwards; }
.link-list li:nth-child(1) { animation-delay: 60ms; }
.link-list li:nth-child(2) { animation-delay: 120ms; }
.link-list li:nth-child(3) { animation-delay: 180ms; }
.link-list li:nth-child(4) { animation-delay: 240ms; }
.link-list li:nth-child(5) { animation-delay: 300ms; }
.link-list li:nth-child(6) { animation-delay: 360ms; }
.link-list li:nth-child(7) { animation-delay: 420ms; }

.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.2));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 0 0 2px rgba(255, 90, 138, 0.06), 0 10px 24px 0 rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255,255,255,0.05);
  transition: box-shadow 220ms ease, transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  pointer-events: none;
  box-shadow: 0 0 24px 0 var(--glow);
  opacity: 0.0;
  transition: opacity 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 90, 138, 0.45);
  box-shadow: 0 0 0 2px rgba(255, 90, 138, 0.25), 0 16px 36px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255, 90, 138, 0.15);
}

.btn:hover::before {
  opacity: 1;
}

.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: none;
  border-color: rgba(255, 90, 138, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 90, 138, 0.35), 0 10px 24px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255, 90, 138, 0.2);
}

.btn .arrow {
  color: #d0d0d0;
  font-size: 22px;
  transition: transform 220ms ease, color 220ms ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
  color: var(--accent);
}

.contact {
  margin-top: 40px;
}

.contact h2 {
  font-size: 48px;
  margin: 0 0 8px;
}

.email {
  color: var(--muted);
}

/* removed old in-page embed box styles */

/* Overlay embed (with animated open/close) */
.overlay-embed {
  position: fixed;
  inset: 50px;
  display: grid;
  place-items: center;
  z-index: 1000;
  background: transparent; /* allow background page to show through margins */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 200ms ease;
}
.overlay-embed.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.overlay-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 16px;
  background: #0e0f14;
  box-shadow: 0 10px 28px rgba(0,0,0,0.6), 0 0 0 1px rgba(255, 90, 138, 0.12);
  transform: scale(0.985);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}
.overlay-embed.is-open iframe {
  transform: scale(1);
  opacity: 1;
}
.overlay-close {
  position: absolute;
  top: 15px;
  right: 28px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(14,15,20,0.9);
  color: #e6e6e6;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 160ms ease 40ms, transform 160ms ease 40ms, filter 140ms ease;
}
.overlay-embed.is-open .overlay-close { opacity: 1; transform: translateY(0); }
.overlay-close:hover { filter: brightness(1.1); }

/* Allow scrolling on phones only */
@media (max-width: 768px) {
  html, body {
    overflow-y: auto; /* enable vertical scroll on mobile */
  }
}

@media (max-width: 640px) {
  .brand { font-size: 48px; }
}


/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}


