/* ZahellWell LLC: oxblood press ink, brass and plate aluminium on white; saturated oxblood hero and section
   bands with white text; split hero with the plate art on the left; slab serif headings over a clean sans;
   oversized logo and name with underline navigation; category index column beside job rows; thick 3px
   outlines and no shadows; faint halftone-dot motif on the bands */
@font-face {
  font-family: "Roboto Slab";
  src: url("fonts/roboto-slab-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Slab";
  src: url("fonts/roboto-slab-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --wine: #7b1e2c;
  --wine-dk: #5a1520;
  --ink: #1a1216;
  --brass: #c9973f;
  --plate: #d5d9dd;
  --paper: #f6f2ea;
  --muted: #565057;
  --white: #ffffff;
  --slab: "Roboto Slab", Rockwell, Georgia, serif;
  --sans: "Instrument Sans", "Segoe UI", Arial, sans-serif;
  --wrap: 1140px;
  --line: 3px solid var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--slab); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
.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: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; z-index: 10; }
.skip-link:focus { left: 8px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

/* oversized logo and name, underline navigation */
.site-header { border-bottom: var(--line); background: var(--paper); }
.head-in { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 28px; padding: 22px 0 18px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 20px; text-decoration: none; color: var(--ink); }
.brand img { width: 96px; height: auto; border: var(--line); }
.brand-text { display: flex; flex-direction: column; gap: 4px; }
.brand-name { font-family: var(--slab); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1; }
.brand-sub { font-size: .9rem; color: var(--muted); letter-spacing: .04em; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.main-nav a { display: inline-block; padding: 4px 0; color: var(--ink); text-decoration: none; font-weight: 700; border-bottom: 3px solid transparent; }
.main-nav a:hover { border-bottom-color: var(--brass); }
.main-nav a[aria-current="page"] { color: var(--wine); border-bottom-color: var(--wine); }

/* oxblood bands */
.band { background: var(--wine) url("assets/motif-halftone.svg") repeat; background-size: 40px 40px; color: var(--white); padding: 60px 0; }
.band a { color: var(--white); }
.band h1, .band h2 { color: var(--white); }
.hero { padding: 56px 0; }
.hero.small { padding: 46px 0 42px; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-fig { margin: 0; border: 3px solid var(--ink); background: var(--paper); }
.kicker { font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #f1cf8f; margin-bottom: .8em; }
.lede { font-size: 1.18rem; max-width: 34em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-block; padding: 10px 20px; font-weight: 700; text-decoration: none; border: 3px solid var(--ink); }
.band .btn.paper, .btn.paper { background: var(--paper); color: var(--ink); }
.btn.paper:hover { background: var(--brass); }
.band .btn.line { border-color: var(--white); color: var(--white); }
.btn.line:hover { background: var(--wine-dk); }
.btn.wine { background: var(--wine); color: var(--white); }
.btn.wine:hover { background: var(--ink); color: var(--white); }
.btn.outline { background: var(--white); color: var(--ink); }
.btn.outline:hover { background: var(--paper); color: var(--ink); }

/* content */
.sec { padding: 56px 0; }
.sec + .sec { border-top: var(--line); }
.two { display: grid; grid-template-columns: 1fr 1.25fr; gap: 44px; align-items: start; }
.cat-boxes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-boxes a { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; gap: 2px 16px; align-items: center; padding: 18px; border: var(--line); text-decoration: none; color: var(--ink); background: var(--white); }
.cat-boxes a:hover { background: var(--paper); }
.cat-boxes img { width: 64px; grid-row: span 2; }
.cn { font-family: var(--slab); font-weight: 700; font-size: 1.2rem; line-height: 1.15; }
.cc { color: var(--muted); font-size: .92rem; }
.ticks { list-style: none; margin: 0; padding: 0; border-top: var(--line); }
.ticks li { padding: 12px 0 12px 28px; border-bottom: 1px solid #cfc8cb; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 12px; height: 12px; background: var(--brass); border: 2px solid var(--ink); }
.ticks.on-band { border-top-color: var(--white); }
.ticks.on-band li { border-bottom-color: rgba(255, 255, 255, .35); }
.spot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.spot p:last-child { margin: 0; font-size: 1.12rem; max-width: 40em; }

/* services: index column + job rows */
.index-layout { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: start; }
.cat-index { position: sticky; top: 14px; border: var(--line); background: var(--paper); }
.ix-title { margin: 0; padding: 10px 16px; background: var(--ink); color: var(--white); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }
.cat-index ul { list-style: none; margin: 0; padding: 0; }
.cat-index li + li { border-top: 2px solid var(--ink); }
.cat-index a { display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; padding: 12px 16px; text-decoration: none; color: var(--ink); }
.cat-index a:hover { background: var(--white); }
.ix-num { grid-row: span 2; font-family: var(--slab); font-weight: 700; font-size: 1.4rem; color: var(--wine); }
.ix-name { font-weight: 700; }
.ix-count { font-size: .85rem; color: var(--muted); }
.cat { scroll-margin-top: 14px; margin-bottom: 40px; }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cat-head img { width: 56px; }
.cat-head h2 { margin: 0; }
.jobs { list-style: none; margin: 0; padding: 0; border: var(--line); }
.job { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 16px 20px; }
.job + .job { border-top: 2px solid var(--ink); }
.job h3 { margin: 0 0 3px; }
.job p { margin: 0; color: var(--muted); }
.job-price { flex: none; font-family: var(--slab); font-weight: 700; font-size: 1.25rem; color: var(--wine) !important; max-width: 11em; text-align: right; }
.q { display: block; font-family: var(--sans); font-size: .9rem; line-height: 1.35; color: var(--ink); }
.feat .jobs { background: var(--paper); }

/* about / contact */
.story .first { font-family: var(--slab); font-size: 1.3rem; line-height: 1.45; }
.box { border: var(--line); padding: 24px 26px; }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 11em 1fr; gap: 12px; padding: 10px 0; border-top: 2px solid var(--ink); }
.facts dt { font-weight: 700; color: var(--wine); }
.facts dd { margin: 0; }
address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-family: var(--slab); font-weight: 700; font-size: clamp(1.55rem, 3vw, 2.1rem); margin-bottom: 12px; }
.hours th, .hours td { text-align: left; padding: 11px 4px; border-top: 2px solid var(--ink); }
.hours thead th { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-top: 0; }
.map-frame { width: 100%; height: 380px; border: var(--line); display: block; background: var(--paper); }
.map-link { margin: 14px 0 0; font-weight: 700; }

/* footer */
.site-footer { background: var(--ink); color: #d8d0d3; padding: 44px 0 26px; }
.site-footer a { color: var(--white); }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-name { font-family: var(--slab); font-weight: 700; font-size: 1.5rem; color: var(--brass); margin-bottom: .2em; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-bottom { margin: 24px 0 0; padding-top: 14px; border-top: 2px solid #3a3035; font-size: .88rem; }

@media (max-width: 900px) {
  .split, .two { grid-template-columns: 1fr; gap: 30px; }
  .cat-boxes { grid-template-columns: 1fr; }
  .index-layout { grid-template-columns: 1fr; gap: 24px; }
  .cat-index { position: static; }
  .cat-index ul { display: grid; grid-template-columns: 1fr 1fr; }
  .cat-index li + li { border-top: 0; }
  .cat-index li { border-top: 2px solid var(--ink); }
  .cat-index li:nth-child(even) { border-left: 2px solid var(--ink); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand { gap: 14px; }
  .brand img { width: 72px; }
  .brand-sub { font-size: .8rem; }
  .main-nav ul { gap: 4px 18px; }
  .job { flex-direction: column; gap: 6px; padding: 14px 16px; }
  .job-price { text-align: left; max-width: none; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .box { padding: 18px; }
  .cat-index a { padding: 10px 12px; grid-template-columns: 34px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
