/* koaxmeta — Gerren-style shell, brand palette & typography */
:root {
  --warm-cream: #f8ebd8;
  --blush-white: #f2e9e4;
  --soft-linen: #f2e8de;
  --warm-sand: #eed9be;
  --dusty-mauve: #896768;
  --terracotta: #ab706a;
  --soft-rose: #c39194;
  --pale-blush: #e7d9cc;
  --deep-plum: #573742;

  --bg-base: var(--warm-cream);
  --bg-elevated: var(--blush-white);
  --bg-section: var(--soft-linen);
  --bg-accent-tint: var(--warm-sand);
  --text: var(--dusty-mauve);
  --text-muted: color-mix(in srgb, var(--dusty-mauve) 68%, var(--warm-sand) 32%);
  --text-strong: var(--deep-plum);
  --accent: var(--terracotta);
  --accent-soft: var(--soft-rose);
  --border: var(--pale-blush);
  --radius: 8px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--text);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
}

.grain--linen {
  opacity: 0.45;
  background-color: transparent;
  background-image:
    linear-gradient(color-mix(in srgb, var(--pale-blush) 35%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--pale-blush) 35%, transparent) 1px, transparent 1px);
  background-size: 10px 10px;
  animation: grid-drift 56s linear infinite;
}

@keyframes grid-drift {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 10px 10px, 10px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .grain--linen {
    animation: none;
  }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--header-h);
  padding: 0.65rem clamp(1.25rem, 4vw, 2.5rem);
  background: color-mix(in srgb, var(--blush-white) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--warm-sand) 40%, transparent) inset;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  max-width: 56rem;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--text-strong);
  text-decoration: none;
  transition: color 0.2s ease, filter 0.25s ease;
}

.logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--pale-blush) 85%, transparent),
    0 6px 20px color-mix(in srgb, var(--dusty-mauve) 12%, transparent);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.logo:hover {
  color: var(--accent);
}

.logo:hover .logo-img {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--terracotta) 35%, transparent),
    0 10px 28px color-mix(in srgb, var(--terracotta) 18%, transparent);
}

.logo-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  min-width: 0;
  text-align: left;
}

.logo-one-liner {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  line-height: 1.3;
  max-width: 16rem;
}

.nav {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 900px) {
  .nav {
    gap: 1.5rem;
  }
}

.site-header .nav a {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

@media (min-width: 900px) {
  .site-header .nav a {
    font-size: 0.95rem;
    letter-spacing: 0.11em;
  }
}

.site-header .nav a:hover {
  color: var(--text-strong);
}

.site-header .nav a[aria-current="page"] {
  color: var(--accent);
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
}

.site-header-actions {
  position: absolute;
  top: 50%;
  right: clamp(0.75rem, 3vw, 1.5rem);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.header-x-link,
.header-ig-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}

.header-x-link:hover,
.header-ig-link:hover {
  color: var(--accent);
  background: color-mix(in srgb, var(--warm-sand) 45%, transparent);
}

.header-x-icon,
.header-ig-icon {
  display: block;
  flex-shrink: 0;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-strong);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

@media (max-width: 767px) {
  .site-header {
    padding-right: clamp(8.5rem, 36vw, 11rem);
  }

  .site-header-inner {
    justify-content: flex-start;
    width: 100%;
    max-width: none;
  }

  .logo {
    min-width: 0;
    max-width: 100%;
  }

  .logo-one-liner {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: min(14rem, 42vw);
  }
}

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  background: color-mix(in srgb, var(--blush-white) 97%, var(--soft-rose) 3%);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav:not([hidden]) {
  display: flex;
}

.mobile-nav a {
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-strong);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
  min-height: 0;
}

/* Brand footer — z-index below main so hovers/tooltips in main (e.g. collection traits) are not covered */
.site-footer-brand {
  position: relative;
  z-index: 0;
  flex-shrink: 0;
  padding: clamp(2rem, 5vw, 2.75rem) clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-base) 100%);
}

.site-footer-brand--plum {
  background: var(--deep-plum);
  border-top-color: color-mix(in srgb, var(--deep-plum) 85%, var(--terracotta) 15%);
}

.site-footer-brand--plum .footer-handle a {
  color: var(--terracotta);
}

.site-footer-brand--plum .footer-tagline {
  color: color-mix(in srgb, var(--blush-white) 78%, var(--warm-sand) 22%);
}

.site-footer-brand--plum .footer-closing {
  color: color-mix(in srgb, var(--pale-blush) 55%, var(--blush-white) 45%);
}

.footer-handle {
  margin: 0 0 0.65rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
}

.footer-handle-sep {
  color: color-mix(in srgb, var(--pale-blush) 55%, var(--text-muted));
  font-weight: 400;
}

.footer-handle a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-handle a:hover {
  color: var(--accent-soft);
}

.site-footer-brand--plum .footer-handle a:hover {
  color: color-mix(in srgb, var(--terracotta) 85%, #fff 15%);
}

.footer-one-liner {
  margin: 0 auto 0.6rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--blush-white) 72%, var(--warm-sand) 28%);
}

.site-footer-brand--plum .footer-one-liner {
  color: color-mix(in srgb, var(--blush-white) 70%, var(--warm-sand) 30%);
}

.footer-tagline {
  margin: 0 auto 0.85rem;
  max-width: 28rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-muted);
}

.footer-koala {
  margin: 0 auto 0.75rem;
  max-width: 26rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.5;
  color: color-mix(in srgb, var(--pale-blush) 75%, var(--blush-white) 25%);
}

.footer-koala a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-koala a:hover {
  color: var(--blush-white);
}

.footer-email {
  margin: 0 auto 0.65rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
}

.footer-email a {
  color: color-mix(in srgb, var(--pale-blush) 85%, var(--blush-white) 15%);
  text-decoration: none;
}

.footer-email a:hover {
  color: var(--blush-white);
  text-decoration: underline;
}

.site-footer-brand--plum .footer-email a {
  color: color-mix(in srgb, var(--pale-blush) 80%, var(--blush-white) 20%);
}

.footer-closing {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: color-mix(in srgb, var(--pale-blush) 70%, var(--dusty-mauve) 30%);
}

.page-collection .site-footer-brand,
.page-shop .site-footer-brand {
  margin-top: clamp(2rem, 6vw, 3.5rem);
}

/* Powered by — Motion Mafia */
.site-footer-powered {
  position: relative;
  z-index: 0;
  flex-shrink: 0;
  padding: 1.35rem clamp(1.25rem, 4vw, 2.5rem) 1.75rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
  background: linear-gradient(
    180deg,
    transparent,
    color-mix(in srgb, var(--bg-base) 55%, transparent) 100%
  );
}

.page-collection .site-footer-powered {
  margin-top: 0;
}

.powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-strong);
}

.powered-by-label {
  transform: translateY(0.04em);
}

.powered-by-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  margin-inline-start: -0.06rem;
  border-radius: 6px;
  outline-offset: 3px;
}

.powered-by-link:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--terracotta) 65%, transparent);
}

.powered-by-logo {
  height: 1.88em;
  width: auto;
  aspect-ratio: 1;
  display: block;
  object-fit: contain;
  /* Fine line art on cream: contrast helps the muted mauve read clearly */
  filter: contrast(1.12) drop-shadow(0 1px 1.5px color-mix(in srgb, var(--deep-plum) 20%, transparent));
  transition: filter 0.22s ease, transform 0.22s ease;
}

.powered-by-link:hover .powered-by-logo {
  filter:
    contrast(1.18)
    drop-shadow(0 1px 2px color-mix(in srgb, var(--deep-plum) 26%, transparent))
    drop-shadow(0 0 8px color-mix(in srgb, var(--terracotta) 32%, transparent));
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .powered-by-logo {
    transition: none;
  }

  .powered-by-link:hover .powered-by-logo {
    transform: none;
  }
}

@media (max-width: 767px) {
  .nav-woosh-overlay {
    position: fixed;
    inset: 0;
    z-index: 250;
    pointer-events: none;
    background: color-mix(in srgb, var(--deep-plum) 12%, transparent);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.2s ease-out;
    will-change: opacity;
  }

  .nav-woosh-overlay--exit {
    opacity: 0;
  }

  .nav-woosh-overlay--exit.nav-woosh-overlay--exit-active {
    opacity: 1;
  }

  .nav-woosh-overlay--enter {
    opacity: 1;
    transition: opacity 0.22s ease-out;
  }

  .nav-woosh-overlay--enter.nav-woosh-overlay--enter-active {
    opacity: 0;
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .nav-woosh-overlay--exit,
  .nav-woosh-overlay--enter {
    transition-duration: 0.01ms;
  }
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  flex: 1;
  display: grid;
  align-items: center;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
  overflow: hidden;
}

.page-home .hero {
  flex: 1 1 auto;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding-top: clamp(2rem, 7vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 10vw, 5.5rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--bg-base);
}

.hero-bg-layers {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 18% 12%, color-mix(in srgb, var(--soft-rose) 22%, transparent), transparent 58%),
    radial-gradient(ellipse 70% 50% at 88% 78%, color-mix(in srgb, var(--terracotta) 14%, transparent), transparent 52%),
    radial-gradient(ellipse 50% 42% at 50% 100%, color-mix(in srgb, var(--warm-sand) 35%, transparent), transparent 62%),
    var(--bg-base);
}

.hero-bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 35%, color-mix(in srgb, var(--deep-plum) 8%, transparent) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 0.5rem;
  text-align: center;
}

.hero-brand-wrap {
  position: relative;
  display: inline-block;
}

.hero-pfp-ring {
  width: min(280px, 72vw);
  max-width: 100%;
  aspect-ratio: 1;
  margin: 0 auto 1.5rem;
  padding: clamp(0.65rem, 3vw, 1.15rem);
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 1px var(--border),
    0 18px 48px color-mix(in srgb, var(--dusty-mauve) 14%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-pfp {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.hero-headline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 0 auto 1.25rem;
  max-width: min(44rem, 100%);
  padding: 0 0.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 5vw, 2.65rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
}

.hero-headline-line {
  color: var(--text-strong);
  white-space: nowrap;
}

.hero-headline-line--mid {
  color: color-mix(in srgb, var(--dusty-mauve) 88%, var(--terracotta) 12%);
}

.hero-headline-line--accent {
  color: var(--accent);
}

.hero-headline-sep {
  color: color-mix(in srgb, var(--text-muted) 55%, var(--soft-rose));
  font-weight: 500;
  opacity: 0.9;
  user-select: none;
  font-size: 0.85em;
}

.hero-three-words {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  margin: 0.25rem auto 0;
  max-width: 36rem;
  padding: 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-align: center;
  color: var(--text-strong);
}

.hero-three-words span:first-child,
.hero-three-words span:nth-child(3),
.hero-three-words span:nth-child(5) {
  white-space: nowrap;
}

.hero-three-sep {
  color: color-mix(in srgb, var(--text-muted) 65%, var(--soft-rose));
  font-weight: 500;
  user-select: none;
}

.hero-koala-note {
  margin: 1rem auto 0;
  max-width: 32rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.hero-supporting {
  margin: 1.25rem auto 0;
  max-width: 36rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.55;
}

.hero-supporting a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.hero-supporting a:hover {
  text-decoration: underline;
}

.hero-lede {
  margin: 0 auto 1.75rem;
  max-width: 36rem;
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.65;
  text-align: center;
}

.hero-cta--below-words {
  margin-top: 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta-btn--primary {
  border: 1px solid color-mix(in srgb, var(--terracotta) 55%, transparent);
  background: var(--accent);
  color: var(--blush-white);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--terracotta) 25%, transparent);
}

.hero-cta-btn--primary:hover {
  background: color-mix(in srgb, var(--terracotta) 90%, var(--deep-plum) 10%);
  border-color: var(--accent);
  box-shadow: 0 6px 24px color-mix(in srgb, var(--terracotta) 32%, transparent);
}

.hero-cta-btn--secondary {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
}

.hero-cta-btn--secondary:hover {
  border-color: color-mix(in srgb, var(--soft-rose) 45%, transparent);
  color: var(--text-strong);
  background: color-mix(in srgb, var(--blush-white) 85%, var(--warm-sand) 15%);
}

/* Inner pages */
.section {
  padding: clamp(2.5rem, 7vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
}

.section--cream {
  background: var(--bg-base);
}

.section--linen {
  background: var(--bg-section);
}

.section-inner {
  max-width: 42rem;
  margin: 0 auto;
}

.page-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--text-strong);
}

.page-intro {
  margin: 0 auto 2rem;
  text-align: center;
  max-width: 36rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
}

.bio-tagline {
  margin: 0 auto 2rem;
  text-align: center;
  max-width: 36rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-strong);
}

.bio-tagline a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.bio-tagline a:hover {
  text-decoration: underline;
}

.bio-tagline-sep {
  margin: 0 0.35rem;
  color: var(--accent-soft);
  font-weight: 500;
}

.bio-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
  width: 100%;
}

.bio-images {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  gap: 0.85rem 1rem;
  width: 100%;
  max-width: min(28rem, 100%);
  margin: 0 auto;
}

.bio-images .bio-figure {
  flex: 1 1 0;
  min-width: 0;
  max-width: calc(50% - 0.5rem);
}

.bio-figure {
  margin: 0;
  text-align: center;
}

.bio-figure-media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.bio-figure--pfp .bio-figure-media,
.bio-figure--portrait .bio-figure-media {
  aspect-ratio: 1;
}

.bio-placeholder {
  width: 100%;
  height: 100%;
  min-height: 140px;
}

.bio-placeholder--square {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--warm-sand) 60%, var(--blush-white)), var(--blush-white)),
    radial-gradient(circle at 70% 30%, color-mix(in srgb, var(--soft-rose) 25%, transparent), transparent 55%);
}

.bio-placeholder--portrait {
  background:
    linear-gradient(160deg, var(--soft-linen), var(--blush-white)),
    radial-gradient(ellipse at 50% 80%, color-mix(in srgb, var(--terracotta) 18%, transparent), transparent 60%);
}

.bio-pfp-palette {
  display: flex;
  gap: 5px;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  margin: 0.55rem 0 0.5rem;
  padding: 0;
}

.bio-pfp-palette-swatch {
  flex: 1 1 0;
  min-width: 0;
  height: 11px;
  border-radius: 3px;
  border: 1px solid var(--border);
}

.bio-pfp-palette:not(.bio-portrait-palette) .bio-pfp-palette-swatch:nth-child(1) {
  background: var(--warm-cream);
}
.bio-pfp-palette:not(.bio-portrait-palette) .bio-pfp-palette-swatch:nth-child(2) {
  background: var(--terracotta);
}
.bio-pfp-palette:not(.bio-portrait-palette) .bio-pfp-palette-swatch:nth-child(3) {
  background: var(--soft-rose);
}
.bio-pfp-palette:not(.bio-portrait-palette) .bio-pfp-palette-swatch:nth-child(4) {
  background: var(--dusty-mauve);
}
.bio-pfp-palette:not(.bio-portrait-palette) .bio-pfp-palette-swatch:nth-child(5) {
  background: var(--warm-sand);
}

.bio-portrait-palette .bio-pfp-palette-swatch:nth-child(1) {
  background: var(--deep-plum);
}
.bio-portrait-palette .bio-pfp-palette-swatch:nth-child(2) {
  background: var(--blush-white);
}
.bio-portrait-palette .bio-pfp-palette-swatch:nth-child(3) {
  background: var(--terracotta);
}
.bio-portrait-palette .bio-pfp-palette-swatch:nth-child(4) {
  background: var(--soft-linen);
}
.bio-portrait-palette .bio-pfp-palette-swatch:nth-child(5) {
  background: var(--soft-rose);
}

.bio-pfp-caption {
  margin-top: 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.bio-content-panel {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(1.35rem, 3.5vw, 2.15rem);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 12px 40px color-mix(in srgb, var(--dusty-mauve) 8%, transparent);
}

.bio-copy {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  text-align: center;
  max-width: none;
  margin: 0;
  width: 100%;
}

.bio-copy p {
  margin: 0 0 1.1rem;
}

.bio-copy p:last-child {
  margin-bottom: 0;
}

.bio-copy a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.bio-copy a:hover {
  text-decoration: underline;
}

.bio-follow {
  margin-top: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.bio-footer-palette {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: none;
  margin: 1.5rem auto 0;
  height: 16px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.bio-footer-palette-swatch {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
}

.bio-footer-palette-swatch:nth-child(1) {
  background: var(--warm-cream);
}
.bio-footer-palette-swatch:nth-child(2) {
  background: var(--terracotta);
}
.bio-footer-palette-swatch:nth-child(3) {
  background: var(--soft-rose);
}
.bio-footer-palette-swatch:nth-child(4) {
  background: var(--dusty-mauve);
}
.bio-footer-palette-swatch:nth-child(5) {
  background: var(--warm-sand);
}

/* Collection / gallery */
.page-collection .section.section--cream {
  overflow: visible;
}

.collection-intro {
  margin-bottom: 2rem;
}

.collection-brand-line {
  margin: 0.25rem auto 0.85rem;
  text-align: center;
}

.collection-brand-link {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.collection-brand-link:hover {
  color: var(--text-strong);
  border-bottom-color: color-mix(in srgb, var(--terracotta) 45%, transparent);
}

.collection-brand-label {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 600;
  font-style: italic;
  color: var(--accent-soft);
}

.collection-desc-panel {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(1.15rem, 2.8vw, 1.85rem);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 12px 36px color-mix(in srgb, var(--dusty-mauve) 7%, transparent);
}

.collection-desc-panel .page-intro {
  margin: 0;
  max-width: none;
}

.collection-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.65rem 1.25rem;
  align-items: start;
  justify-items: center;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 clamp(0.75rem, 3vw, 1.25rem) 0;
  overflow: visible;
  /* Sit above .collection-market-cta so trait popovers are not covered by the CTA layer */
  position: relative;
  z-index: 2;
}

.collection-showcase--single {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

@media (min-width: 900px) {
  .collection-showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .collection-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem 0.75rem;
  }
}

.collection-piece {
  position: relative;
  width: min(100%, 220px);
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 0;
  overflow: visible;
}

.collection-piece--featured {
  max-width: 220px;
  width: min(100%, 220px);
  z-index: 3;
}

.collection-piece-frame {
  position: relative;
  width: 100%;
  z-index: 1;
  overflow: visible;
}

@media (hover: hover) and (min-width: 768px) {
  .collection-piece-frame:hover {
    z-index: 8;
  }
}

.collection-piece-img-link {
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  outline-offset: 3px;
}

.collection-piece-img-link:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--terracotta) 65%, transparent);
}

.collection-piece-media {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  transform-origin: center center;
  transition:
    transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.collection-piece-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.collection-placeholder {
  width: 100%;
  height: 100%;
  min-height: 120px;
}

.collection-placeholder--a {
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--soft-rose) 45%, transparent), transparent 55%),
    linear-gradient(145deg, var(--warm-sand), var(--blush-white));
}

.collection-placeholder--b {
  background:
    radial-gradient(ellipse at 60% 70%, color-mix(in srgb, var(--terracotta) 30%, transparent), transparent 50%),
    linear-gradient(165deg, var(--soft-linen), var(--warm-cream));
}

.collection-placeholder--c {
  background:
    linear-gradient(135deg, var(--blush-white), var(--pale-blush)),
    radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--deep-plum) 12%, transparent), transparent 45%);
}

.collection-piece--featured .collection-piece-media {
  border-color: color-mix(in srgb, var(--terracotta) 35%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--soft-rose) 25%, transparent),
    0 14px 40px color-mix(in srgb, var(--dusty-mauve) 12%, transparent);
}

@media (hover: hover) and (min-width: 768px) {
  .collection-piece-img-link {
    cursor: pointer;
  }

  .collection-piece-frame:hover .collection-piece-img-link .collection-piece-media {
    transform: scale(1.06);
    border-color: color-mix(in srgb, var(--terracotta) 45%, transparent);
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--pale-blush) 90%, transparent),
      0 16px 44px color-mix(in srgb, var(--dusty-mauve) 14%, transparent),
      0 0 32px color-mix(in srgb, var(--soft-rose) 20%, transparent);
  }
}

@media (hover: hover) and (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .collection-piece-frame:hover .collection-piece-img-link .collection-piece-media {
    transform: none;
  }
}

.collection-traits-popover {
  display: none;
}

@media (hover: hover) and (min-width: 768px) {
  .collection-traits-popover {
    display: block;
    position: absolute;
    left: 50%;
    top: calc(100% + 8px);
    z-index: 100;
    width: min(300px, 92vw);
    max-height: min(70vh, 520px);
    overflow-y: auto;
    padding: 0.65rem 0.65rem 0.75rem;
    margin: 0;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    box-shadow: 0 20px 48px color-mix(in srgb, var(--deep-plum) 12%, transparent);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(6px);
    transition:
      opacity 0.22s ease,
      visibility 0.22s ease,
      transform 0.22s ease;
  }

  .collection-traits-popover--featured {
    width: min(320px, 94vw);
  }

  .collection-piece-frame:hover .collection-traits-popover,
  .collection-piece-frame:focus-within .collection-traits-popover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .collection-piece:has(.collection-piece-frame:hover),
  .collection-piece:has(.collection-piece-frame:focus-within) {
    z-index: 60;
  }

  .collection-piece:has(.collection-piece-frame:hover) .collection-traits-popover,
  .collection-piece:has(.collection-piece-frame:focus-within) .collection-traits-popover {
    z-index: 120;
  }
}

.collection-traits-details {
  margin-bottom: 0.65rem;
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  background: var(--bg-base);
  border: 1px solid var(--border);
}

.collection-traits-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-strong);
}

.collection-traits-dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
}

.collection-traits-dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}

.collection-traits-dl dt {
  margin: 0;
  color: var(--text-muted);
  font-weight: 500;
}

.collection-traits-dl dd {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

.collection-traits-owner {
  color: var(--accent) !important;
}

.collection-traits-popover--traits-only .collection-traits-block {
  margin-top: 0;
}

.collection-traits-block {
  margin-top: 0.35rem;
}

.collection-rarity-rank {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
}

.collection-rarity-rank-label {
  color: var(--text-muted);
  font-weight: 500;
}

.collection-rarity-rank-value {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--text-strong);
  text-align: right;
}

.collection-traits-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.45rem;
  padding: 0 0.1rem;
}

.collection-traits-head-title {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-strong);
}

.collection-traits-count {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.collection-traits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.trait-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.5rem 0.45rem 0.55rem;
  border-radius: 8px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  text-align: left;
}

.trait-card-cat {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.2;
}

.trait-card-value {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.2;
}

.trait-card-rarity {
  margin-top: 0.35rem;
  padding: 0.2rem 0.35rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 600;
  color: var(--text);
  background: color-mix(in srgb, var(--warm-sand) 35%, var(--blush-white));
}

.trait-card-rarity em {
  font-style: normal;
  font-weight: 600;
  color: var(--text-muted);
}

.trait-card--rose {
  border-color: color-mix(in srgb, var(--soft-rose) 55%, var(--border));
}

.trait-card--sand {
  border-color: color-mix(in srgb, var(--warm-sand) 70%, var(--border));
}

.trait-card--mauve {
  border-color: color-mix(in srgb, var(--dusty-mauve) 35%, var(--border));
}

.trait-card--plum {
  border-color: color-mix(in srgb, var(--deep-plum) 28%, var(--border));
}

.trait-card--trait-spotlight {
  border-color: color-mix(in srgb, #7c3aed 50%, var(--border));
  box-shadow:
    0 0 0 1px color-mix(in srgb, #a78bfa 28%, transparent),
    0 0 12px color-mix(in srgb, #7c3aed 15%, transparent);
}

.collection-piece-palette--4056 .collection-piece-swatch:nth-child(1) {
  background: #ffc0cb;
}

.collection-piece-palette--4056 .collection-piece-swatch:nth-child(2) {
  background: #d85d81;
}

.collection-piece-palette--4056 .collection-piece-swatch:nth-child(3) {
  background: #00ffff;
}

.collection-piece-palette--4056 .collection-piece-swatch:nth-child(4) {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dusty-mauve) 18%, transparent);
}

.collection-piece-palette--4056 .collection-piece-swatch:nth-child(5) {
  background: #3d3d45;
}

@media (prefers-reduced-motion: reduce) {
  .collection-traits-popover {
    transition: none;
  }
}

.collection-piece-palette {
  display: flex;
  gap: 5px;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  margin: 0.55rem 0 0.45rem;
  padding: 0;
}

.collection-piece-swatch {
  flex: 1 1 0;
  min-width: 0;
  height: 11px;
  border-radius: 3px;
  border: 1px solid var(--border);
}

.collection-piece-palette--brand .collection-piece-swatch:nth-child(1) {
  background: var(--warm-cream);
}
.collection-piece-palette--brand .collection-piece-swatch:nth-child(2) {
  background: var(--terracotta);
}
.collection-piece-palette--brand .collection-piece-swatch:nth-child(3) {
  background: var(--soft-rose);
}
.collection-piece-palette--brand .collection-piece-swatch:nth-child(4) {
  background: var(--dusty-mauve);
}
.collection-piece-palette--brand .collection-piece-swatch:nth-child(5) {
  background: var(--warm-sand);
}

.collection-piece-caption {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.collection-piece-caption-text {
  color: var(--text-muted);
}

.collection-piece-caption-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease, text-decoration 0.15s ease;
}

.collection-piece-caption-link:hover {
  color: var(--text-strong);
  text-decoration: underline;
}

.collection-market-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin: 1.25rem auto 0;
  padding: 0 clamp(0.75rem, 3vw, 1.25rem) 2.5rem;
  max-width: 72rem;
  position: relative;
  z-index: 0;
}

.collection-market-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  color: var(--blush-white);
  border: 1px solid color-mix(in srgb, var(--terracotta) 55%, transparent);
  background: var(--accent);
  box-shadow: 0 4px 22px color-mix(in srgb, var(--terracotta) 28%, transparent);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.collection-market-btn:hover {
  background: color-mix(in srgb, var(--terracotta) 88%, var(--deep-plum) 12%);
  border-color: var(--accent);
  box-shadow: 0 6px 28px color-mix(in srgb, var(--terracotta) 34%, transparent);
}

.collection-market-btn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--terracotta) 65%, transparent);
  outline-offset: 3px;
}

/* Motion Mafia Doggy Run — compact secondary CTA under Visit marketplace */
.collection-market-btn--doggy-run {
  min-height: 36px;
  padding: 0.3rem 0.95rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-strong);
  border: 1px solid color-mix(in srgb, var(--terracotta) 42%, var(--warm-sand) 58%);
  background: color-mix(in srgb, var(--warm-sand) 28%, var(--bg-elevated));
  box-shadow: 0 2px 14px color-mix(in srgb, var(--dusty-mauve) 10%, transparent);
}

.collection-market-btn--doggy-run:hover {
  color: var(--deep-plum);
  border-color: color-mix(in srgb, var(--terracotta) 55%, transparent);
  background: color-mix(in srgb, var(--warm-sand) 42%, var(--blush-white));
  box-shadow: 0 4px 18px color-mix(in srgb, var(--terracotta) 16%, transparent);
}

.collection-market-btn--doggy-run:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--terracotta) 55%, transparent);
  outline-offset: 3px;
}

/* Motion brief — homepage tiles, inner pages */
.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;
}

.section-inner--wide {
  max-width: 52rem;
}

.section--welcome {
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(2.5rem, 7vw, 4rem);
}

.home-intro-block {
  margin-bottom: 2.5rem;
  text-align: center;
}

.home-tagline {
  margin: 0 auto 0.85rem;
  max-width: 38rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-strong);
}

.home-sub {
  margin: 0 auto 1.35rem;
  max-width: 38rem;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 2.3vw, 1.2rem);
  font-weight: 500;
  line-height: 1.58;
  color: var(--text);
}

.home-intro-cta {
  margin-bottom: 1rem;
}

.home-intro-block .hero-koala-note {
  margin-top: 0.75rem;
}

.home-welcome {
  margin-bottom: 2.25rem;
}

.home-welcome-lead {
  margin: 0 auto 1rem;
  max-width: 40rem;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text);
}

.home-tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .home-tiles {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

.home-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.25rem 1.35rem;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--dusty-mauve) 7%, transparent);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.home-tile:hover {
  border-color: color-mix(in srgb, var(--terracotta) 35%, var(--border));
  box-shadow: 0 12px 36px color-mix(in srgb, var(--dusty-mauve) 11%, transparent);
  transform: translateY(-2px);
}

.home-tile-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.45rem);
  font-weight: 600;
  color: var(--text-strong);
}

.home-tile-line {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.home-tile-cta {
  margin-top: auto;
  padding-top: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.page-sub {
  margin: 0 auto 1.75rem;
  max-width: 38rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--text);
}

.zen-session-time {
  text-align: center;
  margin: 0 auto 1rem;
  max-width: 36rem;
  font-size: 1rem;
  color: var(--text);
}

.zen-spaces-link {
  text-align: center;
  margin: 0 auto 2rem;
}

.zen-panel .zen-h2 {
  margin: 1.5rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-strong);
  text-align: left;
}

.zen-panel .zen-h2:first-child {
  margin-top: 0;
}

.zen-panel p {
  margin: 0 0 1rem;
  text-align: left;
  line-height: 1.75;
}

.zen-mantra {
  margin: 0;
  padding: 1rem 1.15rem;
  border-left: 3px solid color-mix(in srgb, var(--terracotta) 55%, var(--border));
  background: color-mix(in srgb, var(--warm-sand) 22%, var(--blush-white));
  border-radius: 0 var(--radius) var(--radius) 0;
}

.zen-mantra p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-strong);
}

.shop-inner {
  max-width: 38rem;
}

.shop-card {
  margin-top: 0.5rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 12px 36px color-mix(in srgb, var(--dusty-mauve) 7%, transparent);
  text-align: center;
}

.shop-lead {
  margin: 0 0 1rem;
  text-align: left;
  line-height: 1.72;
}

.shop-cta-wrap {
  margin: 1.5rem 0 1rem;
}

.shop-koala-note {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.shop-koala-note a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.shop-koala-note a:hover {
  text-decoration: underline;
}

.shop-soon {
  margin: 2rem auto 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 32rem;
  line-height: 1.55;
}

.science-holding-sub {
  margin-bottom: 1.5rem;
}

.science-holding-panel p {
  text-align: left;
  margin: 0 0 1rem;
  line-height: 1.72;
}

.science-holding-panel p:last-child {
  margin-bottom: 0;
}

.science-back {
  margin-top: 1.25rem !important;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  text-align: center !important;
}

.science-back a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.science-back a:hover {
  text-decoration: underline;
}

/* Bio profile page — centered column, square photo */
.section-inner--bio-page {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.bio-page-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-top: 0.5rem;
  width: 100%;
}

.bio-page-figure {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.bio-page-photo-stack {
  width: min(320px, 86vw);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.bio-page-palette.collection-piece-palette {
  margin-top: 0.6rem;
  margin-bottom: 0;
}

.bio-page-pfp-wrap {
  position: relative;
  width: min(320px, 86vw);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--dusty-mauve) 10%, transparent);
  flex-shrink: 0;
}

.bio-page-pfp {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 22%;
}

.page-bio-profile .bio-page-panel.bio-content-panel {
  width: 100%;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.bio-page-panel .bio-copy + .bio-three-words-display {
  margin-top: 1.75rem;
}

.bio-copy--bio-page {
  text-align: center;
}

.bio-three-words-display {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--text-strong);
}

.bio-three-words-sep {
  color: color-mix(in srgb, var(--text-muted) 65%, var(--soft-rose));
  font-weight: 500;
  user-select: none;
}

.page-bio-profile .site-footer-brand {
  margin-top: clamp(2rem, 6vw, 3.5rem);
}

@media (prefers-reduced-motion: reduce) {
  .home-tile:hover {
    transform: none;
  }
}
