/* Five Cross Boutique LLC: warm-leaning boutique palette (rose, wine, camel, cream) on a warm near-black base with
   light text; vertical side header on desktop, split hero (text / boutique rack graphic), serif throughout, price
   tables, thick 3px outlines and no shadows, faint cross-stitch texture */
@font-face {
  font-family: "Cardo";
  src: url("fonts/cardo-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cardo";
  src: url("fonts/cardo-italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cardo";
  src: url("fonts/cardo-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --base: #1c1216;
  --panel: #2a1c21;
  --cream: #f6eade;
  --soft: #cdbdb4;
  --rose: #e29c8c;
  --wine: #7a2f3b;
  --camel: #c99a62;
  --line: #4a3539;
  --serif: "Cardo", "Iowan Old Style", Georgia, serif;
  --side: 270px;
}

*, *::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: 19px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); text-underline-offset: 3px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 3px solid var(--camel); outline-offset: 3px; }
h1, h2, h3 { font-weight: 700; line-height: 1.1; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.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; border: 3px solid var(--rose);
  background: var(--base); color: var(--cream); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* vertical side header */
.shell {
  display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh;
  background: linear-gradient(90deg, var(--panel) 0 calc(var(--side) - 3px), var(--camel) calc(var(--side) - 3px) var(--side), transparent var(--side));
}
.side {
  position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 18px;
  padding: 26px 24px; background: var(--panel) url("assets/motif-crossstitch.svg") 0 0 / 24px 24px;
  border-right: 3px solid var(--camel);
}
.brand img { width: 160px; height: 160px; border: 3px solid var(--camel); }
.side-name { margin: 0; font-weight: 700; font-size: 1.3rem; line-height: 1.2; }
.side-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.side-nav a { display: block; padding: 7px 12px; border-left: 3px solid transparent; color: var(--cream); text-decoration: none; font-size: 1.08rem; }
.side-nav a:hover { border-left-color: var(--rose); color: var(--rose); }
.side-nav a[aria-current="page"] { border-left-color: var(--rose); background: var(--base); color: var(--rose); font-weight: 700; }
.side-foot { margin-top: auto; padding-top: 16px; border-top: 3px solid var(--line); color: var(--soft); font-size: 0.95rem; }
.side-call { display: inline-block; margin-bottom: 8px; padding: 6px 12px; border: 3px solid var(--rose); color: var(--cream); font-weight: 700; text-decoration: none; }
.side-call:hover { background: var(--rose); color: var(--base); }
.side-foot p { margin: 0; }
.main-col { min-width: 0; padding: 0 clamp(20px, 4vw, 56px); }
main { max-width: 1060px; }

/* split hero */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 56px 0 48px; border-bottom: 3px solid var(--line); }
.tag { display: inline-block; margin: 0 0 16px; padding: 3px 12px; border: 3px solid var(--camel); color: var(--camel); font-style: italic; }
.lede { font-size: 1.22rem; color: var(--soft); max-width: 32em; }
.split-art { border: 3px solid var(--camel); }
.hero-art { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.btn { display: inline-block; padding: 9px 20px; border: 3px solid var(--rose); font-weight: 700; text-decoration: none; }
.btn-rose { background: var(--rose); color: var(--base); }
.btn-rose:hover { background: var(--cream); border-color: var(--cream); color: var(--base); }
.btn-line { color: var(--cream); border-color: var(--cream); }
.btn-line:hover { background: var(--cream); color: var(--base); }

/* sections */
.sec { padding: 44px 0; border-bottom: 3px solid var(--line); }
.sec:last-child { border-bottom: 0; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-grid a { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; height: 100%; padding: 16px; border: 3px solid var(--line); color: var(--cream); text-decoration: none; }
.cat-grid a:hover { border-color: var(--rose); }
.cat-grid img { width: 56px; height: 56px; padding: 6px; background: var(--cream); }
.cat-name { font-weight: 700; font-size: 1.12rem; line-height: 1.2; }
.cat-count { color: var(--soft); font-style: italic; font-size: 0.95rem; }
.marks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.marks li { position: relative; padding-left: 28px; color: var(--soft); }
.marks li::before { content: "+"; position: absolute; left: 0; top: -0.05em; color: var(--rose); font-weight: 700; font-size: 1.3em; line-height: 1.2; }
.marks strong { color: var(--cream); }
.marks.three { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.spot { padding: 26px; border: 3px solid var(--rose); background: var(--panel); }
.spot p { color: var(--soft); }
.amount { font-size: 1.8rem; font-weight: 700; color: var(--rose) !important; }

/* price tables */
.page-top { padding: 56px 0 34px; border-bottom: 3px solid var(--line); }
.jump { list-style: none; margin: 0; padding: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.jump a { display: block; padding: 4px 12px; border: 3px solid var(--line); color: var(--cream); text-decoration: none; font-size: 0.98rem; }
.jump a:hover { border-color: var(--rose); color: var(--rose); }
.cat { scroll-margin-top: 10px; }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.cat-head img { width: 54px; height: 54px; padding: 6px; background: var(--cream); }
.cat-head h2 { margin: 0; letter-spacing: 0.04em; }
.ptable { width: 100%; border-collapse: collapse; border: 3px solid var(--camel); }
.ptable caption { text-align: left; font-weight: 700; font-size: clamp(1.6rem, 2.8vw, 2.2rem); padding-bottom: 12px; }
.ptable thead th { text-align: left; padding: 10px 16px; background: var(--camel); color: var(--base); font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; }
.ptable tbody th, .ptable tbody td { text-align: left; vertical-align: top; padding: 13px 16px; border-top: 1px solid var(--line); }
.ptable tbody th { font-weight: 700; width: 36%; }
.ptable td.d { color: var(--soft); font-style: italic; }
.ptable .p { text-align: right; white-space: nowrap; }
.ptable td.p { font-weight: 700; color: var(--rose); }
.ptable tbody tr:nth-child(even) { background: var(--panel); }
.call { font-size: 0.92rem; color: var(--cream); }
.featured .ptable { border-color: var(--rose); }
.featured .ptable thead th { background: var(--rose); }
.featured .btn-row { margin-top: 22px; }

/* about */
.story p { color: var(--soft); }
.story p.first { color: var(--cream); font-size: 1.35rem; line-height: 1.45; }
.facts-box { padding: 24px; border: 3px solid var(--camel); }
.facts { margin: 0; }
.facts div { padding: 10px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--camel); font-style: italic; font-size: 0.95rem; }
.facts dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }

/* contact */
.hours tbody th { width: auto; }
.hours td { white-space: nowrap; }
.hnote { display: block; color: var(--rose); font-style: italic; font-weight: 400; white-space: normal; }
.reach { padding: 24px; border: 3px solid var(--line); }
.reach address { margin-bottom: 12px; font-size: 1.1rem; }
.map-frame { display: block; width: 100%; height: 400px; border: 3px solid var(--camel); background: var(--panel); }
.map-link { margin: 12px 0 0; }

/* footer */
.site-footer { max-width: 1060px; padding: 34px 0 26px; border-top: 3px solid var(--camel); color: var(--soft); }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; }
.footer-name { color: var(--cream); font-weight: 700; font-size: 1.3rem; margin-bottom: 4px; }
.site-footer address { margin-bottom: 6px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-bottom { margin: 22px 0 0; font-size: 0.9rem; }

@media (max-width: 1180px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .shell { display: block; background: none; }
  .side {
    position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 18px;
    padding: 14px 20px; border-right: 0; border-bottom: 3px solid var(--camel);
  }
  .brand img { width: 64px; height: 64px; }
  .side-name { flex: 1; min-width: 0; }
  .side-nav { flex-basis: 100%; }
  .side-nav ul { display: flex; flex-wrap: wrap; gap: 2px 4px; }
  .side-nav a { border-left: 0; border-bottom: 3px solid transparent; padding: 4px 6px; font-size: 1rem; }
  .side-nav a[aria-current="page"] { border-bottom-color: var(--rose); }
  .side-foot { display: none; }
  .split, .two-col { grid-template-columns: 1fr; }
  .marks.three { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 18px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .ptable:not(.hours) thead { display: none; }
  .ptable:not(.hours), .ptable:not(.hours) tbody, .ptable:not(.hours) tr, .ptable:not(.hours) th, .ptable:not(.hours) td { display: block; width: 100%; }
  .ptable:not(.hours) tbody th { width: 100%; padding-bottom: 2px; }
  .ptable:not(.hours) tbody td { border-top: 0; padding-top: 2px; padding-bottom: 4px; }
  .ptable:not(.hours) tbody td.p { text-align: left; padding-bottom: 14px; }
  .hours tbody th, .hours tbody td { padding: 11px 10px; }
  .hours td { white-space: normal; padding-bottom: 12px; }
  .map-frame { height: 300px; }
}
