/* Owen's Handy Services LLC — landing page styles */

@font-face {
  font-family: "Noto Serif";
  src: url("fonts/noto-serif-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62.5% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif";
  src: url("fonts/noto-serif-italic-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62.5% 100%;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  /* the truck: black lacquer and card gold */
  --black: #15130f;
  --black-2: #211e19;
  --gold: #c9a46a;
  --gold-hi: #d9b985;
  --gold-ink: #7a5c24;        /* gold for text on white, 6.2:1 */
  --on-black: #f3eee5;
  --on-black-2: #b8b0a2;      /* secondary text on black, 8.6:1 */

  --paper: #ffffff;
  --paper-2: #f5f3ef;
  --ink: #15130f;
  --ink-2: #57524b;           /* secondary text, 7.7:1 on white */
  --line: #e2ddd4;

  --serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(21 19 15 / 6%), 0 8px 24px -8px rgb(21 19 15 / 18%);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dock-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--dock-h);
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100%, var(--wrap)); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--black); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.35em;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.1 var(--sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 56px; padding: .9em 1.6em; font-size: 1.0625rem; }
.btn--sm { min-height: 42px; padding: .55em 1.05em; font-size: .9375rem; }
.btn--ink { background: var(--black); color: var(--on-black); }
.btn--ink:hover { background: var(--black-2); box-shadow: 0 6px 18px -6px rgb(21 19 15 / 45%); }
.btn--ink .icon { color: var(--gold); }
.btn--outline { border-color: var(--black); color: var(--black); }
.btn--outline:hover { background: var(--black); color: var(--on-black); }
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-hi); }
.btn--outline-gold { border-color: var(--gold); color: var(--gold); }
.btn--outline-gold:hover { background: var(--gold); color: var(--black); }
.btn--gold:focus-visible, .btn--outline-gold:focus-visible { outline-color: var(--gold); }

/* ---------- masthead: the truck door ---------- */
.masthead {
  position: sticky; top: 0; z-index: 20;
  background: var(--black); color: var(--on-black);
  border-bottom: 1px solid rgb(201 164 106 / 22%);
}
.masthead__row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand__mark { position: relative; flex: none; width: 44px; aspect-ratio: 584 / 600; }
.brand__mark img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* the fist + tools live inside the ring; the clip keeps them there while they swing */
.brand__hand { position: absolute; inset: 0; clip-path: circle(45.4% at 49.7% 50.25%); }
.brand__hand img { transform-origin: 50% 88%; }
.brand__hand.is-hammering img { animation: hammer 1.25s var(--ease) both; }
@keyframes hammer {
  0%   { transform: rotate(0); }
  18%  { transform: rotate(-11deg); animation-timing-function: cubic-bezier(.55, 0, .9, .4); }
  30%  { transform: rotate(5deg); }
  40%  { transform: rotate(0); }
  55%  { transform: rotate(-8deg); animation-timing-function: cubic-bezier(.55, 0, .9, .4); }
  67%  { transform: rotate(3deg); }
  80%  { transform: rotate(-1deg); }
  100% { transform: rotate(0); }
}
.brand__name {
  white-space: nowrap;
  font-family: var(--serif); font-weight: 500; font-size: .95rem; color: var(--gold);
  text-transform: uppercase; letter-spacing: .16em; line-height: 1.2;
}
.brand__llc { letter-spacing: .16em; }
.masthead__nav { display: flex; gap: 28px; font-size: .9375rem; }
.masthead__nav a { color: var(--on-black-2); text-decoration: none; padding-block: 8px; transition: color .2s; }
.masthead__nav a:hover { color: var(--on-black); }
.masthead :focus-visible { outline-color: var(--gold); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 104px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title {
  font-family: var(--serif); font-weight: 500; font-stretch: 100%;
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem); line-height: 1.04; letter-spacing: -.022em;
}
.hero__lede { margin-top: 22px; font-size: clamp(1.125rem, 1rem + .4vw, 1.3rem); color: var(--ink-2); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__tip { margin-top: 14px; font-size: .9375rem; color: var(--ink-2); }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .9375rem; font-weight: 500; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts .icon { color: var(--gold-ink); }
.hero__photo { margin: 0; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; object-position: 50% 62%; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero__photo figcaption { margin-top: 12px; font-size: .875rem; color: var(--ink-2); }

/* ---------- section scaffolding ---------- */
.section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 {
  font-family: var(--serif); font-weight: 500; font-stretch: 100%;
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem); line-height: 1.1; letter-spacing: -.018em;
}
.section-head p { margin-top: 12px; color: var(--ink-2); }
.section-head p a { color: var(--ink); font-weight: 600; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; margin-bottom: 0; }

/* ---------- services ---------- */
.services { background: var(--paper-2); padding-block: clamp(64px, 9vw, 112px); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px clamp(28px, 4vw, 56px); }
.service { padding: 28px 0 34px; border-top: 1px solid #d6cfc3; }
.service h3 { margin-top: 18px; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; line-height: 1.25; }
.service p { margin-top: 8px; color: var(--ink-2); font-size: 1rem; max-width: 34ch; }

/* Service icons: line drawings whose parts act out the trade once, when they scroll into view.
   The final state is the default; start states only apply once script.js adds .js-anim. */
.svc { display: block; width: 52px; height: 52px; overflow: visible; color: var(--gold-ink); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc * { transform-box: fill-box; }
.svc .fill-soft { fill: rgb(122 92 36 / 14%); }
.svc .plank { fill: var(--paper-2); }
.svc .teeth { stroke-width: 1; }
.svc .dust { fill: currentColor; stroke: none; opacity: 0; }
.svc .patch { fill: rgb(122 92 36 / 12%); }
.svc .tile { stroke-width: 1; opacity: .35; }
.svc .bar { stroke-width: 3.4; }
.svc .book { fill: rgb(122 92 36 / 14%); }
.svc .ripple { stroke-width: 1.4; opacity: 0; }
.svc .shine { stroke-width: 1.4; opacity: .7; }

.js-anim .svc * { animation-duration: 1.4s; animation-fill-mode: both; animation-play-state: paused; animation-timing-function: var(--ease); }
.js-anim .service.is-in .svc * { animation-play-state: running; }

/* saw: three strokes, the kerf deepens, dust falls */
.js-anim .svc--saw .saw-stroke { animation-name: saw; animation-timing-function: ease-in-out; }
.js-anim .svc--saw .kerf { transform-origin: 50% 0; animation-name: kerf; }
.js-anim .svc--saw .dust { animation-name: dust; }
.js-anim .svc--saw .d2 { animation-delay: .15s; }
.js-anim .svc--saw .d3 { animation-delay: .3s; }
@keyframes saw { 0%, 100% { transform: translateX(0); } 15%, 47%, 79% { transform: translateX(-6px); } 31%, 63% { transform: translateX(4px); } }
@keyframes kerf { 0% { transform: scaleY(0); } 85%, 100% { transform: none; } }
@keyframes dust { 0%, 20% { opacity: 0; transform: translateY(-4px); } 45% { opacity: 1; } 100% { opacity: 0; transform: translateY(3px); } }

/* deck: boards laid, posts up, rail on, balusters dropped in */
.js-anim .svc--deck .board { animation-name: lay; }
.js-anim .svc--deck .k2 { animation-delay: .1s; }
.js-anim .svc--deck .k3 { animation-delay: .2s; }
.js-anim .svc--deck .post { transform-origin: 50% 100%; animation-name: rise; animation-delay: .3s; }
.js-anim .svc--deck .rail { stroke-dasharray: 1; animation-name: draw; animation-delay: .5s; }
.js-anim .svc--deck .bal { transform-origin: 50% 0; animation-name: drop-in; animation-delay: .7s; }
.js-anim .svc--deck .b2 { animation-delay: .8s; }
.js-anim .svc--deck .b3 { animation-delay: .9s; }
@keyframes lay { 0% { opacity: 0; transform: translateX(-8px); } 60%, 100% { opacity: 1; transform: none; } }
@keyframes rise { 0% { transform: scaleY(0); } 55%, 100% { transform: none; } }
@keyframes draw { 0% { stroke-dashoffset: 1; } 55%, 100% { stroke-dashoffset: 0; } }
@keyframes drop-in { 0% { transform: scaleY(0); } 45%, 100% { transform: none; } }

/* drywall: the knife sweeps twice and the crack disappears under mud */
.svc--wall .knife { transform: translate(30px, 19px); }
.js-anim .svc--wall .knife { animation-name: knife; animation-duration: 1.6s; animation-timing-function: ease-in-out; }
.js-anim .svc--wall .crack { animation-name: fade-out; animation-duration: 1.6s; }
.js-anim .svc--wall .patch { animation-name: mud; animation-duration: 1.6s; }
.svc--wall .crack { opacity: 0; }
@keyframes knife {
  0% { transform: translate(30px, 4px); opacity: 0; }
  10% { opacity: 1; }
  35% { transform: translate(14px, 6px); }
  60% { transform: translate(28px, 10px); }
  82% { transform: translate(14px, 14px); }
  100% { transform: translate(30px, 19px); }
}
@keyframes fade-out { 0%, 30% { opacity: 1; } 80%, 100% { opacity: 0; } }
@keyframes mud { 0%, 25% { fill: transparent; } 85%, 100% { fill: rgb(122 92 36 / 12%); } }

/* grab bar: flanges screw in, bar slides across */
.js-anim .svc--grab .flange { animation-name: screw; }
.js-anim .svc--grab .f2 { animation-delay: .15s; }
.js-anim .svc--grab .bar { stroke-dasharray: 1; animation-name: draw; animation-delay: .5s; }
@keyframes screw { 0% { opacity: 0; transform: rotate(-120deg) scale(.6); } 45%, 100% { opacity: 1; transform: none; } }

/* shelving: shelves set, books drop on */
.js-anim .svc--shelf .shelf { animation-name: lay; }
.js-anim .svc--shelf .s2 { animation-delay: .12s; }
.js-anim .svc--shelf .book { animation-name: book; }
.js-anim .svc--shelf .k1 { animation-delay: .35s; }
.js-anim .svc--shelf .k2 { animation-delay: .45s; }
.js-anim .svc--shelf .k3 { animation-delay: .55s; }
.js-anim .svc--shelf .k4 { animation-delay: .7s; }
.js-anim .svc--shelf .k5 { animation-delay: .8s; }
@keyframes book { 0% { opacity: 0; transform: translateY(-9px); } 30% { opacity: 1; } 45% { transform: translateY(1px); } 55%, 100% { opacity: 1; transform: none; } }

/* outdoor: a drop lands and ripples */
.js-anim .svc--drop .drop { transform-origin: 50% 100%; animation-name: fall; }
.js-anim .svc--drop .ripple { transform-origin: 50% 50%; animation-name: ripple; }
@keyframes fall {
  0% { opacity: 0; transform: translateY(-12px) scale(.85, 1.08); }
  35% { opacity: 1; transform: translateY(0) scale(.92, 1.06); }
  45% { transform: scale(1.08, .9); }
  60%, 100% { transform: none; }
}
@keyframes ripple { 0%, 35% { opacity: 0; transform: scale(.3); } 50% { opacity: .9; } 100% { opacity: 0; transform: scale(1.15); } }

/* ---------- before / after ---------- */
.compare-section { padding-block: clamp(64px, 9vw, 112px); }
.compare-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.compare-tabs button {
  min-height: 44px; padding: .55em 1.1em; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); font: 500 .9375rem/1 var(--sans); cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.compare-tabs button:hover { border-color: var(--ink); }
.compare-tabs button[aria-selected="true"] { background: var(--black); border-color: var(--black); color: var(--on-black); }
.compare-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.compare {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--black);
  aspect-ratio: 4 / 4.4; box-shadow: var(--shadow); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
}
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__after { clip-path: inset(0 0 0 var(--pos)); }
.compare.is-swapping .compare__img { opacity: 0; }
.compare__img { transition: opacity .35s var(--ease); }
.compare__tag {
  position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px;
  background: rgb(21 19 15 / 78%); color: var(--on-black); font-size: .8125rem; font-weight: 600; letter-spacing: .04em; pointer-events: none;
}
.compare__tag--before { left: 14px; }
.compare__tag--after { right: 14px; background: var(--gold); color: var(--black); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--paper); pointer-events: none; box-shadow: 0 0 0 1px rgb(21 19 15 / 15%); }
.compare__knob {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  display: flex; align-items: center; justify-content: center; gap: 0;
  width: 48px; height: 48px; border-radius: 50%; background: var(--paper); color: var(--black);
  box-shadow: 0 4px 14px -2px rgb(21 19 15 / 40%);
}
.compare__knob .icon { width: 18px; height: 18px; stroke-width: 2.4; }
/* the range input stays for keyboard and screen readers; pointers drag the whole photo (script.js) */
.compare__range { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.compare__img { pointer-events: none; -webkit-user-drag: none; }
.compare:has(.compare__range:focus-visible) { outline: 3px solid var(--gold-ink); outline-offset: 4px; }
.compare-note h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; line-height: 1.2; }
.compare-note p { margin-top: 14px; font-family: var(--serif); font-size: 1.125rem; line-height: 1.65; color: var(--ink); max-width: 46ch; }
.compare-sign { margin-top: 18px; font-weight: 600; color: var(--gold-ink); letter-spacing: .02em; }
.compare-sign::before { content: "— "; }

/* ---------- recent work carousel ---------- */
.work { background: var(--paper-2); padding-block: clamp(64px, 9vw, 112px); }
.carousel-controls { display: flex; gap: 10px; flex: none; }
.round-btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), opacity .2s;
}
.round-btn:hover:not(:disabled) { background: var(--black); color: var(--on-black); }
.round-btn:disabled { opacity: .3; cursor: default; }
.carousel {
  --peek: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  margin-top: clamp(28px, 4vw, 44px);
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 30vw, 340px); gap: 18px;
  overflow: auto hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 4px var(--peek) 20px; scroll-padding-inline: var(--peek);
  scrollbar-width: thin; scrollbar-color: #b9b2a6 transparent;
}
.carousel:focus-visible { outline-offset: -3px; }
.job { scroll-snap-align: start; display: flex; flex-direction: column; }
.job__media { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; border-radius: var(--radius); background: var(--black-2); }
.job__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s var(--ease); }
.job__img.is-swapping { opacity: 0; }
.job__toggle {
  position: absolute; left: 12px; bottom: 12px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 0;
  background: rgb(21 19 15 / 82%); color: var(--on-black); font: 600 .875rem/1 var(--sans); cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.job__toggle:hover { background: var(--black); }
.job__toggle[aria-pressed="true"] { background: var(--gold); color: var(--black); }
.job__toggle:focus-visible { outline-color: var(--gold); }
.job__body { padding: 18px 2px 0; }
.job__date { margin-top: 12px; font-size: .875rem; color: var(--ink-2); }
.job h3 { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; line-height: 1.25; }
.job__body p:not(.job__date) { margin-top: 8px; font-size: .975rem; color: var(--ink-2); line-height: 1.55; }
.work__more { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 24px; font-size: 1.125rem; font-weight: 500; }
.social-pill {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 16px;
  border: 1px solid var(--ink); border-radius: 999px; background: var(--paper);
  font-weight: 600; text-decoration: none; transition: background-color .2s var(--ease), color .2s var(--ease);
}
.social-pill .icon { width: 20px; height: 20px; }
.social-links { display: flex; flex-wrap: nowrap; gap: 10px; }
.social-pill:hover { background: var(--black); color: var(--on-black); }

/* ---------- about ---------- */
.about { padding-block: clamp(64px, 9vw, 112px); }
.about__grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__photo { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__copy h2 { font-family: var(--serif); font-weight: 500; font-stretch: 100%; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem); line-height: 1.1; letter-spacing: -.018em; }
.about__copy p { margin-top: 16px; max-width: 58ch; color: var(--ink-2); }
.about__copy p:first-of-type { color: var(--ink); font-size: 1.2rem; }
.about__onjob { margin: 32px 0 0; }
.about__onjob img { width: min(100%, 300px); aspect-ratio: 1; object-fit: cover; object-position: 50% 35%; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__onjob figcaption { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 1.0625rem; color: var(--ink-2); }

/* ---------- contact: the business card ---------- */
.contact { background: var(--black); color: var(--on-black); padding-block: clamp(72px, 10vw, 128px); text-align: center; }
.contact__inner { display: flex; flex-direction: column; align-items: center; }
.contact__mark { width: 96px; height: auto; }
.contact h2 {
  margin-top: 26px; font-family: var(--serif); font-weight: 500; font-stretch: 100%; color: var(--gold);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1.1; letter-spacing: -.012em;
}
.contact__lede { margin-top: 16px; color: var(--on-black-2); max-width: 44ch; }
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.contact__email { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--on-black-2); font-size: 1rem; }
.contact__email a { color: var(--on-black); overflow-wrap: anywhere; }
.contact__area {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgb(201 164 106 / 30%);
  font-family: var(--serif); text-transform: uppercase; letter-spacing: .2em; font-size: .8125rem; color: var(--gold);
}
.contact :focus-visible { outline-color: var(--gold); }

/* ---------- footer ---------- */
.footer { background: var(--black); color: var(--on-black-2); border-top: 1px solid rgb(201 164 106 / 18%); font-size: .875rem; }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding-block: 16px; }
.footer__social { display: flex; gap: 6px; }
.footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--on-black-2); transition: color .2s, background-color .2s; }
.footer__social a:hover { color: var(--gold); background: var(--black-2); }
.footer :focus-visible { outline-color: var(--gold); }

/* ---------- mobile dock ---------- */
.dock { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 959px) {
  .masthead__nav { display: none; }
  .hero__grid, .compare-layout, .about__grid { grid-template-columns: minmax(0, 1fr); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about__photo { max-width: 360px; }
}
@media (max-width: 640px) {
  :root { --dock-h: calc(72px + env(safe-area-inset-bottom)); }
  html { scroll-padding-top: 72px; }
  .masthead__row { min-height: 60px; gap: 12px; }
  .brand__mark { width: 36px; }
  .brand__name { font-size: .78rem; letter-spacing: .12em; }
  .masthead__call { display: none; }
  .hero { padding-top: 32px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .service-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .service { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; padding: 22px 0 24px; }
  .service .svc { grid-row: span 2; }
  .service h3 { margin-top: 0; align-self: end; }
  .service p { grid-column: 2; }
  .compare { aspect-ratio: 4 / 4.8; }
  .section-head--row { align-items: flex-start; }
  .carousel-controls { display: none; }
  .carousel { grid-auto-columns: 80vw; gap: 12px; }
  .contact__actions .btn { flex: 1 1 100%; }
  .footer__row { flex-direction: column; align-items: flex-start; }
  .dock {
    position: fixed; inset: auto 0 0 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--black); border-top: 1px solid rgb(201 164 106 / 25%);
  }
  .dock__btn {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 999px;
    border: 2px solid var(--gold); color: var(--gold); font-weight: 600; text-decoration: none;
  }
  .dock__btn--call { background: var(--gold); color: var(--black); }
  .dock :focus-visible { outline-color: var(--gold); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  /* the logo taps and service icons are tiny and play once, so they stay on */
  .brand__hand.is-hammering img { animation-duration: 1.25s !important; }
  .js-anim .svc * { animation-duration: 1.4s !important; }
  .js-anim .svc--wall * { animation-duration: 1.6s !important; }
}
