/* ================================================================
   ICED By Becky — icedbybecky.com
   Palette drawn from the brand logo:
     --blue      dusty slate blue (logo circle & script)
     --blue-deep darker slate for text accents / hovers
     --ink       near-black body text
     --cream     warm page background
     --blush     soft cookie pink accent
     --pink-bg   pale pink section wash
   ================================================================ */
:root {
  --blue: #8ca3b8;
  --blue-deep: #5e7a93;
  --ink: #3a4550;
  --cream: #fbfaf7;
  --white: #ffffff;
  --blush: #d99aa4;
  --pink-bg: #f7eef0;
  --line: #e4e0d8;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-script: "Great Vibes", cursive;
  --font-body: "Karla", -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

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

a { color: var(--blue-deep); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

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

/* ---------------- Header ---------------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 1.25rem;
  max-width: 1080px;
  margin: 0 auto;
}
.logo-link img { height: 56px; width: auto; }

.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  position: relative;
  content: "";
  transition: transform 0.2s ease;
}
.nav-toggle-label span::before { position: absolute; top: -7px; }
.nav-toggle-label span::after { position: absolute; top: 7px; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--blue-deep); }
.site-nav a[aria-current="page"] {
  color: var(--blue-deep);
  border-bottom-color: var(--blue);
}
.nav-cta {
  background: var(--blue-deep);
  color: var(--white) !important;
  padding: 0.55rem 1.1rem !important;
  border-radius: 999px;
  border-bottom: none !important;
  font-weight: 700;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--ink); }

@media (max-width: 820px) {
  .logo-link img { height: 46px; }
  .nav-toggle-label { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-toggle:checked ~ .site-nav { max-height: 420px; box-shadow: 0 12px 24px rgba(58,69,80,0.08); }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 1rem;
  }
  .site-nav li { text-align: center; }
  .site-nav a { display: block; padding: 0.7rem 1rem; border-bottom: none; }
  .site-nav a[aria-current="page"] { background: var(--pink-bg); }
  .nav-cta { margin: 0.6rem 1.25rem 0; border-radius: 999px; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  text-align: center;
  padding: clamp(4rem, 12vw, 8.5rem) 1.25rem;
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(58, 69, 80, 0.45), rgba(58, 69, 80, 0.45));
  z-index: -1;
}
.hero .eyebrow {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 400;
  display: block;
  margin-bottom: 0.25rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.hero p.sub {
  max-width: 34rem;
  margin: 1rem auto 0;
  font-size: 1.1rem;
}
.hero .btn-row { margin-top: 1.75rem; }

/* Page hero (interior pages, shorter) */
.page-hero { padding: clamp(2.5rem, 7vw, 4.5rem) 1.25rem; }

/* ---------------- Buttons ---------------- */
.btn-row { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-solid { background: var(--blue-deep); color: var(--white); }
.btn-solid:hover { background: var(--ink); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-outline {
  border: 2px solid var(--blue-deep);
  color: var(--blue-deep);
  background: transparent;
}
.btn-outline:hover { background: var(--blue-deep); color: var(--white); }

/* ---------------- Sections ---------------- */
.section { padding: clamp(2.75rem, 7vw, 4.5rem) 0; }
.section-pink { background: var(--pink-bg); }
.section-white { background: var(--white); }

.section-head { text-align: center; max-width: 42rem; margin: 0 auto 2.25rem; }
.script-eyebrow {
  font-family: var(--font-script);
  color: var(--blue-deep);
  font-size: 1.9rem;
  display: block;
  line-height: 1;
  margin-bottom: 0.3rem;
}
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--ink);
  letter-spacing: 0.01em;
}
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--blue-deep);
  margin-bottom: 0.4rem;
}
.section-head p { margin-top: 0.6rem; }

/* Watercolor ribbon band (brand asset) */
.ribbon-band img { width: 100%; height: auto; }
@media (max-width: 700px) {
  .ribbon-band { overflow-x: auto; }
  .ribbon-band img { min-width: 900px; }
}

/* Value props (text fallback of the ribbon content, used on mobile) */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
}
.value-grid article { text-align: center; padding: 0 0.5rem; }
.value-grid h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
}
.value-grid p { font-size: 0.95rem; margin-top: 0.3rem; }

/* Two-up feature (image + text) */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.feature img { border-radius: 10px; box-shadow: 0 14px 34px rgba(58, 69, 80, 0.14); }
.feature .txt h2 { margin-bottom: 0.75rem; }
.feature .txt .btn-row { justify-content: flex-start; margin-top: 1.4rem; }
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; }
  .feature .txt { text-align: center; }
  .feature .txt .btn-row { justify-content: center; }
}

/* ---------------- Gallery grids ---------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}
@media (max-width: 760px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.gallery-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.gallery-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(58, 69, 80, 0.12);
}
.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-card:hover img { transform: scale(1.03); }
.gallery-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.2rem 1.2rem 1rem;
  background: linear-gradient(transparent, rgba(58, 69, 80, 0.72));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
@media (max-width: 640px) { .gallery-cards { grid-template-columns: 1fr; } }

/* ---------------- Pricing ---------------- */
.price-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 880px;
  margin: 0 auto;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 10px;
  padding: 1.8rem 1.6rem;
}
.price-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.price-card dl { display: grid; grid-template-columns: 1fr auto; row-gap: 0.55rem; }
.price-card dt { }
.price-card dd { font-weight: 700; text-align: right; }
.price-note {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--line);
  font-size: 0.92rem;
  font-style: italic;
  color: var(--blue-deep);
}
@media (max-width: 700px) { .price-cards { grid-template-columns: 1fr; } }

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 46rem; margin: 0 auto; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.2rem;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--blue-deep);
  line-height: 1;
}
.faq-list details[open] summary::after { content: "\2013"; }
.faq-list details[open] summary { border-bottom: 1px solid var(--line); }
.faq-body { padding: 1rem 1.2rem; }
.faq-body ul { padding-left: 1.2rem; margin: 0.4rem 0; }
.faq-body li { margin-bottom: 0.35rem; }
.faq-body p + p { margin-top: 0.75rem; }

/* ---------------- Contact ---------------- */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 880px;
  margin: 0 auto;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2rem 1.6rem;
  text-align: center;
}
.contact-card.primary { border-top: 4px solid var(--blue); }
.contact-card p { margin: 0.5rem 0 1.2rem; }
@media (max-width: 700px) { .contact-cards { grid-template-columns: 1fr; } }

/* ---------------- CTA band ---------------- */
.cta-band {
  background: var(--blue-deep);
  color: var(--white);
  text-align: center;
  padding: clamp(2.5rem, 6vw, 3.75rem) 1.25rem;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.4rem; }
.cta-band p { max-width: 34rem; margin: 0 auto 1.5rem; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  text-align: center;
}
.site-footer .footer-logo img { height: 64px; width: auto; margin: 0 auto 1rem; }
.footer-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-bottom: 1.2rem;
}
.footer-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
}
.footer-nav a:hover { color: var(--blue-deep); }
.footer-social { display: flex; justify-content: center; gap: 1rem; margin-bottom: 1.2rem; }
.footer-social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pink-bg);
  color: var(--blue-deep);
  text-decoration: none;
}
.footer-social a:hover { background: var(--blue); color: var(--white); }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-fine { font-size: 0.85rem; color: #7d858d; }
.footer-fine .script { font-family: var(--font-script); font-size: 1.35rem; color: var(--blue); display: block; margin-bottom: 0.2rem; }

/* Three-up gallery cards (hub + home) */
.gallery-cards-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-cards-3 .gallery-card img { aspect-ratio: 1 / 1; }
@media (max-width: 820px) { .gallery-cards-3 { grid-template-columns: 1fr; } }

/* Three price cards: allow wrap to balanced rows */
.price-cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 1080px; }


/* ---------------- Gallery filters ---------------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.filter-field label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-deep);
}
.filter-field select {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 2rem 0.5rem 0.8rem;
  min-width: 13rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%235e7a93' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 0.7rem;
}
.filter-field select:hover { border-color: var(--blue); }
.filter-reset {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--blue-deep);
  background: none;
  border: none;
  border-bottom: 1px solid var(--blue);
  padding: 0 0 0.15rem;
  margin-bottom: 0.55rem;
  cursor: pointer;
}
.filter-reset:hover { color: var(--ink); border-bottom-color: var(--ink); }
.filter-count {
  font-size: 0.82rem;
  color: var(--blue-deep);
  opacity: 0.85;
  margin: 0 0 0.55rem auto;
}

/* Must out-specify `img { display: block; }` on line 42 — the [hidden]
   attribute alone is not enough to hide a filtered-out tile. */
.gallery-grid img.is-hidden { display: none; }

.gallery-empty {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--pink-bg);
  border-radius: 8px;
  margin-top: 1rem;
}
.price-examples { font-size: 0.82rem; margin: 0.4rem 0 0.2rem; }

@media (max-width: 560px) {
  .gallery-filters { gap: 0.75rem; }
  .filter-field { width: 100%; }
  .filter-field select { width: 100%; min-width: 0; }
  .filter-count { margin: 0; width: 100%; }
}
