/* American Heritage Point LLC: muted legal slate, parchment, oak and antique gold; saturated slate hero and
   section bands with white text over white content; editorial main column with a narrow right column;
   monospace labels and rates over a clean sans; vertical side header on the left; price tables; 4px corners;
   faint transcript-ruling motif on the slate bands */
@font-face {
  font-family: "DM Mono";
  src: url("fonts/dm-mono-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 {
  --slate: #3e5266;
  --slate-dk: #2b3a4a;
  --night: #1a2330;
  --parch: #f4efe4;
  --oak: #8b6a4a;
  --gold: #b89a5e;
  --ink: #1f2933;
  --muted: #56616d;
  --rule: #dfe3e8;
  --white: #ffffff;
  --mono: "DM Mono", "Consolas", "Courier New", monospace;
  --sans: "Inter", "Segoe UI", Arial, sans-serif;
  --side: 240px;
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: linear-gradient(to right, var(--night) var(--side), var(--white) var(--side)); color: var(--ink); font-family: var(--sans); font-size: 16.5px; line-height: 1.65; font-feature-settings: "calt" 0; display: grid; grid-template-columns: var(--side) minmax(0, 1fr); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--slate); text-underline-offset: 3px; }
a:hover { color: var(--oak); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: var(--r); }
h1, h2, h3 { font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.5rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); }
.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(--gold); color: var(--night); padding: 8px 14px; border-radius: var(--r); z-index: 10; }
.skip-link:focus { left: 8px; }
.inner { width: min(100% - 56px, 1020px); margin-inline: auto; }

/* vertical side header */
.side-header { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--night); color: var(--parch); padding: 30px 22px; display: flex; flex-direction: column; gap: 28px; }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 88px; height: auto; border-radius: var(--r); }
.brand-name { font-weight: 600; font-size: 1.25rem; line-height: 1.2; }
.side-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.side-nav a { display: block; padding: 9px 12px; border-radius: var(--r); color: #c9d2dc; text-decoration: none; font-weight: 600; border-left: 3px solid transparent; }
.side-nav a:hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.side-nav a[aria-current="page"] { color: var(--white); background: var(--slate); border-left-color: var(--gold); }
.side-meta { margin-top: auto; font-size: .8rem; color: #a9b4c0; }
.side-meta p { margin: 0 0 .7em; }
.side-meta a { color: var(--gold); font-weight: 600; font-size: .95rem; }
main { grid-column: 2; min-width: 0; }
.site-footer { grid-column: 2; }

/* slate bands */
.band { background: var(--slate) url("assets/motif-transcript.svg") repeat; background-size: 80px 28px; color: var(--white); padding: 58px 0; }
.band a { color: var(--white); }
.hero { padding: 60px 0 56px; }
.hero.small { padding: 48px 0 42px; }
.kicker { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #e7d6ad; margin-bottom: 1em; }
.lede { font-size: 1.18rem; max-width: 38em; color: #e9eef3; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-block; padding: 11px 20px; border-radius: var(--r); font-weight: 600; text-decoration: none; border: 2px solid transparent; }
.band .btn.light, .btn.light { background: var(--parch); color: var(--night); }
.btn.light:hover { background: var(--white); }
.band .btn.line { border-color: var(--parch); color: var(--white); }
.btn.line:hover { background: var(--slate-dk); }
.btn.solid { background: var(--slate); color: var(--white); }
.btn.solid:hover { background: var(--night); color: var(--white); }
.btn.outline { border-color: var(--slate); color: var(--slate); }
.btn.outline:hover { background: var(--parch); }

/* editorial: main + narrow right column */
.ed { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 0 40px; padding: 40px 0 56px; }
.ed-side { border-left: 1px solid var(--rule); padding-left: 24px; }
.side-title { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--oak); margin: 0 0 14px; font-weight: 400; }
.sticky { position: sticky; top: 16px; }
.art { margin: 0 0 6px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--rule); }
.hero-art { width: 100%; }
.block { padding: 28px 0; border-bottom: 1px solid var(--rule); }
.block:last-child { border-bottom: 0; }
.cat-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.cat-list a { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.cat-list a:hover .cn { color: var(--slate); text-decoration: underline; }
.cat-list img { width: 52px; border-radius: var(--r); }
.cn { font-weight: 600; font-size: 1.12rem; }
.cc { font-size: .78rem; color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; counter-reset: tk; }
.ticks li { counter-increment: tk; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--rule); position: relative; font-size: .93rem; color: var(--muted); }
.ticks li::before { content: counter(tk, decimal-leading-zero); position: absolute; left: 0; top: 11px; font-family: var(--mono); font-size: .78rem; color: var(--gold); }
.ticks strong { color: var(--ink); }
.ticks.big li { font-size: 1.05rem; padding: 13px 0 13px 34px; }
.spot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.spot p:last-child { margin: 0; font-size: 1.1rem; }
.amt { color: #f1dfb3; white-space: nowrap; }

/* price tables */
.jump { list-style: none; margin: 0; padding: 0; }
.jump a { display: block; padding: 8px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .93rem; }
.jump a:hover { color: var(--slate); }
.cat { scroll-margin-top: 16px; }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cat-head img { width: 50px; border-radius: var(--r); }
.cat-head h2 { margin: 0; }
.ptable { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.ptable thead th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; text-align: left; color: var(--muted); font-weight: 400; padding: 9px 0; border-bottom: 1px solid var(--ink); }
.ptable tbody th, .ptable td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.ptable tbody th { font-weight: 600; padding-right: 20px; }
.ptable .ds { display: block; font-weight: 400; color: var(--muted); font-size: .94rem; margin-top: 2px; }
.ptable .pr { text-align: right; white-space: nowrap; width: 1%; }
.ptable tbody .pr { font-size: 1.05rem; color: var(--slate-dk); }
.unit { display: block; font-size: .78rem; color: var(--oak); }
.q { display: inline-block; white-space: normal; width: 10em; font-size: .8rem; line-height: 1.4; color: var(--oak); }
.ptable.feat tbody tr { background: var(--parch); }
.ptable.feat tbody th { padding-left: 14px; }
.ptable.feat td { padding-right: 14px; }

/* about / contact */
.story .first { font-size: 1.24rem; line-height: 1.55; font-weight: 600; }
.facts { margin: 0; }
.facts div { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--oak); }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.facts.wide div { display: grid; grid-template-columns: 8em 1fr; gap: 12px; align-items: baseline; }
address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--oak); margin-bottom: 12px; }
.hours th, .hours td { text-align: left; padding: 10px 4px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; font-size: .92rem; }
.hours thead th { font-family: var(--mono); font-weight: 400; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); }
.map-frame { width: 100%; height: 360px; border: 1px solid var(--rule); border-radius: var(--r); display: block; background: var(--parch); }
.map-link { margin: 14px 0 0; font-weight: 600; }

/* footer */
.site-footer { background: var(--parch); border-top: 3px solid var(--slate); padding: 40px 0 24px; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-name { font-weight: 600; font-size: 1.25rem; margin-bottom: .2em; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-bottom { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid #d8cfbd; font-size: .78rem; color: var(--muted); }

@media (max-width: 1000px) {
  .ed { grid-template-columns: 1fr; padding-top: 30px; }
  .ed-side { border-left: 0; padding-left: 0; border-top: 2px solid var(--ink); padding-top: 20px; margin-top: 12px; }
  .ed-side.jump-only { display: none; }
}
@media (max-width: 860px) {
  body { display: block; background: var(--white); }
  .side-header { position: static; height: auto; padding: 16px 20px; gap: 12px; }
  .brand { flex-direction: row; align-items: center; }
  .brand img { width: 62px; }
  .brand-name { font-size: 1.1rem; }
  .side-nav ul { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .side-nav a { padding: 6px 10px; border-left: 0; }
  .side-meta { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .inner { width: min(100% - 36px, 1020px); }
  .side-nav a { font-size: .9rem; }
  .ptable thead { display: none; }
  .ptable tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .ptable tbody th, .ptable td { border: 0; padding: 0; width: auto !important; }
  .ptable.feat tbody tr { padding: 12px 14px; }
  .ptable.feat tbody th, .ptable.feat td { padding: 0; }
  .q { width: 7.5em; }
  .facts.wide div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
