:root {
  --em-bg: #0c0b0f;
  --em-bg-elevated: #16141c;
  --em-surface: #1c1924;
  --em-border: rgba(255, 255, 255, 0.1);
  --em-text: #f7f4ef;
  --em-muted: #a8a29a;
  --em-accent: #e85d04;
  --em-brand: #d946ef;
  --em-brand-deep: #a21caf;
  --em-font-display: "Unbounded", system-ui, sans-serif;
  --em-font-body: "Manrope", system-ui, sans-serif;
  --em-radius: 14px;
  --em-max: 1120px;
  --em-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--em-font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--em-text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(217, 70, 239, 0.18), transparent 55%),
    radial-gradient(900px 500px at 10% 20%, rgba(232, 93, 4, 0.12), transparent 50%),
    var(--em-bg);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--em-brand);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 1.25rem 1.5rem;
}

/* Clear WordPress admin bar when logged in */
.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

.admin-bar .hero__content {
  padding-top: calc(clamp(5.75rem, 14vh, 8.5rem) + 32px);
}

@media screen and (max-width: 782px) {
  .admin-bar .hero__content {
    padding-top: calc(clamp(5.75rem, 14vh, 8.5rem) + 46px);
  }
}

@media (min-height: 820px) {
  .admin-bar .hero__content {
    padding-top: calc(7rem + 32px);
  }
}

.site-header__inner {
  max-width: var(--em-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  text-decoration: none;
}

.site-brand__name {
  font-family: var(--em-font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.site-nav__list {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list a {
  text-decoration: none;
  color: rgba(247, 244, 239, 0.85);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav__list a:hover {
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 18s var(--em-ease) forwards;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 11, 15, 0.5) 0%, rgba(12, 11, 15, 0.45) 35%, rgba(12, 11, 15, 0.88) 100%),
    linear-gradient(90deg, rgba(12, 11, 15, 0.55), transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--em-max);
  width: 100%;
  margin: 0 auto;
  /* Clear absolute header; keep brand visible in first viewport */
  padding: clamp(5.75rem, 14vh, 8.5rem) 1.5rem 3.5rem;
}

.hero__brand {
  margin: 0 0 1.1rem;
  font-family: var(--em-font-display);
  font-size: clamp(2.35rem, 7.2vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  background: linear-gradient(120deg, #fff 20%, #f0abfc 55%, #fb923c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Tall screens: sit content lower for a cinematic feel without clipping the brand */
@media (min-height: 820px) {
  .hero {
    justify-content: flex-end;
  }

  .hero__content {
    padding-top: 7rem;
    padding-bottom: 4.75rem;
  }
}

@media (max-height: 700px) {
  .hero__brand {
    font-size: clamp(2rem, 9vh, 3rem);
    margin-bottom: 0.75rem;
  }

  .hero__title {
    font-size: clamp(1.15rem, 3.5vh, 1.55rem);
    margin-bottom: 0.65rem;
  }

  .hero__text {
    margin-bottom: 1.15rem;
    font-size: 1rem;
  }

  .hero__content {
    padding-top: 5.25rem;
    padding-bottom: 2.25rem;
  }
}

.hero__title {
  margin: 0 0 1rem;
  max-width: 18ch;
  font-family: var(--em-font-display);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.hero__text {
  margin: 0 0 1.75rem;
  max-width: 36ch;
  color: var(--em-muted);
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.interest-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  max-width: 32rem;
  position: relative;
}

.interest-form__input {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.95rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(8, 6, 16, 0.45);
  color: #fff;
  font: inherit;
  font-size: 0.98rem;
  outline: none;
  transition: border-color 0.2s var(--em-ease), box-shadow 0.2s var(--em-ease);
}

.interest-form__input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.interest-form__input:focus {
  border-color: rgba(217, 70, 239, 0.7);
  box-shadow: 0 0 0 3px rgba(217, 70, 239, 0.22);
}

.interest-form__status {
  flex: 1 1 100%;
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.interest-form__status.is-success {
  color: #86efac;
}

.interest-form__status.is-error {
  color: #fda4af;
}

.interest-form--cta {
  margin: 0 auto;
  justify-content: center;
}

.interest-form--cta .interest-form__input {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--em-border);
  color: var(--em-text);
}

.interest-form--cta .interest-form__input::placeholder {
  color: var(--em-muted);
}

.interest-form--cta .interest-form__status.is-success {
  color: #4ade80;
}

.interest-form--cta .interest-form__status.is-error {
  color: #fb7185;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.2s var(--em-ease), box-shadow 0.2s var(--em-ease), opacity 0.2s var(--em-ease);
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(120deg, var(--em-brand), var(--em-brand-deep) 55%, var(--em-accent));
  box-shadow: 0 10px 30px rgba(217, 70, 239, 0.28);
}

.btn--primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(217, 70, 239, 0.36);
}

/* Sections */
.section {
  padding: 5.5rem 1.5rem;
  border-top: 1px solid var(--em-border);
}

.section__inner {
  max-width: 720px;
  margin: 0 auto;
}

.section__inner--wide {
  max-width: var(--em-max);
}

.section__inner--cta {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: calc(var(--em-radius) + 6px);
  background:
    linear-gradient(145deg, rgba(217, 70, 239, 0.16), rgba(232, 93, 4, 0.1)),
    var(--em-surface);
  border: 1px solid var(--em-border);
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--em-accent);
}

.section__title {
  margin: 0 0 1rem;
  font-family: var(--em-font-display);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section__text {
  margin: 0;
  color: var(--em-muted);
  font-size: 1.08rem;
}

.section--cta .section__text {
  margin-bottom: 1.5rem;
}

/* Pillars — not cards: no border/shadow boxes */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 800px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.pillar__num {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--em-font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--em-brand);
}

.pillar__title {
  margin: 0 0 0.5rem;
  font-family: var(--em-font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.pillar__text {
  margin: 0;
  color: var(--em-muted);
}

/* Footer */
.site-footer {
  padding: 2.5rem 1.5rem 3rem;
  border-top: 1px solid var(--em-border);
}

.site-footer__inner {
  max-width: var(--em-max);
  margin: 0 auto;
}

.site-footer__brand {
  margin: 0 0 0.35rem;
  font-family: var(--em-font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.site-footer__meta,
.site-footer__copy {
  margin: 0.25rem 0 0;
  color: var(--em-muted);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--em-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Generic pages */
.page-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 7rem 1.5rem 4rem;
}

.page-shell h1 {
  font-family: var(--em-font-display);
  letter-spacing: -0.03em;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--em-ease), transform 0.7s var(--em-ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__media img {
    animation: none;
    transform: none;
  }
}
