/* West Iron Builders LLC: soft, light jobsite colors (soft iron slate, stucco sand, sage, roof-tile clay) on a pale
   iron-blue tint; solid slate header bar; editorial main column with a narrow side column on the left; humanist
   sans throughout; item rows with a category index column on the right; pill buttons and tags; blueprint-grid
   motif */
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-800.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --tint: #eef1f4;
  --white: #ffffff;
  --slate: #4d6072;
  --slate-dk: #33424f;
  --iron: #1e2936;
  --sand: #efe6d8;
  --sage: #a9bfa3;
  --sage-dk: #4f6b49;
  --clay: #d99a7a;
  --clay-dk: #a4573a;
  --rule: #d3dae2;
  --text: #22303c;
  --muted: #566573;
  --sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--tint); color: var(--text); font-family: var(--sans); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clay-dk); text-underline-offset: 3px; }
a:hover { color: var(--slate-dk); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 999px; }
h1, h2, h3 { font-family: var(--sans); color: var(--iron); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-weight: 800; font-size: clamp(2.1rem, 4.2vw, 3.2rem); letter-spacing: -.01em; }
h2 { font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
h3 { font-weight: 600; font-size: 1.05rem; line-height: 1.35; margin: 0; }
p { margin: 0 0 1em; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--iron); color: var(--white); padding: 8px 16px; border-radius: 999px; z-index: 10; }
.skip-link:focus { left: 8px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: clamp(18px, 4vw, 40px); padding-right: clamp(18px, 4vw, 40px); }

/* solid colored header bar */
.site-header { background: var(--slate); color: var(--white); }
.bar { display: flex; align-items: center; gap: 18px 32px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--white); text-decoration: none; margin-right: auto; }
.brand img { width: 64px; border-radius: 14px; }
.brand-name { font-weight: 800; font-size: 1.35rem; line-height: 1.1; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.main-nav a { display: inline-block; padding: 7px 16px; border-radius: 999px; color: var(--white); text-decoration: none; font-weight: 600; font-size: .98rem; }
.main-nav a:hover { background: var(--slate-dk); color: var(--white); }
.main-nav a[aria-current="page"] { background: var(--sand); color: var(--iron); }
.bar-phone { padding: 7px 16px; border-radius: 999px; border: 2px solid var(--sand); color: var(--white); font-weight: 600; text-decoration: none; white-space: nowrap; }
.bar-phone:hover { background: var(--sand); color: var(--iron); }

/* editorial: narrow side column + main column */
.edit { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 36px 56px; padding-top: 44px; padding-bottom: 64px; align-items: start; }
.col-side { display: grid; gap: 18px; position: sticky; top: 20px; }
.desk { background: var(--white); border-radius: 18px; padding: 22px; border: 1px solid var(--rule); }
.desk.tint { background: var(--sand); border-color: #e2d5c1; }
.label { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--sage); color: var(--iron); font-size: .8rem; font-weight: 600; margin-bottom: 10px; }
.desk-phone { font-weight: 800; font-size: 1.45rem; margin-bottom: .2em; }
.desk-phone a { color: var(--iron); text-decoration: none; }
.desk-feature { font-weight: 600; font-size: 1.08rem; color: var(--iron); }
.small { font-size: .9rem; color: var(--muted); margin: 8px 0 0; }
.mini-hours { list-style: none; margin: 12px 0 0; padding: 0; }
.mini-hours li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--rule); font-size: .95rem; }
.mini-hours span { color: var(--muted); }
.kicker { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--rule); color: var(--slate-dk); font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pill { display: inline-block; padding: 10px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid var(--slate); }
.pill.solid { background: var(--slate); color: var(--white); }
.pill.solid:hover { background: var(--iron); border-color: var(--iron); color: var(--white); }
.pill.line { color: var(--slate-dk); background: transparent; }
.pill.line:hover { background: var(--white); }
.hero-fig { margin: 30px 0 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--rule); background: var(--white); }
.hero-art { width: 100%; }
.block { margin-top: 48px; }
.work { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.work a { display: flex; align-items: center; gap: 14px; padding: 10px 20px 10px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--rule); color: var(--iron); text-decoration: none; font-weight: 600; }
.work a:hover { border-color: var(--slate); }
.work img { width: 46px; border-radius: 50%; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding: 14px 18px 14px 50px; background: var(--white); border-radius: 18px; border: 1px solid var(--rule); color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 18px; top: 18px; width: 18px; height: 18px; border-radius: 50%; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.5l3 3 6-7' fill='none' stroke='%231e2936' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px 18px no-repeat; }
.checks strong { color: var(--iron); }

/* services: item rows + category index column on the right */
.page-head { padding-top: 44px; padding-bottom: 6px; }
.page-head.flush { padding: 0; }
.catalog { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 30px 56px; padding-top: 22px; padding-bottom: 64px; align-items: start; }
.cat-index { position: sticky; top: 20px; background: var(--white) url("assets/motif-blueprint.svg") repeat; background-size: 40px 40px; border-radius: 18px; padding: 18px; border: 1px solid var(--rule); }
.cat-index ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cat-index a { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--tint); color: var(--iron); text-decoration: none; font-weight: 600; font-size: .95rem; }
.cat-index a:hover { background: var(--sand); }
.cat-index img { width: 32px; border-radius: 50%; }
.cat-index li:last-child a { padding-left: 14px; }
.cat { margin-bottom: 30px; padding: 22px 26px 10px; background: var(--white); border-radius: 22px; border: 1px solid var(--rule); scroll-margin-top: 16px; }
.cat h2 { display: flex; align-items: center; gap: 14px; letter-spacing: .02em; }
.cat h2 img { width: 52px; border-radius: 50%; }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 0; border-top: 1px solid var(--rule); }
.row .d { margin: 3px 0 0; color: var(--muted); font-size: .96rem; }
.rate { flex: none; padding: 5px 16px; border-radius: 999px; background: var(--sand); color: var(--iron); font-weight: 800; white-space: nowrap; }
.rate small { font-weight: 600; font-size: .85em; color: var(--muted); }
.rate.q { background: transparent; border: 2px solid var(--sage); color: var(--sage-dk); font-weight: 600; font-size: .92rem; white-space: normal; text-align: center; max-width: 13em; }
.offers { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.offers li { padding: 14px 18px; border-radius: 18px; background: var(--tint); }
.offers h3 { margin-bottom: 4px; }
.offers p { margin: 0; color: var(--muted); }
.offers strong { color: var(--clay-dk); }
#featured .btn-row { margin-bottom: 14px; }

/* about / contact */
.story { margin-top: 24px; }
.story p { color: var(--muted); max-width: 42em; }
.story .first { font-size: 1.28rem; line-height: 1.5; color: var(--iron); }
.facts { margin: 0; }
.facts div { padding: 10px 0; border-top: 1px solid var(--rule); }
.facts div:first-child { border-top: 0; padding-top: 0; }
.facts dt { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-dk); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts.plain div:first-child { padding-top: 10px; border-top: 1px solid var(--rule); }
address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-weight: 800; font-size: 1.3rem; color: var(--iron); margin-bottom: 10px; }
.hours th, .hours td { text-align: left; padding: 9px 0; border-top: 1px solid var(--rule); vertical-align: top; }
.hours thead th { border-top: 0; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-dk); }
.hours tbody th { font-weight: 600; white-space: nowrap; padding-right: 14px; }
.note { display: block; color: var(--muted); font-size: .9rem; }
.map-frame { width: 100%; height: 340px; border: 1px solid var(--rule); border-radius: 22px; display: block; background: var(--white); }
.map-link { margin: 14px 0 0; font-weight: 600; }

/* footer */
.site-footer { background: var(--iron); color: #c9d3dc; padding: 40px 0 22px; }
.site-footer a { color: var(--sand); }
.foot { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px 40px; }
.footer-name { font-weight: 800; font-size: 1.35rem; color: var(--white); margin-bottom: .2em; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-bottom { margin: 22px auto 0; font-size: .88rem; }

@media (max-width: 1000px) {
  .bar { flex-wrap: wrap; }
  .bar-phone { display: none; }
  .edit, .catalog { grid-template-columns: 1fr; }
  .col-side, .cat-index { position: static; }
  .edit .col-side { order: 2; }
  .catalog .cat-index { order: -1; }
  .cat-index ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand img { width: 52px; }
  .brand-name { font-size: 1.15rem; }
  .main-nav a { padding: 6px 11px; font-size: .9rem; }
  .edit { padding-top: 28px; }
  .work, .offers { grid-template-columns: 1fr; }
  .cat { padding: 18px 16px 6px; }
  .row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
