/* ============================================================
   slugworth.org — cream & aubergine, golden ticket edition
   ============================================================ */

:root {
  --aubergine: #2d1b4e;
  --aubergine-deep: #221238;
  --plum: #4a2c7a;
  --gold: #e8b34b;
  --gold-soft: #f4d68a;
  --cream: #faf3e3;
  --cream-dark: #efe3c8;
  --ink-text: #3b2a1d;
  --muted: #7a6a58;
  --white: #fffdf7;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(45, 27, 78, 0.14);
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  color: var(--ink-text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

img { max-width: 100%; display: block; }
a { color: var(--plum); }

.container { width: min(var(--maxw), 92%); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--gold); color: var(--aubergine-deep);
  padding: 0.6rem 1rem; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ============ HEADER / NAV ============ */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(45, 27, 78, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(232, 179, 75, 0.25);
}

.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: flex; align-items: baseline; gap: 0.45rem;
  color: var(--cream); text-decoration: none;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700;
}
.brand-mark { color: var(--gold); font-size: 1.1rem; }
.brand-dot { color: var(--gold); }

.site-nav ul { display: flex; gap: 1.6rem; list-style: none; align-items: center; }
.site-nav a {
  color: var(--cream); text-decoration: none; font-size: 0.95rem;
  font-weight: 500; opacity: 0.85; transition: opacity 0.15s;
}
.site-nav a:hover { opacity: 1; color: var(--gold-soft, var(--gold)); }

.nav-cta {
  background: var(--gold); color: var(--aubergine-deep) !important;
  padding: 0.45rem 1.1rem; border-radius: 999px; font-weight: 600; opacity: 1 !important;
}
.nav-cta:hover { background: var(--gold-soft, #f2c96a); }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(232,179,75,.4);
  border-radius: 8px; padding: 0.5rem 0.6rem; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--gold); margin: 4px 0;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  background: var(--aubergine-deep);
  border-top: 1px solid rgba(232,179,75,.2);
}
.mobile-menu ul { list-style: none; padding: 0.6rem 0; }
.mobile-menu a {
  display: block; color: var(--cream); text-decoration: none;
  padding: 0.8rem 6%; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu li:last-child a { border-bottom: none; }

/* ============ HERO ============ */

.hero {
  position: relative;
  background: radial-gradient(120% 90% at 50% 0%, var(--aubergine) 0%, var(--aubergine-deep) 65%);
  color: var(--cream);
  padding: 10rem 0 5.5rem;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.16;
  background-image:
    radial-gradient(2px 2px at 12% 22%, var(--gold) 45%, transparent 50%),
    radial-gradient(3px 3px at 78% 35%, var(--gold) 45%, transparent 50%),
    radial-gradient(2px 2px at 24% 68%, var(--gold-soft, #f0d68a) 45%, transparent 50%),
    radial-gradient(2px 2px at 88% 75%, var(--gold) 45%, transparent 50%),
    radial-gradient(2px 2px at 42% 15%, var(--gold-soft, #f0d68a) 45%, transparent 50%),
    radial-gradient(3px 3px at 64% 82%, var(--gold) 45%, transparent 50%),
    radial-gradient(2px 2px at 33% 48%, var(--gold) 45%, transparent 50%),
    radial-gradient(2px 2px at 90% 12%, var(--gold-soft, #f0d68a) 45%, transparent 50%);
  background-size: 320px 320px;
  animation: twinkle 6s ease-in-out infinite alternate;
}

@keyframes twinkle { from { opacity: 0.12; } to { opacity: 0.22; } }

.hero-inner { position: relative; max-width: 760px; }

.hero-kicker {
  color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase;
  font-size: 0.8rem; font-weight: 600; margin-bottom: 1.2rem;
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 4.3rem);
  color: var(--white); margin-bottom: 1rem;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem); max-width: 34em; margin: 0 auto 2rem;
  color: var(--cream-dark);
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-quote {
  margin: 2.6rem auto 0; max-width: 30em;
  font-family: var(--font-display); font-style: italic;
  color: var(--gold-soft, #f0d68a); font-size: 1.05rem;
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-block; padding: 0.75rem 1.6rem; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 0.98rem;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  border: 2px solid transparent; cursor: pointer;
}
.btn-gold {
  background: var(--gold); color: var(--aubergine-deep);
  box-shadow: 0 6px 18px rgba(232, 179, 75, 0.35);
}
.btn-gold:hover { background: var(--gold-soft, #f0c96a); transform: translateY(-2px); }
.btn-ghost {
  border-color: rgba(240, 214, 138, 0.5); color: var(--cream-dark);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--gold); }

/* ============ SECTIONS ============ */

.section { padding: 5.5rem 0; scroll-margin-top: 70px; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem;
  font-weight: 600; color: var(--plum); margin-bottom: 0.7rem;
}

.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--aubergine); margin-bottom: 0.8rem; }

.section-lede { color: var(--muted); }

/* alternate band tint */
.services { background: var(--cream-dark); }
.hobbies { background: var(--cream); }
.links   { background: var(--aubergine-deep); color: var(--cream); }
.links .eyebrow { color: var(--gold); }
.links .section-lede { color: rgba(255,253,247,0.75); }
.links .section-head h2 { color: var(--white); }

/* ============ ABOUT ============ */

.about-grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem;
  max-width: 900px; margin: 0 auto; align-items: start;
}

.about-card {
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow);
}
.about-card p + p { margin-top: 1rem; }

.about-facts h3 { font-size: 1.25rem; color: var(--aubergine); margin-bottom: 1rem; }
.about-facts ul { list-style: none; }
.about-facts li {
  padding: 0.55rem 0; border-bottom: 1px dashed var(--cream-dark);
  font-size: 0.98rem;
}
.about-facts li:last-child { border-bottom: none; }
.about-facts li span { color: var(--plum); font-weight: 600; }

/* ============ CARDS (services + hobbies) ============ */

.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem; max-width: 1000px; margin: 0 auto;
}

.service-card, .hobby-card {
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: var(--radius); padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow);
  /* golden ticket vibe: subtle gold top edge */
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s;
}
.service-card::before, .hobby-card::before {
  content: ""; position: absolute; top: 0; left: 1.4rem; right: 1.4rem;
  height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-soft), var(--gold));
  border-radius: 0 0 4px 4px;
}
.service-card:hover, .hobby-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(45,27,78,0.2); }

.card-icon { font-size: 1.8rem; display: inline-block; margin-bottom: 0.7rem; }

.service-card h3, .hobby-card h3 {
  font-size: 1.25rem; color: var(--aubergine); margin-bottom: 0.6rem;
}

.service-card p, .hobby-card p { color: var(--muted); font-size: 0.96rem; }

.card-list { list-style: none; margin-top: 1rem; }
.card-list li {
  padding: 0.35rem 0 0.35rem 1.4rem; position: relative;
  font-size: 0.92rem; color: var(--ink-text);
}
.card-list li::before {
  content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: 0.85rem;
}

/* ============ HOBBIES ============ */

.hobby-tag {
  display: inline-block; background: rgba(232,179,75,0.18); color: var(--plum);
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.25rem 0.7rem; border-radius: 999px; margin-bottom: 0.9rem;
}

/* ============ FEATURED SERVICE (Sweetspot) ============ */

.featured-card {
  position: relative;
  display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap;
  max-width: 1000px; margin: 0 auto 2.6rem; padding: 2rem 2.2rem;
  background: linear-gradient(135deg, var(--aubergine-deep) 0%, var(--aubergine) 75%);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(45, 27, 78, 0.3);
  text-decoration: none; color: var(--cream);
  transition: transform 0.18s, box-shadow 0.18s;
}
.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(45, 27, 78, 0.38);
}

.featured-flag {
  position: absolute; top: -0.85rem; left: 1.8rem;
  background: var(--gold); color: var(--aubergine-deep);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.28rem 0.85rem; border-radius: 999px;
}

.featured-icon { font-size: 2.5rem; line-height: 1; }

.featured-text { flex: 1 1 320px; }
.featured-text h3 {
  font-family: var(--font-display); font-size: 1.55rem;
  color: var(--white); margin-bottom: 0.35rem;
}
.featured-text p { color: var(--cream-dark); font-size: 0.98rem; }

.featured-cta {
  background: var(--gold); color: var(--aubergine-deep);
  font-weight: 600; font-size: 0.95rem;
  padding: 0.75rem 1.5rem; border-radius: 999px; white-space: nowrap;
}
.featured-card:hover .featured-cta { background: var(--gold-soft); }

@media (max-width: 640px) {
  .featured-card { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ============ LINKS ============ */

.links-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem; max-width: 860px; margin: 0 auto;
}

.link-card {
  display: flex; flex-direction: column; gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(232,179,75,0.35);
  border-radius: var(--radius); padding: 1.7rem 1.6rem;
  text-decoration: none; color: var(--cream);
  transition: background 0.18s, transform 0.18s, border-color 0.18s;
}
.link-card:hover {
  background: rgba(255,255,255,0.12); transform: translateY(-4px);
  border-color: var(--gold);
}
.link-icon {
  color: var(--gold); line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
}
.link-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--white); }
.link-desc { font-size: 0.9rem; color: rgba(255,253,247,0.65); }

/* ============ CONTACT ============ */

.contact { background: var(--cream); }

.contact-wrap {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem;
  max-width: 940px; margin: 0 auto;
}

.contact-text h2 { font-size: clamp(1.9rem, 4vw, 2.4rem); color: var(--aubergine); margin-bottom: 0.8rem; }
.contact-text p { color: var(--muted); margin-bottom: 1.6rem; }

.contact-form {
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 0.35rem;
}
.contact-form label { font-weight: 600; font-size: 0.9rem; color: var(--aubergine); margin-top: 0.5rem; }
.contact-form input, .contact-form textarea {
  font: inherit; padding: 0.7rem 0.9rem; border: 1px solid var(--cream-dark);
  border-radius: 8px; background: var(--cream); color: var(--ink-text);
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold);
}
.contact-form .btn { align-self: flex-start; margin-top: 1rem; border: none; }
.form-note { font-size: 0.82rem; color: var(--muted); }

/* ============ FOOTER ============ */

.site-footer {
  background: var(--aubergine-deep); color: rgba(255,253,247,0.75);
  padding: 3rem 0; text-align: center; font-size: 0.92rem;
}
.footer-inner { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; }
.brand-foot { font-family: var(--font-display); font-size: 1.2rem; color: var(--gold); font-weight: 700; }
.footer-quote { font-family: var(--font-display); font-style: italic; color: var(--gold-soft, rgba(240,214,138,.8)); }

/* ============ RESPONSIVE ============ */

@media (max-width: 860px) {
  .about-grid, .contact-wrap { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .hero { padding-top: 7.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg { animation: none; }
  .service-card:hover, .hobby-card:hover, .link-card:hover, .btn:hover { transform: none; }
}

/* ============ CARE PAGE ============ */

.care-page .site-nav a.active,
.care-page .site-nav a.is-active {
  color: var(--gold-soft, var(--gold));
  opacity: 1;
}

.care-intro { padding: 7.5rem 0 3.5rem; }
.care-intro .section-head { margin-bottom: 0; }

.care-tier {
  display: flex;
  flex-direction: column;
}

.care-tier .price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--aubergine);
  line-height: 1;
  margin: 0.9rem 0 0.2rem;
}
.care-tier .price span {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.care-annual {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 0.8rem;
}
.care-annual em {
  font-style: normal;
  color: var(--plum);
  font-weight: 600;
}

.care-tier .btn {
  align-self: flex-start;
  margin-top: auto;
}

.tier-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 1.1rem;
}
.tier-actions .btn { margin-top: 0; }

.btn-line {
  border-color: var(--plum);
  color: var(--plum);
  background: transparent;
}
.btn-line:hover {
  background: var(--cream-dark);
  color: var(--aubergine);
}

.care-featured { margin-top: 1rem; }

.faq-list details {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.faq-list summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--aubergine);
  font-size: 1.05rem;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: " ✦"; color: var(--gold); }
.faq-list p {
  color: var(--muted);
  font-size: 0.96rem;
  margin-top: 0.6rem;
}

@media (max-width: 860px) {
  .care-intro { padding-top: 7.5rem; }
}