:root {
  --ink: #5f6274;
  --muted: #808395;
  --plum: #8f8cc7;
  --plum-deep: #645a82;
  --pink: #e8a6cc;
  --lilac: #e8e2f4;
  --lilac-mid: #c8c5eb;
  --mint: #d8f0ec;
  --paper: #fdfcff;
  --white: #ffffff;
  --line: rgba(74, 47, 84, .16);
  --shadow: 0 22px 60px rgba(52, 26, 66, .13);
}
@font-face {
  font-family: "Milkyway";
  src: url("/fonts/milkyway-demo.regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: linear-gradient(118deg, #f6d6df 0%, #f8e6da 34%, #e0f0ee 67%, #d8d2ef 100%); color: var(--ink); font-family: "DM Sans", Arial, sans-serif; font-size: 16px; line-height: 1.6; }
body::before { content: ""; position: fixed; z-index: 0; inset: 0; pointer-events: none; background: url("/assets/pastel-cloud-bank.png") right -11rem bottom -5rem / min(58vw, 880px) auto no-repeat, url("/assets/pastel-cloud-bank.png") left -18rem top 38% / min(47vw, 700px) auto no-repeat; opacity: .3; mix-blend-mode: screen; }
#app, .shell { position: relative; z-index: 1; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.shell { overflow: clip; }
.topbar { height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 8px clamp(16px, 3vw, 64px); background: linear-gradient(90deg, rgba(181,180,225,.93), rgba(206,239,236,.93) 40%, rgba(241,190,216,.93) 74%, rgba(251,218,206,.93)); border-bottom: 1px solid rgba(255,255,255,.65); position: sticky; top: 0; z-index: 20; overflow: visible; isolation: isolate; backdrop-filter: blur(12px); box-shadow: 0 6px 20px rgba(119, 106, 154, .11); }
.brand { height: 78px; display: flex; align-items: center; color: var(--plum-deep); text-decoration: none; min-width: 475px; position: relative; z-index: 2; }
.brand-crest { position: relative; flex: 0 0 220px; height: 310px; width: 220px; object-fit: contain; transform: translateY(105px); filter: drop-shadow(0 10px 13px rgba(83,58,91,.14)); }
.brand-wordmark-plate { width: 246px; margin-left: 0; padding: 5px 10px; border-radius: 10px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.55); box-shadow: 0 5px 13px rgba(77,49,89,.08); backdrop-filter: blur(6px); }
.brand-wordmark { width: 100%; height: auto; display: block; filter: drop-shadow(0 1px 1px rgba(49,30,52,.7)) drop-shadow(0 0 3px rgba(255,255,255,.45)); }
.nav { display: flex; gap: clamp(14px, 3.5vw, 44px); }
.nav a { color: #6e6a7d; padding: 9px 0; background: transparent; font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.nav a:hover, .nav a.active { color: var(--plum); }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--white); border-radius: 50%; height: 42px; width: 42px; font-size: 18px; }
.page { display: none; }
.page.active { display: block; animation: rise .38s ease both; }
#puppies { position: relative; isolation: isolate; background: linear-gradient(122deg, #d8f0ec 0%, #e4e0f2 48%, #f3d5df 100%); }
#puppies::before, #puppies::after { content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none; opacity: .19; background: url("/assets/pastel-cloud-bank.png") right -7rem top 13rem / min(70vw, 1020px) auto no-repeat, url("/assets/pastel-cloud-bank.png") right -10rem bottom -8rem / min(70vw, 1020px) auto no-repeat; }
#puppies::after { opacity: .21; transform: scaleX(-1); }
#puppies > * { position: relative; z-index: 1; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero { min-height: min(650px, calc(100vh - 94px)); position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(280px, .65fr); gap: clamp(30px, 6vw, 105px); align-items: center; padding: clamp(56px, 8vw, 112px) clamp(22px, 14vw, 285px); background: linear-gradient(128deg, rgba(241,217,223,.94) 0%, rgba(246,231,221,.94) 34%, rgba(217,240,236,.94) 67%, rgba(201,198,234,.94) 100%), url("/assets/pastel-cloud-bank.png") right 6% top 10% / min(48vw, 700px) auto no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none; background: url("/assets/pastel-cloud-bank.png") left -10rem top -5rem / min(43vw, 660px) auto no-repeat, url("/assets/pastel-cloud-bank.png") right -9rem bottom -9rem / min(50vw, 760px) auto no-repeat; opacity: .46; mix-blend-mode: screen; }
.hero::after { content: ""; position: absolute; inset: 21px; border: 1px solid rgba(255,255,255,.72); pointer-events: none; z-index: -1; }
.hero-copy { max-width: 650px; position: relative; z-index: 2; background: rgba(255,255,255,.72); padding: clamp(28px, 4vw, 62px); box-shadow: 9px 10px 0 rgba(155,145,203,.28); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 700; color: var(--pink); margin: 0 0 16px; }
h1, h2, h3 { font-family: "Milkyway", "Playfair Display", Georgia, serif; letter-spacing: -.025em; line-height: 1.08; margin: 0; font-weight: 400; }
h1 { font-size: clamp(3rem, 5.3vw, 5.3rem); max-width: 740px; color: var(--plum); }
h2 { font-size: clamp(2.25rem, 4.2vw, 4.6rem); }
h3 { font-size: clamp(1.55rem, 2.4vw, 2.25rem); }
.hero-copy > p:not(.eyebrow) { color: #727486; font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 550px; margin: 27px 0 0; }
.hero-image { width: 100%; max-width: 430px; justify-self: end; aspect-ratio: 4 / 5; position: relative; z-index: 2; right: auto; bottom: auto; border-radius: 4px; overflow: hidden; background: linear-gradient(160deg, #d2c0da, #a886b1); box-shadow: 0 10px 0 rgba(255,255,255,.75), 0 0 0 12px rgba(255,255,255,.64), 12px 19px 28px rgba(117,95,140,.15); transform: rotate(1.2deg); }
.image-slot { position: relative; overflow: hidden; background: linear-gradient(135deg, #cdbbd4, #a888b1); cursor: default; }
.image-slot.has-image { background: #b9a5c2; }
.image-slot img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; user-select: none; pointer-events: none; }
.image-empty { display: grid; place-items: center; color: rgba(255,255,255,.88); text-align: center; padding: 24px; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.image-empty span { display: grid; justify-items: center; gap: 8px; }
.image-empty b { font-size: 26px; font-weight: 400; }
.editor-active .image-slot { cursor: pointer; outline: 2px dashed rgba(255,255,255,.92); outline-offset: -9px; }
.editor-active .image-slot:hover .image-empty, .editor-active .image-slot:hover::after { opacity: 1; }
.editor-active .image-slot::after { content: "Click to choose photo"; color: white; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; background: rgba(52,26,66,.75); position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .2s; }
.editor-active .image-slot:not(.has-image)::after { opacity: 1; background: rgba(82,63,112,.7); }
.image-remove { display: none; position: absolute; z-index: 8; top: 13px; right: 13px; width: 34px; height: 34px; padding: 0; place-items: center; color: white; background: rgba(61,35,72,.76); border: 1px solid rgba(255,255,255,.75); border-radius: 50%; box-shadow: 0 3px 12px rgba(38,17,46,.2); transition: background .2s, transform .2s; }
.editor-active .image-slot.has-image .image-remove { display: grid; }
.image-remove:hover { background: rgba(126,47,77,.94); transform: scale(1.08); }
.image-remove svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; pointer-events: none; }
.section { padding: clamp(75px, 10vw, 145px) clamp(22px, 14vw, 285px); }
.intro { display: grid; grid-template-columns: minmax(230px, .67fr) minmax(320px, 1.33fr); gap: clamp(46px, 10vw, 140px); align-items: center; background: radial-gradient(circle at 72% 25%, rgba(255,255,255,.62), transparent 23%), linear-gradient(115deg, rgba(229,223,244,.94), rgba(226,241,240,.94)), url("/assets/pastel-cloud-bank.png") left -15rem bottom -8rem / min(54vw, 760px) auto no-repeat; background-blend-mode: normal, normal, screen; }
.intro-image { min-height: 390px; width: min(100%, 390px); justify-self: center; border-radius: 50%; box-shadow: 0 0 0 14px rgba(255,255,255,.58), 0 0 0 16px rgba(146,138,178,.45), var(--shadow); }
.intro-copy { background: rgba(255,255,255,.76); padding: clamp(27px, 4vw, 60px); box-shadow: 8px 9px 0 rgba(155,145,203,.28); }
.intro-copy > p, .story-copy > p { color: var(--muted); font-size: 1.05rem; max-width: 650px; margin: 28px 0 0; white-space: pre-line; }
.story { background: radial-gradient(circle at 17% 80%, rgba(255,255,255,.45), transparent 24%), linear-gradient(120deg, #d8edf1, #ced2ee), url("/assets/pastel-cloud-bank.png") right -17rem center / min(50vw, 700px) auto no-repeat; background-blend-mode: normal, normal, screen; color: var(--ink); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(46px, 8vw, 120px); align-items: center; }
.story p { color: var(--muted); }
.story-image { min-height: 420px; border-radius: 20px 120px 20px 120px; background: linear-gradient(135deg, #f1c4d8, #bfc5e9); }
.home-blocks { overflow: visible; background: linear-gradient(135deg, #edf4f6 0%, #ebe5f4 46%, #f6e4ec 100%); }
.home-block { position: relative; isolation: isolate; min-height: 560px; display: grid; grid-template-columns: minmax(280px, 1.08fr) minmax(250px, .92fr); align-items: center; gap: clamp(44px, 9vw, 150px); padding: clamp(72px, 9vw, 138px) clamp(22px, 14vw, 285px); background: radial-gradient(ellipse at 8% 10%, rgba(255,255,255,.68), transparent 30%), radial-gradient(ellipse at 92% 87%, rgba(255,255,255,.48), transparent 28%), linear-gradient(115deg, rgba(231,241,244,.92), rgba(230,222,243,.92), rgba(248,224,234,.92)); }
.home-block:nth-child(4n + 3) { background: radial-gradient(ellipse at 90% 13%, rgba(255,255,255,.65), transparent 30%), radial-gradient(ellipse at 7% 88%, rgba(255,255,255,.45), transparent 25%), linear-gradient(115deg, rgba(248,227,234,.92), rgba(236,230,246,.92), rgba(218,240,237,.92)); }
.home-block::before, .home-block::after { content: ""; z-index: 0; pointer-events: none; position: absolute; inset: 0; opacity: .42; background: url("/assets/pastel-cloud-bank.png") right -7rem bottom -7rem / min(75vw, 1080px) auto no-repeat; }
.home-block::after { opacity: .4; transform: scaleX(-1); }
.home-block-copy { width: min(100%, 690px); background: rgba(255,255,255,.74); padding: clamp(28px, 4.3vw, 62px); box-shadow: 9px 10px 0 rgba(155,145,203,.25); position: relative; z-index: 1; }
.home-block-copy h2 { color: var(--plum); }
.home-block-copy > p { color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 1.78; margin: 26px 0 0; white-space: pre-line; }
.home-block.image-right .home-block-copy { order: 1; }
.home-block.image-right .home-block-image { order: 2; justify-self: end; }
.home-block.image-left .home-block-image { order: 1; justify-self: start; }
.home-block.image-left .home-block-copy { order: 2; }
.home-block-image, .home-block-image.image-slot.has-image { width: min(100%, 430px); aspect-ratio: 3 / 4; min-height: 330px; justify-self: center; overflow: visible; isolation: isolate; z-index: 1; background: transparent; }
.home-block-image .ornate-photo-frame { object-fit: fill; }
.poodle-ornament { position: absolute; z-index: 4; display: block; aspect-ratio: 2464 / 3043; background: url("/assets/poodle-linework.png") center / contain no-repeat; pointer-events: none; }
.home-block-image .poodle-ornament { width: 45%; left: -17%; right: auto; bottom: 2%; opacity: .72; filter: brightness(.14) contrast(1.7); }
.puppy-card-image .poodle-ornament { width: 49%; left: -22%; bottom: 3%; opacity: .76; filter: brightness(.15) contrast(1.7); }
.home-block-photo-oval { position: absolute; inset: 0; overflow: hidden; clip-path: ellipse(43.2% 38.5% at 50% 50%); background: linear-gradient(135deg, #c9b6d2, #9e7ea9); z-index: 1; }
.home-block-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-block-photo-oval .image-empty { position: absolute; inset: 14% 9%; background: linear-gradient(135deg, #c9b6d2, #9e7ea9); }
.home-block-image.shape-soft { transform: rotate(-1deg); }
.home-block-image.shape-circle { transform: rotate(1deg) scale(.98); }
.home-block-image.shape-arch { transform: rotate(-.5deg) scale(1.02); }
.home-block-image.shape-postcard { transform: rotate(1.5deg); }
.home-block:nth-child(4n + 3) .home-block-image.shape-postcard { transform: rotate(-1.5deg); }
.block-insert { display: none; position: relative; z-index: 8; height: 0; }
.editor-active .block-insert { display: grid; place-items: center; }
.block-insert button { position: absolute; top: -26px; border: 1px solid rgba(255,255,255,.94); border-radius: 999px; color: white; background: var(--plum); box-shadow: 0 7px 22px rgba(64,39,78,.24); display: flex; align-items: center; gap: 7px; padding: 7px 14px 7px 8px; opacity: .78; transform: scale(.94); transition: opacity .2s, transform .2s, background .2s; }
.block-insert button:hover { opacity: 1; transform: scale(1); background: var(--plum-deep); }
.block-insert span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 21px; line-height: 1; background: rgba(255,255,255,.2); }
.block-insert small { font-weight: 700; font-size: .75rem; letter-spacing: .03em; }
.delete-home-block { display: none; position: absolute; z-index: 5; top: 21px; right: 22px; border: 1px solid rgba(255,255,255,.78); border-radius: 50%; height: 36px; width: 36px; color: white; background: rgba(87,29,47,.86); font-size: 20px; line-height: 1; }
.editor-active .delete-home-block { display: block; }
.home-block.new-block { animation: block-in .46s cubic-bezier(.2,.8,.2,1) both; }
@keyframes block-in { from { opacity: 0; transform: translateY(-22px) scale(.98); } to { opacity: 1; transform: none; } }
.empty-blocks { min-height: 300px; display: grid; place-items: center; padding: 60px 22px; }
.empty-blocks button { border: 0; border-radius: 999px; padding: 15px 24px; color: white; background: var(--plum); font-weight: 700; }
.puppy-tease { position: relative; isolation: isolate; background: radial-gradient(circle at 78% 16%, rgba(225,238,255,.65), transparent 22%), radial-gradient(circle at 20% 83%, rgba(255,221,236,.53), transparent 19%), rgba(255,255,255,.87); text-align: center; }
.puppy-tease::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .26; background: url("/assets/pastel-cloud-bank.png") center 20% / min(66vw, 900px) auto no-repeat, url("/assets/pastel-cloud-bank.png") left -14rem bottom -14rem / min(58vw, 780px) auto no-repeat; }
.puppy-tease > * { position: relative; z-index: 1; }
.puppy-tease > p { color: var(--muted); max-width: 570px; margin: 20px auto 32px; }
.button { border: 0; border-radius: 999px; padding: 14px 23px; font-weight: 700; letter-spacing: .03em; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--pink); color: white; }
.button-primary:hover { background: #d891bb; }
.button-light { background: white; color: var(--plum-deep); }
.button-secondary { background: transparent; border: 1px solid var(--line); color: var(--plum-deep); }
.button-danger { background: #8a2f43; color: #fff; }
.puppy-header { display: grid; justify-items: center; position: relative; overflow: hidden; isolation: isolate; background: transparent; padding: clamp(72px, 8vw, 115px) clamp(22px, 8vw, 150px) clamp(54px, 6vw, 80px); text-align: center; }
.puppy-header h1 { width: min(100%, 1500px); margin-inline: auto; text-align: center; background: rgba(255,255,255,.7); padding: clamp(25px, 3vw, 38px); box-shadow: 7px 8px 0 rgba(255,255,255,.25); }
.puppy-header p { color: var(--muted); max-width: 580px; margin: 21px auto 0; }
.admin-actions { margin: 28px auto 0; display: none; gap: 10px; justify-content: center; flex-wrap: wrap; }
.editor-active .admin-actions { display: flex; }
.puppy-grid { width: min(100%, 1850px); padding: clamp(54px, 6vw, 90px) clamp(22px, 5vw, 120px); display: grid; grid-template-columns: 1fr; gap: 42px; max-width: none; margin: 0 auto; }
.puppy-card { width: 100%; background: rgba(255,255,255,.84); border: 1px solid rgba(255,255,255,.9); overflow: hidden; position: relative; box-shadow: 0 7px 22px rgba(98,91,124,.1); text-align: left; display: grid; grid-template-columns: minmax(240px, 38%) 1fr; min-height: 410px; padding: 26px; gap: clamp(30px, 7vw, 108px); }
.puppy-card-image, .puppy-card-image.image-slot.has-image { align-self: center; width: min(100%, 440px); justify-self: center; aspect-ratio: 6001 / 8817; min-height: 0; background: transparent; border: 0; overflow: visible; isolation: isolate; }
.puppy-photo-oval { position: absolute; inset: 0; overflow: hidden; clip-path: ellipse(44% 36.7% at 50% 50%); background: linear-gradient(135deg, rgba(208,197,230,.82), rgba(234,222,238,.82)); z-index: 1; }
.puppy-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; background: transparent; transition: opacity .38s ease; }
.puppy-photo-oval .image-empty { position: absolute; inset: 14% 9%; color: rgba(255,255,255,.9); background: linear-gradient(135deg, rgba(176,153,190,.84), rgba(203,186,218,.84)); }
.ornate-photo-frame { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; filter: drop-shadow(0 9px 14px rgba(107,78,121,.15)); }
.editor-active .home-block-image, .editor-active .puppy-card-image { outline: 0; }
.editor-active .home-block-image::after, .editor-active .puppy-card-image::after { z-index: 5; clip-path: ellipse(44% 36.7% at 50% 50%); outline: 0; }
.editor-active .home-block-image::after { clip-path: ellipse(43.2% 38.5% at 50% 50%); }
.puppy-card-copy { padding: 34px 35px 32px 0; align-self: center; text-align: center; max-width: 470px; justify-self: center; width: 100%; }
.puppy-card-copy h3 { font-size: clamp(2rem, 3.4vw, 3.15rem); color: var(--plum); }
.puppy-kicker { color: #a284b6; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 10px; }
.puppy-details { color: var(--pink); font-size: .92rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 13px 0 11px; }
.puppy-price { color: var(--plum); font-family: "Milkyway", "Playfair Display", Georgia, serif; font-size: 1.7rem; margin: 0; }
.puppy-rule { height: 30px; margin: 17px auto 15px; width: min(100%, 260px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; color: #c8b2d8; }
.puppy-rule::before, .puppy-rule::after { content: ""; height: 1px; background: linear-gradient(90deg, transparent, #b8abd7); }
.puppy-rule::after { background: linear-gradient(90deg, #b8abd7, transparent); }
.puppy-rule span { font-size: .76rem; }
.puppy-description { color: var(--muted); margin: 0; font-size: 1rem; line-height: 1.75; white-space: pre-line; }
.carousel-controls { display: none; position: absolute; z-index: 3; inset: 0; pointer-events: none; }
.puppy-card.has-gallery .carousel-controls { display: block; }
.carousel-button { pointer-events: auto; position: absolute; top: 50%; transform: translateY(-50%); height: 44px; width: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.91); color: var(--plum-deep); box-shadow: 0 2px 12px rgba(53,37,65,.17); display: grid; place-items: center; padding: 0; transition: transform .2s, background .2s; }
.carousel-button:hover { transform: translateY(-50%) scale(1.07); background: white; }
.carousel-previous { left: 14px; }
.carousel-next { right: 14px; }
.carousel-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; justify-content: center; }
.dot { height: 6px; width: 6px; border: 0; border-radius: 50%; padding: 0; background: rgba(255,255,255,.72); }
.dot.active { background: var(--plum-deep); transform: scale(1.35); }
.puppy-card-image img.slide-enter { opacity: 0; position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; z-index: 2; }
.puppy-card-image img.slide-enter.slide-visible { opacity: 1; }
.puppy-card-image img.slide-leave { opacity: 0; }
.delete-card { display: none; position: absolute; top: 11px; right: 11px; z-index: 4; height: 36px; width: 36px; border: 0; border-radius: 50%; color: white; background: rgba(87,29,47,.9); }
.editor-active .delete-card { display: block; }
.contact-page { min-height: calc(100vh - 94px); display: grid; place-items: center; padding: clamp(70px, 12vw, 150px) 22px; background: url("/assets/pastel-cloud-bank.png") center 14% / min(72vw, 1000px) auto no-repeat, url("/assets/pastel-cloud-bank.png") right -16rem bottom -12rem / min(64vw, 880px) auto no-repeat, linear-gradient(128deg, #f5d5df, #e0f1ee 55%, #d3c9ec); }
.contact-box { width: min(760px, 100%); text-align: center; }
.contact-box > p { color: var(--muted); font-size: 1.1rem; margin: 20px auto 48px; }
.contact-list { background: var(--white); box-shadow: var(--shadow); border-radius: 20px; padding: clamp(25px, 5vw, 60px); text-align: left; }
.contact-row { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-row strong { color: var(--plum); font-size: .8rem; letter-spacing: .11em; text-transform: uppercase; }
.password-page { min-height: calc(100vh - 94px); display: grid; place-items: center; padding: clamp(70px, 12vw, 150px) 22px; background: linear-gradient(128deg, #e5e1f3, #e0f1ee 55%, #f3d7e1); }
.password-box { width: min(600px, 100%); background: rgba(255,255,255,.9); padding: clamp(28px, 5vw, 54px); box-shadow: var(--shadow); border-radius: 20px; }
.password-box > p:not(.eyebrow) { color: var(--muted); margin: 18px 0 32px; }
.password-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.footer { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(90deg, #cae9e8, #c5c0ea 56%, #e6b2d1); color: #69677f; padding: 50px clamp(22px, 14vw, 285px); display: flex; gap: 40px; align-items: center; justify-content: space-between; }
.footer::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .18; background: url("/assets/pastel-cloud-bank.png") center / min(78vw, 1050px) auto no-repeat; }
.footer > * { position: relative; z-index: 1; }
.footer-brand { color: var(--plum-deep); font-family: "Milkyway", "Playfair Display", Georgia, serif; font-size: 2rem; }
.footer p { margin: 5px 0 0; font-size: .85rem; }
.footer-contacts { text-align: right; font-size: .88rem; }
.editor-fab { position: fixed; z-index: 40; bottom: 21px; right: 21px; height: 51px; width: 51px; border-radius: 50%; border: 0; background: var(--plum); color: white; box-shadow: 0 8px 22px rgba(52,26,66,.28); font-size: 21px; }
.editor-bar { position: fixed; z-index: 35; left: 50%; bottom: 18px; transform: translateX(-50%); display: none; align-items: center; gap: 10px; background: #2c1937; box-shadow: 0 15px 38px rgba(26,11,33,.32); border-radius: 999px; padding: 9px; color: white; }
.editor-active .editor-bar { display: flex; }
.editor-bar span { font-size: .82rem; padding-left: 12px; white-space: nowrap; }
.editor-bar button { border: 0; border-radius: 999px; height: 40px; padding: 0 16px; font-weight: 700; }
.editor-bar a { border-radius: 999px; height: 40px; padding: 0 16px; display: grid; place-items: center; color: white; text-decoration: none; font-weight: 700; font-size: .88rem; background: rgba(255,255,255,.18); }
.editor-bar a:hover { background: rgba(255,255,255,.28); }
.editor-bar .save { color: white; background: var(--plum); }
.editor-bar .cancel { color: var(--ink); background: white; }
.editor-bar .sign-out { color: white; background: rgba(255,255,255,.18); }
.editor-bar .sign-out:hover { background: rgba(255,255,255,.28); }
[contenteditable="true"] { outline: 2px dashed rgba(82,44,93,.43); outline-offset: 4px; border-radius: 3px; cursor: text; }
.story [contenteditable="true"] { outline-color: rgba(255,255,255,.55); }
.modal-backdrop { position: fixed; z-index: 60; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(29,15,36,.58); animation: fade-in .18s ease; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
.modal-backdrop.is-closing { pointer-events: none; animation: fade-out .19s ease forwards; }
.modal { width: min(610px, 100%); background: white; border-radius: 20px; padding: 30px; box-shadow: 0 25px 70px rgba(0,0,0,.25); animation: modal-in .2s ease both; }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes modal-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(8px) scale(.985); } }
.modal-backdrop.is-closing .modal { animation: modal-out .19s ease forwards; }
.modal h3 { margin-bottom: 8px; }
.modal p { color: var(--muted); margin-top: 0; }
.field { display: grid; gap: 7px; margin: 16px 0; }
.field label { font-size: .78rem; font-weight: 700; color: var(--plum); text-transform: uppercase; letter-spacing: .09em; }
.field input, .field textarea { border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; color: var(--ink); background: #fff; }
.field textarea { min-height: 100px; resize: vertical; }
.drop-area { border: 2px dashed #bca8c6; border-radius: 14px; min-height: 144px; display: grid; place-items: center; padding: 18px; text-align: center; color: var(--muted); background: #fbf9fc; cursor: pointer; }
.drop-area.dragging { background: var(--lilac); border-color: var(--plum); }
.upload-previews { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 12px; }
.upload-preview { width: 72px; height: 72px; border-radius: 9px; overflow: hidden; position: relative; }
.upload-preview img { height: 100%; width: 100%; object-fit: cover; }
.upload-preview button { position: absolute; top: 3px; right: 3px; background: rgba(41,29,50,.85); color: white; border: 0; border-radius: 50%; height: 21px; width: 21px; line-height: 1; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 26px; }
.status { min-height: 22px; color: #a62d47; font-size: .88rem; }
.status.success { color: #357251; }
@media (max-width: 760px) {
  .topbar { height: 72px; padding: 6px 18px; }
  .brand { height: 60px; min-width: 232px; }
  .brand-crest { flex-basis: 136px; height: 190px; width: 136px; transform: translateY(67px); }
  .brand-wordmark-plate { width: 136px; margin-left: 0; padding: 5px 7px; border-radius: 8px; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 13px 20px 18px; background: rgba(252,251,253,.98); border-bottom: 1px solid var(--line); flex-direction: column; gap: 3px; }
  .nav.open { display: flex; }
  .nav a { text-align: left; }
  .topbar { padding: 6px 18px; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding-top: 60px; }
  .hero-image { width: min(84vw, 360px); height: 370px; justify-self: center; }
  .hero-copy { padding-bottom: 32px; }
  .intro, .story { grid-template-columns: 1fr; }
  .home-block { grid-template-columns: 1fr; min-height: 0; gap: 42px; padding-top: 74px; padding-bottom: 74px; }
  .home-block.image-right .home-block-copy, .home-block.image-left .home-block-copy { order: 1; }
  .home-block.image-right .home-block-image, .home-block.image-left .home-block-image { order: 2; justify-self: center; }
  .home-block-image { width: min(82vw, 380px); min-height: 300px; }
  .home-block-copy { width: 100%; }
  .delete-home-block { top: 14px; right: 15px; }
  .intro-image { min-height: 330px; max-width: 380px; width: 100%; justify-self: center; }
  .story-image { min-height: 290px; }
  .puppy-grid { max-width: none; }
  .footer { flex-direction: column; align-items: flex-start; gap: 22px; }
  .footer-contacts { text-align: left; }
  .contact-row { grid-template-columns: 1fr; gap: 3px; }
  .editor-bar { max-width: calc(100vw - 25px); }
  .editor-bar span, .editor-bar .password-link { display: none; }
}
@media (max-width: 620px) {
  .puppy-card { grid-template-columns: 1fr; padding: 13px; gap: 0; }
  .puppy-card-image { height: auto; width: min(100%, 360px); }
  .puppy-card-copy { padding: 28px 18px 25px; }
}
