/* Great Allen Mountain LLC: soft, light barbershop palette (powder blue, soft pole red, lather cream, chrome)
   on a deep blue-black base drawn from the main blue; centred hero with a very large headline; classic serif
   headings over a clean sans; pill-button nav; price tables; sharp corners and 1px rules; barber-pole stripe */
@font-face {
  font-family: "Young Serif";
  src: url("fonts/young-serif-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --base: #111a2a;
  --deep: #18243a;
  --blue: #a9c6e6;
  --red: #e8928a;
  --cream: #f5ecdf;
  --chrome: #c7ced8;
  --muted: #aab6c6;
  --rule: #2b3a54;
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--base); color: var(--cream); font-family: var(--sans); font-size: 16.5px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0 0 .45em; }
h1 { font-size: clamp(2.8rem, 8vw, 6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1rem; font-weight: 600; line-height: 1.3; margin: 0 0 3px; }
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(--blue); color: var(--base); padding: 8px 14px; z-index: 10; }
.skip-link:focus { left: 8px; }
.wrap { width: min(100% - 40px, 1080px); margin-inline: auto; }
.narrow { width: min(100% - 40px, 780px); margin-inline: auto; }

/* header with pill nav */
.site-header { border-bottom: 1px solid var(--rule); }
.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; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.main-nav a { display: inline-block; padding: 8px 18px; border-radius: 999px; color: var(--cream); text-decoration: none; font-weight: 600; font-size: .93rem; box-shadow: inset 0 0 0 1px var(--rule); }
.main-nav a:hover { box-shadow: inset 0 0 0 1px var(--blue); }
.main-nav a[aria-current="page"] { background: var(--blue); color: var(--base); box-shadow: none; }

/* centred hero */
.hero { padding: 60px 0 30px; }
.hero.small { padding: 50px 0 26px; border-bottom: 1px solid var(--rule); }
.kicker { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 1em; }
.lede { font-size: 1.15rem; 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: 11px 22px; font-weight: 600; text-decoration: none; }
.btn.blue { background: var(--blue); color: var(--base); }
.btn.blue:hover { background: var(--cream); color: var(--base); }
.btn.line { color: var(--cream); box-shadow: inset 0 0 0 1px var(--cream); }
.btn.line:hover { background: var(--deep); color: var(--cream); }
.hero-fig { margin: 40px auto 0; max-width: 760px; border: 1px solid var(--rule); }
.hero-art { width: 100%; }
.sec { padding: 40px 0; border-top: 1px solid var(--rule); }
.board { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--rule); }
.board li + li { border-left: 1px solid var(--rule); }
.board a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 10px; color: var(--cream); text-decoration: none; font-family: var(--serif); font-size: 1.2rem; text-align: center; }
.board a:hover { background: var(--deep); }
.board img { width: 56px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 60px; align-items: start; }
.ticks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ticks li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--rule); position: relative; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.25em; width: 9px; height: 9px; background: var(--red); }
.ticks strong { color: var(--cream); font-weight: 600; }
.spot { border: 1px solid var(--rule); padding: 26px 28px; background: var(--deep) url("assets/motif-pole.svg") repeat-y right top; background-size: 26px 52px; }
.spot p { color: var(--muted); font-size: 1.08rem; }
.spot strong, .offers strong { color: var(--blue); }

/* price tables */
.jump { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.jump a { display: inline-block; padding: 6px 14px; border-radius: 999px; color: var(--cream); text-decoration: none; font-size: .88rem; font-weight: 600; box-shadow: inset 0 0 0 1px var(--rule); }
.jump a:hover { box-shadow: inset 0 0 0 1px var(--blue); }
.cat { scroll-margin-top: 14px; padding: 36px 0 6px; }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.cat-head img { width: 48px; }
.cat-head h2 { margin: 0; letter-spacing: .04em; }
.ptable { width: 100%; border-collapse: collapse; border-top: 1px solid var(--cream); }
.ptable thead th { text-align: left; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 8px 0; border-bottom: 1px solid var(--rule); font-weight: 600; }
.ptable thead th:last-child, .ptable td { text-align: right; }
.ptable tbody th { text-align: left; font-weight: 600; padding: 13px 16px 13px 0; border-bottom: 1px solid var(--rule); }
.ptable .d { display: block; font-weight: 400; color: var(--muted); font-size: .92rem; }
.ptable td { padding: 13px 0; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: 1.3rem; color: var(--blue); white-space: nowrap; vertical-align: top; }
.ptable .q { font-family: var(--sans); font-size: .82rem; font-weight: 600; color: var(--red); white-space: normal; display: inline-block; max-width: 10em; line-height: 1.35; }
.offers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cream); }
.offers li { padding: 13px 0; border-bottom: 1px solid var(--rule); }
.offers p { margin: 0; color: var(--muted); }
.narrow > .cat:last-child { padding-bottom: 56px; }

/* about / contact */
.story .first { font-family: var(--serif); font-size: 1.55rem; line-height: 1.35; }
.story p { color: var(--muted); }
.facts { margin: 0; border-top: 1px solid var(--cream); }
.facts div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 600; padding-top: 3px; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; border-top: 1px solid var(--cream); }
.hours caption { text-align: left; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
.hours th, .hours td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.hours thead th { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.map-frame { width: 100%; height: 360px; border: 1px solid var(--rule); display: block; background: var(--deep); }
.map-link { margin: 14px 0 0; font-weight: 600; }

/* footer */
.site-footer { margin-top: 20px; padding-bottom: 26px; text-align: center; color: var(--muted); }
.pole-rule { height: 14px; background: url("assets/motif-pole.svg") repeat-x; background-size: 26px 14px; opacity: .55; }
.foot { padding-top: 30px; }
.footer-name { font-family: var(--serif); font-size: 1.5rem; 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: .84rem; }

@media (max-width: 820px) {
  .two { grid-template-columns: 1fr; }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board li:nth-child(3) { border-left: 0; }
  .board li:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap, .narrow { width: min(100% - 28px, 1080px); }
  .head-in { justify-content: center; }
  .brand img { width: 54px; }
  .brand-name { font-size: 1.2rem; }
  .main-nav ul { justify-content: center; gap: 4px; }
  .main-nav a { padding: 6px 11px; font-size: .86rem; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .ptable tbody th { padding-right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
