/* Zeechis Kitchen — brand tokens from logo */
:root {
  --orange: #f15a24;
  --orange-deep: #d94814;
  --green: #2f8a4e;
  --green-deep: #1f6b3a;
  --ink: #141814;
  --muted: #5a655d;
  --surface: #fffaf6;
  --white: #ffffff;
  --ring: rgba(241, 90, 36, 0.35);
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.5;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

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

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

/* Atmosphere */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 12% 18%, rgba(241, 90, 36, 0.14), transparent 55%),
    radial-gradient(ellipse 65% 48% at 88% 78%, rgba(47, 138, 78, 0.12), transparent 52%),
    linear-gradient(165deg, #fff9f3 0%, #f6faf7 50%, #fff5ed 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.45;
  animation: drift 16s var(--ease-out) infinite alternate;
}

.blob--orange {
  width: min(42vw, 340px);
  height: min(42vw, 340px);
  background: rgba(241, 90, 36, 0.26);
  top: -6%;
  right: -4%;
}

.blob--green {
  width: min(46vw, 380px);
  height: min(46vw, 380px);
  background: rgba(47, 138, 78, 0.2);
  bottom: -10%;
  left: -8%;
  animation-delay: -5s;
  animation-duration: 20s;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(2.5%, -3%, 0) scale(1.06);
  }
}

/* Stage — balanced first viewport */
.stage {
  position: relative;
  z-index: 1;
  flex: 1;
  width: min(640px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 7vh, 4rem) 0 clamp(1rem, 3vh, 1.75rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(1.25rem, 3.5vh, 2rem);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.brand__logo {
  width: clamp(140px, 28vw, 200px);
  margin-inline: auto;
  transform-origin: center;
  animation: logo-rise 0.95s var(--ease-out) both, float 7s ease-in-out 1.1s infinite;
}

.brand__status {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-deep);
  opacity: 0;
  animation: fade-up 0.85s var(--ease-out) 0.2s forwards;
}

@keyframes logo-rise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.message {
  max-width: 30rem;
  width: 100%;
}

.message__title {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.65rem, 4.6vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  opacity: 0;
  animation: fade-up 0.85s var(--ease-out) 0.32s forwards;
}

.message__lede {
  margin: 0 auto 1.35rem;
  max-width: 26rem;
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  line-height: 1.55;
  color: var(--muted);
  opacity: 0;
  animation: fade-up 0.85s var(--ease-out) 0.45s forwards;
}

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

/* Notify form */
.notify {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  opacity: 0;
  animation: fade-up 0.85s var(--ease-out) 0.58s forwards;
}

.notify__row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  padding: 0.35rem;
  border: 1.5px solid rgba(20, 24, 20, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.notify__row:focus-within {
  border-color: rgba(241, 90, 36, 0.55);
  box-shadow: 0 0 0 3px var(--ring);
}

.notify__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.75rem 0.9rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  outline: none;
}

.notify__input::placeholder {
  color: #8a938c;
}

.notify__button {
  flex: 0 0 auto;
  padding: 0.75rem 1.15rem;
  border: none;
  border-radius: 9px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s var(--ease-out);
}

.notify__button:hover {
  background: var(--orange-deep);
  transform: translateY(-1px);
}

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

.notify__button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.notify__status {
  min-height: 1.35em;
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
  color: var(--green-deep);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.notify__status.is-visible {
  opacity: 1;
}

.notify__status.is-error {
  color: var(--orange-deep);
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 0.75rem 1.25rem 1.35rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

@media (max-width: 520px) {
  .stage {
    width: min(640px, calc(100% - 1.5rem));
    gap: 1.15rem;
  }

  .brand__logo {
    width: clamp(120px, 36vw, 160px);
  }

  .notify__row {
    flex-direction: column;
    padding: 0.45rem;
  }

  .notify__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blob,
  .brand__logo,
  .brand__status,
  .message__title,
  .message__lede,
  .notify {
    animation: none !important;
  }

  .brand__logo,
  .brand__status,
  .message__title,
  .message__lede,
  .notify {
    opacity: 1;
    transform: none;
  }
}
