/* ==========================================================================
   AURENNE — Coming Soon
   Token system

   Color:
     --ink        near-black warm base (video scrim, page background)
     --ink-2      slightly raised warm dark (about page panels)
     --beige      #B7A99A — approved brand color, used as the single accent
     --beige-soft tint of beige for secondary/quiet text
     --paper      warm off-white, reserved for the rare high-emphasis moment
     --error      muted terracotta, never a harsh system red

   Type:
     --font-display  Bodoni Moda — same high-contrast serif family as the
                     approved "A" monogram, used with restraint (wordmark,
                     headlines only)
     --font-body     Inter — quiet geometric sans for anything functional
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;1,6..96,400&family=Inter:wght@400;500&display=swap");

:root {
  --ink: #0c0b0a;
  --ink-2: #17140f;
  --beige: #b7a99a;
  --beige-soft: #d9cfc2;
  --paper: #f4efe9;
  --error: #c9614a;

  --font-display: "Bodoni Moda", "Didot", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* Visible keyboard focus everywhere, no exceptions */
:focus-visible {
  outline: 1px solid var(--beige);
  outline-offset: 4px;
}

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

/* ==========================================================================
   Coming soon (index.html)
   ========================================================================== */

.stage {
  position: relative;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  background: var(--ink); /* shows instantly, before video/poster paint */
}

.stage__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.stage__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 11, 10, 0.86) 0%,
    rgba(12, 11, 10, 0.5) 38%,
    rgba(12, 11, 10, 0.35) 60%,
    rgba(12, 11, 10, 0.55) 100%
  );
  animation: breathe 9s ease-in-out infinite;
}

@keyframes breathe {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.88;
  }
}

.stage__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  padding: 0 24px 12vh;
  text-align: center;
}

.wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  letter-spacing: 0.02em;
  color: var(--paper);
  opacity: 0;
  animation: reveal-tracking 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes reveal-tracking {
  from {
    opacity: 0;
    letter-spacing: -0.02em;
  }
  to {
    opacity: 1;
    letter-spacing: 0.34em;
  }
}

.teaser {
  margin: 0.85em 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--beige-soft);
  opacity: 0;
  animation: fade-up 0.9s ease-out 1.1s forwards;
}

.divider {
  width: 44px;
  height: 1px;
  margin: 2.1em 0;
  background: var(--beige);
  opacity: 0;
  animation: fade-up 0.9s ease-out 1.4s forwards;
}

.notify {
  width: 100%;
  max-width: 340px;
  opacity: 0;
  animation: fade-up 0.9s ease-out 1.6s forwards;
}

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

.notify__label {
  display: block;
  margin: 0 0 0.9em;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--beige-soft);
}

.notify__row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.notify__input {
  flex: 1;
  min-width: 0;
  padding: 0.5em 0.1em;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(183, 169, 154, 0.4);
  border-radius: 0;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.25s ease, border-bottom-width 0.25s ease;
  /* Reset Safari/iOS's default input chrome (rounded box + inset shadow)
     so this reads as plain underlined text, never a boxed field. */
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
}

.notify__input::placeholder {
  color: rgba(244, 239, 233, 0.4);
}

/* The site-wide :focus-visible outline draws a full rectangle, which would
   read as a "boxed" field against the plain underline this has at rest —
   suppressed in favor of just brightening/thickening the bottom border. */
.notify__input:focus {
  outline: none;
  border-bottom-color: var(--beige);
  border-bottom-width: 2px;
}

.notify__input[aria-invalid="true"] {
  border-bottom-color: var(--error);
}

.notify__submit {
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.5em 0.1em;
  border-bottom: 1px solid transparent;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--paper);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.notify__submit svg {
  transition: transform 0.2s ease;
}

.notify__submit:hover,
.notify__submit:focus-visible {
  color: var(--beige);
}

.notify__submit:hover svg,
.notify__submit:focus-visible svg {
  transform: translateX(3px);
}

.notify__submit:disabled {
  opacity: 0.5;
  cursor: default;
}

.notify__message {
  min-height: 1.4em;
  margin-top: 0.75em;
  font-size: 0.8rem;
  text-align: left;
  color: var(--beige-soft);
}

.notify__message[data-state="error"] {
  color: var(--error);
}

.notify__message[data-state="success"] {
  color: var(--beige);
}

.notify__success {
  display: none;
  align-items: baseline;
  gap: 0.6em;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--paper);
}

.notify[data-submitted="true"] .notify__form {
  display: none;
}

.notify[data-submitted="true"] .notify__success {
  display: flex;
}

.replay-toggle {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(244, 239, 233, 0.5);
  border-radius: 50%;
  color: var(--paper);
  opacity: 0;
  transition: opacity 0.4s ease, border-color 0.2s ease, transform 0.2s ease;
}

.replay-toggle[hidden] {
  display: flex; /* keep it in the fade transition instead of snapping away */
  pointer-events: none;
}

.replay-toggle:not([hidden]) {
  opacity: 1;
}

.replay-toggle svg {
  width: 20px;
  height: 20px;
}

.replay-toggle:hover,
.replay-toggle:focus-visible {
  border-color: var(--beige);
  transform: translate(-50%, -50%) scale(1.06);
}

/* Corner controls: mute toggle + Instagram, same treatment, opposite corners */
.corner-control {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(244, 239, 233, 0.3);
  border-radius: 50%;
  color: var(--paper);
  opacity: 0.55;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.corner-control:hover,
.corner-control:focus-visible {
  opacity: 1;
  border-color: var(--beige);
}

.corner-control svg {
  width: 16px;
  height: 16px;
}

.mute-toggle {
  left: 24px;
}

.social-link {
  right: 24px;
}

.site-footer {
  position: absolute;
  z-index: 1;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(244, 239, 233, 0.45);
}

/* ==========================================================================
   About page
   ========================================================================== */

.about {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 50% -10%, var(--ink-2) 0%, var(--ink) 60%);
}

.about__header {
  display: flex;
  justify-content: center;
  padding: 32px 24px 0;
}

.about__wordmark-link {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  color: var(--paper);
  text-decoration: none;
  transition: color 0.2s ease;
}

.about__wordmark-link:hover,
.about__wordmark-link:focus-visible {
  color: var(--beige);
}

.about__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.about__content {
  max-width: 560px;
  text-align: center;
}

.about__eyebrow {
  margin: 0 0 1em;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--beige-soft);
}

.about__headline {
  margin: 0 0 0.9em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  line-height: 1.15;
  color: var(--paper);
}

.about__headline em {
  color: var(--beige);
  font-style: italic;
}

.about__body {
  margin: 0 auto;
  max-width: 440px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--beige-soft);
}

.about__body + .about__body {
  margin-top: 1.1em;
}

.about__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 2.4em;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(183, 169, 154, 0.4);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.about__back:hover,
.about__back:focus-visible {
  color: var(--beige);
  border-color: var(--beige);
}

.about .site-footer {
  position: static;
  padding: 24px;
}

/* ==========================================================================
   Small screens
   ========================================================================== */

@media (max-width: 480px) {
  .stage__content {
    padding-bottom: 8vh;
  }

  .notify {
    max-width: 280px;
  }

  .notify__row {
    gap: 8px;
  }

  .corner-control {
    width: 36px;
    height: 36px;
  }

  .mute-toggle {
    left: 16px;
  }

  .social-link {
    right: 16px;
  }

  .stage__video {
    object-position: center 15%;
  }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .wordmark,
  .teaser,
  .divider,
  .notify {
    animation: none;
    opacity: 1;
    letter-spacing: 0.34em;
    transform: none;
  }

  .stage__scrim {
    animation: none;
  }

  .notify__submit svg,
  .notify__input,
  .corner-control {
    transition: none;
  }
}
