/* ╭──────────────────────────────────────────────────────────────╮
   │  Alice Wonder Nails — Velvet Salon                           │
   │  Dark luxe / boudoir editorial.                              │
   │  Deep plum + cream + gold + blush. Pinyon Script + Cormorant │
   │  Italic + Outfit. Gold filigree, sparkle dust, ornate frames.│
   ╰──────────────────────────────────────────────────────────────╯ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Outfit:wght@300;400;500;600;700&family=Pinyon+Script&display=swap');

:root {
  /* Velvet Salon palette — brightened */
  --plum-deep:  #261538;
  --plum-base:  #321a47;
  --plum-mid:   #4a2867;
  --plum-glow:  #7a3fa3;
  --plum-rose:  #a566d0;

  --cream:       #fbeed3;
  --cream-soft:  #f1d9a8;
  --cream-dim:   rgba(251, 238, 211, 0.85);
  --cream-faint: rgba(251, 238, 211, 0.6);

  --gold:        #e5c378;
  --gold-bright: #fbe09e;
  --gold-deep:   #b8923f;
  --gold-faint:  rgba(229, 195, 120, 0.4);

  --blush:       #f0c6cf;
  --blush-deep:  #d99aa6;

  --surface:      rgba(50, 26, 71, 0.82);
  --surface-deep: rgba(38, 21, 56, 0.9);
  --brand-border: rgba(229, 195, 120, 0.6);

  --radius: 6px;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.5);

  --font-ui:     'Outfit', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-script: 'Pinyon Script', 'Apple Chancery', cursive;
  --font-serif:  'Cormorant Garamond', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--cream);
  font-family: var(--font-ui);
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(80% 60% at 50% 0%, var(--plum-glow) 0%, transparent 55%),
    radial-gradient(60% 60% at 20% 30%, rgba(165, 102, 208, 0.22) 0%, transparent 55%),
    radial-gradient(50% 70% at 90% 70%, rgba(229, 195, 120, 0.12) 0%, transparent 55%),
    radial-gradient(70% 50% at 50% 100%, rgba(122, 63, 163, 0.4) 0%, transparent 60%),
    linear-gradient(180deg, var(--plum-base) 0%, var(--plum-deep) 60%, #2a1638 100%);
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

/* Animated sparkle dust — twinkles + drifts across the whole page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'><g fill='%23fbe09e'><path d='M40 40 L41.8 49 L51 50.8 L41.8 52.6 L40 62 L38.2 52.6 L29 50.8 L38.2 49 Z' opacity='0.85'/><path d='M180 90 L181.2 95 L186 96.2 L181.2 97.4 L180 103 L178.8 97.4 L174 96.2 L178.8 95 Z' opacity='0.7'/><path d='M280 50 L281.8 59 L291 60.8 L281.8 62.6 L280 72 L278.2 62.6 L269 60.8 L278.2 59 Z' opacity='0.8'/><path d='M90 200 L91.2 206 L97 207.2 L91.2 208.4 L90 215 L88.8 208.4 L83 207.2 L88.8 206 Z' opacity='0.75'/><path d='M240 230 L241.8 239 L251 240.8 L241.8 242.6 L240 252 L238.2 242.6 L229 240.8 L238.2 239 Z' opacity='0.8'/><path d='M150 280 L151.2 285 L156 286.2 L151.2 287.4 L150 293 L148.8 287.4 L144 286.2 L148.8 285 Z' opacity='0.65'/><path d='M20 150 L20.8 153.5 L24.5 154.3 L20.8 155.1 L20 159 L19.2 155.1 L15.5 154.3 L19.2 153.5 Z' opacity='0.55'/><path d='M310 160 L310.8 163.5 L314.5 164.3 L310.8 165.1 L310 169 L309.2 165.1 L305.5 164.3 L309.2 163.5 Z' opacity='0.55'/></g><g fill='%23f0c6cf'><path d='M60 150 L61.2 154.5 L65.5 155.3 L61.2 156.1 L60 161 L58.8 156.1 L54.5 155.3 L58.8 154.5 Z' opacity='0.55'/><path d='M210 160 L211.2 164.5 L215.5 165.3 L211.2 166.1 L210 171 L208.8 166.1 L204.5 165.3 L208.8 164.5 Z' opacity='0.55'/><path d='M120 60 L120.7 63.5 L124 64.2 L120.7 64.9 L120 68.5 L119.3 64.9 L116 64.2 L119.3 63.5 Z' opacity='0.45'/></g></svg>");
  background-size: 320px 320px;
  animation: drift-dust 80s linear infinite, twinkle-dust 4.5s ease-in-out infinite;
}

@keyframes drift-dust {
  from { background-position: 0px 0px; }
  to   { background-position: 320px 320px; }
}

@keyframes twinkle-dust {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 0.95; }
}

/* Larger, slower-pulsing star layer for depth */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='580' height='580' viewBox='0 0 580 580'><g fill='%23fbe09e'><path d='M80 110 C82 120 88 124 100 126 C88 128 82 132 80 142 C78 132 72 128 60 126 C72 124 78 120 80 110 Z' opacity='0.85'/><path d='M450 80 C451.5 87 456 90 465 91.5 C456 93 451.5 96 450 103 C448.5 96 444 93 435 91.5 C444 90 448.5 87 450 80 Z' opacity='0.75'/><path d='M320 320 C321.5 328 326.5 331.5 336 333 C326.5 334.5 321.5 338 320 346 C318.5 338 313.5 334.5 304 333 C313.5 331.5 318.5 328 320 320 Z' opacity='0.8'/><path d='M520 410 C521.4 416 525 318.5 533 320 C525 321 521.4 324 520 330 C518.6 324 515 321 507 320 C515 318.5 518.6 316 520 410 Z' opacity='0'/><path d='M140 480 C141.3 486 145 489 152 490 C145 491 141.3 494 140 500 C138.7 494 135 491 128 490 C135 489 138.7 486 140 480 Z' opacity='0.7'/></g><g fill='%23a566d0'><path d='M240 180 C241.2 184 244 186 248 187 C244 188 241.2 190 240 194 C238.8 190 236 188 232 187 C236 186 238.8 184 240 180 Z' opacity='0.6'/><path d='M400 520 C401.2 524 404 526 408 527 C404 528 401.2 530 400 534 C398.8 530 396 528 392 527 C396 526 398.8 524 400 520 Z' opacity='0.55'/></g></svg>");
  background-size: 580px 580px;
  opacity: 0.7;
  animation: drift-stars 140s linear infinite, twinkle-stars 7s ease-in-out infinite;
  mix-blend-mode: screen;
}

@keyframes drift-stars {
  from { background-position: 0 0; }
  to   { background-position: -580px 580px; }
}

@keyframes twinkle-stars {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 0.85; }
}

/* Subtle velvet grain on the html element so it doesn't interfere with sparkles */
html::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.78 0 0 0 0 0.48 0 0 0 0.12 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  mix-blend-mode: screen;
}

/* Three big dramatic twinkles fixed at specific spots, pulsing at different cadences */
html::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'><g fill='%23fbe09e'><path d='M20 0 C22 14 26 18 40 20 C26 22 22 26 20 40 C18 26 14 22 0 20 C14 18 18 14 20 0 Z'/></g></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'><g fill='%23fbe09e'><path d='M20 0 C22 14 26 18 40 20 C26 22 22 26 20 40 C18 26 14 22 0 20 C14 18 18 14 20 0 Z'/></g></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'><g fill='%23f0c6cf'><path d='M20 0 C22 14 26 18 40 20 C26 22 22 26 20 40 C18 26 14 22 0 20 C14 18 18 14 20 0 Z'/></g></svg>");
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: 22px 22px, 16px 16px, 26px 26px;
  background-position: 12% 18%, 86% 32%, 78% 78%;
  animation: pulse-bigstar 5.5s ease-in-out infinite;
  opacity: 0.85;
  filter: drop-shadow(0 0 8px rgba(251, 224, 158, 0.7));
}

@keyframes pulse-bigstar {
  0%, 100% { opacity: 0.3; transform: scale(0.9); }
  40%      { opacity: 0.95; transform: scale(1.05); }
  60%      { opacity: 0.95; transform: scale(1.05); }
}

body > main { flex: 1 0 auto; position: relative; z-index: 1; }
.site-header { position: sticky; top: 0; z-index: 120; }
.site-footer { margin-top: auto; position: relative; z-index: 1; }

body.has-splash { overflow: hidden; }

/* ╭─ SPLASH ──────────────────────────────────────────────────────╮ */
.logo-splash {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(80% 60% at 50% 25%, var(--plum-glow) 0%, var(--plum-base) 50%, var(--plum-deep) 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 680ms ease, visibility 0s linear 680ms;
}

.logo-splash.is-fading {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.logo-splash__card {
  width: min(720px, 100%);
  padding: clamp(20px, 4vw, 36px);
  text-align: center;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(229, 195, 120, 0.12), transparent 60%),
    linear-gradient(180deg, var(--plum-base), var(--plum-deep));
  border: 1px solid var(--brand-border);
  box-shadow:
    inset 0 0 0 4px var(--plum-deep),
    inset 0 0 0 5px rgba(229, 195, 120, 0.28),
    0 40px 80px rgba(0, 0, 0, 0.6);
  position: relative;
}

.logo-splash__card::before,
.logo-splash__card::after {
  content: '';
  position: absolute;
  width: 56px;
  height: 56px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'><g stroke='%23e5c378' stroke-width='1' fill='none' stroke-linecap='round'><path d='M 4 20 Q 4 4 20 4' /><path d='M 8 20 Q 8 8 20 8' /><circle cx='4' cy='20' r='1.4' fill='%23e5c378'/><circle cx='20' cy='4' r='1.4' fill='%23e5c378'/><path d='M 12 12 Q 16 12 16 16 Q 12 16 12 12 Z' fill='%23e5c378' opacity='0.7'/><path d='M 22 6 L 26 6 M 6 22 L 6 26'/></g></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}
.logo-splash__card::before { top: 10px; left: 10px; }
.logo-splash__card::after  { top: 10px; right: 10px; transform: scaleX(-1); }

.logo-splash__card img {
  width: 100%;
  max-height: min(56vh, 520px);
  object-fit: contain;
  display: block;
  padding: 18px;
  background: linear-gradient(180deg, #fffbf2 0%, #fbeed3 100%);
  border: 1px solid var(--gold);
  box-shadow:
    inset 0 0 0 2px #fffbf2,
    inset 0 0 0 3px rgba(229, 195, 120, 0.35),
    0 0 32px rgba(229, 195, 120, 0.3);
  mix-blend-mode: normal;
}

.logo-splash__card p {
  margin: 14px 0 4px;
  color: var(--gold);
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 3.4vw, 2.4rem);
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-shadow: 0 2px 18px rgba(229, 195, 120, 0.3);
}

/* ╭─ TYPOGRAPHY ──────────────────────────────────────────────────╮ */
h1, h2, h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.005em;
  color: var(--cream);
}

h1 {
  font-family: var(--font-script);
  font-size: clamp(3rem, 6vw, 5.4rem);
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 2px 26px rgba(229, 195, 120, 0.35);
  text-wrap: balance;
}

h2 {
  font-style: italic;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  color: var(--cream);
  text-wrap: balance;
}

h3 {
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  color: var(--gold);
}

p {
  margin: 0 0 1rem;
  color: var(--cream-dim);
  font-weight: 300;
}

.panel > p:first-of-type,
.designer-copy > p:first-of-type,
.section-head > p:first-of-type {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--cream);
  font-weight: 400;
}

a { color: var(--gold); text-underline-offset: 4px; transition: color 200ms ease; }
a:hover, a:focus-visible { color: var(--gold-bright); }

/* ╭─ LAYOUT ──────────────────────────────────────────────────────╮ */
.skip-link {
  position: absolute;
  left: 10px;
  top: -40px;
  z-index: 999;
  background: var(--gold);
  color: var(--plum-deep);
  border-radius: 0;
  padding: 10px 14px;
  font-weight: 600;
  font-family: var(--font-serif);
  font-style: italic;
  text-decoration: none;
}
.skip-link:focus { top: 8px; }

.container { width: min(1100px, calc(100% - 36px)); margin: 0 auto; }
.section { padding: 64px 0; position: relative; }

/* ╭─ HEADER ──────────────────────────────────────────────────────╮ */
.site-header {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(38, 21, 56, 0.94), rgba(50, 26, 71, 0.88));
  border-bottom: 1px solid var(--brand-border);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4), inset 0 -1px 0 rgba(229, 195, 120, 0.18);
}

.header-layout {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
}

.brand-stack {
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-wordmark {
  display: flex;
  align-items: center;
  padding: 4px 0;
}

.brand-wordmark a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  gap: 2px;
}

.brand-wordmark__script {
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  color: var(--gold);
  line-height: 0.85;
  text-shadow:
    0 2px 18px rgba(229, 195, 120, 0.5),
    0 0 32px rgba(229, 195, 120, 0.28);
  letter-spacing: 0.01em;
  margin-bottom: -4px;
  animation: wordmark-shimmer 5s ease-in-out infinite;
}

.brand-wordmark__serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  color: var(--cream);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  padding-left: 14px;
  white-space: nowrap;
}

.brand-wordmark__amp {
  display: inline-block;
  margin: 0 0.45em;
  color: var(--gold);
  letter-spacing: 0;
  font-size: 1.2em;
  vertical-align: middle;
}

@keyframes wordmark-shimmer {
  0%, 100% { text-shadow:
    0 2px 18px rgba(229, 195, 120, 0.45),
    0 0 32px rgba(229, 195, 120, 0.2); }
  50%      { text-shadow:
    0 2px 26px rgba(251, 224, 158, 0.75),
    0 0 52px rgba(229, 195, 120, 0.4); }
}

/* ╭─ NAV ─────────────────────────────────────────────────────────╮ */
.main-nav {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--brand-border);
  background: rgba(38, 21, 56, 0.66);
  box-shadow: inset 0 0 0 1px rgba(229, 195, 120, 0.14);
}

.main-nav::before,
.main-nav::after {
  content: '';
  display: inline-block;
  width: 46px;
  height: 36px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 48'><defs><linearGradient id='g' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23fbe09e'/><stop offset='0.5' stop-color='%23e5c378'/><stop offset='1' stop-color='%23b8923f'/></linearGradient></defs><g><path d='M 6 14 L 30 30 L 54 14 L 50 40 L 10 40 Z' fill='url(%23g)' stroke='%23b8923f' stroke-width='0.8' stroke-linejoin='round'/><circle cx='6' cy='14' r='4' fill='%23fbe09e' stroke='%23b8923f' stroke-width='0.8'/><circle cx='54' cy='14' r='4' fill='%23fbe09e' stroke='%23b8923f' stroke-width='0.8'/><circle cx='30' cy='6' r='4.5' fill='%23fbe09e' stroke='%23b8923f' stroke-width='0.8'/><path d='M 30 11 L 28 14 L 30 17 L 32 14 Z' fill='%23b8923f'/><circle cx='18' cy='26' r='1.7' fill='%23a566d0'/><circle cx='30' cy='30' r='2' fill='%23f0c6cf'/><circle cx='42' cy='26' r='1.7' fill='%23a566d0'/><path d='M 10 40 L 50 40' stroke='%23b8923f' stroke-width='1.4'/><rect x='10' y='40' width='40' height='3' fill='%23e5c378' stroke='%23b8923f' stroke-width='0.6'/></g></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(229, 195, 120, 0.7));
  animation: crown-glint 4.5s ease-in-out infinite;
}

.main-nav::after {
  animation-delay: 2.25s;
}

@keyframes crown-glint {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(229, 195, 120, 0.55)); transform: translateY(0); }
  50%      { filter: drop-shadow(0 0 14px rgba(251, 224, 158, 0.95)); transform: translateY(-1px); }
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.main-nav a {
  display: inline-block;
  text-decoration: none;
  color: var(--cream-dim);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  line-height: 1.15;
  padding: 6px 11px;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.main-nav a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ╭─ PANELS ──────────────────────────────────────────────────────╮ */
.panel,
.media-card {
  position: relative;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(122, 63, 163, 0.4), transparent 60%),
    linear-gradient(180deg, rgba(50, 26, 71, 0.88), rgba(38, 21, 56, 0.94));
  border: 1px solid var(--brand-border);
  box-shadow:
    inset 0 0 0 4px var(--plum-deep),
    inset 0 0 0 5px rgba(229, 195, 120, 0.28),
    var(--shadow);
  backdrop-filter: blur(6px);
  /* Corner gold filigree ornaments as 4 background images */
  background-image:
    radial-gradient(120% 80% at 50% 0%, rgba(122, 63, 163, 0.4), transparent 60%),
    linear-gradient(180deg, rgba(50, 26, 71, 0.88), rgba(38, 21, 56, 0.94)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'><g stroke='%23e5c378' stroke-width='0.9' fill='none' stroke-linecap='round'><path d='M 4 20 Q 4 4 20 4'/><path d='M 8 20 Q 8 8 20 8'/><circle cx='4' cy='20' r='1.4' fill='%23e5c378'/><circle cx='20' cy='4' r='1.4' fill='%23e5c378'/><path d='M 13 13 Q 17 13 17 17 Q 13 17 13 13 Z' fill='%23e5c378' opacity='0.7'/></g></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'><g stroke='%23e5c378' stroke-width='0.9' fill='none' stroke-linecap='round' transform='translate(40,0) scale(-1,1)'><path d='M 4 20 Q 4 4 20 4'/><path d='M 8 20 Q 8 8 20 8'/><circle cx='4' cy='20' r='1.4' fill='%23e5c378'/><circle cx='20' cy='4' r='1.4' fill='%23e5c378'/><path d='M 13 13 Q 17 13 17 17 Q 13 17 13 13 Z' fill='%23e5c378' opacity='0.7'/></g></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'><g stroke='%23e5c378' stroke-width='0.9' fill='none' stroke-linecap='round' transform='translate(0,40) scale(1,-1)'><path d='M 4 20 Q 4 4 20 4'/><path d='M 8 20 Q 8 8 20 8'/><circle cx='4' cy='20' r='1.4' fill='%23e5c378'/><circle cx='20' cy='4' r='1.4' fill='%23e5c378'/><path d='M 13 13 Q 17 13 17 17 Q 13 17 13 13 Z' fill='%23e5c378' opacity='0.7'/></g></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'><g stroke='%23e5c378' stroke-width='0.9' fill='none' stroke-linecap='round' transform='translate(40,40) scale(-1,-1)'><path d='M 4 20 Q 4 4 20 4'/><path d='M 8 20 Q 8 8 20 8'/><circle cx='4' cy='20' r='1.4' fill='%23e5c378'/><circle cx='20' cy='4' r='1.4' fill='%23e5c378'/><path d='M 13 13 Q 17 13 17 17 Q 13 17 13 13 Z' fill='%23e5c378' opacity='0.7'/></g></svg>");
  background-position:
    center,
    center,
    18px 18px,
    calc(100% - 18px) 18px,
    18px calc(100% - 18px),
    calc(100% - 18px) calc(100% - 18px);
  background-size: cover, cover, 30px 30px, 30px 30px, 30px 30px, 30px 30px;
  background-repeat: no-repeat;
}

.panel { padding: 56px 44px; }
.media-card { padding: 22px 22px 26px; }

/* Suit-card content:none rule from original — disabled so we can use plain corner spans */
.suit-card::before,
.suit-card::after {
  content: none;
}

.corner-suit {
  position: absolute;
  font-size: 1rem;
  line-height: 1;
  color: var(--gold);
  pointer-events: none;
  user-select: none;
  z-index: 2;
  text-shadow: 0 0 10px rgba(229, 195, 120, 0.55);
  opacity: 1;
}

.corner-tl { top: 18px; left: 50px; }
.corner-tr { top: 18px; right: 50px; }
.corner-bl { bottom: 18px; left: 50px; }
.corner-br { bottom: 18px; right: 50px; }

/* For media cards (smaller panels) keep suits in tight corners and disable filigree */
.media-card .corner-tl { top: 8px; left: 8px; }
.media-card .corner-tr { top: 8px; right: 8px; }
.media-card .corner-bl { bottom: 8px; left: 8px; }
.media-card .corner-br { bottom: 8px; right: 8px; }
.media-card {
  background-image:
    radial-gradient(120% 80% at 50% 0%, rgba(122, 63, 163, 0.4), transparent 60%),
    linear-gradient(180deg, rgba(50, 26, 71, 0.88), rgba(38, 21, 56, 0.94));
  background-size: cover, cover;
  background-position: center, center;
}

/* ╭─ HERO h2: bigger + Pinyon Script eyebrow injected via ::before ─╮ */
.section:first-of-type article.panel > h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0 auto 1.4rem;
  position: relative;
  text-wrap: balance;
}

/* Decorative gold flourish ornament above the hero h2 — pure ornament, no text duplication */
.section:first-of-type article.panel > h2::before {
  content: '';
  display: block;
  width: 220px;
  height: 26px;
  margin: 4px auto 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 26'><g stroke='%23e5c378' stroke-width='1.2' fill='none' stroke-linecap='round'><path d='M 8 13 C 30 4, 60 4, 80 13 C 92 21, 110 21, 122 13'/><path d='M 232 13 C 210 4, 180 4, 160 13 C 148 21, 130 21, 118 13'/><path d='M 120 4 L 126 13 L 120 22 L 114 13 Z' fill='%23e5c378'/><circle cx='10' cy='13' r='1.5' fill='%23e5c378'/><circle cx='230' cy='13' r='1.5' fill='%23e5c378'/></g></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.95;
}

/* Pinyon Script eyebrow line above the hero — uses ::after on the section so we don't conflict */
.section:first-of-type article.panel::before {
  content: 'aus dem kleinen Wunderland';
  display: block;
  text-align: center;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4em;
  text-shadow: 0 2px 18px rgba(229, 195, 120, 0.4);
  letter-spacing: 0.01em;
  position: relative;
  z-index: 2;
}

/* ╭─ BUTTONS ─────────────────────────────────────────────────────╮ */
.btn {
  border: 0;
  text-decoration: none;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.14em;
  padding: 14px 30px;
  display: inline-block;
  cursor: pointer;
  transition: filter 180ms ease, transform 180ms ease, box-shadow 220ms ease, color 180ms ease;
  position: relative;
  border-radius: 0;
  white-space: nowrap;
}

.btn-primary {
  color: var(--plum-deep);
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  border: 1px solid var(--gold);
  box-shadow:
    0 0 28px rgba(229, 195, 120, 0.45),
    inset 0 1px 0 rgba(255, 248, 220, 0.7),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: var(--plum-deep);
  box-shadow:
    0 0 42px rgba(229, 195, 120, 0.7),
    inset 0 1px 0 rgba(255, 248, 220, 0.8),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}

.btn-secondary {
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
  background: rgba(229, 195, 120, 0.1);
  transform: translateY(-1px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
  justify-content: center;
}

/* ╭─ SECTION HEAD ────────────────────────────────────────────────╮ */
.section-head {
  margin-bottom: 36px;
  text-align: center;
}

.section-head h2 {
  font-style: italic;
  position: relative;
  display: inline-block;
}

/* Decorative gold flourish under section heads */
.section-head h2::after {
  content: '';
  display: block;
  width: 140px;
  height: 18px;
  margin: 10px auto 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24'><g stroke='%23e5c378' stroke-width='1.2' fill='none' stroke-linecap='round'><path d='M 6 12 C 30 4, 60 4, 80 12 C 90 18, 110 18, 130 12 Q 150 6, 175 12'/><path d='M 194 12 C 170 4, 140 4, 120 12 C 110 18, 90 18, 70 12 Q 50 6, 25 12'/><path d='M 100 4 L 105 12 L 100 20 L 95 12 Z' fill='%23e5c378'/><circle cx='10' cy='12' r='1.4' fill='%23e5c378'/><circle cx='190' cy='12' r='1.4' fill='%23e5c378'/></g></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.section-head p { max-width: 60ch; margin: 0 auto 0.9rem; color: var(--cream-dim); }

/* ╭─ MEDIA / GALLERY ─────────────────────────────────────────────╮ */
.card-grid { display: grid; gap: 24px; }

.gallery-grid,
.video-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid > .media-card,
.video-grid > .media-card {
  grid-column: span 2;
}

.gallery-grid > .media-card:nth-child(5):last-child,
.video-grid > .media-card:nth-child(5):last-child {
  grid-column: 2 / span 2;
}

.media-image,
.media-video {
  width: 100%;
  display: block;
  border: 1px solid rgba(229, 195, 120, 0.4);
  background: var(--plum-deep);
  margin: 6px auto 16px;
  box-shadow:
    inset 0 0 0 3px var(--plum-deep),
    inset 0 0 0 4px rgba(229, 195, 120, 0.22);
}

.media-image {
  width: calc(100% - 12px);
  margin: 6px auto 16px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05) brightness(0.95);
}

.media-video {
  width: calc(100% - 12px);
  aspect-ratio: 3 / 4;
  max-height: 640px;
  margin: 6px auto 16px;
  object-fit: contain;
  background: #000;
}

.media-card h3 {
  font-size: 1.4rem;
  font-style: italic;
  text-align: center;
  margin: 8px 0 4px;
}

.media-card p.meta-note {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--cream-dim);
  margin-bottom: 0;
  padding: 0 8px;
}

.meta-note { color: var(--cream-dim); }

.media-placeholder {
  width: 100%;
  min-height: 160px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--brand-border);
  background:
    repeating-linear-gradient(45deg, rgba(229, 195, 120, 0.08) 0 10px, rgba(229, 195, 120, 0.04) 10px 20px);
  color: var(--gold);
  font-family: var(--font-serif);
  font-style: italic;
  margin-bottom: 12px;
}

.video-placeholder { min-height: 200px; }

/* ╭─ DESIGNER ────────────────────────────────────────────────────╮ */
.designer-panel { text-align: left; }

.designer-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: center;
}

.portrait-placeholder {
  position: relative;
  min-height: 380px;
  border: 1px solid var(--brand-border);
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 22%, rgba(229, 195, 120, 0.2), transparent 35%),
    radial-gradient(circle at 76% 78%, rgba(240, 198, 207, 0.18), transparent 38%),
    linear-gradient(145deg, var(--plum-base), var(--plum-deep));
  box-shadow:
    inset 0 0 0 3px var(--plum-deep),
    inset 0 0 0 4px rgba(229, 195, 120, 0.25);
}

.portrait-placeholder::before {
  content: '';
  position: absolute;
  width: 52%;
  aspect-ratio: 1;
  top: 14%;
  border-radius: 999px;
  border: 1px solid var(--gold-faint);
  background: rgba(251, 238, 211, 0.05);
}

.portrait-placeholder::after {
  content: '';
  position: absolute;
  width: 74%;
  height: 40%;
  bottom: -12%;
  border-radius: 999px 999px 0 0;
  border: 1px solid var(--gold-faint);
  background: rgba(251, 238, 211, 0.04);
}

.portrait-placeholder span {
  position: relative;
  z-index: 1;
  padding: 10px 22px;
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--gold);
  background: rgba(38, 21, 56, 0.75);
  border: 1px solid var(--brand-border);
  text-shadow: 0 1px 12px rgba(229, 195, 120, 0.3);
}

.designer-copy { min-width: 0; }
.designer-copy h2 { margin-bottom: 1rem; }

/* ╭─ CHIPS ───────────────────────────────────────────────────────╮ */
.chip-list,
.chip-row {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-list li,
.chip-row span {
  padding: 9px 18px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  border: 1px solid var(--brand-border);
  background: rgba(229, 195, 120, 0.08);
  color: var(--gold);
  transition: background 200ms ease, color 200ms ease;
  cursor: default;
}

.chip-list li:hover,
.chip-row span:hover {
  background: rgba(229, 195, 120, 0.18);
  color: var(--gold-bright);
}

.social-list {
  margin: 0;
  padding-left: 20px;
}

.contact-box { margin-top: 26px; }

.contact-box h3 { margin-bottom: 14px; }

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

/* ╭─ FORMS ───────────────────────────────────────────────────────╮ */
form { display: grid; gap: 12px; }

label {
  font-weight: 500;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--cream);
  font-size: 1rem;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--brand-border);
  background: rgba(38, 21, 56, 0.7);
  color: var(--cream);
  font-family: var(--font-ui);
  padding: 12px 14px;
  font-size: 1rem;
  border-radius: 0;
}

input:focus, select:focus, textarea:focus {
  outline: 1px solid var(--gold);
  border-color: var(--gold);
}

.checkbox-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.checkbox-line input { width: auto; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-feedback {
  margin-top: 12px;
  border: 1px solid var(--brand-border);
  background: rgba(229, 195, 120, 0.1);
  padding: 10px 14px;
  display: none;
  color: var(--cream);
  font-family: var(--font-serif);
  font-style: italic;
}

.form-feedback.show { display: block; }

.form-feedback.is-error {
  border-color: var(--blush-deep);
  background: rgba(240, 198, 207, 0.12);
}

/* ╭─ FOOTER ──────────────────────────────────────────────────────╮ */
.site-footer {
  padding: 24px 0 36px;
  font-size: 0.92rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.site-footer .footer-grid.panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 20px 28px;
  background:
    linear-gradient(180deg, var(--plum-deep), #0a0316);
  border: 1px solid var(--brand-border);
  box-shadow:
    inset 0 0 0 3px var(--plum-deep),
    inset 0 0 0 4px rgba(229, 195, 120, 0.22);
  color: var(--cream);
  font-family: var(--font-serif);
  font-style: italic;
  overflow: hidden;
}

.site-footer .footer-grid.panel::before,
.site-footer .footer-grid.panel::after {
  content: "♥ ♦ ♣ ♠";
  position: static;
  transform: none;
  white-space: nowrap;
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.2em;
  flex: 0 0 auto;
  text-shadow: 0 0 6px rgba(229, 195, 120, 0.4);
}

.site-footer .footer-grid.panel::before { order: 0; margin-right: 10px; }
.site-footer .footer-grid.panel::after  { order: 4; margin-left: 10px; }

.footer-grid p {
  margin: 0;
  font-size: 0.96rem;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--cream);
}

.site-footer a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, color 200ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-bright);
}

.site-footer .corner-suit { display: none; }

.footer-left, .footer-center, .footer-right {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  white-space: nowrap;
}

.footer-left   { order: 1; gap: 8px; text-align: left; }
.footer-center { order: 2; justify-content: center; text-align: center; }
.footer-right  { order: 3; justify-content: flex-end; gap: 8px; text-align: right; }

/* ╭─ PAGE-CENTERED LAYOUT ────────────────────────────────────────╮ */
.page-centered .container { width: min(940px, calc(100% - 36px)); }

.page-centered .panel,
.page-centered .section-head { text-align: center; }

.page-centered .panel > p,
.page-centered .panel > h1,
.page-centered .panel > h2,
.page-centered .panel > h3,
.page-centered .section-head > p,
.page-centered .section-head > h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 60ch;
}

.page-centered .chip-list,
.page-centered .chip-row,
.page-centered .social-list,
.page-centered .contact-links,
.page-centered .hero-actions {
  justify-content: center;
}

.page-centered .single-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-centered .designer-panel { text-align: left; }

.page-centered .designer-copy > p,
.page-centered .designer-copy > h2 {
  margin-left: 0;
  margin-right: 0;
}

/* ╭─ ANIMATIONS ──────────────────────────────────────────────────╮ */
.reveal {
  /* Default: fully visible. Animation below is purely a decorative entrance. */
  animation: reveal-in 720ms ease 180ms;
}
.reveal.is-visible { animation: none; }

@keyframes reveal-in {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.media-card {
  animation: card-in 620ms ease;
  animation-delay: var(--card-delay, 0ms);
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ╭─ RESPONSIVE ──────────────────────────────────────────────────╮ */

/* Tablet: keep gallery + video as 2-up so cards stay reasonable in size */
@media (max-width: 980px) {
  .gallery-grid,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid > .media-card,
  .video-grid > .media-card {
    grid-column: auto;
  }

  .gallery-grid > .media-card:nth-child(5):last-child,
  .video-grid > .media-card:nth-child(5):last-child {
    grid-column: 1 / -1;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .designer-layout {
    grid-template-columns: 1fr;
  }

  .designer-panel,
  .page-centered .designer-panel,
  .designer-copy {
    text-align: center;
  }

  .page-centered .designer-copy > p,
  .page-centered .designer-copy > h2 {
    margin-left: auto;
    margin-right: auto;
  }

  .portrait-placeholder { min-height: 280px; }

  .header-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 10px;
  }

  .brand-stack {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .brand-wordmark__script { font-size: clamp(2rem, 7vw, 2.6rem); }
  .brand-wordmark__serif { font-size: 0.78rem; letter-spacing: 0.32em; padding-left: 10px; }

  .main-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .main-nav::before,
  .main-nav::after { width: 36px; height: 28px; }

  .main-nav a {
    font-size: 0.82rem;
    padding: 5px 9px;
    letter-spacing: 0.04em;
  }

  .panel { padding: 44px 28px; }
  .corner-tl, .corner-tr { top: 14px; }
  .corner-bl, .corner-br { bottom: 14px; }
  .corner-tl, .corner-bl { left: 34px; }
  .corner-tr, .corner-br { right: 34px; }
  .section { padding: 48px 0; }
}

/* Phone */
@media (max-width: 620px) {
  .container { width: min(1100px, calc(100% - 20px)); }
  .section { padding: 32px 0; }
  .panel { padding: 56px 18px 36px; }

  .brand-wordmark { align-items: center; }
  .brand-wordmark a { align-items: center; }

  .main-nav::before, .main-nav::after { display: none; }
  .main-nav { padding: 6px 8px; }
  .main-nav a { font-size: 0.78rem; padding: 6px 8px; }

  /* Push panel content below corner-suits so they don't crowd the heading */
  .corner-tl, .corner-tr { top: 12px; }
  .corner-bl, .corner-br { bottom: 12px; }
  .corner-tl, .corner-bl { left: 14px; }
  .corner-tr, .corner-br { right: 14px; }

  /* Gallery + Videos: single column on phones */
  .gallery-grid,
  .video-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery-grid > .media-card:nth-child(5):last-child,
  .video-grid > .media-card:nth-child(5):last-child {
    grid-column: auto;
    max-width: none;
  }

  /* Media cards: tighter padding, slim corner-suits inset */
  .media-card { padding: 36px 14px 18px; }
  .media-card .corner-tl,
  .media-card .corner-tr { top: 6px; }
  .media-card .corner-bl,
  .media-card .corner-br { bottom: 6px; }
  .media-card .corner-tl,
  .media-card .corner-bl { left: 8px; }
  .media-card .corner-tr,
  .media-card .corner-br { right: 8px; }

  .media-image {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .media-video {
    width: 100%;
    aspect-ratio: 3 / 4;
    max-height: 75vh;
  }

  .media-card h3 { font-size: 1.2rem; }
  .media-card p.meta-note { font-size: 0.92rem; }

  /* Hero eyebrow + h2 spacing on phones */
  .section:first-of-type article.panel::before {
    font-size: clamp(1.2rem, 5.4vw, 1.8rem);
  }
  .section:first-of-type article.panel > h2 {
    font-size: clamp(2rem, 7vw, 2.6rem);
  }
  .section:first-of-type article.panel > h2::before {
    width: 160px;
    margin: 2px auto 10px;
  }

  /* Buttons stack full-width-ish on phones */
  .hero-actions { gap: 12px; }
  .btn { width: 100%; max-width: 320px; padding: 13px 22px; font-size: 0.95rem; }

  /* Footer: clean vertical stack */
  .site-footer { padding: 18px 0 28px; }
  .site-footer .footer-grid.panel {
    flex-direction: column;
    text-align: center;
    padding: 18px 18px;
    gap: 10px;
  }
  .site-footer .footer-grid.panel::before,
  .site-footer .footer-grid.panel::after {
    order: unset;
    margin: 0;
    font-size: 0.9rem;
  }
  .footer-left, .footer-center, .footer-right {
    justify-content: center;
    text-align: center;
    flex: 0 0 auto;
    white-space: normal;
  }

  /* Section head flourish a bit smaller */
  .section-head h2::after {
    width: 110px;
    height: 14px;
  }

  /* Sparkle / star backgrounds: lighter on phone to keep contrast for readability */
  body::after { opacity: 0.45; }
  html::after { opacity: 0.55; background-size: 16px 16px, 12px 12px, 20px 20px; }
}

/* Very small phones */
@media (max-width: 380px) {
  .main-nav a { font-size: 0.72rem; padding: 5px 6px; letter-spacing: 0.02em; }
  .panel { padding: 52px 14px 30px; }
  .media-card { padding: 32px 10px 16px; }
  .brand-wordmark__serif { font-size: 0.7rem; letter-spacing: 0.24em; padding-left: 6px; }
}
