/* Liquid glass */
.glass {
  background:
    linear-gradient(135deg, rgba(251, 248, 242, .62), rgba(251, 248, 242, .22)) padding-box,
    linear-gradient(135deg, rgba(251, 248, 242, .95), rgba(251, 248, 242, .2) 40%, rgba(237, 23, 111, .35)) border-box;
  border: 1.5px solid transparent;
  -webkit-backdrop-filter: blur(18px) saturate(185%);
  backdrop-filter: blur(18px) saturate(185%);
  box-shadow:
    inset 0 1px 0 rgba(251, 248, 242, .85),
    inset 0 -10px 24px -14px rgba(42, 52, 142, .25),
    0 18px 40px -22px rgba(18, 19, 43, .45);
}
.glass--dark {
  background:
    linear-gradient(135deg, rgba(251, 248, 242, .14), rgba(251, 248, 242, .04)) padding-box,
    linear-gradient(135deg, rgba(251, 248, 242, .55), rgba(251, 248, 242, .05) 45%, rgba(237, 23, 111, .5)) border-box;
  color: var(--cream-on-dark);
  box-shadow: inset 0 1px 0 rgba(251, 248, 242, .25), 0 30px 60px -30px rgba(0, 0, 0, .6);
}

/* Neo-brutal card */
.brutal {
  background: var(--egg);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
}

/* Brutal image frame */
.frame {
  position: relative;
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hard-lg);
  background: var(--sand);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* Organic blob shapes */
.blob {
  border-radius: 58% 42% 50% 50% / 45% 55% 45% 55%;
  animation: blob-morph 14s ease-in-out infinite;
}
@keyframes blob-morph {
  0%, 100% { border-radius: 58% 42% 50% 50% / 45% 55% 45% 55%; }
  33% { border-radius: 40% 60% 62% 38% / 52% 38% 62% 48%; }
  66% { border-radius: 52% 48% 38% 62% / 60% 50% 50% 40%; }
}

/* Inline icon sizing */
.ico { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* Cookie banner */
.cookie {
  position: fixed;
  left: var(--gutter); bottom: var(--gutter);
  z-index: 120;
  width: min(420px, calc(100% - var(--gutter) * 2));
  padding: 1.4rem 1.4rem 1.2rem;
  translate: 0 140%;
  transition: translate .7s var(--ease-out);
}
.cookie.is-visible { translate: 0 0; }
.cookie__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.cookie p { font-size: .93rem; margin-block: .5rem 1rem; color: var(--ink-2); }
.cookie p a { text-decoration: underline; text-underline-offset: 3px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie__cookie {
  position: absolute; right: -14px; top: -18px;
  width: 54px; height: 54px;
  rotate: 12deg;
}

/* Logo-style stripe overlay (needs a positioned parent) */
.striped::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--stripes);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

/* Missing photo → branded placeholder (set by main.js) */
.has-missing-img { background: var(--stripes), var(--brand-grad) !important; }
img.img-missing { opacity: 0; }
