/* ---------------------------------------------------------
   Rora & The Untamed — base styles
--------------------------------------------------------- */

:root {
  --color-ink: #000000;
  --color-ink-light: #1a1a1a;
  --color-ink-dark: #000000;
  --color-ink-soft: #111111;
  --color-cream: #faf3ea;
  --color-accent: #bba2ce;
  --color-accent-soft: #bba2ce;
  --font-display: "Times New Roman", Times, serif;
  --font-body: "Times New Roman", Times, serif;
  --max-width: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(ellipse 120% 60% at 50% 0%, var(--color-ink-light) 0%, var(--color-ink) 45%, var(--color-ink-dark) 100%);
  color: var(--color-cream);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.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;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  background: var(--color-cream);
  color: var(--color-ink);
  padding: 0.75rem 1.25rem;
  border-radius: 0.25rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-decoration: none;
  transition: top 0.2s ease;
  z-index: 100;
}

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

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

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero__parallax {
  position: absolute;
  inset: -8% 0;
  will-change: transform;
}

.hero__media,
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero__img {
  transform-origin: center bottom;
  animation: hero-ken-burns 26s ease-in-out infinite alternate;
}

@keyframes hero-ken-burns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.12) translate(-1.5%, -1%); }
}

.hero__bar {
  position: relative;
  z-index: 2;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
}

.hero__logo-link {
  display: inline-block;
  line-height: 0;
  animation: fade-up 1s ease-out both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__logo {
  width: clamp(300px, 34vw, 460px);
  height: auto;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1.25rem, 4vh, 2.5rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-cream);
  text-align: center;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  animation: scroll-cue-fade-up 1s ease-out 0.3s both;
}

@keyframes scroll-cue-fade-up {
  from { opacity: 0; transform: translate(-50%, 16px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.scroll-cue__arrow {
  width: 1.6rem;
  height: 1.6rem;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.9;
  animation: scroll-cue-move 1.6s ease-in-out infinite;
}

@keyframes scroll-cue-move {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.6; }
  50% { transform: rotate(45deg) translate(0.4rem, 0.4rem); opacity: 1; }
}

/* ---------------------------------------------------------
   Release announcement
--------------------------------------------------------- */

.release {
  padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 4vw, 3rem) 0;
}

.release__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 1.5rem);
  text-align: center;
}

.release__text {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  letter-spacing: 0.02em;
  color: var(--color-cream);
}

.release__text em {
  font-style: normal;
  color: var(--color-accent);
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-ink);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent-soft);
}

.btn:hover,
.btn:focus-visible {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* ---------------------------------------------------------
   Video section
--------------------------------------------------------- */

.video-section {
  padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3rem);
}

.video-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: var(--color-ink-soft);
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55)), url('../img/rora-and-the-untamed.webp');
  background-size: cover;
  background-position: center;
  cursor: pointer;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.video-embed__frame {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, rgba(238, 197, 148, 0.12) 0%, rgba(0, 0, 0, 0) 60%);
}

.video-embed__play {
  width: clamp(56px, 8vw, 84px);
  height: auto;
  aspect-ratio: 68 / 48;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.video-embed:hover .video-embed__play,
.video-embed:focus-visible .video-embed__play {
  transform: scale(1.08);
}

.video-embed__play svg {
  width: 100%;
  height: 100%;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------------------------------------------------------
   Signup page header
--------------------------------------------------------- */

.signup-header {
  padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 4vw, 3rem) clamp(1.5rem, 4vw, 2rem);
  text-align: center;
}

.signup-header__logo-link {
  display: inline-block;
  line-height: 0;
  animation: fade-up 1s ease-out both;
}

.signup-header__logo {
  width: clamp(220px, 28vw, 340px);
  height: auto;
  margin: 0 auto;
}

.signup-header__title {
  margin: clamp(1.5rem, 4vw, 2.25rem) 0 0;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  letter-spacing: 0.03em;
  color: var(--color-cream);
}

.signup-header__text {
  margin: 0.75rem auto 0;
  max-width: 32rem;
  color: rgba(250, 243, 234, 0.75);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}

/* ---------------------------------------------------------
   Coming soon (blank page)
--------------------------------------------------------- */

.coming-soon-page {
  background: #000000;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coming-soon {
  text-align: center;
  padding: 2rem;
}

.coming-soon__logo {
  width: clamp(220px, 28vw, 340px);
  height: auto;
  margin: 0 auto;
}

.coming-soon__heading {
  margin: clamp(1.5rem, 4vw, 2.25rem) 0 0;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-cream);
}

/* ---------------------------------------------------------
   Newsletter
--------------------------------------------------------- */

.newsletter {
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(1rem, 3vw, 1.75rem);
}

.newsletter__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.newsletter__form {
  width: 100%;
  max-width: 600px;
}

.newsletter__form iframe {
  width: 100%;
  height: 635px;
  border: 0;
  display: block;
}

/* ---------------------------------------------------------
   Newsletter consent fallback
--------------------------------------------------------- */

.newsletter__fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: clamp(1.5rem, 5vw, 2.5rem) 1.5rem;
  border: 1px solid rgba(250, 243, 234, 0.15);
  border-radius: 0.5rem;
  background-color: var(--color-ink-soft);
}

.newsletter__fallback-text {
  margin: 0;
  max-width: 30rem;
  color: rgba(250, 243, 234, 0.75);
  font-size: 0.95rem;
}

/* ---------------------------------------------------------
   Cookie consent banner
--------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background-color: rgba(10, 10, 10, 0.97);
  border-top: 1px solid rgba(250, 243, 234, 0.15);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
  animation: fade-up 0.4s ease-out both;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.cookie-banner__text {
  margin: 0;
  flex: 1 1 20rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(250, 243, 234, 0.85);
}

.cookie-banner__text a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 0.65rem 1.5rem;
  font-size: 0.75rem;
}

/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */

.site-footer {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem);
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
}

.site-footer__logo {
  width: clamp(80px, 10vw, 110px);
  height: auto;
  opacity: 0.9;
}

.social-list {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2.5vw, 1.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(48px, 9vw, 56px);
  height: clamp(48px, 9vw, 56px);
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-ink);
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-list a:hover,
.social-list a:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

.social-list svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.social-list__pending {
  cursor: default;
  opacity: 0.35;
}

.social-list__pending:hover,
.social-list__pending:focus-visible {
  opacity: 0.35;
  transform: none;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: rgba(250, 243, 234, 0.55);
}

.site-footer__credit {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: rgba(250, 243, 234, 0.4);
}

.site-footer__credit a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__credit a:hover,
.site-footer__credit a:focus-visible {
  color: var(--color-accent);
}

.site-footer__cookie-link {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: rgba(250, 243, 234, 0.4);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.site-footer__cookie-link:hover,
.site-footer__cookie-link:focus-visible {
  color: var(--color-accent);
}

/* ---------------------------------------------------------
   Scroll reveal
--------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------
   Responsive tweaks
--------------------------------------------------------- */

@media (max-width: 480px) {
  .hero__bar {
    padding: 1.25rem;
  }

  .hero__logo-link {
    display: block;
    width: 100%;
  }

  .hero__logo {
    width: 100%;
    max-width: none;
  }
}

/* ---------------------------------------------------------
   Motion & contrast preferences
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scroll-cue__arrow {
    animation: none;
  }

  .video-embed:hover .video-embed__play,
  .video-embed:focus-visible .video-embed__play,
  .social-list a:hover,
  .social-list a:focus-visible,
  .btn:hover,
  .btn:focus-visible {
    transform: none;
  }

  .hero__img,
  .hero__logo-link,
  .scroll-cue,
  .cookie-banner {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
