/* Decorative layer — Blade & Bloom */

/* ── Paper grain overlay ── */
.page__grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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;
}

/* ── Watercolor wash (image with CSS fallback) ── */
.page__wash {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page__wash--hero {
  top: -10%;
  left: 50%;
  translate: -50% 0;
  width: min(140vw, 56rem);
  height: min(70vh, 32rem);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgb(163 181 160 / 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 30% 60%, rgb(216 226 220 / 0.35) 0%, transparent 65%),
    url("/assets/images/generated/wash-hero.jpg");
  mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, black 20%, transparent 72%);
}

.page__wash--footer {
  bottom: 0;
  left: 0;
  right: 0;
  height: 40vh;
  opacity: 0.35;
  background-image:
    radial-gradient(ellipse 90% 80% at 50% 100%, rgb(163 181 160 / 0.18) 0%, transparent 70%),
    url("/assets/images/generated/wash-footer.jpg");
  mask-image: linear-gradient(to top, black 0%, transparent 85%);
}

/* ── Corner botanical ── */
.page__corner {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  width: min(12rem, 28vw);
  aspect-ratio: 1;
  background-size: contain;
  background-repeat: no-repeat;
}

.page__corner--tr {
  top: 0;
  right: 0;
  background-image: url("/assets/images/generated/corner-sprig-tr.png");
  background-position: top right;
}

.page__corner--bl {
  bottom: 0;
  left: 0;
  width: min(10rem, 24vw);
  opacity: 0.25;
  background-image: url("/assets/images/generated/corner-sprig-bl.png");
  background-position: bottom left;
  transform: scaleX(-1);
}

/* ── Floating leaves ── */
.page__leaves {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.page__leaf {
  position: absolute;
  width: 2.5rem;
  opacity: 0.14;
  background: url("/assets/svg/leaf.svg") center / contain no-repeat;
  aspect-ratio: 48 / 80;
}

.page__leaf--1 { top: 18%; left: 8%; rotate: -18deg; }
.page__leaf--2 { top: 42%; right: 6%; width: 2rem; rotate: 24deg; opacity: 0.1; }
.page__leaf--3 { bottom: 22%; left: 12%; width: 1.75rem; rotate: 8deg; opacity: 0.08; }

@media (max-width: 480px) {
  .page__leaf--2,
  .page__leaf--3 { display: none; }
  .page__corner { opacity: 0.2; width: min(8rem, 22vw); }
}

/* ── Page shell ── */
.page {
  position: relative;
  min-height: 100dvh;
  background: var(--surface-canvas);
}

.page__content {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: var(--space-8);
}

.page__inner {
  width: min(100%, 26rem);
  text-align: center;
}

/* ── Staggered reveal ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    translate: 0 0.5rem;
    animation: decor-reveal 0.65s var(--ease-out) forwards;
  }

  .reveal--1 { animation-delay: 0.05s; }
  .reveal--2 { animation-delay: 0.12s; }
  .reveal--3 { animation-delay: 0.2s; }
  .reveal--4 { animation-delay: 0.28s; }
  .reveal--5 { animation-delay: 0.36s; }
  .reveal--6 { animation-delay: 0.44s; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
  }
}

@keyframes decor-reveal {
  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* ── Bloom section dividers ── */
.bloom-line--section {
  width: min(5rem, 18vw);
  margin-inline: auto;
  margin-block: var(--space-2);
}

.bloom-line--full {
  width: 100%;
  max-width: 12rem;
  margin-inline: auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-forest) 20%,
    var(--color-bloom) 50%,
    var(--color-forest) 80%,
    transparent 100%
  );
  opacity: 0.35;
}

/* ── Section cap (SALON-style eyebrow) ── */
.section-cap {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-style: italic;
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-sage-muted);
  margin: 0 0 var(--space-2);
}

/* ── Wave divider ── */
.wave-divider {
  width: 100vw;
  max-width: 32rem;
  margin-inline: calc(50% - 50vw);
  margin-block: var(--space-6);
  height: 1.25rem;
  background: url("/assets/svg/wave-divider.svg") center / 100% 100% no-repeat;
  opacity: 0.9;
}

/* ── Details panel (sage tint) ── */
.panel {
  text-align: left;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  background: rgb(216 226 220 / 0.2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-5);
}

.panel__heading {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-sage-ink);
  margin: 0 0 var(--space-4);
  padding-left: var(--space-3);
  border-left: 2px solid transparent;
  border-image: var(--gradient-brand) 1;
}

.panel__heading + .panel__heading,
.panel__block + .panel__block {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
}

/* ── Rows (hours / services) ── */
.info-rows {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: var(--leading-snug);
}

.info-rows li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--border-subtle);
}

.info-rows li:last-child {
  border-bottom: none;
}

.info-rows--stack li {
  display: block;
  border-bottom: none;
  padding-block: var(--space-1);
}

.info-rows span:last-child {
  color: var(--text-muted);
  text-align: right;
  flex-shrink: 0;
}

.info-rows .is-closed span:last-child {
  font-style: italic;
}

/* ── Hero logo ── */
.hero__logo {
  width: min(14rem, 62vw);
  margin-inline: auto;
}

.hero__intro {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  text-wrap: balance;
}

.contact-block {
  font-style: normal;
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  line-height: var(--leading-snug);
  color: var(--color-sage-ink);
}

.contact-block a {
  color: inherit;
  text-decoration: none;
}

.contact-block a:hover {
  color: var(--color-bloom);
}

.contact-block p + p {
  margin-top: var(--space-2);
}

.menu-link {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
}
