/* Sparkle & Shine with Lacey — site styles */

:root {
  --ink: #17333a;
  --ink-soft: #47616a;
  --teal: #0e7c74;
  --teal-deep: #0a5c56;
  --gold: #f0a92c;
  --gold-soft: #fdf3dd;
  --cream: #fbfaf6;
  --mint: #eef7f4;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(23, 51, 58, 0.08);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

.wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }

a { color: var(--teal-deep); }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(23, 51, 58, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}
.brand span { color: var(--teal); }

.brand-mark {
  width: 1.15em;
  height: 1.15em;
  fill: var(--gold);
  flex-shrink: 0;
  animation: twinkle 3.2s ease-in-out infinite;
}

.site-header nav { margin-left: auto; }

.nav-list {
  display: flex;
  gap: 1.4rem;
  list-style: none;
}

.nav-list a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.nav-list a:hover { color: var(--teal-deep); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-solid { background: var(--teal); color: var(--white); }
.btn-solid:hover { background: var(--teal-deep); }

.btn-ghost {
  border: 2px solid var(--teal);
  color: var(--teal-deep);
  background: transparent;
}

.header-cta { padding: 0.5rem 1.1rem; font-size: 0.9rem; }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--mint) 0%, var(--cream) 70%);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(251, 250, 246, 0.97) 0%,
    rgba(251, 250, 246, 0.92) 44%,
    rgba(251, 250, 246, 0.55) 70%,
    rgba(238, 247, 244, 0.28) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2.5rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.kicker-light { color: var(--gold); }

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  margin-bottom: 1rem;
}
.hero h1 em { color: var(--teal); font-style: italic; }

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-note {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Hero accent icons */
.hero-accent {
  position: relative;
  min-height: 260px;
}

.float-icon { position: absolute; }

.icon-spray {
  width: 72px;
  top: 12%;
  right: 18%;
  animation: bob 4s ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(23, 51, 58, 0.25));
}
.icon-spray .i-nozzle { fill: var(--teal-deep); }
.icon-spray .i-body { fill: var(--teal); }
.icon-spray .i-label { fill: var(--gold-soft); }
.icon-spray .spritz circle {
  fill: var(--gold);
  animation: spritz 2.2s ease-out infinite;
}
.icon-spray .spritz circle:nth-child(2) { animation-delay: 0.35s; }
.icon-spray .spritz circle:nth-child(3) { animation-delay: 0.7s; }

.icon-sparkle-a,
.icon-sparkle-b { fill: var(--gold); }
.icon-sparkle-a {
  width: 30px;
  top: 55%;
  right: 42%;
  animation: twinkle 2.8s ease-in-out infinite;
}
.icon-sparkle-b {
  width: 20px;
  bottom: 10%;
  right: 10%;
  animation: twinkle 3.6s ease-in-out infinite 1.2s;
}

/* Rising bubbles */
.bubbles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.bubbles span {
  position: absolute;
  bottom: -60px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.9), rgba(14, 124, 116, 0.12));
  border: 1px solid rgba(14, 124, 116, 0.22);
  animation: rise linear infinite;
}

.bubbles span:nth-child(1) { left: 6%;  width: 26px; height: 26px; animation-duration: 11s; }
.bubbles span:nth-child(2) { left: 16%; width: 14px; height: 14px; animation-duration: 9s;  animation-delay: 2s; }
.bubbles span:nth-child(3) { left: 30%; width: 20px; height: 20px; animation-duration: 13s; animation-delay: 4s; }
.bubbles span:nth-child(4) { left: 44%; width: 12px; height: 12px; animation-duration: 8s;  animation-delay: 1s; }
.bubbles span:nth-child(5) { left: 58%; width: 30px; height: 30px; animation-duration: 14s; animation-delay: 3s; }
.bubbles span:nth-child(6) { left: 72%; width: 16px; height: 16px; animation-duration: 10s; animation-delay: 5s; }
.bubbles span:nth-child(7) { left: 84%; width: 22px; height: 22px; animation-duration: 12s; animation-delay: 0.5s; }
.bubbles span:nth-child(8) { left: 93%; width: 12px; height: 12px; animation-duration: 9s;  animation-delay: 6s; }

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--mint); }

.section h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: 0.6rem;
}

.section-lede {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

/* Service cards */
.card-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--teal);
}

.card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }

.card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 0.9rem;
  animation: bob 3.6s ease-in-out infinite;
}
.card:nth-child(2) .card-icon { animation-delay: 0.5s; }
.card:nth-child(3) .card-icon { animation-delay: 1s; }
.card:nth-child(4) .card-icon { animation-delay: 1.5s; }
.card:hover .card-icon { animation: wiggle 0.5s ease-in-out; }

.card-icon .i-teal { fill: var(--teal); }
.card-icon .i-gold { fill: var(--gold); }
.card-icon .i-stroke {
  fill: none;
  stroke: var(--teal-deep);
  stroke-width: 3.5;
  stroke-linecap: round;
}
.card-icon .i-stroke.thin { stroke-width: 2.5; stroke: var(--gold-soft); }
.card-icon .i-bubble {
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  animation: twinkle 2.6s ease-in-out infinite;
}
.card-icon .i-bubble:nth-of-type(2) { animation-delay: 0.6s; }
.card-icon .i-bubble:nth-of-type(3) { animation-delay: 1.2s; }

/* Colorado banner */
.colorado {
  position: relative;
  background:
    linear-gradient(rgba(10, 92, 86, 0.68), rgba(23, 51, 58, 0.72)),
    url("images/colorado-mountains.jpg") center 40% / cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 4.5rem 0;
}

.colorado h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.colorado p { font-size: 1.1rem; opacity: 0.92; }

/* Specials */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.specials-grid {
  grid-template-columns: 1fr 0.7fr 1fr;
  align-items: stretch;
}

.split-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}

.panel h3 { margin-bottom: 0.8rem; font-size: 1.2rem; }
.panel p { color: var(--ink-soft); margin-bottom: 0.6rem; }

.check-list { list-style: none; }

.check-list li {
  padding-left: 1.7rem;
  position: relative;
  margin-bottom: 0.55rem;
}

.check-list li::before {
  content: "✦";
  position: absolute;
  left: 0.2rem;
  color: var(--gold);
  font-weight: 800;
}

/* Give-back */
.give-back-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
  align-items: center;
}

.give-back .nominate {
  background: var(--gold-soft);
  border: 1px solid rgba(240, 169, 44, 0.4);
}

.steps {
  margin: 0.75rem 0 0 1.4rem;
  color: var(--ink);
}
.steps li { margin-bottom: 0.35rem; font-weight: 600; }

.give-back-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.give-back-photo figcaption {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* Contact */
.section-contact {
  background: var(--teal-deep);
  color: var(--white);
}
.section-contact h2 { color: var(--white); }

.contact-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.contact-list a {
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  overflow-wrap: anywhere;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 1.6rem 0;
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.site-credit { color: rgba(255, 255, 255, 0.55); }
.site-credit a { color: rgba(255, 255, 255, 0.75); }

/* 404 */
.error-page {
  min-height: 70vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 3rem 1.25rem;
}
.error-page h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin-bottom: 0.75rem; }
.error-page p { color: var(--ink-soft); margin-bottom: 1.75rem; }

/* Animations */
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

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

@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}

@keyframes spritz {
  0% { opacity: 0; transform: translate(6px, 4px) scale(0.5); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translate(-8px, -6px) scale(1.15); }
}

@keyframes rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  12% { opacity: 0.8; }
  85% { opacity: 0.5; }
  100% { transform: translateY(-560px) translateX(14px); opacity: 0; }
}

@keyframes blob-drift {
  0%, 100% { border-radius: 46% 54% 52% 48% / 44% 46% 54% 56%; }
  50% { border-radius: 52% 48% 44% 56% / 52% 54% 46% 48%; }
}

/* Responsive */
@media (max-width: 800px) {
  .site-header nav { display: none; }
  .header-inner { justify-content: space-between; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .lede, .hero-actions { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-accent { display: none; }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(251, 250, 246, 0.96) 0%,
      rgba(251, 250, 246, 0.9) 70%,
      rgba(251, 250, 246, 0.72) 100%
    );
  }
  .split, .specials-grid { grid-template-columns: 1fr; }
  .split-photo img { max-height: 320px; }
  .give-back-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .brand-mark,
  .float-icon,
  .icon-spray .spritz circle,
  .bubbles span,
  .card-icon,
  .card-icon .i-bubble {
    animation: none;
  }
}
