:root {
  --em-ink: #17221d;
  --em-pine: #183f34;
  --em-fern: #477764;
  --em-sage: #b9c7ad;
  --em-petal: #f3d6ca;
  --em-cream: #fff8ef;
  --em-gold: #c99745;
  --em-sky: #d9edf0;
  --em-shadow: 0 1.5rem 4rem rgba(18, 48, 39, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  color: var(--em-ink);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1100;
  transform: translateY(-150%);
  border-radius: 999px;
  background: #fff;
  color: var(--em-pine);
  padding: 0.7rem 1rem;
  box-shadow: var(--em-shadow);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-nav {
  background: rgba(18, 48, 39, 0.68);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-nav .container {
  max-width: 100%;
}

.navbar-brand {
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  width: 2.9rem;
  height: 2.9rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
}

.brand-text {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.social-dot {
  display: inline-grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.social-dot:hover,
.social-dot:focus-visible {
  background: #fff;
  color: var(--em-pine);
  transform: translateY(-2px);
}

.hero-section {
  position: relative;
  overflow-x: clip;
  padding: 8rem 0 5rem;
  color: #fff;
  background:
    radial-gradient(circle at 72% 28%, rgba(217, 237, 240, 0.42), transparent 23rem),
    linear-gradient(135deg, #14372f 0%, #1d5748 46%, #779070 100%);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 0.55rem;
  background: linear-gradient(90deg, var(--em-sage), var(--em-gold), var(--em-petal));
}

.scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.moon {
  position: absolute;
  right: clamp(2rem, 10vw, 9rem);
  top: clamp(7rem, 13vw, 12rem);
  width: clamp(8rem, 20vw, 16rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 35%, #fff 0 18%, #faeadc 42%, #dceeed 72%);
  box-shadow:
    0 0 5rem rgba(255, 248, 239, 0.52),
    inset -1.1rem -1.1rem 2rem rgba(20, 55, 47, 0.16);
  animation: moonFloat 7s ease-in-out infinite;
}

.moonbow {
  position: absolute;
  right: clamp(-5rem, -5vw, -1rem);
  top: clamp(5.5rem, 12vw, 10rem);
  border-radius: 50%;
  border: 2px solid transparent;
  opacity: 0.72;
  animation: bowPulse 5.8s ease-in-out infinite;
}

.moonbow-one {
  width: clamp(16rem, 38vw, 32rem);
  aspect-ratio: 1;
  border-color: rgba(255, 248, 239, 0.7);
}

.moonbow-two {
  width: clamp(20rem, 46vw, 39rem);
  aspect-ratio: 1;
  border-color: rgba(243, 214, 202, 0.52);
  animation-delay: 0.7s;
}

.moonbow-three {
  width: clamp(24rem, 54vw, 46rem);
  aspect-ratio: 1;
  border-color: rgba(185, 199, 173, 0.45);
  animation-delay: 1.4s;
}

.star {
  position: absolute;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #fff8ef;
  box-shadow: 0 0 1.1rem rgba(255, 255, 255, 0.8);
  animation: twinkle 2.6s ease-in-out infinite;
}

.star-one {
  left: 14%;
  top: 30%;
}

.star-two {
  left: 46%;
  top: 17%;
  animation-delay: 0.6s;
}

.star-three {
  right: 22%;
  bottom: 22%;
  animation-delay: 1.1s;
}

.leaf {
  position: absolute;
  width: 3.8rem;
  height: 1.65rem;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, rgba(217, 237, 240, 0.9), rgba(185, 199, 173, 0.38));
  transform-origin: 10% 90%;
  animation: leafDrift 9s ease-in-out infinite;
}

.leaf::after {
  content: "";
  position: absolute;
  left: 0.45rem;
  right: 0.45rem;
  top: 50%;
  height: 1px;
  background: rgba(20, 55, 47, 0.3);
  transform: rotate(-18deg);
}

.leaf-one {
  left: 9%;
  bottom: 16%;
  transform: rotate(-18deg);
}

.leaf-two {
  right: 17%;
  top: 22%;
  transform: rotate(26deg);
  animation-delay: 1.5s;
}

.leaf-three {
  left: 39%;
  bottom: 25%;
  transform: rotate(18deg);
  animation-delay: 3s;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  animation: fadeUp 800ms ease both;
}

.opening-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.55rem 0.9rem;
  color: #fff8ef;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pulse-dot {
  display: inline-block;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: var(--em-gold);
  box-shadow: 0 0 0 0 rgba(201, 151, 69, 0.8);
  animation: pulse 1.8s ease-out infinite;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.display-1 {
  max-width: min(100%, 11ch);
  line-height: 0.96;
}

.script-line {
  max-width: 100%;
  color: #f5dfd4;
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.2;
  text-wrap: balance;
}

.hero-lead {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.84);
}

.launch-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 239, 0.9));
  color: var(--em-ink);
  animation: fadeUp 900ms 120ms ease both;
}

.launch-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.35rem;
  background: linear-gradient(90deg, var(--em-sage), var(--em-gold), var(--em-petal), var(--em-sky));
}

.status-orbit {
  position: relative;
  display: inline-block;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(24, 63, 52, 0.18);
  border-radius: 50%;
}

.status-orbit::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.28rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--em-gold);
  transform: translateX(-50%);
  animation: orbit 2.8s linear infinite;
  transform-origin: 50% 1.78rem;
}

.launch-progress {
  height: 0.65rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(24, 63, 52, 0.1);
}

.launch-progress .progress-bar {
  width: 74%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--em-pine), var(--em-fern), var(--em-gold));
  animation: progressGlow 2.4s ease-in-out infinite;
}

.mini-stat {
  min-height: 6rem;
  border: 1px solid rgba(24, 63, 52, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  padding: 1rem;
}

.mini-stat span,
.section-kicker {
  color: var(--em-fern);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mini-stat strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--em-pine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
}

.py-lg-6 {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.contact-card {
  min-height: 14rem;
  border-radius: 8px;
  background: #fff;
  color: var(--em-ink);
  text-decoration: none;
  box-shadow: 0 1rem 2.5rem rgba(18, 48, 39, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  background: var(--em-cream);
  box-shadow: 0 1.25rem 3rem rgba(18, 48, 39, 0.14);
  transform: translateY(-4px);
}

.contact-icon {
  display: inline-grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border-radius: 50%;
  background: var(--em-pine);
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(201, 151, 69, 0.62);
  font-size: 1.35rem;
}

.catalogue-section {
  background: #fff;
}

.catalogue-count,
.shipping-chip,
.product-id {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  border-radius: 999px;
  background: rgba(24, 63, 52, 0.08);
  color: var(--em-pine);
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.catalogue-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 12rem;
  border: 1px dashed rgba(24, 63, 52, 0.22);
  border-radius: 8px;
  color: var(--em-fern);
}

.empty-products {
  border: 1px dashed rgba(24, 63, 52, 0.18);
  border-radius: 8px;
  background: var(--em-cream);
}

.product-card {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 1rem 2.6rem rgba(18, 48, 39, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  box-shadow: 0 1.3rem 3rem rgba(18, 48, 39, 0.16);
  transform: translateY(-4px);
}

.product-media {
  position: relative;
  display: grid;
  min-height: 16rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 65% 28%, rgba(217, 237, 240, 0.85), transparent 8rem),
    linear-gradient(135deg, rgba(185, 199, 173, 0.58), rgba(255, 248, 239, 0.96));
}

.product-media img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
}

.product-placeholder {
  display: grid;
  min-height: 16rem;
  place-items: center;
}

.product-placeholder span {
  display: grid;
  width: 7rem;
  height: 7rem;
  place-items: center;
  border: 1px solid rgba(24, 63, 52, 0.2);
  border-radius: 50%;
  color: var(--em-pine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.product-badge {
  position: absolute;
  right: 1rem;
  top: 1rem;
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
}

.product-price {
  color: var(--em-pine);
  font-size: 1.05rem;
  font-weight: 800;
  white-space: nowrap;
}

.shipping-chip {
  background: rgba(201, 151, 69, 0.15);
  color: #72501d;
}

.product-id {
  background: rgba(24, 63, 52, 0.07);
  color: rgba(23, 34, 29, 0.58);
  font-size: 0.78rem;
}

.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(185, 199, 173, 0.42), transparent 18rem),
    linear-gradient(145deg, #fff8ef, #eef5ee);
}

.admin-shell {
  min-height: 100vh;
}

.admin-brand {
  background: var(--em-pine);
}

.admin-card {
  border-radius: 8px;
}

.admin-card.sticky-lg-top {
  top: 6rem;
}

[hidden] {
  display: none !important;
}

.closing-band {
  overflow-x: clip;
  background:
    radial-gradient(circle at 15% 20%, rgba(185, 199, 173, 0.42), transparent 18rem),
    linear-gradient(180deg, #fff8ef, #eef5ee);
}

.btn-success {
  --bs-btn-bg: var(--em-pine);
  --bs-btn-border-color: var(--em-pine);
  --bs-btn-hover-bg: #102f27;
  --bs-btn-hover-border-color: #102f27;
}

.btn-outline-success {
  --bs-btn-color: var(--em-pine);
  --bs-btn-border-color: var(--em-pine);
  --bs-btn-hover-bg: var(--em-pine);
  --bs-btn-hover-border-color: var(--em-pine);
}

.site-footer {
  background: var(--em-pine);
  color: rgba(255, 255, 255, 0.78);
}

.footer-link {
  color: #fff;
  text-decoration: none;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--em-petal);
}

:focus-visible {
  outline: 3px solid var(--em-gold);
  outline-offset: 4px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes moonFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0.6rem, -0.8rem, 0);
  }
}

@keyframes bowPulse {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.985);
  }

  50% {
    opacity: 0.78;
    transform: scale(1.015);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.75);
  }

  50% {
    opacity: 1;
    transform: scale(1.35);
  }
}

@keyframes leafDrift {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0.75rem -1.15rem;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(201, 151, 69, 0.78);
  }

  75%,
  100% {
    box-shadow: 0 0 0 0.75rem rgba(201, 151, 69, 0);
  }
}

@keyframes orbit {
  to {
    rotate: 360deg;
  }
}

@keyframes progressGlow {
  0%,
  100% {
    filter: saturate(1);
  }

  50% {
    filter: saturate(1.5) brightness(1.08);
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 7rem;
  }

  .display-1 {
    max-width: 9ch;
  }

  .launch-card {
    max-width: 36rem;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    margin-right: 0;
  }

  .brand-mark {
    width: 2.55rem;
    height: 2.55rem;
  }

  .brand-text {
    display: none;
  }

  .social-dot {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 0.92rem;
  }

  .hero-section {
    min-height: auto !important;
    padding-top: 6.75rem;
    padding-bottom: 4.25rem;
  }

  .display-1 {
    max-width: 100%;
    font-size: 2.72rem;
    overflow-wrap: normal;
  }

  .script-line {
    max-width: 19rem;
    font-size: 1.15rem;
  }

  .hero-lead {
    max-width: 20.5rem;
    font-size: 1.05rem;
  }

  .launch-card {
    width: 100%;
    max-width: calc(100vw - 1.5rem);
  }

  .launch-card .card-body {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  .mini-stat {
    padding: 0.9rem;
  }

  .mini-stat strong {
    font-size: 1.35rem;
  }

  .display-6 {
    font-size: 2rem;
    line-height: 1.05;
  }

  .moon {
    opacity: 0.65;
    right: -2rem;
  }

  .moonbow {
    right: -10rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
