/* TrueKey Yocum LLC: earthy, dusty barbershop palette (saddle leather, barbicide teal, key brass, lather cream)
   on a near-black base; centred hero with a very large headline; serif type throughout; pill-button nav;
   flat tiles grouped by category; thick 3px outlines and no shadows; comb-teeth motif */
@font-face {
  font-family: "Gelasio";
  src: url("fonts/gelasio-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gelasio";
  src: url("fonts/gelasio-400i.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Gelasio";
  src: url("fonts/gelasio-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --base: #121110;
  --raised: #1c1a18;
  --leather: #a5785a;
  --teal: #6f9c97;
  --brass: #d2ad66;
  --cream: #efe6d6;
  --muted: #b9ad9c;
  --line: 3px solid var(--leather);
  --serif: "Gelasio", Georgia, "Times New Roman", serif;
  --r: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--base); color: var(--cream); font-family: var(--serif); font-size: 17.5px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brass); text-underline-offset: 3px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-weight: 700; line-height: 1.08; margin: 0 0 .45em; }
h1 { font-size: clamp(2.8rem, 8.4vw, 6.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.05rem); }
h3 { font-size: 1.04rem; margin-bottom: 4px; }
p { margin: 0 0 1em; }
.center { text-align: center; }
.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(--brass); color: var(--base); padding: 8px 14px; z-index: 10; }
.skip-link:focus { left: 8px; }
.wrap { width: min(100% - 40px, 1100px); margin-inline: auto; }
.narrow { width: min(100% - 40px, 760px); }

/* header with pill nav */
.site-header { border-bottom: var(--line); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 12px 26px; padding: 14px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--cream); text-decoration: none; }
.brand img { width: 62px; border-radius: var(--r); }
.brand-name { font-weight: 700; font-size: 1.35rem; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.main-nav a { display: inline-block; padding: 6px 16px; border-radius: 999px; border: 3px solid var(--raised); color: var(--muted); text-decoration: none; }
.main-nav a:hover { border-color: var(--leather); color: var(--cream); }
.main-nav a[aria-current="page"] { background: var(--brass); border-color: var(--brass); color: var(--base); font-weight: 700; }

/* centred hero */
.hero { padding: 56px 0 26px; }
.hero.small { padding: 46px 0 20px; }
.kicker { font-style: italic; font-size: 1.1rem; color: var(--teal); margin-bottom: .6em; }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 36em; margin-inline: auto; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.center .btn-row, .center .jump { justify-content: center; }
.btn { display: inline-block; padding: 10px 22px; border-radius: var(--r); border: 3px solid var(--brass); font-weight: 700; text-decoration: none; }
.btn.brass { background: var(--brass); color: var(--base); }
.btn.brass:hover { background: var(--cream); border-color: var(--cream); color: var(--base); }
.btn.line { color: var(--cream); }
.btn.line:hover { background: var(--raised); color: var(--cream); }
.hero-fig { margin: 36px auto 0; max-width: 760px; border: var(--line); border-radius: 16px; overflow: hidden; }
.hero-art { width: 100%; }
.sec { padding: 30px 0; }
.cats { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cats a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 12px; border: var(--line); border-radius: var(--r); color: var(--cream); text-decoration: none; font-weight: 700; font-size: 1.1rem; text-align: center; }
.cats a:hover { background: var(--raised); }
.cats img { width: 56px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.box { border: var(--line); border-radius: 16px; padding: 26px 28px; }
.box.teal { border-color: var(--teal); }
.box.teal p { color: var(--muted); font-size: 1.08rem; }
.box.teal strong, .offer strong { color: var(--brass); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { padding-left: 26px; position: relative; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; border: 3px solid var(--brass); border-radius: 50%; }
.ticks strong { color: var(--cream); }

/* flat tiles grouped by category */
.jump { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-block; padding: 5px 14px; border-radius: 999px; border: 3px solid var(--leather); color: var(--cream); text-decoration: none; font-size: .92rem; }
.jump a:hover { background: var(--raised); }
.stack { display: grid; gap: 34px; padding: 18px 0 54px; }
.cat { scroll-margin-top: 14px; }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cat-head img { width: 50px; }
.cat-head h2 { margin: 0; letter-spacing: .05em; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.tile { display: flex; flex-direction: column; padding: 16px 18px; border: var(--line); border-radius: var(--r); }
.tile .d { color: var(--muted); font-size: .95rem; margin-bottom: 12px; font-style: italic; }
.tile .price { margin: auto 0 0; font-weight: 700; font-size: 1.5rem; color: var(--brass); }
.tile .price.q { font-size: .92rem; color: var(--teal); }
.offer { border-color: var(--teal); }
.offer .d { margin: 0; font-style: normal; }

/* about / contact */
.story .first { font-size: 1.45rem; line-height: 1.4; }
.story p { color: var(--muted); }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 2px solid var(--raised); }
.facts div:first-child { border-top: 0; }
.facts dt { font-style: italic; color: var(--teal); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-weight: 700; font-size: clamp(1.5rem, 2.8vw, 2.05rem); margin-bottom: 10px; }
.hours th, .hours td { text-align: left; padding: 10px 4px; border-top: 2px solid var(--raised); }
.hours thead th { font-style: italic; font-weight: 400; color: var(--teal); border-top: 0; }
.map-frame { width: 100%; height: 360px; border: var(--line); border-radius: 16px; display: block; background: var(--raised); }
.map-link { margin: 14px 0 26px; font-weight: 700; }

/* footer */
.site-footer { padding-bottom: 26px; text-align: center; color: var(--muted); }
.comb-rule { height: 16px; background: url("assets/motif-comb.svg") repeat-x left top; background-size: 24px 16px; }
.foot { padding-top: 26px; }
.footer-name { font-weight: 700; font-size: 1.45rem; color: var(--cream); margin-bottom: .2em; }
.footer-list { list-style: none; margin: 14px 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.footer-bottom { margin: 0; font-size: .88rem; font-style: italic; }

@media (max-width: 860px) {
  .two { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .wrap, .narrow { width: min(100% - 28px, 1100px); }
  .head-in { justify-content: center; }
  .brand img { width: 56px; }
  .main-nav ul { justify-content: center; gap: 4px; }
  .main-nav a { padding: 4px 11px; font-size: .92rem; }
  .box { padding: 20px 18px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
