:root{--ink:#142d29;--muted:#4b625a;--paper:#f6f3e8;--lime:#d9ee8b;--line:#d5ddd3}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font:16px/1.6 "DM Sans",system-ui,sans-serif;background:#fffdf6}a{color:inherit;text-underline-offset:.2em}button,input,textarea{font:inherit}.wrap{width:min(1120px,calc(100% - 40px));margin-inline:auto}.bar{display:flex;justify-content:space-between;align-items:center;gap:15px;min-height:72px}.brand{font-weight:900;font-size:25px;line-height:1;text-decoration:none;white-space:nowrap}.brand span{color:#4d782f}.brand small{display:block;font-size:10px;letter-spacing:.24em;margin-top:5px}nav,.actions{display:flex;align-items:center;gap:clamp(12px,3vw,30px);flex-wrap:wrap}nav a{text-decoration:none;font-weight:650}.button{border:0;border-radius:6px;background:var(--lime);color:#152b23;display:inline-block;padding:11px 17px;text-decoration:none;font-weight:800;cursor:pointer}.hero{background:#142d29;color:#fffdf6;padding:clamp(42px,8vw,92px) 0}.hero-grid,.quote{display:grid;grid-template-columns:1fr 1fr;gap:clamp(25px,6vw,75px);align-items:center}.kicker{color:var(--lime);font-weight:700}.intro{color:#deebe3;font-size:1.15rem;max-width:38ch}h1,h2,h3,p{margin-top:0}h1,h2{font-family:"Bricolage Grotesque",system-ui,sans-serif;letter-spacing:-.045em;line-height:1.06}h1{font-size:clamp(38px,5.7vw,76px);margin-bottom:22px}h2{font-size:clamp(34px,4.5vw,55px);margin-bottom:28px}h3{line-height:1.2}.section{padding-block:clamp(44px,7vw,80px)}figure{margin:0}img{display:block;width:100%;height:auto;border-radius:8px}figcaption{margin-top:8px;font-weight:700}.hero figcaption{color:#deebe3}.services,.projects{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.services{grid-template-columns:repeat(2,1fr)}article{border-top:1px solid var(--line);padding-top:16px}article p,.note{color:var(--muted)}.gallery{background:var(--paper)}.projects img{aspect-ratio:4/3;object-fit:contain;background:#e6e5db}.gallery details{margin-top:30px}.gallery summary{cursor:pointer;font-weight:800}.gallery details .projects{margin-top:18px}.quote{align-items:start}form{background:#fff;border:1px solid var(--line);padding:24px;border-radius:12px}label{display:block;font-weight:700;margin-bottom:12px}input,textarea{display:block;width:100%;border-radius:4px;border:1px solid #879b8d;padding:8px;margin-top:4px;color:var(--ink);background:white}.note{font-size:.9rem;margin:10px 0 0}footer{padding:24px 0;background:var(--ink);color:white}@media(max-width:740px){.hero-grid,.quote{grid-template-columns:1fr}.projects{grid-template-columns:repeat(2,1fr)}}@media(max-width:470px){nav a:not(.button){display:none}.projects,.services{grid-template-columns:1fr}}

.brand{font-size:clamp(27px,4vw,42px)}
.brand small{font-size:11px}
.hero .quiet{font-size:1rem;line-height:1.25}
.hero .quiet strong{display:block;font-size:clamp(1.2rem,2.3vw,1.55rem);white-space:nowrap}
button:disabled{opacity:.65;cursor:wait}

.brand {
  font-size: clamp(32px, 5vw, 56px);
}
.brand small {
  font-size: clamp(12px, 1.5vw, 16px);
}
nav a:not(.button) {
  font-size: clamp(1.125rem, 2vw, 1.4rem);
}
.hero .quiet {
  font-size: 1.2rem;
}
.hero .quiet strong {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}
@media (max-width: 470px) {
  .bar {
    flex-wrap: wrap;
    padding-block: 14px;
  }
  nav a:not(.button) {
    display: inline-block;
  }
}

.brand img {
  width: clamp(150px, 22vw, 240px);
}
.team-portrait {
  max-width: 520px;
  margin: 0 auto 30px;
}
#team .services figure {
  max-width: 330px;
  width: 100%;
  justify-self: center;
}

/* Colors and full-width photography from the original Handee4U site. */
:root {
  --ink: #302630;
  --muted: #5e525d;
  --paper: #f5f1f3;
  --line: #ded5db;
}
body { background: #fff; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.025em; }
.bar { padding-block: 10px; }
.brand img { width: clamp(116px, 13vw, 150px); border-radius: 0; }
.button { background: #402e42; color: white; border-radius: 3px; }
.hero {
  background: linear-gradient(#21192277, #211922de), url("photos/tools-header.jpg") center 56% / cover no-repeat;
  text-align: center;
  padding: clamp(50px, 8vw, 105px) 0;
}
.hero-logo { width: clamp(160px, 24vw, 260px); margin: 0 auto 24px; border-radius: 0; }
.hero h1 { max-width: 16ch; margin-inline: auto; }
.hero .kicker { color: #fff; }
.hero .button { color: #302630; background: #fff; }
.hero .actions { justify-content: center; }
.hero .quiet strong { display: inline-block; margin-left: .3em; }
.company { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 6vw, 76px); }
.company img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%; }
.services-section { background: var(--paper); }
.services-section h2, #projects h2, #team h2 { text-align: center; }
.service-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-cards article { align-self: start; background: white; border: 1px solid var(--line); padding: 18px; }
.service-cards img { aspect-ratio: 3 / 2; object-fit: contain; background: var(--paper); margin-bottom: 18px; }
.service-cards p { margin-bottom: 0; }
#team { width: 100%; padding-inline: max(20px, calc((100% - 1000px) / 2)); background: #402e42; color: white; }
:focus-visible { outline: 3px solid #8a7045; outline-offset: 4px; }
@media (max-width: 760px) {
  .bar { flex-wrap: wrap; }
  .service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 490px) {
  .company, .service-cards { grid-template-columns: 1fr; }
  .bar nav { width: 100%; gap: 10px 15px; }
  .bar nav a:not(.button) { font-size: 1rem; }
}

.service-cards article { align-self: stretch; }
.service-cards .illustration-label {
  font-size: .8rem;
  color: var(--muted);
  margin: -12px 0 12px;
}

#footer-cookie-settings {
  margin-inline-start: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}

#cookie-banner, #cookie-preferences {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(12px, 3vw, 20px);
  box-shadow: 0 6px 24px #142d2926;
  font-size: .95rem;
  line-height: 1.45;
  overflow: auto;
}

#cookie-banner {
  position: fixed;
  inset: auto auto max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  z-index: 10;
  width: min(480px, calc(100% - 24px));
  max-height: 70dvh;
}

#cookie-preferences {
  width: min(480px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
}

#cookie-preferences::backdrop {
  background: #142d2973;
}

#cookie-banner h2, #cookie-preferences h2 {
  font-size: 1.25rem;
  letter-spacing: normal;
  margin-bottom: .5rem;
}

#cookie-banner p, #cookie-preferences p {
  margin-bottom: .75rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-actions button {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 6px 10px;
  min-height: 36px;
  font-weight: 700;
  cursor: pointer;
}

.cookie-actions button:hover {
  background: var(--lime);
}

#cookie-preferences label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

#cookie-preferences input {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin: .2em 0 0;
  accent-color: var(--ink);
}

#cookie-preferences small {
  display: block;
  font-weight: 400;
}

body:has(#cookie-banner:not([hidden])) {
  padding-bottom: calc(var(--cookie-banner-height, 0px) + 2 * max(12px, env(safe-area-inset-bottom)));
}

.service-detail + .service-detail {
  border-top: 1px solid var(--line);
}

.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  align-items: center;
  gap: clamp(24px, 5vw, 60px);
}

.service-detail-portrait {
  width: min(100%, 280px);
  aspect-ratio: 1;
  object-fit: cover;
  justify-self: center;
}

#ceiling-fan .service-detail-portrait {
  object-position: center 12%;
}

@media (max-width: 740px) {
  .service-detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
