/* ============================================================
   S.K. Lawn Care — styles.css
   Design tokens + all component styles.
   Ported from the Claude Design Canvas homepage; keep values in
   sync with this file only (do not reintroduce inline styles).
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Forest greens */
  --forest-900: #10281B; /* darkest — dark section backgrounds */
  --ink:        #16211B; /* near-black body text */
  --forest-700: #1C5638; /* deep green — logo, strong accents */
  --forest-600: #2E7D4F; /* primary green — buttons, links */
  --forest-500: #3E9B63; /* lighter green — hover, accents on dark */

  /* Warm neutrals */
  --cream-bg:   #F5F1E6; /* page background */
  --cream-card: #FBF9F2; /* cards, light text on dark */
  --border:     #DED8C6; /* hairline borders */
  --muted:      #5E6B60; /* muted body text */

  /* Accent */
  --gold: #C9A24B; /* rare accent only */

  /* Light-on-dark text */
  --on-dark:        rgba(251, 249, 242, 1);
  --on-dark-soft:   rgba(251, 249, 242, 0.68);
  --on-dark-softer: rgba(251, 249, 242, 0.62);
  --on-dark-faint:  rgba(251, 249, 242, 0.45);
  --on-dark-line:   rgba(251, 249, 242, 0.10);

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1220px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-btn: 0 6px 16px rgba(46, 125, 79, 0.28);
  --shadow-btn-lg: 0 8px 22px rgba(46, 125, 79, 0.30);
  --shadow-card: 0 4px 14px rgba(16, 40, 27, 0.05);
  --shadow-card-hover: 0 12px 28px rgba(16, 40, 27, 0.10);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Keep sticky-header-anchored jumps (#book, skip link) clear of the bar. */
  scroll-padding-top: 84px;
  /* Never let a phone rubber-band sideways from a stray wide element. */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream-bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* clip (not hidden) so horizontal overflow is contained WITHOUT turning
     body into a scroll container, which would break the sticky header. */
  overflow-x: clip;
}

a { color: var(--forest-600); }
a:hover { color: var(--forest-500); }

img, svg { max-width: 100%; }

::selection { background: var(--forest-600); color: var(--cream-card); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--forest-500);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--forest-600);
  color: var(--cream-card);
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
  color: var(--cream-card);
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section { padding: clamp(56px, 8vw, 112px) 24px; }
.section > .container { padding-left: 0; padding-right: 0; }

.section--dark { background: var(--forest-900); }

/* Shared section intro (eyebrow + heading + lead) */
.section-head { max-width: 640px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest-600);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2.5px;
  background: var(--gold);
  border-radius: 2px;
}
.eyebrow--on-dark { color: var(--forest-500); }

.h1 {
  font-family: var(--font-display);
  font-weight: 600;
  /* Floor lowered so it actually shrinks on small phones (was 2.6rem). */
  font-size: clamp(2.15rem, 7vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 18px 0 0;
  color: var(--ink);
  overflow-wrap: break-word; /* guard against a long word overflowing narrow screens */
}
.h1 em { font-style: italic; color: var(--forest-600); }

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 16px 0 0;
  color: var(--ink);
}
.h2--on-dark { color: var(--cream-card); }

.lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin: 18px 0 0;
}
.lead--on-dark { color: var(--on-dark-soft); max-width: 50ch; }

.text-link {
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  color: var(--forest-600);
}
.text-link:hover { color: var(--forest-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
  font-family: inherit;
}

.btn--primary {
  background: var(--forest-600);
  color: var(--cream-card);
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover {
  transform: translateY(-2px);
  background: var(--forest-500);
  color: var(--cream-card);
}

.btn--outline {
  background: transparent;
  color: var(--forest-700);
  border-color: var(--forest-700);
}
.btn--outline:hover { background: var(--forest-700); color: var(--cream-bg); }

/* sizes */
.btn--sm { font-size: 15px; padding: 12px 22px; }
.btn--md { font-size: 16.5px; padding: 16px 30px; }
.btn--md.btn--outline { padding: 14.5px 28px; }
.btn--lg { font-size: 16.5px; padding: 16px 32px; box-shadow: var(--shadow-btn-lg); }
.btn--block { display: block; text-align: center; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(245, 241, 230, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark { flex: none; }
.brand-text { display: flex; flex-direction: column; gap: 1px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-sub { font-size: 11px; color: var(--muted); letter-spacing: 0.02em; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-link {
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}
.nav-link:hover { color: var(--forest-600); }
.nav-link[aria-current="page"] { color: var(--forest-600); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.phone-link {
  text-decoration: none;
  color: var(--forest-700);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 9px 11px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--forest-700);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--cream-card);
  padding: 14px 24px 20px;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav .nav-link { font-weight: 600; font-size: 17px; padding: 10px 4px; }
.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.mobile-nav-actions .phone-link { text-align: center; font-size: 16px; }

/* Header responsive: swap desktop nav for the hamburger */
@media (max-width: 919px) {
  .main-nav,
  .header-actions { display: none; }
  .nav-toggle { display: flex; }
}

/* Phones: stack paired CTAs full-width for easy thumb targets, and give
   the menu button a ~44px hit area. */
@media (max-width: 560px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .nav-toggle { padding: 12px 12px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }

.hero-watermark {
  position: absolute;
  right: -180px;
  top: -140px;
  opacity: 0.05;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 24px clamp(56px, 8vw, 104px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}
.hero-copy { flex: 1 1 480px; min-width: min(100%, 320px); }
.hero-copy .lead { max-width: 56ch; font-size: clamp(17px, 1.4vw, 19px); }
.hero-copy .h1 { font-size: clamp(2.15rem, 7vw, 4.6rem); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 24px 0 0;
  font-size: 14.5px;
  color: var(--muted);
}

.hero-media {
  flex: 1 1 340px;
  max-width: 470px;
  min-width: min(100%, 300px);
  position: relative;
}
.hero-photo {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(16, 40, 27, 0.16);
  background: var(--cream-card);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-badge {
  position: absolute;
  left: -18px;
  bottom: 26px;
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(16, 40, 27, 0.14);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 250px;
}
.hero-badge svg { flex: none; }
.hero-badge-text { display: flex; flex-direction: column; gap: 2px; }
.hero-badge-title { font-weight: 700; font-size: 14px; color: var(--ink); }
.hero-badge-sub { font-size: 12.5px; color: var(--muted); }

/* ---------- Seasons strip ---------- */
.seasons {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--border);
}
.seasons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
}
.seasons-pair {
  flex: 1 1 480px;
  min-width: min(100%, 440px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1px;
}
.season-card {
  background: var(--cream-card);
  padding: clamp(28px, 3.5vw, 44px) clamp(22px, 3vw, 36px);
}
.season-tag {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.season-dot { width: 10px; height: 10px; border-radius: 2px; }
.season-dot--spring { background: var(--forest-500); }
.season-dot--summer { background: var(--forest-600); }
.season-dot--fall   { background: var(--gold); }
.season-dot--winter { background: var(--forest-700); }
.season-title { margin: 14px 0 6px; font-weight: 700; font-size: 17px; color: var(--ink); }
.season-desc { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* ---------- Cards / service grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
  gap: 20px;
  margin-top: 44px;
}

.card {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(46, 125, 79, 0.12);
}
.card-title { margin: 16px 0 6px; font-weight: 700; font-size: 17.5px; color: var(--ink); }
.card-text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Photo-led service card: full-bleed image on top, label beneath. */
.service-card { padding: 0; overflow: hidden; }
.service-photo {
  aspect-ratio: 4 / 3;
  background: var(--cream-bg);
  border-bottom: 1px solid var(--border);
}
.service-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-card .card-title { margin: 0; padding: 18px 22px 20px; }

/* ---------- Why us (dark) ---------- */
.split {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(36px, 5vw, 80px);
  align-items: flex-start;
}
.split-col { flex: 1 1 400px; min-width: min(100%, 300px); }
.feature-list { display: flex; flex-direction: column; gap: 26px; }

.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(62, 155, 99, 0.18);
}
.feature-text { display: flex; flex-direction: column; gap: 3px; }
.feature-title { font-weight: 700; font-size: 17px; color: var(--cream-card); }
.feature-desc { font-size: 15px; line-height: 1.55; color: var(--on-dark-softer); }

/* ---------- Embed slot (GHL calendar / reviews) ---------- *
   Dashed placeholder box. To go live: paste the GHL embed inside
   the element, then add the class "is-live" — this hides the
   placeholder chrome and shows the embed full-width.            */
.embed-slot {
  margin-top: 40px;
  background: var(--cream-card);
  border: 1.5px dashed var(--border);
  border-radius: 14px;
  padding: clamp(48px, 6vw, 80px) 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.embed-slot.is-live {
  border: 0;
  background: transparent;
  padding: 0;
  display: block;
  text-align: left;
}
.embed-slot.is-live .embed-placeholder { display: none; }

.embed-stars { display: flex; gap: 6px; }
.embed-title { margin: 0; font-weight: 700; font-size: 17px; color: var(--ink); }
.embed-hint {
  margin: 0;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- CTA band (dark) ---------- */
.cta-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cta-inner .h2 { text-wrap: pretty; }

/* ---------- Contact / form ---------- */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(36px, 5vw, 64px);
  align-items: flex-start;
  margin-top: 44px;
}
.contact-main { flex: 1 1 460px; min-width: min(100%, 320px); }
.contact-aside { flex: 1 1 300px; min-width: min(100%, 280px); }

.info-card {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 24px;
}
.info-card + .info-card { margin-top: 20px; }
.info-label {
  margin: 0 0 6px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest-600);
}
.info-row { display: flex; flex-direction: column; gap: 8px; font-size: 15.5px; color: var(--ink); }
.info-row a { text-decoration: none; font-weight: 600; }

.form { display: grid; gap: 18px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.field .req { color: var(--forest-600); }
.input, .textarea, .select {
  font-family: inherit;
  font-size: 16px; /* >=16px stops iOS Safari from auto-zooming on focus */
  color: var(--ink);
  background: var(--cream-card);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
}
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--forest-500);
  outline: none;
}
.textarea { resize: vertical; min-height: 120px; }
.field-hint { font-size: 13px; color: var(--muted); }

/* Form placed on a dark section (contact page): the inputs are cream, but the
   labels/hint sit directly on dark — lift them so they aren't dark-on-dark. */
.section--dark .field label { color: var(--cream-card); }
.section--dark .field .req { color: var(--forest-500); }
.section--dark .field-hint { color: var(--on-dark-soft); }

.form-status {
  display: none;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
}
.form-status.is-visible { display: block; }
.form-status.is-success {
  background: rgba(46, 125, 79, 0.12);
  color: var(--forest-700);
  border: 1px solid rgba(46, 125, 79, 0.3);
}
.form-status.is-error {
  background: rgba(179, 38, 30, 0.08);
  color: #b3261e;
  border: 1px solid rgba(179, 38, 30, 0.3);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-900);
  border-top: 1px solid var(--on-dark-line);
  padding: clamp(48px, 6vw, 72px) 24px 32px;
}
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(36px, 5vw, 80px);
}
.footer-brand { flex: 2 1 320px; min-width: min(100%, 280px); }
.footer-brand-row { display: flex; align-items: center; gap: 12px; }
.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--cream-card);
}
.footer-brand-text {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--on-dark-soft);
  max-width: 40ch;
}
.footer-col { flex: 1 1 160px; }
.footer-col--wide { flex: 1 1 200px; }
.footer-col-label {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest-500);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a,
.footer-contact a {
  text-decoration: none;
  font-size: 15px;
  color: var(--on-dark-soft);
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--cream-card); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: var(--on-dark-soft);
}
.footer-bottom {
  max-width: var(--maxw);
  margin: clamp(36px, 5vw, 56px) auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--on-dark-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: var(--on-dark-faint);
}

/* ---------- Page header (interior pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 7vw, 88px) 24px clamp(40px, 5vw, 60px);
}
.page-hero .container { position: relative; }
.page-hero .lead { max-width: 60ch; }

/* ---------- Scroll reveal ---------- */
@keyframes skRise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
[data-reveal].pre { opacity: 0; }
[data-reveal].on { animation: skRise 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }
  .btn, .card { transition: none !important; }
}

/* ---------- Service detail (services page) ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr; /* single column: 4 services stack as 4 rows */
  gap: 20px;
  margin-top: 44px;
}
.detail {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
}
.detail .icon-badge { width: 52px; height: 52px; }
.detail-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  margin: 18px 0 8px;
}
.detail-text { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }

.checklist {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(46, 125, 79, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232E7D4F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Prose (about / story page) ---------- */
.prose { max-width: 62ch; }
.prose p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 18px;
}
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 700; }

.story-media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(16, 40, 27, 0.14);
  background: var(--cream-card);
}
.story-media img { width: 100%; height: auto; display: block; }

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 56px);
  margin-top: 40px;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--forest-600);
  line-height: 1;
}
.stat-label { margin-top: 6px; font-size: 14.5px; color: var(--muted); }

/* ---------- Community email popup (timed lead capture) ---------- */
.sk-pop-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(16, 40, 27, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0s linear 0.28s;
}
.sk-pop-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.28s ease, visibility 0s linear 0s;
}

.sk-pop {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--cream-card);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(16, 40, 27, 0.35);
  padding: 40px 32px 30px;
  text-align: center;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.sk-pop-backdrop.is-open .sk-pop { transform: none; }

/* Seasonal accent bar — the four-season palette in one stroke. */
.sk-pop::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: linear-gradient(90deg, #3E9B63, #2E7D4F, #C9A24B, #1C5638);
}

.sk-pop-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  background: rgba(16, 40, 27, 0.06);
  color: var(--ink);
  transition: background 0.15s ease;
}
.sk-pop-close:hover { background: rgba(16, 40, 27, 0.12); }

.sk-pop-badge {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(46, 125, 79, 0.12);
}
.sk-pop-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 4.5vw, 2.1rem);
  line-height: 1.12;
  color: var(--ink);
  margin: 0;
}
.sk-pop-text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  margin: 12px auto 0;
  max-width: 34ch;
}
.sk-pop-form { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.sk-pop-form .input { text-align: left; } /* parent is centered; keep the field LTR */
.sk-pop-error {
  color: #b3261e;
  font-size: 13.5px;
  margin: 2px 0 0;
  min-height: 1.1em;
}
.sk-pop-fine { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; }

.sk-pop-success { display: none; flex-direction: column; align-items: center; gap: 10px; }
.sk-pop.is-success .sk-pop-main { display: none; }
.sk-pop.is-success .sk-pop-success { display: flex; }
.sk-pop-success .sk-pop-text { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  .sk-pop-backdrop { transition: opacity 0.001s; }
  .sk-pop { transition: none; transform: none; }
}

/* Small utilities used sparingly */
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.stack-sm { display: flex; flex-direction: column; gap: 3px; }
