/* Brand: change these to restyle the whole theme */
:root {
  --terracotta: #d9622b;
  --terracotta-dark: #b84d1c;
  --mustard: #f2b134;
  --sage: #7a9e7e;
  --brown: #2e2219;
  --cream: #fbf6ee;
  --paper: #ffffff;
  --sand: #f3e9da;
  --text: #2e2219;
  --muted: #6f5f52;
  --line: #e7dccb;
  --success: #3f7a4a;
  --radius: 18px;
  --font-display: "Bitter", Georgia, serif;
  --font-body: "Karla", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--text); font-family: var(--font-body); font-size: 18px; line-height: 1.65; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.12; margin: 0 0 16px; }
h1 { font-size: clamp(40px, 5.6vw, 66px); }
h2 { font-size: clamp(30px, 3.8vw, 44px); }
h3 { font-size: 22px; }
p { margin: 0 0 16px; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(780px, calc(100% - 40px)); }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--terracotta); color: #fff; padding: 10px 14px; }
.eyebrow { font-weight: 700; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 12px; }
.section-head { max-width: 680px; margin-bottom: 40px; }
section { padding: 88px 0; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; border: 2px solid var(--brown); border-radius: 12px; background: var(--terracotta); color: #fff; font: 700 17px var(--font-body); padding: 12px 26px; text-decoration: none; cursor: pointer; box-shadow: 4px 4px 0 var(--brown); transition: transform 0.15s, box-shadow 0.15s, background 0.2s; }
.button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--brown); background: var(--terracotta-dark); }
.button:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--brown); }
.button-small { min-height: 44px; padding: 8px 18px; font-size: 16px; }
.button-wide { width: 100%; }
.button-ghost { background: var(--paper); color: var(--brown); }
.button-ghost:hover { background: var(--sand); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--cream); border-bottom: 2px solid var(--brown); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; font: 800 26px var(--font-display); text-decoration: none; min-height: 44px; }
.primary-nav { display: flex; align-items: center; gap: 26px; font-weight: 700; font-size: 17px; }
.primary-nav a { text-decoration: none; }
.primary-nav a:not(.button):hover { color: var(--terracotta); }
.primary-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--mustard); text-decoration-thickness: 4px; text-underline-offset: 6px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 2px solid var(--brown); border-radius: 10px; background: var(--paper); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu-toggle span { width: 20px; height: 2px; background: var(--brown); }

/* Hero */
.hero { padding: 72px 0 88px; background: radial-gradient(circle at 90% 20%, rgba(242, 177, 52, 0.35), transparent 40%), var(--cream); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; align-items: center; }
.sticker { display: inline-block; background: var(--mustard); border: 2px solid var(--brown); border-radius: 999px; padding: 6px 16px; font-weight: 700; transform: rotate(-2deg); margin-bottom: 22px; }
.lead { font-size: 20px; color: var(--muted); max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.todo-card { background: var(--paper); border: 2px solid var(--brown); border-radius: var(--radius); padding: 28px; box-shadow: 8px 8px 0 var(--terracotta); transform: rotate(1.5deg); }
.todo-title { font: 800 24px var(--font-display); border-bottom: 2px dashed var(--line); padding-bottom: 12px; }
.todo-list { list-style: none; padding: 0; margin: 0 0 12px; }
.todo-list label { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-weight: 600; }
.todo-list input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tick { width: 22px; height: 22px; flex: none; border: 2px solid var(--brown); border-radius: 6px; background: var(--paper); display: grid; place-items: center; }
.todo-list label:has(input:checked) .tick { background: var(--terracotta); border-color: var(--terracotta); }
.todo-list label:has(input:checked) .tick::after { content: "✓"; color: #fff; font-size: 14px; font-weight: 700; }
.todo-list label:has(input:focus-visible) .tick { outline: 3px solid var(--mustard); }
.todo-list label:has(input:checked) { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--terracotta); }
.todo-foot { margin: 0; font-weight: 700; color: var(--terracotta); }

/* Jobs */
.jobs { background: var(--paper); border-top: 2px solid var(--brown); border-bottom: 2px solid var(--brown); }
.job-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.job-grid article { background: var(--cream); border: 2px solid var(--brown); border-radius: var(--radius); padding: 26px; }
.job-grid p { color: var(--muted); margin: 0; font-size: 17px; }
.job-badge { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c); border: 2px solid var(--brown); color: #fff; font: 800 17px var(--font-display); margin-bottom: 16px; }

/* How */
.how-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; }
.how-list { margin: 0; padding: 0; list-style: none; counter-reset: how; }
.how-list li { counter-increment: how; position: relative; padding: 0 0 26px 70px; color: var(--muted); }
.how-list li::before { content: counter(how); position: absolute; left: 0; top: -4px; width: 48px; height: 48px; border-radius: 12px; background: var(--mustard); border: 2px solid var(--brown); display: grid; place-items: center; font: 800 20px var(--font-display); color: var(--brown); }
.how-list strong { display: block; color: var(--text); font-size: 19px; }

/* Quote band */
.quote-band { background: var(--brown); color: var(--cream); padding: 72px 0; text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 820px; }
.quote-band p { font: 700 clamp(24px, 3.2vw, 34px) var(--font-display); line-height: 1.3; }
.quote-band cite { font-style: normal; color: var(--mustard); font-weight: 700; }

/* Page hero */
.page-hero { padding: 72px 0 48px; border-bottom: 2px solid var(--brown); background: radial-gradient(circle at 92% 30%, rgba(242, 177, 52, 0.3), transparent 35%), var(--cream); }
.page-hero .lead { max-width: 720px; }

/* Services */
.service-columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.service-columns article { background: var(--paper); border: 2px solid var(--brown); border-radius: var(--radius); padding: 26px; }
.service-columns h2 { font-size: 26px; }
.service-columns ul { padding-left: 20px; margin: 0; color: var(--muted); }
.service-columns li { padding: 4px 0; }
.not-us { background: var(--sand); border-top: 2px solid var(--brown); }
.not-us p { color: var(--muted); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 2px solid var(--brown); border-radius: var(--radius); padding: 30px; }
.price-card.featured { background: var(--sand); box-shadow: 8px 8px 0 var(--terracotta); }
.price-card h2 { font-size: 28px; margin-bottom: 4px; }
.price { font: 800 52px var(--font-display); color: var(--terracotta); margin-bottom: 8px; }
.price-card > p:not(.price):not(.badge) { color: var(--muted); }
.price-card ul { padding-left: 20px; margin: 0 0 24px; flex: 1; }
.price-card li { padding: 4px 0; }
.badge { position: absolute; top: -16px; right: 20px; background: var(--mustard); border: 2px solid var(--brown); border-radius: 999px; padding: 4px 14px; font-weight: 700; font-size: 15px; margin: 0; }
.faq { background: var(--paper); border-top: 2px solid var(--brown); }
details { border-bottom: 2px dashed var(--line); }
summary { cursor: pointer; list-style: none; font: 700 20px var(--font-display); padding: 20px 40px 20px 0; position: relative; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 26px; color: var(--terracotta); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); }

/* Booking */
.booking-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 40px; align-items: start; }
.booking-form { display: grid; gap: 28px; background: var(--paper); border: 2px solid var(--brown); border-radius: var(--radius); padding: 32px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font: 800 20px var(--font-display); margin-bottom: 12px; padding: 0; }
.visit-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.day-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.window-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pick { position: relative; }
.pick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pick span { display: block; height: 100%; padding: 12px; text-align: center; border: 2px solid var(--line); border-radius: 12px; background: var(--cream); font-size: 15px; color: var(--muted); transition: border-color 0.15s, background 0.15s; }
.pick strong { display: block; font-size: 17px; color: var(--text); }
.pick:has(input:checked) span { border-color: var(--brown); background: var(--mustard); color: var(--brown); box-shadow: 3px 3px 0 var(--brown); }
.pick:has(input:focus-visible) span { outline: 3px solid var(--terracotta); }
.pick:has(input:disabled) span { opacity: 0.45; text-decoration: line-through; cursor: not-allowed; }
.pick:has(input:disabled) input { cursor: not-allowed; }
label { display: block; font-weight: 700; font-size: 16px; }
input[type="text"], input[type="tel"], textarea { width: 100%; min-height: 52px; margin-top: 6px; border: 2px solid var(--line); border-radius: 12px; background: var(--cream); color: var(--text); font: 500 17px var(--font-body); padding: 12px 14px; }
textarea { resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--terracotta); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.form-note { margin: 0; font-weight: 700; color: var(--success); }
.booking-summary { position: sticky; top: 104px; background: var(--brown); color: var(--cream); border-radius: var(--radius); padding: 28px; }
.summary-title { font: 800 24px var(--font-display); }
.booking-summary dl { margin: 0 0 16px; }
.booking-summary dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(251, 246, 238, 0.15); }
.booking-summary dt { opacity: 0.75; }
.booking-summary dd { margin: 0; font-weight: 700; text-align: right; }
.summary-note { font-size: 15px; opacity: 0.8; margin: 0; }

/* Footer */
.site-footer { background: var(--brown); color: rgba(251, 246, 238, 0.82); padding: 64px 0 28px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer h3 { color: var(--cream); font-size: 18px; }
.site-footer .brand { color: var(--cream); margin-bottom: 14px; }
.site-footer a { text-decoration: none; }
.site-footer p a { display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: var(--mustard); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(251, 246, 238, 0.15); margin-top: 40px; padding-top: 24px; font-size: 15px; }
.footer-bottom p { margin: 0; }

@media (max-width: 1000px) {
  .hero-grid, .how-grid, .booking-grid { grid-template-columns: minmax(0, 1fr); }
  .todo-card { max-width: 480px; }
  .job-grid, .service-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-summary { position: static; }
  .day-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 20px 24px; background: var(--cream); border-bottom: 2px solid var(--brown); }
  .primary-nav.open { display: flex; }
  .primary-nav a:not(.button) { padding: 12px 0; }
}

@media (max-width: 600px) {
  body { font-size: 17px; }
  section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .todo-card { transform: none; box-shadow: 6px 6px 0 var(--terracotta); }
  .job-grid, .service-columns, .footer-grid, .form-row, .visit-row { grid-template-columns: minmax(0, 1fr); }
  .window-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .day-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .booking-form, .booking-summary { padding: 22px; }
  .footer-bottom { flex-direction: column; }
}
