/* Handyman template: warm neutrals, near-black and the business accent color.
   Brand tokens (--accent, --brand-dark, fonts) come from business.json via the build. */
:root {
  --ink: #1b1913;
  --ink-soft: #4a463c;
  --cream: #f6f1e6;
  --cream-2: #ece4d2;
  --paper: #fffdf8;
  --line: #ddd3bf;
  --black: #0e0d0b;
  --on-dark: #f3eee2;
  --on-dark-soft: #c9c2b2;
  --focus: #0062c9;
  --radius: 10px;
  --radius-sm: 6px;
  --header-h: 76px;
  --banner-h: 0px;
  --callbar-h: 0px;
  --shadow: 0 22px 44px -26px rgba(22, 18, 8, .55);
}
.corners-sharp { --radius: 3px; --radius-sm: 2px; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--banner-h) + 16px); }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.65 var(--font-body); padding-bottom: var(--callbar-h); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.05; margin: 0 0 .5em; letter-spacing: .005em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); text-transform: uppercase; }
h3 { font-size: 1.55rem; text-transform: uppercase; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.section--dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .callbar:focus-visible { outline-color: var(--accent); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--black); font-weight: 700; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.eyebrow { font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--accent); border-radius: 2px; }
.eyebrow--on-dark { color: var(--on-dark-soft); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: var(--radius-sm); border: 2px solid transparent; font: 700 1.05rem/1 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: color-mix(in srgb, var(--accent) 86%, #fff); transform: translateY(-1px); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--cream); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.12rem; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: .98rem; }

/* Header */
.site-top { position: relative; z-index: 50; }
.site-header { background: var(--black); color: var(--on-dark); border-bottom: 3px solid var(--accent); }
.header__inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); position: relative; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand__logo-frame { flex: none; width: 66px; height: 66px; padding: 2px; background: #000; border-radius: var(--radius-sm); }
.brand__logo { width: 100%; height: 100%; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.32rem; line-height: 1.05; text-transform: uppercase; letter-spacing: .02em; }
.brand__place { font-size: .85rem; color: var(--on-dark-soft); }
.nav__menu { display: flex; align-items: center; gap: 2px; }
.nav__menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--on-dark); font-weight: 600; text-decoration: none; border-radius: var(--radius-sm); }
.nav__menu a:hover { background: rgba(255, 255, 255, .08); }
.nav__toggle { display: none; }

@media (min-width: 961px) {
  .site-top { position: sticky; top: 0; }
}
@media (max-width: 960px) {
  .js .nav__toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius-sm); background: transparent; cursor: pointer; }
  .nav__toggle-bars, .nav__toggle-bars::before, .nav__toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--on-dark); border-radius: 2px; position: relative; content: ""; transition: transform .2s ease, opacity .2s ease; }
  .nav__toggle-bars::before { position: absolute; top: -6px; }
  .nav__toggle-bars::after { position: absolute; top: 6px; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars { background: transparent; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .header__inner { flex-wrap: wrap; }
  .nav__menu { flex-wrap: wrap; padding-bottom: 8px; }
  .js .header__inner { flex-wrap: nowrap; }
  .js .nav__menu { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 3px); flex-direction: column; align-items: stretch; padding: 6px 24px 18px; background: var(--black); border-bottom: 3px solid var(--accent); }
  .js .nav__menu.is-open { display: flex; }
  .js .nav__menu a { display: flex; min-height: 50px; border-bottom: 1px solid rgba(255, 255, 255, .12); border-radius: 0; padding: 0 4px; font-size: 1.1rem; }
}
@media (max-width: 600px) {
  :root { --header-h: 68px; }
  .container { padding: 0 16px; }
  .header__inner { gap: 10px; }
  .brand { gap: 10px; }
  .brand__logo-frame { width: 56px; height: 56px; }
  .brand__name { font-size: 1.08rem; }
  .brand__place { font-size: .8rem; }
  .has-callbar .header__call { display: none; }
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(2.7rem, 6.2vw, 4.9rem); font-weight: 700; text-transform: uppercase; line-height: .98; margin-bottom: 18px; }
.hero__lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--ink-soft); max-width: 34em; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 14px 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero__facts dt { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.hero__facts dd { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; line-height: 1.2; }
.hero__facts a { text-decoration: none; border-bottom: 3px solid var(--accent); }
.hero__facts a:hover { border-bottom-color: var(--ink); }
.hero__media { position: relative; }
.hero__media--badge { padding: 0 0 36px 36px; }
.hero__figure { position: relative; }
.hero__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); animation: hero-in .7s ease-out both; }
.hero__figure figcaption { position: absolute; right: 12px; bottom: 12px; background: rgba(14, 13, 11, .78); color: var(--on-dark); font-size: .82rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; }
.hero__badge { position: absolute; left: 0; bottom: 0; width: clamp(132px, 15vw, 176px); aspect-ratio: 1; padding: 6px; background: #000; border-radius: var(--radius); border: 3px solid var(--accent); box-shadow: var(--shadow); }
.hero__badge img { width: 100%; height: 100%; object-fit: contain; }
@keyframes hero-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 620px; }
  .hero__media--badge { padding: 0 0 28px 28px; }
}
@media (max-width: 480px) {
  .hero__title { font-size: clamp(2.3rem, 11vw, 2.9rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__facts { gap: 12px 28px; }
  .hero__facts dd { font-size: 1.4rem; }
  .hero__media--badge { padding: 0 0 22px 22px; }
  .hero__badge { width: 112px; padding: 4px; }
}

/* Google rating band (verified rating + count only; no review text) */
.rating { background: var(--black); color: var(--on-dark); border-bottom: 3px solid var(--accent); }
.rating__inner { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 32px; padding-top: 22px; padding-bottom: 22px; }
.rating p { margin: 0; }
.rating__score { display: flex; align-items: center; gap: 12px; }
.rating__number { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; line-height: 1; color: #fff; }
.rating__stars { position: relative; display: inline-block; font-size: 1.35rem; letter-spacing: 2px; line-height: 1; color: rgba(255, 255, 255, .22); }
.rating__fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--r) / 5 * 100%); overflow: hidden; white-space: nowrap; color: var(--accent); }
.rating__text { display: flex; flex-direction: column; line-height: 1.3; }
.rating__text strong { font-size: 1.1rem; color: #fff; }
.rating__note { font-size: .85rem; color: var(--on-dark-soft); }
.rating__link { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--accent); font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; }
.rating__link svg { width: 20px; height: 20px; transition: transform .18s ease; }
.rating__link:hover { border-bottom-color: currentColor; }
.rating__link:hover svg { transform: translateX(3px); }
@media (max-width: 600px) {
  .rating__inner { gap: 6px 18px; padding-top: 18px; padding-bottom: 16px; }
  .rating__number { font-size: 2.2rem; }
  .rating__link { margin-left: 0; flex-basis: 100%; }
}

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tint { background: var(--cream-2); }
.section--dark { background: var(--black); color: var(--on-dark); }
.section__head { max-width: 700px; margin-bottom: clamp(32px, 4vw, 52px); }
.section__intro { color: var(--ink-soft); font-size: 1.12rem; margin: 0; }

/* Services: numbered list, not cards */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; counter-reset: svc; }
.service { counter-increment: svc; position: relative; padding: 30px 0 30px 74px; border-top: 1px solid var(--line); }
.service::before { content: counter(svc, decimal-leading-zero); position: absolute; left: 0; top: 26px; font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--ink); opacity: .18; }
.service__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--black); margin-bottom: 12px; }
.service__icon svg { width: 24px; height: 24px; }
.service__name { margin-bottom: 8px; }
.service__text { color: var(--ink-soft); margin: 0; max-width: 32em; }
.service:last-child:nth-child(odd) { grid-column: 1 / -1; }
.service:last-child:nth-child(odd) .service__text { max-width: 46em; }
.service__photo { margin-top: 18px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
/* More services: compact, scannable grid under the main list */
.more { margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3.5vw, 40px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.more__title { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 22px; }
.more__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 28px; }
.more__item { padding-top: 14px; border-top: 3px solid var(--accent); }
.more__item h4 { font-family: var(--font-head); font-size: 1.22rem; font-weight: 700; text-transform: uppercase; line-height: 1.1; margin: 0 0 6px; }
.more__item p { margin: 0; font-size: .97rem; line-height: 1.5; color: var(--ink-soft); }
.more__note { margin: 26px 0 0; font-weight: 600; }
.more__note a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; white-space: nowrap; }
@media (max-width: 1024px) { .more__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .more__list { grid-template-columns: 1fr; gap: 16px; }
  .more__note a { white-space: normal; }
}
@media (max-width: 760px) {
  .services { grid-template-columns: 1fr; }
  .service { padding: 26px 0 26px 58px; }
  .service::before { font-size: 2.1rem; }
}

/* About */
.about { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__logo { background: #000; border-radius: var(--radius); padding: 14px; border: 1px solid rgba(255, 255, 255, .12); }
.about__logo img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.about__text h2 { color: #fff; }
.about__text p { color: var(--on-dark-soft); font-size: 1.12rem; max-width: 36em; }
.about__call { margin: 28px 0 0; }
@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; }
  .about__logo { max-width: 300px; }
}

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery li:nth-child(6) { grid-column: span 2; }
.gallery li { display: flex; }
.gallery figure { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.gallery img { width: 100%; min-height: 0; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--cream-2); }
/* Large tiles fill the two rows beside them instead of using the photo's own height. */
.gallery li:nth-child(1) img, .gallery li:nth-child(6) img { aspect-ratio: auto; flex: 1 1 0; height: 0; }
.gallery figcaption { font-size: .92rem; font-weight: 600; color: var(--ink-soft); padding-top: 8px; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery li:nth-child(1) { grid-row: auto; }
  .gallery li:nth-child(1) img, .gallery li:nth-child(6) img { aspect-ratio: 4 / 3; flex: none; height: auto; }
}

/* Contact */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact__item { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 22px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.contact__icon { grid-row: span 2; display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--cream-2); color: var(--ink); }
.contact__label { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.contact__value { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
a.contact__value { text-decoration: none; border-bottom: 2px solid transparent; justify-self: start; }
a.contact__value:hover { border-bottom-color: currentColor; }
.contact__value--email { font-family: var(--font-body); font-size: 1.12rem; }
@media (max-width: 359px) { .contact__value--email { font-size: 0.92rem; } }
.contact__item--main { background: var(--black); border-color: var(--black); color: var(--on-dark); }
.contact__item--main .contact__icon { background: var(--accent); color: var(--black); }
.contact__item--main .contact__label { color: var(--on-dark-soft); }
.contact__item--main .contact__value { font-size: 2rem; color: #fff; }
.contact__item--main :focus-visible { outline-color: var(--accent); }
@media (max-width: 700px) {
  .contact { grid-template-columns: 1fr; }
  .contact__item { padding: 18px; }
  .contact__item--main .contact__value { font-size: 1.7rem; }
}

/* Footer */
.site-footer { background: var(--black); color: var(--on-dark-soft); padding: 56px 0 28px; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px 44px; align-items: center; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer__logo { width: 150px; background: #000; border-radius: var(--radius-sm); padding: 4px; }
.footer__logo img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.footer__info p { margin: 0 0 4px; }
.footer__name { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; text-transform: uppercase; color: #fff; }
.footer__info a, .footer__links a { color: var(--on-dark); text-decoration: none; display: inline-block; padding: 4px 0; }
.footer__info a:hover, .footer__links a:hover { text-decoration: underline; }
.footer__links { display: grid; gap: 2px; }
.footer__legal { padding-top: 22px; font-size: .9rem; }
.footer__legal p { margin: 0 0 6px; }
@media (max-width: 760px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__logo { width: 132px; }
  .footer__links { grid-template-columns: repeat(2, max-content); gap: 2px 28px; }
}

/* Sticky call bar (phones only); body padding keeps it from covering the footer. */
.callbar { display: none; }
@media (max-width: 760px) {
  .has-callbar { --callbar-h: calc(58px + env(safe-area-inset-bottom, 0px)); }
  .callbar { display: flex; align-items: center; justify-content: center; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; min-height: 58px; padding: 0 16px env(safe-area-inset-bottom, 0px); background: var(--accent); color: var(--accent-ink); font: 700 1.08rem/1 var(--font-body); text-decoration: none; border-top: 2px solid var(--black); }
  .callbar svg { width: 22px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .btn--accent:hover { transform: none; }
}
