:root {
  --paper: #f4f0e8;
  --paper-deep: #ebe5d9;
  --ink: #1e1d1a;
  --ink-soft: #5f5a51;
  --rule: #d6cebf;
  --accent: #8b3d20;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0;
}

p { margin: 0 0 1em; }

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Masthead */
.masthead { border-bottom: 1px solid var(--rule); }
.masthead-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 20px;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.35rem;
  text-decoration: none;
  letter-spacing: .01em;
}
.masthead nav { display: flex; gap: 28px; font-size: .95rem; }
.masthead nav a { text-decoration: none; color: var(--ink-soft); }
.masthead nav a:hover { color: var(--ink); }
.masthead nav .phone { color: var(--ink); font-weight: 500; }

/* Intro */
.intro { padding: clamp(56px, 10vw, 120px) 0 clamp(48px, 8vw, 96px); }
.intro-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
}
.intro h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  margin-bottom: .6em;
}
.intro-text > p { color: var(--ink-soft); font-size: 1.1rem; max-width: 32em; }
.intro-call { margin-top: 2em; }
.intro-call a {
  color: var(--accent);
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.elevation { margin: 0; color: var(--ink); }
.elevation svg { display: block; width: 100%; height: auto; }
.elevation .dim { stroke: var(--accent); stroke-width: 1; }
.elevation .dim-label {
  fill: var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 8px;
}

/* Sections */
.section { padding: clamp(56px, 9vw, 104px) 0; border-top: 1px solid var(--rule); }
.section h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }

.services {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}
.services li {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.services h3 { font-size: 1.55rem; }
.services p { margin: 0; color: var(--ink-soft); max-width: 34em; }

.approach { background: var(--paper-deep); }
.approach-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
}
.approach-text p { color: var(--ink-soft); max-width: 34em; }
.approach-text .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: .7em;
}

/* Contact */
.contact {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(64px, 10vw, 120px) 0;
}
.contact h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: .5em; }
.contact p { color: #bdb6a9; max-width: 32em; }
.contact-phone {
  display: inline-block;
  margin-top: 1.2em;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 240, 232, .35);
  line-height: 1.2;
}
.contact-phone:hover { border-bottom-color: var(--paper); }

/* Footer */
.footer {
  background: var(--ink);
  color: #8f897d;
  font-size: .9rem;
  border-top: 1px solid #3a3833;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  padding-bottom: 22px;
}
.footer a { text-decoration: none; }
.footer a:hover { color: var(--paper); }

/* 404 */
.notfound {
  min-height: 100vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 24px;
}
.notfound h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .4em; }
.notfound p { color: var(--ink-soft); }
.notfound a { color: var(--accent); text-underline-offset: 4px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .masthead nav a:not(.phone) { display: none; }
  .intro-inner,
  .services li,
  .approach-inner { grid-template-columns: 1fr; }
  .services li { gap: 8px; }
  .approach-inner { gap: 20px; }
  .elevation { max-width: 420px; }
}

.credentials {
  margin-top: 1.6em;
  font-size: .85rem;
  letter-spacing: .06em;
  color: var(--ink-soft);
}
.contact .contact-area { margin-top: 2.5em; font-size: .95rem; color: #8f897d; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
  margin-top: 40px;
}
.gallery figure { margin: 0; }
.gallery-wide { grid-column: 1 / -1; }
.gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--paper-deep);
}
.gallery-wide img { aspect-ratio: 16 / 9; object-position: center 60%; }
.gallery figcaption {
  margin-top: 12px;
  font-size: .9rem;
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; gap: 28px; }
  .gallery img { aspect-ratio: 4 / 3; }
  .gallery figure:last-child img { aspect-ratio: 4 / 5; }
}

/* Handyman band (home) and shared two-column text blocks */
.band-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
}
.band-text p { color: var(--ink-soft); max-width: 34em; }
.band-text .lede,
.page-intro .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: .7em;
}
.text-link {
  color: var(--accent);
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.text-link::after { content: " \2192"; }

/* Inner pages */
.page-intro { padding: clamp(56px, 10vw, 112px) 0 clamp(40px, 7vw, 80px); }
.page-intro h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  max-width: 13em;
  margin-bottom: .6em;
}
.page-intro p { color: var(--ink-soft); font-size: 1.1rem; max-width: 34em; }
.masthead nav a[aria-current="page"] { color: var(--ink); }

@media (max-width: 760px) {
  .band-inner { grid-template-columns: 1fr; gap: 20px; }
}
