/* Exclusive Handyman Services — blueprint design system
   ink:      #14212E
   blueprint:#16345C
   blue-mid: #1D4E89
   paper:    #F7F8F6
   yellow:   #FFC526
   line:     #D8DDE3
*/

:root {
  --ink: #14212e;
  --blueprint: #16345c;
  --blue-mid: #1d4e89;
  --paper: #f7f8f6;
  --yellow: #ffc526;
  --line: #d8dde3;
  --display: "Bricolage Grotesque", sans-serif;
  --body: "Inter", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

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

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

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
}

a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

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

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 0.75rem;
}

/* Promo bar */
.promo-bar {
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  padding: 0.55rem 1rem;
}
.promo-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--ink);
  color: var(--yellow);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  margin-right: 0.6rem;
  vertical-align: 1px;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand img { border-radius: 6px; }
.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.site-nav { display: flex; gap: 1.4rem; margin-left: auto; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.site-nav a:hover { color: var(--blue-mid); text-decoration: underline; text-underline-offset: 4px; }

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 1.4rem;
  border-radius: 6px;
  font-size: 0.98rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--blueprint); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 2px 0 rgba(20,33,46,0.35); }
.btn-ghost { border: 2px solid rgba(247,248,246,0.55); color: #fff; }
.btn-big { padding: 1rem 1.8rem; font-size: 1.05rem; }
.header-cta { white-space: nowrap; }

/* Hero — blueprint sheet */
.hero {
  position: relative;
  background: var(--blueprint);
  color: var(--paper);
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247,248,246,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,248,246,0.07) 1px, transparent 1px),
    linear-gradient(rgba(247,248,246,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,248,246,0.14) 1px, transparent 1px);
  background-size: 24px 24px, 24px 24px, 120px 120px, 120px 120px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 6.5rem) clamp(1rem, 4vw, 3rem);
}
.hero .eyebrow { color: var(--yellow); }
.hero h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
}
.mark {
  color: var(--yellow);
  text-decoration: line-through;
  text-decoration-thickness: 4px;
  text-decoration-color: rgba(247,248,246,0.85);
}
.hero-sub {
  max-width: 34rem;
  font-size: 1.08rem;
  color: rgba(247,248,246,0.88);
  margin-bottom: 1.8rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2.4rem; }

/* Work order card */
.work-order {
  display: inline-block;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 6px solid var(--yellow);
  border-radius: 6px;
  padding: 0.9rem 1.2rem;
  max-width: 30rem;
  transform: rotate(-0.6deg);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.wo-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-mid);
  margin-bottom: 0.2rem;
}
.wo-deal { display: block; font-family: var(--display); font-weight: 800; font-size: 1.5rem; }
.wo-terms { display: block; font-size: 0.82rem; color: #4a5560; margin-top: 0.25rem; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 3rem); max-width: 1080px; margin: 0 auto; }
.section-alt { background: #eef1f4; max-width: none; }
.section-alt > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.section-head { max-width: 640px; margin-bottom: 2.2rem; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 700; margin-bottom: 0.6rem; }
.section-sub { color: #4a5560; }

/* Services */
.services-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}
.services-grid li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.4rem 1.3rem;
}
.svc-code {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--blue-mid);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.12rem 0.45rem;
  display: inline-block;
  margin-bottom: 0.8rem;
}
.services-grid h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.4rem; }
.services-grid p { font-size: 0.95rem; color: #4a5560; }

/* Steps */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  counter-reset: step;
}
.step-num {
  font-family: var(--mono);
  color: var(--blue-mid);
  font-size: 0.85rem;
  display: block;
  border-bottom: 2px solid var(--yellow);
  width: max-content;
  padding-bottom: 0.2rem;
  margin-bottom: 0.8rem;
}
.steps h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.4rem; }
.steps p { font-size: 0.95rem; color: #4a5560; }

/* Service area */
.address-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--blueprint);
  border-radius: 6px;
  padding: 1.1rem 1.4rem;
  width: max-content;
  max-width: 100%;
}
.address-card p { font-weight: 600; }

/* Terms */
.terms { list-style: none; max-width: 640px; }
.terms li {
  padding: 0.7rem 0 0.7rem 1.6rem;
  border-bottom: 1px dashed var(--line);
  position: relative;
}
.terms li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--blue-mid);
  font-family: var(--mono);
}

/* Contact */
.contact { text-align: left; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(247,248,246,0.85);
  padding: 2.5rem clamp(1rem, 4vw, 3rem);
  font-size: 0.9rem;
}
.foot-brand { display: flex; gap: 1rem; align-items: flex-start; max-width: 1080px; margin: 0 auto 1.2rem; }
.foot-brand img { border-radius: 6px; }
.foot-brand a { color: var(--yellow); text-decoration: none; }
.foot-brand a:hover { text-decoration: underline; }
.foot-note { max-width: 1080px; margin: 0 auto; color: rgba(247,248,246,0.55); font-size: 0.8rem; }

/* Responsive */
@media (max-width: 780px) {
  .site-nav { display: none; }
  .header-cta { margin-left: auto; padding: 0.6rem 1rem; font-size: 0.88rem; }
  .hero h1 br { display: none; }
}
