:root {
  --red: #e11d2e;
  --red-deep: #9f0f1c;
  --ink: #0a0706;
  --cream: #f7f1ea;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Outfit", sans-serif;
  --font-italic: "Playfair Display", Georgia, serif;
  --font-script: "Caveat", cursive;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--white);
  background: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ——— Full-bleed photographic stage ——— */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.stage__bg {
  position: absolute;
  inset: -4%;
  background:
    url("images/CHAQUE-PIECE.png") center center / cover no-repeat;
  transform: scale(1.06);
  animation: kenburns 22s var(--ease-out) infinite alternate;
  will-change: transform;
}

.stage__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(8, 4, 3, 0.78) 0%,
      rgba(8, 4, 3, 0.42) 38%,
      rgba(8, 4, 3, 0.28) 58%,
      rgba(8, 4, 3, 0.72) 100%
    ),
    radial-gradient(
      ellipse 70% 55% at 50% 42%,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0.55) 100%
    ),
    linear-gradient(
      to top,
      rgba(6, 3, 2, 0.92) 0%,
      rgba(6, 3, 2, 0.35) 28%,
      transparent 55%
    );
}

.stage__grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grain 0.45s steps(2) infinite;
}

.stage__watermark {
  position: absolute;
  right: -2vw;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 11rem);
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.055);
  white-space: nowrap;
  user-select: none;
  animation: watermark-drift 14s ease-in-out infinite alternate;
}

/* ——— Content shell ——— */
.shell {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding:
    max(1.25rem, env(safe-area-inset-top))
    clamp(1.25rem, 4vw, 3.5rem)
    max(1.25rem, env(safe-area-inset-bottom));
  max-width: 1400px;
  margin: 0 auto;
}

/* ——— Brand ——— */
.brand {
  justify-self: center;
  text-align: center;
  padding-top: clamp(0.5rem, 2vh, 1.5rem);
  opacity: 0;
  animation: rise 1.1s var(--ease-out) 0.15s forwards;
}

.brand__name {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  line-height: 0.9;
  letter-spacing: 0.12em;
  font-weight: 400;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.brand__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.brand__sushi {
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 1.4vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.42em;
  color: var(--red);
  text-indent: 0.42em;
}

.brand__line {
  display: block;
  width: clamp(1.75rem, 4vw, 2.75rem);
  height: 1.5px;
  background: var(--red);
}

/* ——— Hero ——— */
.hero {
  align-self: center;
  max-width: 34rem;
  padding: clamp(1.5rem, 5vh, 3rem) 0;
  opacity: 0;
  animation: rise 1.15s var(--ease-out) 0.4s forwards;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0.04em;
  font-size: clamp(4.5rem, 14vw, 8.5rem);
  text-transform: uppercase;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.92);
  position: relative;
}

.hero__title-line--accent::after {
  content: "Soon";
  position: absolute;
  inset: 0;
  color: var(--red);
  -webkit-text-stroke: 0;
  clip-path: inset(0 100% 0 0);
  animation: fill-soon 1.6s var(--ease-out) 1.1s forwards;
}

.hero__lead {
  margin-top: 1.15rem;
  max-width: 22rem;
  font-family: var(--font-italic);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  font-style: italic;
  color: rgba(255, 245, 235, 0.92);
  line-height: 1.45;
}

/* ——— Notify ——— */
.notify {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  max-width: 28rem;
}

.notify__input {
  flex: 1 1 12rem;
  min-height: 3.15rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(10, 6, 4, 0.45);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.notify__input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.notify__input:focus {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(10, 6, 4, 0.62);
}

.notify__btn {
  min-height: 3.15rem;
  padding: 0 1.5rem;
  border: none;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s var(--ease-out);
}

.notify__btn:hover {
  background: #ff2a3d;
  transform: translateY(-1px);
}

.notify__btn:active {
  transform: translateY(0);
}

.notify__success {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  color: rgba(255, 230, 220, 0.9);
}

.notify.is-done .notify__input,
.notify.is-done .notify__btn {
  opacity: 0.45;
  pointer-events: none;
}

/* ——— Footer ——— */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding-bottom: 0.35rem;
  opacity: 0;
  animation: rise 1s var(--ease-out) 0.75s forwards;
}

.footer__site {
  font-family: var(--font-script);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  color: var(--white);
  text-decoration: none;
  line-height: 1;
  transition: color 0.2s ease;
}

.footer__site:hover {
  color: #ffd0d4;
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
}

.footer__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer__icon {
  color: var(--red);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.footer__label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--muted);
  line-height: 1.2;
}

.footer__value {
  display: block;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

a.footer__value:hover {
  color: #ffd0d4;
}

/* ——— Motion ——— */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kenburns {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-1.5%, 1%, 0);
  }
}

@keyframes grain {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-1.5%, 1%);
  }
}

@keyframes watermark-drift {
  from {
    opacity: 0.7;
    letter-spacing: 0.14em;
  }
  to {
    opacity: 1;
    letter-spacing: 0.22em;
  }
}

@keyframes fill-soon {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage__bg,
  .stage__grain,
  .stage__watermark,
  .brand,
  .hero,
  .footer,
  .hero__title-line--accent::after {
    animation: none !important;
  }

  .brand,
  .hero,
  .footer {
    opacity: 1;
  }

  .stage__bg {
    transform: none;
  }

  .hero__title-line--accent::after {
    clip-path: inset(0 0 0 0);
  }
}

@media (max-width: 720px) {
  .hero {
    max-width: none;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .stage__watermark {
    display: none;
  }

  .stage__veil {
    background:
      linear-gradient(
        to bottom,
        rgba(8, 4, 3, 0.72) 0%,
        rgba(8, 4, 3, 0.35) 35%,
        rgba(8, 4, 3, 0.55) 70%,
        rgba(6, 3, 2, 0.92) 100%
      );
  }
}
