:root {
  --bg: #0B0620;
  --bg-alt: #08041A;
  --card: #160D33;
  --border: #2E2257;
  --text: #F5F3FF;
  --muted: #B4AED0;
  --accent: #E6239A;
  --accent-2: #8B2CFF;
  --cyan: #00E0FF;
  --gradient: linear-gradient(135deg, var(--accent), var(--accent-2));
  --display: 'Outfit', 'Poppins', Arial, sans-serif;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 300;
  line-height: 1.7;
}

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 780px; }

.grad {
  background: linear-gradient(135deg, #FF3FB4, #A855FF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font: 600 14px/1.2 'Poppins', Arial, sans-serif;
  letter-spacing: 0.04em;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 8px 28px -8px var(--accent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -6px var(--accent); }
.btn--ghost { background: transparent; box-shadow: none; border: 2px solid var(--accent); padding: 13px 28px; }
.btn--small { padding: 10px 20px; font-size: 13px; }
.btn--block { display: block; width: 100%; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 6, 32, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__row { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.logo { display: inline-flex; flex-direction: column; line-height: 1; }
.logo__name { font: 800 22px/1 var(--display); letter-spacing: -0.03em; }
.logo__slogan { margin-top: 4px; font-size: 8px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 400; }
.nav a:not(.btn) { color: var(--muted); transition: color 0.2s ease; }
.nav a:not(.btn):hover { color: var(--text); }

.menu-btn { display: none; flex-direction: column; gap: 5px; padding: 10px; background: none; border: 0; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--text); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 500px at 85% 0%, rgba(230, 35, 154, 0.35), transparent 70%),
    radial-gradient(700px 500px at 0% 100%, rgba(0, 224, 255, 0.18), transparent 70%),
    radial-gradient(600px 400px at 50% 50%, rgba(139, 44, 255, 0.22), transparent 70%),
    var(--bg-alt);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 500px at 85% 0%, rgba(230, 35, 154, 0.3), transparent 70%),
    linear-gradient(180deg, rgba(8, 4, 26, 0.62), rgba(8, 4, 26, 0.82));
}
.hero__inner { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 96px; max-width: 980px; text-align: center; }
.hero h1 { font-size: clamp(28px, 4.6vw, 50px); font-weight: 800; margin: 0 0 20px; }

/* Hero intro: animated brand name with rotating words above it */
.intro { margin-bottom: 26px; }
.intro__word {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  padding: 6px 18px;
  border: 1px solid rgba(0, 224, 255, 0.5);
  border-radius: 999px;
  background: rgba(8, 4, 26, 0.5);
  color: var(--cyan);
  font: 600 14px/1.4 var(--display);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: fadeUp 0.6s 0.6s ease-out both;
}
.intro__word::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: blink 1.6s ease-in-out infinite;
}
.intro__rot { display: inline-block; transition: transform 0.3s ease, opacity 0.3s ease; }
.intro__rot.is-out { transform: translateY(-70%); opacity: 0; }
.intro__rot.is-below { transform: translateY(70%); opacity: 0; transition: none; }
.intro__name {
  margin-top: 14px;
  font: 900 clamp(40px, 11vw, 120px)/1 var(--display);
  letter-spacing: -0.04em;
  animation: brandIn 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.intro__name .grad { animation: glow 3s 1.1s ease-in-out infinite alternate; }

@keyframes brandIn {
  from { opacity: 0; transform: translateY(24px) scale(0.96); filter: blur(10px); letter-spacing: 0.06em; }
  to { opacity: 1; transform: none; filter: blur(0); letter-spacing: -0.04em; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes blink { 50% { opacity: 0.25; } }
@keyframes glow {
  from { filter: drop-shadow(0 0 8px rgba(230, 35, 154, 0.35)); }
  to { filter: drop-shadow(0 0 24px rgba(139, 44, 255, 0.8)); }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero__text { max-width: 640px; margin: 0 auto 36px; font-size: clamp(16px, 2vw, 19px); color: #D9D4EC; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.pill {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: #FF6FC4;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Universe shortcuts */
.chips { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg); }
.chips__row { display: flex; gap: 10px; padding-top: 14px; padding-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.chips a {
  flex: none;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color 0.2s ease;
}
.chips a:hover { border-color: var(--accent); }

/* Sections */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section__head h2 { font-size: clamp(32px, 5vw, 50px); font-weight: 800; margin-bottom: 14px; }
.section__head p:last-child:not(.eyebrow) { color: var(--muted); }
.eyebrow { margin-bottom: 12px; color: #FF6FC4; font-size: 12px; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; }
.eyebrow--light { color: rgba(255, 255, 255, 0.8); }

/* Experience blocks */
.exp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.exp--flip .exp__text { order: 2; }
.exp__num {
  display: block;
  margin-bottom: 10px;
  font: 900 52px/1 var(--display);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--c1);
}
.exp h3 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 8px; }
.exp__tagline { margin-bottom: 16px; font: 700 20px/1.3 var(--display); color: var(--c1); filter: brightness(1.25); }
.exp__text > p:not(.exp__tagline) { color: var(--muted); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags li { padding: 4px 14px; border: 1px solid var(--c1); border-radius: 999px; font-size: 12px; font-weight: 500; }

.exp__media { display: grid; gap: 14px; min-width: 0; }
.exp__photo {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 24px 50px -28px var(--c1);
}
.exp__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.exp__photo:hover img { transform: scale(1.04); }
.exp__photo figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(8, 4, 26, 0.72);
  color: #D9D4EC;
  font-size: 11px;
  font-weight: 400;
}

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tiles li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
  font: 700 14px/1.15 var(--display);
  transition: transform 0.2s ease;
}
.tiles li:hover { transform: translateY(-2px); }
.tiles li span { font-size: 20px; line-height: 1; }
.tiles .tiles__more { background: none; border: 2px dashed rgba(255, 255, 255, 0.25); color: var(--muted); font-size: 12px; font-weight: 600; }
.tiles .tiles__more span { font-size: 18px; }

.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.points li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.points li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}
.points li span {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  font-size: 17px;
}

/* Cards */
.cards { display: grid; gap: 18px; }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { padding: 26px; border: 1px solid var(--border); border-radius: 18px; background: var(--card); }
.card__icon { display: block; margin-bottom: 14px; font-size: 32px; line-height: 1; }
.card h3 { margin-bottom: 10px; font-size: 20px; font-weight: 700; }
.card h4 { margin-bottom: 8px; font-size: 17px; font-weight: 700; }
.card p { color: var(--muted); font-size: 14px; }
.subhead { margin: 64px 0 24px; font-size: 26px; font-weight: 800; text-align: center; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps li { padding: 28px; border: 1px solid var(--border); border-radius: 18px; background: var(--card); counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--gradient);
  font: 800 18px/1 var(--display);
}
.steps h3 { margin-bottom: 8px; font-size: 20px; font-weight: 700; }
.steps p { color: var(--muted); font-size: 14px; }

/* FAQ */
.faq { margin-bottom: 12px; border: 1px solid var(--border); border-radius: 16px; background: var(--card); }
.faq[open] { border-color: var(--accent); }
.faq summary { padding: 18px 22px; font-weight: 500; cursor: pointer; }
.faq p { padding: 0 22px 18px; color: var(--muted); font-size: 14px; }

/* Contact */
.contact { background: linear-gradient(135deg, #B5127A, #6A1FD0); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact h2 { margin-bottom: 16px; font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; }
.contact__list { display: grid; gap: 10px; margin-top: 28px; font-weight: 400; }
.contact__list li { display: flex; gap: 12px; }
.contact__list a { text-decoration: underline; text-underline-offset: 3px; }

.form { display: grid; gap: 14px; padding: 28px; border-radius: 22px; background: var(--bg); }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; }
.form input, .form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  font: 400 15px/1.4 'Poppins', Arial, sans-serif;
}
.form ::placeholder { color: #8A83A8; }
.form textarea { resize: vertical; }
.form__note { color: var(--muted); font-size: 12px; text-align: center; }

/* Footer */
.footer { padding: 28px 0; background: var(--bg-alt); color: var(--muted); font-size: 13px; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer a { text-decoration: underline; text-underline-offset: 3px; }

/* Photo credits page */
.credits { padding: 72px 0 96px; }
.credits h1 { margin-bottom: 14px; font-size: clamp(32px, 5vw, 46px); font-weight: 800; }
.credits__intro { margin-bottom: 32px; color: var(--muted); }
.credits__list { display: grid; gap: 12px; }
.credits__list li { padding: 16px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); font-size: 14px; overflow-wrap: anywhere; }
.credits__list strong { display: block; font-weight: 600; }
.credits__list a { text-decoration: underline; text-underline-offset: 3px; }

/* Scroll reveal: only hides content once JS has confirmed it can show it again */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exp, .contact__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .exp--flip .exp__text { order: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 820px) {
  .menu-btn { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px 20px 22px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 8px 0; color: var(--text); }
  .nav .btn { margin-top: 8px; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero__inner { padding-top: 64px; padding-bottom: 64px; }
  .hero__actions .btn { width: 100%; }
  .cards--4 { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles li { font-size: 13px; }
  .points { grid-template-columns: minmax(0, 1fr); }
  .pill { letter-spacing: 0.06em; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .tiles li, .exp__photo img { transition: none; }
  .exp__photo:hover img { transform: none; }
  .intro__name, .intro__name .grad, .intro__word, .intro__word::before { animation: none; }
  .intro__rot, .intro__rot.is-out { transition: none; transform: none; }
}
