/* Zbarcea — single composition brand page */

:root {
  /* Burgundy / Apple-like product red */
  --ink: #9b1b2e;
  --field: #f3efe6;
  --field-deep: #e6dcc8;
  --motif: #9b1b2e;
  --muted: rgba(155, 27, 46, 0.72);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html,
body {
  height: 100%;
  margin: 0;
}

body {
  color: var(--ink);
  font-family: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  background: var(--field);
  overflow-x: hidden;
  overflow-y: auto;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 42%, transparent 35%, rgba(26, 22, 18, 0.12) 100%),
    linear-gradient(165deg, var(--field) 0%, var(--field-deep) 48%, #d9cdb4 100%);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.55;
  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.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.stage {
  position: relative;
  z-index: 2;
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.85rem, 2.5vh, 1.75rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 6vh, 4rem);
  text-align: center;
}

.brand {
  margin: 0 auto;
  width: min(88vw, 720px);
  color: var(--ink);
  opacity: 0;
  transform: translateY(22px);
  animation: rise 1.15s var(--ease) 0.12s forwards;
}

.wordmark {
  display: block;
  width: 100%;
  height: auto;
  margin-inline: auto;
}

.vow-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.65rem, 1.6vh, 1rem);
  width: min(92vw, 34rem);
  opacity: 0;
  transform: translateY(18px);
  animation: rise 1.1s var(--ease) 0.32s forwards;
}

.ornament {
  display: block;
  width: min(78vw, 22rem);
  height: auto;
}

.vow {
  margin: 0;
  font-family: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  font-size: clamp(1.25rem, 3.1vw, 1.75rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.16em;
  line-height: 1.35;
  color: var(--ink);
}

.live-quote {
  position: relative;
  margin: clamp(0.5rem, 2vh, 1.25rem) 0 0;
  padding: 0 1.75rem;
  width: min(92vw, 28rem);
  opacity: 0;
  transform: translateY(14px);
  animation: rise 1.05s var(--ease) 0.55s forwards;
  transition: opacity 0.35s var(--ease);
}

.live-quote[data-loading="true"] blockquote {
  opacity: 0.55;
}

.live-quote blockquote {
  margin: 0;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--ink);
  transition: opacity 0.25s ease;
}

.live-quote figcaption {
  margin-top: 0.55rem;
  font-size: clamp(0.75rem, 1.6vw, 0.88rem);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.quote-refresh {
  position: absolute;
  top: 0;
  right: 0;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.quote-refresh:hover,
.quote-refresh:focus-visible {
  opacity: 1;
  color: var(--ink);
  outline: none;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand,
  .vow-block,
  .live-quote {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
