/* ----- cottagecore palette ----- */
:root {
  --cream: #fdf6ec;
  --cream-deep: #f7ead6;
  --pink-soft: #fbd7e0;
  --pink: #f3b6c5;
  --pink-deep: #e89bb1;
  --rose: #c97a8e;
  --green-soft: #d9e6cd;
  --green: #9bbf85;
  --green-deep: #7ba26b;
  --moss: #5a7d4d;
  --ink: #463a3a;
  --shadow: 0 12px 30px rgba(180, 120, 130, 0.12);
  --shadow-soft: 0 4px 14px rgba(180, 120, 130, 0.08);
  --shadow-rose: 0 16px 32px rgba(201, 122, 142, 0.25);
  --radius: 22px;
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Quicksand', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, #fce8ed 0%, transparent 40%),
    radial-gradient(circle at 90% 30%, #e9f1de 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, #fde2cf 0%, transparent 50%),
    var(--cream);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--rose); text-decoration: none; }
a:hover { color: var(--moss); }

/* keyboard focus ring — applies everywhere unless overridden */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--pink-deep);
  outline-offset: 3px;
}

/* sections sit below the sticky header when anchored */
section[id] { scroll-margin-top: 90px; }

/* ----- petals ----- */
.petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.petal {
  position: absolute;
  top: -30px;
  width: 14px;
  height: 14px;
  background: var(--pink);
  border-radius: 50% 0 50% 0;
  opacity: 0.55;
  animation: fall linear infinite;
}
.petal:nth-child(1) { left: 5%;  animation-duration: 22s; animation-delay: 0s; }
.petal:nth-child(2) { left: 18%; animation-duration: 28s; animation-delay: 4s; background: var(--pink-deep); }
.petal:nth-child(3) { left: 32%; animation-duration: 24s; animation-delay: 8s; }
.petal:nth-child(4) { left: 48%; animation-duration: 30s; animation-delay: 2s; background: var(--green-soft); }
.petal:nth-child(5) { left: 62%; animation-duration: 26s; animation-delay: 6s; background: var(--pink-deep); }
.petal:nth-child(6) { left: 75%; animation-duration: 23s; animation-delay: 10s; }
.petal:nth-child(7) { left: 86%; animation-duration: 29s; animation-delay: 3s; background: var(--green-soft); }
.petal:nth-child(8) { left: 95%; animation-duration: 25s; animation-delay: 7s; }
@keyframes fall {
  0%   { transform: translateY(-30px) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.6; }
  100% { transform: translateY(110vh) rotate(540deg); opacity: 0; }
}

/* ----- header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 36px;
  background: rgba(253, 246, 236, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(155, 191, 133, 0.2);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Caveat', cursive;
  font-size: 28px;
  font-weight: 700;
  color: var(--rose);
}
.logo-bunny { width: 34px; height: 34px; transition: transform .4s var(--ease-out-quart); }
.logo:hover .logo-bunny { transform: rotate(-12deg) scale(1.05); }
.site-nav { display: flex; gap: 14px; }
.site-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  position: relative;
  padding: 10px 12px;
  border-radius: 999px;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--pink-deep);
  border-radius: 2px;
  transition: width .3s ease;
  transform: translateX(-50%);
}
.site-nav a:hover { color: var(--rose); }
.site-nav a:hover::after { width: calc(100% - 24px); }
.site-nav a:focus-visible { outline-offset: 1px; }

/* ----- main ----- */
main { position: relative; z-index: 1; }

/* ----- hero ----- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
  overflow: hidden;
}
.hero-deco {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 200px;
  pointer-events: none;
  opacity: .85;
}
.hero-deco-left  { left: 0;  }
.hero-deco-right { right: 0; transform: scaleX(-1); }
.hero-deco svg { width: 100%; height: 100%; }
.vine { animation: sway 8s ease-in-out infinite; transform-origin: top center; }
@keyframes sway {
  0%, 100% { transform: rotate(-1.5deg); }
  50%      { transform: rotate(1.5deg); }
}

.hero-inner { max-width: 720px; position: relative; z-index: 2; }
.hero-eyebrow {
  font-family: 'Caveat', cursive;
  font-size: 26px;
  color: var(--rose);
  margin: 0 0 8px;
  letter-spacing: .5px;
}
.hero-title {
  margin: 0 0 18px;
  line-height: 1;
}
.hero-title .script {
  display: block;
  font-family: 'Caveat', cursive;
  font-size: 44px;
  color: var(--green-deep);
  font-weight: 500;
}
.hero-title .big {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: clamp(64px, 11vw, 132px);
  color: var(--rose);
  font-weight: 700;
  letter-spacing: -2px;
  text-shadow: 4px 4px 0 var(--cream-deep);
}
.hero-sub {
  font-size: 18px;
  color: var(--ink);
  max-width: 540px;
  margin: 0 auto 32px;
  opacity: .85;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  font-family: inherit;
  border: 2px solid transparent;
  cursor: pointer;
  letter-spacing: .3px;
  transition:
    transform .25s var(--ease-out-quart),
    background-color .25s var(--ease-out-quart),
    color .25s var(--ease-out-quart),
    border-color .25s var(--ease-out-quart),
    box-shadow .25s var(--ease-out-quart);
}
.btn-primary {
  background: var(--pink-deep);
  color: white;
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  background: var(--rose);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-rose);
}
.btn-primary:active { transform: translateY(0); box-shadow: var(--shadow); }
.btn-ghost {
  background: transparent;
  color: var(--moss);
  border-color: var(--green);
}
.btn-ghost:hover {
  background: var(--green-soft);
  color: var(--moss);
  transform: translateY(-2px);
}
.btn-ghost:active { transform: translateY(0); }

.hero-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 22px;
  background: rgba(255, 255, 255, .6);
  border-radius: var(--radius);
  border: 1px dashed var(--pink);
  min-width: 110px;
}
.hero-stats strong {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  color: var(--rose);
  line-height: 1;
}
.hero-stats span {
  font-size: 14px;
  color: var(--moss);
  margin-top: 4px;
  letter-spacing: .2px;
}

.hero-bunny {
  position: absolute;
  bottom: 24px;
  right: 6%;
  width: 180px;
  z-index: 1;
  animation: hop 4s ease-in-out infinite;
}
@keyframes hop {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ----- section heading ----- */
.section-heading {
  text-align: center;
  margin: 0 auto 40px;
  max-width: 640px;
}
.leaf-icon {
  display: inline-block;
  font-size: 28px;
  color: var(--green-deep);
  margin-bottom: 6px;
}
.section-heading h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 6vw, 56px);
  color: var(--rose);
  margin: 0 0 6px;
  font-weight: 700;
  letter-spacing: -1px;
}
.section-heading h2 .script {
  font-family: 'Caveat', cursive;
  font-weight: 500;
  font-size: .7em;
  color: var(--green-deep);
  margin-right: 8px;
  letter-spacing: 0;
}
.section-sub {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--moss);
  margin: 0;
}

/* ----- about ----- */
.about {
  padding: 100px 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: start;
}
.about-card {
  background: rgba(255, 255, 255, .7);
  padding: 38px 42px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(243, 182, 197, .25);
  position: relative;
}
.about-card::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: calc(var(--radius) + 8px);
  border: 2px dashed var(--pink);
  opacity: .35;
  pointer-events: none;
}
.about-card p {
  margin: 0 0 14px;
  font-size: 16px;
}
.about-card p:last-child { margin-bottom: 0; }

.about-side { display: flex; flex-direction: column; gap: 24px; }
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-cloud span {
  background: var(--green-soft);
  color: var(--moss);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
.tag-cloud span:nth-child(2n) {
  background: var(--pink-soft);
  color: var(--rose);
}

.quote-card {
  background: linear-gradient(135deg, var(--pink-soft) 0%, var(--cream) 100%);
  padding: 28px 26px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.quote-bunny {
  width: 60px;
  margin-bottom: 6px;
}
.script-quote {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--rose);
  margin: 0;
  line-height: 1.3;
}

/* ----- gallery ----- */
.gallery {
  padding: 80px 32px 100px;
  max-width: 1400px;
  margin: 0 auto;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 1100px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-cta {
  text-align: center;
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.gallery-cta-note {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--moss);
  margin: 0;
}

/* full gallery page */
.page-gallery {
  padding: 80px 32px 120px;
  max-width: 1500px;
  margin: 0 auto;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--moss);
  margin-bottom: 12px;
}
.back-link:hover { color: var(--rose); }

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--cream-deep);
  box-shadow: var(--shadow-soft);
  transition:
    transform .4s var(--ease-out-quart),
    box-shadow .4s var(--ease-out-quart);
  border: 1px solid rgba(243, 182, 197, .2);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease-out-quart);
}
.gallery-item::after {
  content: '\2740';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  color: var(--pink-deep);
  display: grid;
  place-items: center;
  font-size: 16px;
  opacity: 0;
  transition: opacity .3s var(--ease-out-quart);
}
.gallery-item:hover, .gallery-item:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(201, 122, 142, .18);
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.04); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }

/* ----- pricing ----- */
.pricing {
  padding: 80px 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 880px) { .price-grid { grid-template-columns: 1fr; } }

.price-card {
  background: rgba(255, 255, 255, .8);
  border-radius: var(--radius);
  padding: 38px 28px 32px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
  border: 1px solid rgba(243, 182, 197, .25);
  transition: transform .35s var(--ease-out-quart), box-shadow .35s var(--ease-out-quart);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-rose); }
.price-card.featured {
  background: linear-gradient(180deg, #fff 0%, var(--pink-soft) 100%);
  border: 2px solid var(--pink);
  transform: scale(1.04);
}
.price-card.featured:hover { transform: scale(1.04) translateY(-6px); }
@media (max-width: 880px) {
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-6px); }
}
.price-flower {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.price-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--rose);
}
.price {
  font-size: 16px;
  color: var(--moss);
  margin: 0 0 18px;
}
.price strong {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  color: var(--rose);
  display: inline-block;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: inline-block;
}
.price-card ul li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 15px;
}
.price-card ul li::before {
  content: '\2740';
  position: absolute;
  left: 0;
  color: var(--pink-deep);
}
.ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rose);
  color: white;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.pricing-note {
  text-align: center;
  margin-top: 36px;
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--moss);
}

/* ----- contact ----- */
.contact {
  padding: 80px 32px 120px;
  max-width: 900px;
  margin: 0 auto;
}
.contact-card {
  background: linear-gradient(135deg, var(--green-soft) 0%, var(--pink-soft) 100%);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.contact-deco {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 140px;
  opacity: .7;
}
.contact-card h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 5vw, 48px);
  margin: 0 0 12px;
  color: var(--rose);
  font-weight: 700;
}
.contact-card h2 .script {
  font-family: 'Caveat', cursive;
  font-size: .75em;
  color: var(--green-deep);
  font-weight: 500;
  margin-right: 8px;
}
.contact-card p {
  max-width: 500px;
  margin: 0 auto 28px;
  font-size: 17px;
}
.contact-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-handle {
  margin: 48px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.contact-handle-label {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--moss);
  line-height: 1;
}
.contact-handle strong {
  font-family: 'Quicksand', sans-serif;
  font-size: 15px;
  background: rgba(255,255,255,.7);
  padding: 6px 16px;
  border-radius: 999px;
  color: var(--rose);
  font-weight: 600;
  letter-spacing: .2px;
  line-height: 1.4;
}
.btn.copied {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

/* ----- footer ----- */
.site-footer {
  padding: 32px 24px;
  background: rgba(155, 191, 133, .15);
  border-top: 1px dashed var(--green);
}
.footer-row {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-bunny {
  width: 38px;
  animation: hop 3s ease-in-out infinite;
}
.site-footer p {
  margin: 0;
  font-size: 14px;
  color: var(--moss);
}
.footer-credit {
  margin-top: 10px !important;
  text-align: center;
  font-family: 'Caveat', cursive;
  font-size: 16px;
  opacity: .65;
}

/* ----- lightbox ----- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(70, 58, 58, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
  border: 6px solid var(--cream);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: var(--cream);
  color: var(--rose);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    background-color .25s var(--ease-out-quart),
    color .25s var(--ease-out-quart),
    transform .25s var(--ease-out-quart);
  box-shadow: var(--shadow);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: var(--pink);
  color: white;
  transform: scale(1.1);
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev  { left: 24px;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.1); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.1); }
@media (max-width: 600px) {
  .lightbox { padding: 16px; }
  .lightbox-close, .lightbox-prev, .lightbox-next {
    width: 44px; height: 44px; font-size: 18px;
  }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; }
  .lightbox-img { max-height: 78vh; border-width: 4px; }
}
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cream);
  color: var(--moss);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: 'Caveat', cursive;
  font-size: 18px;
  box-shadow: var(--shadow-soft);
}

/* ----- responsive tweaks ----- */
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; }
  .hero-bunny { width: 120px; right: 4%; opacity: .7; }
  .hero-deco { width: 100px; opacity: .5; }
  .site-nav { gap: 6px; }
  .site-nav a { font-size: 14px; padding: 10px 10px; }
  .site-header { padding: 12px 18px; }
  .about-card { padding: 28px 24px; }
  .hero-title .big { text-shadow: 3px 3px 0 var(--cream-deep); }
  .hero-stats { gap: 16px; }
  .hero-stats div { padding: 10px 16px; min-width: 96px; }
}

/* ----- entry animations ----- */
/* only hide for fade-up if JS is running — protects content if scripts fail */
.js .fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.js .fade-up.in {
  opacity: 1;
  transform: translateY(0);
}

/* gentle stagger for gallery items */
.js .gallery-item.fade-up { transition-delay: calc(var(--stagger, 0) * 60ms); }

/* ----- reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .petals { display: none; }
  .vine, .hero-bunny, .footer-bunny, .price-flower { animation: none; }
  .js .fade-up { opacity: 1; transform: none; }
}
