/* ---------- tokens ---------- */
:root {
  --cream: #fbf3d8;
  --cream-deep: #f5e8b8;
  --paper: #ffffff;
  --ink: #1f2433;
  --ink-soft: #4a5169;
  --blue: #2b5ba9;
  --blue-deep: #1d3f7c;
  --red: #e63946;
  --yellow: #efd91f;
  --yellow-soft: #fbe96a;
  --green: #8bc24a;
  --orange: #f18f01;
  --shadow-sm: 0 4px 14px rgba(31, 36, 51, 0.08);
  --shadow-md: 0 10px 30px rgba(31, 36, 51, 0.12);
  --shadow-lg: 0 24px 60px rgba(31, 36, 51, 0.18);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1180px;
  --gut: clamp(20px, 4vw, 48px);
  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }
button { font: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--ink); color: white; padding: 10px 14px;
  border-radius: 8px; z-index: 100;
}
.skip-link:focus { top: 16px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.section-cream { background: var(--cream); }
.section-light { background: #fdfaf1; }
.section-blue { background: linear-gradient(135deg, #2b5ba9, #1d3f7c); color: #fff; }
.section-blue h2, .section-blue p { color: #fff; }
.section-yellow { background: linear-gradient(135deg, var(--yellow-soft), var(--yellow)); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .lede { font-size: 1.1rem; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 1rem;
  padding: 6px 12px;
  background: rgba(241, 143, 1, 0.12);
  border-radius: 999px;
}
.eyebrow-blue { color: var(--blue); background: rgba(43, 91, 169, 0.12); }
.eyebrow-red { color: var(--red); background: rgba(230, 57, 70, 0.12); }
.eyebrow-yellow { color: #8a7000; background: rgba(239, 217, 31, 0.3); }
.section-blue .eyebrow-yellow { color: var(--yellow); background: rgba(239, 217, 31, 0.18); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(31, 36, 51, 0.06);
}
.header-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--blue); color: #fff;
  border-radius: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem;
  box-shadow: 0 4px 0 var(--blue-deep);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.brand-tag { font-size: 0.78rem; color: var(--ink-soft); }

.nav { display: flex; align-items: center; }
.nav-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 6px; align-items: center;
}
.nav-list a {
  color: var(--ink); padding: 8px 14px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  transition: background 0.15s ease;
}
.nav-list a:hover { background: rgba(43, 91, 169, 0.08); }
.nav-cta {
  background: var(--blue); color: #fff !important;
  padding: 10px 18px !important;
  box-shadow: 0 3px 0 var(--blue-deep);
}
.nav-cta:hover { background: var(--blue-deep) !important; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column; gap: 5px; justify-content: center; align-items: center;
  border-radius: 10px; background: var(--cream);
}
.nav-toggle .bar {
  width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: 1rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--red); color: #fff;
  box-shadow: 0 4px 0 #b62936;
}
.btn-primary:hover {
  background: #d92e3b; color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 0 #b62936;
}
.btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 #b62936; }
.btn-secondary {
  background: transparent; color: var(--ink);
  border: 2px solid currentColor;
}
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--cream);
  padding: clamp(72px, 10vw, 120px) 0 clamp(64px, 9vw, 110px);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: 0.55;
}
.blob-yellow { width: 360px; height: 360px; background: var(--yellow); top: -80px; right: -60px; }
.blob-blue   { width: 320px; height: 320px; background: #88b6f5; bottom: -120px; left: -80px; opacity: 0.4; }
.blob-red    { width: 220px; height: 220px; background: #f7a6ac; top: 40%; left: 35%; opacity: 0.35; }

.hero-wrap {
  position: relative;
  display: grid; gap: clamp(36px, 6vw, 64px);
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}
.hero-title { margin-bottom: 0.6em; }
.highlight {
  position: relative; display: inline-block;
  padding: 0 0.15em;
}
.highlight::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.08em; height: 0.4em;
  border-radius: 6px; z-index: -1;
}
.highlight-yellow::before { background: var(--yellow); }
.highlight-blue { color: var(--blue); }
.highlight-blue::before { background: rgba(43, 91, 169, 0.18); }

.hero-lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 22px 0 28px; }
.hero-checks {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 8px;
  color: var(--ink-soft); font-weight: 600;
}

.hero-art { display: flex; justify-content: center; }
.cover-stage {
  position: relative;
  padding: 32px;
  display: inline-block;
}
.cover-stage::before {
  content: ""; position: absolute; inset: 18px;
  background: var(--paper); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: rotate(-3deg);
}
.cover-img {
  position: relative;
  width: clamp(240px, 28vw, 360px);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
  transition: transform 0.4s ease;
}
.cover-stage:hover .cover-img { transform: rotate(0deg) scale(1.02); }
.badge {
  position: absolute; right: -12px; bottom: 12px;
  background: var(--blue); color: #fff;
  padding: 10px 16px; border-radius: 999px;
  font-weight: 700; font-size: 0.9rem;
  box-shadow: 0 4px 0 var(--blue-deep);
  transform: rotate(-4deg);
}

/* ---------- two col ---------- */
.two-col {
  display: grid; gap: clamp(36px, 6vw, 80px);
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.two-col.reverse .col-art { order: 2; }
.rounded-art {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: #fff;
}
.lift { transition: transform 0.3s ease; }
.lift:hover { transform: translateY(-4px); }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill {
  padding: 8px 16px; border-radius: 999px;
  font-weight: 700; font-size: 0.9rem;
}
.pill-yellow { background: var(--yellow); color: var(--ink); }
.pill-blue { background: var(--blue); color: #fff; }
.pill-red { background: var(--red); color: #fff; }
.pill-green { background: var(--green); color: #fff; }

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}
.g-item {
  margin: 0; overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.g-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.g-item img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* ---------- about ---------- */
.author-frame {
  position: relative;
  display: inline-block;
  padding: 14px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}
.author-photo {
  width: clamp(240px, 26vw, 320px);
  border-radius: 12px;
  display: block;
}
.author-name {
  text-align: center; font-family: var(--font-display);
  font-weight: 700; margin-top: 12px; color: var(--ink);
  font-size: 1.1rem;
}
.section-blue .quote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  border-left: 4px solid var(--yellow);
  padding-left: 18px;
  font-style: italic;
  margin-top: 28px;
}

/* ---------- cards ---------- */
.cards {
  display: grid; gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 40px;
}
.card {
  background: #fff;
  padding: 32px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--cream-deep);
}
.card-icon {
  display: inline-grid; place-items: center;
  width: 64px; height: 64px;
  background: var(--cream); border-radius: 50%;
  font-size: 2rem; margin-bottom: 16px;
}
.card h3 { color: var(--blue); }
.card p { color: var(--ink-soft); margin: 0; }
.visits-cta { text-align: center; }

/* ---------- reviews ---------- */
.quotes {
  display: grid; gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
.quote-card {
  margin: 0; background: #fff;
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  border-top: 4px solid var(--yellow);
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote-card:nth-child(6n+2) { border-top-color: var(--blue); }
.quote-card:nth-child(6n+3) { border-top-color: var(--red); }
.quote-card:nth-child(6n+4) { border-top-color: var(--green); }
.quote-card:nth-child(6n+5) { border-top-color: var(--orange); }
.quote-card:nth-child(6n)   { border-top-color: var(--blue-deep); }
.quote-card p {
  font-family: var(--font-display);
  font-size: 1.05rem; color: var(--ink);
  margin: 0 0 18px;
  line-height: 1.45;
  flex-grow: 1;
}
.quote-card::before {
  content: "\201C";
  position: absolute; top: 6px; right: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem; line-height: 1;
  color: rgba(31, 36, 51, 0.08);
  pointer-events: none;
}
.quote-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 800;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(31, 36, 51, 0.06);
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.quote-card:nth-child(6n+1) .quote-tag { background: rgba(239, 217, 31, 0.25); color: #8a7000; }
.quote-card:nth-child(6n+2) .quote-tag { background: rgba(43, 91, 169, 0.12); color: var(--blue); }
.quote-card:nth-child(6n+3) .quote-tag { background: rgba(230, 57, 70, 0.12); color: var(--red); }
.quote-card:nth-child(6n+4) .quote-tag { background: rgba(139, 194, 74, 0.18); color: #4d7a1f; }
.quote-card:nth-child(6n+5) .quote-tag { background: rgba(241, 143, 1, 0.15); color: var(--orange); }
.quote-card:nth-child(6n)   .quote-tag { background: rgba(29, 63, 124, 0.12); color: var(--blue-deep); }

.quote-card footer {
  font-size: 0.9rem; color: var(--ink-soft);
  display: flex; flex-direction: column; gap: 2px;
  border-top: 1px solid rgba(31, 36, 51, 0.06);
  padding-top: 14px;
}
.reviewer-name { font-weight: 800; color: var(--ink); }
.reviewer-role { font-weight: 600; font-size: 0.82rem; }

/* ---------- order ---------- */
.order-grid {
  display: grid; gap: clamp(36px, 6vw, 64px);
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}
.order-art img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}
.section-yellow .eyebrow {
  background: rgba(31, 36, 51, 0.1); color: var(--ink);
}
.price-card {
  background: #fff; padding: 24px;
  border-radius: var(--radius);
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  margin: 24px 0;
  box-shadow: var(--shadow-md);
}
.price { display: flex; flex-direction: column; line-height: 1; }
.price-amount {
  font-family: var(--font-display); font-weight: 700;
  font-size: 2.6rem; color: var(--red);
}
.price-note { color: var(--ink-soft); font-size: 0.92rem; margin-top: 4px; }
.price-actions {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.secure-note {
  font-size: 0.82rem; color: var(--ink-soft); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.retailers-head { font-weight: 700; margin-bottom: 12px; }
.retailer-row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.retailer {
  display: flex; flex-direction: column;
  background: rgba(255, 255, 255, 0.6);
  padding: 16px 20px; border-radius: var(--radius);
  color: var(--ink); border: 2px solid rgba(31, 36, 51, 0.08);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.retailer:hover {
  background: #fff; border-color: var(--blue);
  color: var(--ink);
}
.retailer-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.retailer-tag { font-size: 0.85rem; color: var(--ink-soft); margin-top: 2px; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid; gap: clamp(36px, 6vw, 64px);
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
.contact-form {
  background: #fff; padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: grid; gap: 16px;
}
.contact-form label { display: grid; gap: 6px; font-weight: 700; font-size: 0.9rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  padding: 12px 14px;
  border: 2px solid #e6e2d3;
  border-radius: 12px;
  background: #fdfaf1;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
}
.contact-form button { justify-self: start; margin-top: 6px; }
.contact-form button:disabled {
  opacity: 0.7; cursor: not-allowed;
  transform: none; box-shadow: 0 4px 0 #b62936;
}
.form-note {
  padding: 12px 16px; border-radius: 12px;
  margin: 0; font-weight: 600; line-height: 1.4;
}
.form-note-success {
  background: var(--green); color: #fff;
}
.form-note-error {
  background: #fdecee; color: var(--red);
  border: 2px solid #f7c8cd;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink); color: #cdd2e0;
  padding: 48px 0 32px;
}
.footer-wrap {
  display: grid; gap: 24px;
  grid-template-columns: 1fr auto;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-name { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.footer-tag { font-size: 0.88rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { color: #cdd2e0; font-weight: 600; }
.footer-nav a:hover { color: #fff; }
.footer-fine {
  grid-column: 1 / -1;
  font-size: 0.82rem; color: #8a91a8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px; margin: 8px 0 0;
  text-align: center;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-list {
    position: absolute; top: 100%; right: var(--gut); left: var(--gut);
    background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    flex-direction: column; align-items: stretch;
    padding: 12px; gap: 4px;
    transform-origin: top right; transform: scale(0.96); opacity: 0;
    pointer-events: none; transition: opacity 0.15s ease, transform 0.15s ease;
  }
  .nav-list.open { opacity: 1; transform: scale(1); pointer-events: auto; }
  .nav-list a { padding: 12px 16px; }
  .nav-cta { text-align: center; }

  .hero-wrap, .two-col, .two-col.reverse, .order-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .two-col.reverse .col-art { order: 0; }
  .hero-art { margin-top: 8px; }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .g-tall { grid-row: span 1; }
  .g-wide { grid-column: span 2; }
  .cards, .quotes { grid-template-columns: 1fr; }
  .footer-wrap { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-nav { justify-content: center; }
}

@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .g-wide { grid-column: span 1; }
  .retailer-row { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
}

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