/* ==========================================================================
   Handy Lady LLC — design tokens
   Warm dark theme: soft dark backgrounds (not pure black), soft off-white
   text (not pure white) to reduce glare, generous line-height and spacing
   for easier reading.
   ========================================================================== */
:root {
  /* color */
  --bg: #211E2C;
  --surface: #2B2740;
  --surface-alt: #332C4A;
  --ink: #F1ECFA;
  --ink-soft: #C9BFE0;
  --brand: #B79FE0;
  --brand-dark: #5C4B78;
  --brand-deep: #423655;
  --amber: #F0B15B;
  --amber-dark: #D89440;
  --line: #453D5E;
  --line-soft: #362F49;

  /* type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Atkinson Hyperlegible", "Work Sans", Arial, Helvetica, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  /* layout */
  --max: 1080px;
  --radius: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.75;
  letter-spacing: .01em;
}

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

a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--amber); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  margin: 0 0 .55em;
  color: var(--ink);
}

p {
  margin: 0 0 1.1em;
  max-width: 68ch;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
  display: block;
  margin-bottom: 12px;
}

/* ==========================================================================
   Nav
   ========================================================================== */
.site-header {
  background: #000000;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

nav {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
}

.brand img { height: 90px; width: auto; border-radius: 6px; }
@media (min-width: 761px) {
  .brand img { height: 113px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 8px 12px;
  border-radius: 6px;
}

.nav-links a:hover {
  color: var(--amber);
  background: var(--line-soft);
}

.nav-links .cta {
  background: var(--amber);
  color: #2B1B00;
}
.nav-links .cta:hover { background: var(--amber-dark); color: #2B1B00; }

.nav-toggle {
  display: none;
  background: var(--surface-alt);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 1.1rem;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 24px 40px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; text-align: center; }
  .hero-art { order: -1; margin: 0 auto; max-width: 260px; }
  .hero p { margin-left: auto; margin-right: auto; }
}

.hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }

.hero .tagline {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-art {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}

.button {
  display: inline-block;
  margin-top: 10px;
  background: var(--brand-dark);
  color: #FFFFFF;
  padding: 16px 34px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  min-width: 240px;
  text-align: center;
}
.button:hover { background: var(--brand-deep); color: #FFFFFF; }

.button.secondary {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand);
}
.button.secondary:hover { background: var(--line-soft); color: var(--brand); }

.button-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
@media (max-width: 760px) { .button-row { justify-content: center; } }

/* ==========================================================================
   Sections / generic
   ========================================================================== */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px;
}

.section-head { max-width: 60ch; margin-bottom: 16px; }
.section-head.center { max-width: 60ch; margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center p { margin-left: auto; margin-right: auto; }

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 8px;
}

/* accent band — a warm purple wash to separate this section from the page,
   without ever going back to a bright white panel */
.strip {
  background: #4D3C54;
  color: var(--ink);
}
.strip .eyebrow { color: var(--amber); }
.strip .section-head p { color: #E2D6F7; }
.strip .card {
  background: #2B2740;
  border: 1px solid #463C63;
}
.strip .card h3 { color: #F4EFFF; }
.strip .card p { color: #CBBFEA; }

/* card grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 0; }

/* tool tag chips used on services page */
.tag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li {
  font-family: var(--font-mono);
  font-size: .82rem;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  color: var(--brand);
  padding: 5px 10px;
  border-radius: 100px;
}

/* ==========================================================================
   Work-order ticket (rates page signature element)
   ========================================================================== */
.ticket {
  background: var(--surface);
  border: 1.5px dashed var(--brand);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}

.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px dashed var(--brand);
  top: 50%;
  transform: translateY(-50%);
}
.ticket::before { left: -12px; }
.ticket::after { right: -12px; }

.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 14px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  color: var(--ink-soft);
}

.ticket-rate {
  font-family: var(--font-mono);
  font-size: 2.6rem;
  color: var(--brand);
}
.ticket-rate span { font-size: 1rem; color: var(--ink-soft); }

.line-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: .98rem;
}
.line-item:last-child { border-bottom: none; }
.line-item dt { color: var(--ink); font-weight: 600; }
.line-item dd { margin: 0; color: var(--ink-soft); text-align: right; }

/* schedule table */
.schedule { width: 100%; border-collapse: collapse; font-size: .98rem; }
.schedule th, .schedule td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.schedule th { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }

/* faq */
details.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
}
details.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--ink);
}
details.faq-item summary::marker { color: var(--brand); }
details.faq-item p { margin-top: 12px; color: var(--ink-soft); }

/* gallery */
.gallery-empty {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  padding: 60px 24px;
  text-align: center;
  color: var(--ink-soft);
  background: var(--surface);
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.contact-card .eyebrow { margin-bottom: 6px; }
.contact-card a.button { margin-top: 14px; }

.note {
  font-size: .9rem;
  color: var(--ink-soft);
  background: var(--surface-alt);
  border-left: 3px solid var(--amber);
  padding: 10px 16px;
  border-radius: 0 8px 8px 0;
  margin-top: 18px;
}

/* footer */
footer {
  border-top: 1px solid var(--line);
  padding: 30px 24px;
  text-align: center;
  color: var(--ink-soft);
  font-size: .9rem;
}
footer a { color: var(--ink-soft); }

/* ==========================================================================
   Accessibility helpers
   ========================================================================== */
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

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