/* Br Williams LLC: deep awning burgundy, forest canvas green and canvas tan on a pale burgundy tint; boxed floating
   header with a border, centred hero with a very large serif headline, serif type throughout, price tables,
   stitched dividers, sharp corners and 1px rules */
@font-face {
  font-family: "Holler Serif";
  src: url("fonts/holler-serif-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Holler Serif";
  src: url("fonts/holler-serif-400i.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Holler Serif";
  src: url("fonts/holler-serif-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --tint: #f6eded;
  --white: #fffbfa;
  --wine: #6e1f2e;
  --ink: #2a1218;
  --forest: #2c5240;
  --canvas: #d7c3a0;
  --red: #c4485a;
  --rule: #e2cfd1;
  --muted: #6a5155;
  --serif: "Holler Serif", Georgia, "Times New Roman", serif;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--tint); color: var(--ink); font-family: var(--serif); font-size: 18px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
h1, h2, h3 { font-weight: 700; line-height: 1.08; margin: 0 0 0.45em; color: var(--ink); }
h1 { font-size: clamp(3rem, 8.6vw, 6.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.04rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { width: min(980px, 100% - 40px); }
.center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px;
  background: var(--wine); color: var(--white); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* boxed floating header */
.site-header { padding: 18px 0 0; }
.box-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 18px; background: var(--white); border: 1px solid var(--wine); }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand img { width: 64px; height: 64px; }
.brand-name { font-weight: 700; font-size: 1.4rem; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.main-nav li + li { border-left: 1px solid var(--rule); }
.main-nav a { display: block; padding: 6px 16px; color: var(--ink); text-decoration: none; }
.main-nav a:hover { color: var(--wine); text-decoration: underline; }
.main-nav a[aria-current="page"] { color: var(--white); background: var(--wine); }

/* stitched divider */
.stitch { height: 8px; width: min(var(--wrap), 100% - 40px); margin: 0 auto; background: url("assets/motif-stitch.svg") 0 0 / 24px 8px repeat-x; }

/* centred hero */
.hero { padding: 54px 0 56px; }
.hero.slim { padding: 46px 0 44px; }
.hero.slim h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
.section { padding: 54px 0; }
.pt0 { padding-top: 0; }
.tag { display: inline-block; margin: 0 0 18px; padding: 3px 12px; border: 1px solid var(--forest); color: var(--forest); font-style: italic; font-size: 0.95rem; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 38em; margin-inline: auto; }
.kicker { margin: 0 0 4px; color: var(--red); font-style: italic; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.center .btn-row { justify-content: center; }
.btn { display: inline-block; padding: 11px 22px; background: var(--wine); color: var(--white); border: 1px solid var(--wine); font-weight: 700; text-decoration: none; }
.btn:hover { background: var(--forest); border-color: var(--forest); color: var(--white); }
.btn-line { background: transparent; color: var(--wine); }
.btn-line:hover { color: var(--white); }
.hero-art { width: min(860px, 100%); margin: 40px auto 0; }
.amount { font-size: 1.5rem; font-weight: 700; color: var(--wine) !important; }

.work { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--wine); border-bottom: 1px solid var(--wine); }
.work li + li { border-left: 1px solid var(--rule); }
.work a { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; padding: 24px 14px; text-align: center; color: var(--ink); text-decoration: none; }
.work a:hover { background: var(--white); }
.work img { width: 60px; height: 60px; }
.work strong { font-size: 1.15rem; }
.work span { color: var(--muted); font-style: italic; font-size: 0.94rem; }
.two { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: start; }
.ruled { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--wine); }
.ruled li { padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--muted); }
.ruled strong { color: var(--ink); }
.card { background: var(--white); border: 1px solid var(--wine); padding: 28px; }
.card p { color: var(--muted); }

/* price tables */
.jump { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; border-top: 1px solid var(--wine); border-left: 1px solid var(--wine); }
.jump li { border-right: 1px solid var(--wine); border-bottom: 1px solid var(--wine); }
.jump a { display: block; padding: 7px 14px; color: var(--ink); text-decoration: none; background: var(--white); }
.jump a:hover { background: var(--wine); color: var(--white); }
.tables { padding: 44px 0 56px; display: grid; gap: 44px; }
.cat { scroll-margin-top: 14px; }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.cat-head img { width: 54px; height: 54px; }
.cat-head h2 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.7rem); letter-spacing: 0.04em; }
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--wine); }
.price-table thead th { text-align: left; padding: 9px 14px; font-weight: 400; font-style: italic; color: var(--white); background: var(--wine); }
.price-table thead th:last-child { text-align: right; }
.price-table tbody th, .price-table tbody td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--rule); }
.price-table tbody th { font-weight: 700; width: 38%; }
.price-table .desc { color: var(--muted); font-size: 0.96rem; }
.price-table .price { text-align: right; font-weight: 700; color: var(--wine); white-space: nowrap; width: 1%; }
.price-table .price.quote { white-space: normal; min-width: 10em; color: var(--ink); }
.price-table .price.quote a { display: block; margin-top: 4px; white-space: nowrap; font-weight: 400; font-style: italic; }
#featured .btn-row { margin-top: 18px; }

/* about */
.story p { color: var(--muted); }
.story p.first { color: var(--ink); font-size: 1.32rem; line-height: 1.5; }
.facts, .details { margin: 0 0 16px; }
.facts div, .details div { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.facts dt, .details dt { color: var(--forest); font-style: italic; font-size: 0.94rem; }
.facts dd, .details dd { margin: 0; overflow-wrap: anywhere; }
.facts dd { font-weight: 700; }
.why { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--wine); }
.why li { padding: 24px 24px 0 0; color: var(--muted); }
.why li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.why strong { display: block; margin-bottom: 8px; color: var(--wine); font-size: 1.25rem; line-height: 1.25; }

/* contact */
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-weight: 700; font-size: 1.6rem; margin-bottom: 8px; }
.hours thead th { text-align: left; padding: 6px 0; font-weight: 400; font-style: italic; color: var(--muted); border-bottom: 1px solid var(--wine); }
.hours tbody th, .hours tbody td { text-align: left; vertical-align: top; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.hours tbody th { padding-right: 14px; }
.hours td { white-space: nowrap; }
.hours td.closed { color: var(--muted); }
.hours .note { display: block; white-space: normal; color: var(--muted); font-size: 0.9rem; font-style: italic; }
.map-frame { display: block; width: 100%; height: 420px; border: 1px solid var(--wine); background: var(--white); }
.map-link { margin: 12px 0 0; }

/* footer */
.site-footer { background: var(--wine); color: #f1dfe2; padding: 40px 0 24px; }
.site-footer a { color: #f4e3c4; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 28px; }
.footer-name { font-weight: 700; font-size: 1.3rem; color: var(--white); margin-bottom: 6px; }
.footer-title { color: var(--white); font-weight: 700; margin-bottom: 8px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { margin: 26px 0 0; padding-top: 14px; border-top: 1px solid rgba(241, 223, 226, 0.3); font-size: 0.9rem; }

@media (max-width: 1000px) {
  .box-head { flex-direction: column; align-items: flex-start; }
  .work { grid-template-columns: 1fr 1fr; }
  .work li:nth-child(3) { border-left: 0; }
  .work li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .two { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 700px) {
  .section { padding: 40px 0; }
  .section.pt0 { padding-top: 0; }
  .why, .footer-grid { grid-template-columns: 1fr; }
  .why li, .why li + li { padding: 20px 0; border-left: 0; }
  .why li + li { border-top: 1px solid var(--rule); }
  .card { padding: 20px; }
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; width: auto !important; }
  .price-table tbody tr { padding: 12px 14px; border-bottom: 1px solid var(--rule); }
  .price-table tbody th, .price-table tbody td { padding: 0; border: 0; }
  .price-table .desc { margin: 4px 0; }
  .price-table .price { text-align: left; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .main-nav, .main-nav ul { width: 100%; }
  .main-nav ul { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
  .main-nav li + li { border-left: 0; }
  .main-nav li:nth-child(even) { border-left: 1px solid var(--rule); }
  .main-nav a { text-align: center; padding: 8px 6px; }
  .work { grid-template-columns: 1fr; }
  .work li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .map-frame { height: 320px; }
}
.jump { display: inline-flex; justify-content: flex-start; max-width: 100%; }
.jump { border: 0; padding: 0 1px 1px 0; }
.jump li { border: 1px solid var(--wine); margin: 0 -1px -1px 0; }
