/* Three Summit LLC: dusty plum, kraft and cream with a sage note; centred logo with the navigation below, saturated
   plum bands with white text over white content, a few large outlined panels, classic serif headings with a sans
   body, a category index column beside item rows, thick 3px outlines and no shadows, music-staff texture */
@font-face {
  font-family: "Cardo";
  src: url("fonts/cardo-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-500.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --plum: #5a3f5c;
  --plum-d: #3a2840;
  --ink: #221624;
  --kraft: #d6aa76;
  --cream: #f6ecde;
  --sage: #6f7d68;
  --white: #ffffff;
  --muted: #5b5160;
  --rule: #e4dbe3;
  --serif: "Cardo", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--kraft); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.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(--ink); color: var(--white); font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* centred logo, navigation below */
.site-header { border-bottom: 3px solid var(--ink); background: var(--white); }
.center-head { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px 0 0; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.brand img { width: 84px; height: 84px; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.7rem; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.main-nav a { display: block; padding: 10px 18px 12px; color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -3px; }
.main-nav a:hover { color: var(--plum); border-bottom-color: var(--kraft); }
.main-nav a[aria-current="page"] { color: var(--plum); border-bottom-color: var(--plum); }

/* plum bands with white text */
.band { background: var(--plum) url("assets/motif-staff.svg") 0 0 / 60px 30px; color: var(--white); padding: 52px 0; }
.band h1, .band h2, .band h3 { color: var(--white); }
.band.hero h1 { max-width: 16em; }
.tag { display: inline-block; margin: 0 0 16px; padding: 3px 12px; border: 3px solid var(--kraft); color: var(--white); font-weight: 500; font-size: 0.9rem; }
.lede { font-size: 1.16rem; color: #efe3ee; max-width: 38em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.btn { display: inline-block; padding: 10px 20px; border: 3px solid var(--plum); background: var(--plum); color: var(--white); font-weight: 500; text-decoration: none; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-outline { background: var(--white); color: var(--plum); }
.btn-light { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn-light:hover { background: var(--kraft); border-color: var(--kraft); color: var(--ink); }
.btn-outline-light { background: transparent; border-color: var(--cream); color: var(--white); }
.btn-outline-light:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }

/* a few large panels */
.panel { border: 3px solid var(--ink); background: var(--white); padding: 34px; }
.panel-dark { background: var(--plum-d); border-color: var(--kraft); color: var(--white); }
.hero-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.hero-panel .hero-art { width: 100%; border: 3px solid var(--kraft); }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: start; }
.section { padding: 56px 0; }
.section.pt0 { padding-top: 0; }
.desks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 3px solid var(--ink); }
.desks li + li { border-left: 3px solid var(--ink); }
.desks a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px; color: var(--ink); text-decoration: none; }
.desks a:hover { background: var(--cream); }
.desks img { width: 56px; height: 56px; }
.desks strong { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; }
.desks span { color: var(--muted); font-size: 0.94rem; }
.ruled { list-style: none; margin: 0; padding: 0; }
.ruled li { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.25); color: #e9dde8; }
.ruled strong { color: var(--white); }
.spot { border: 3px solid var(--kraft); padding: 24px; }
.spot p { color: #e9dde8; }
.kicker { margin: 0 0 6px; color: var(--kraft) !important; font-weight: 500; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.amount { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--kraft) !important; }

/* services: category index column + item rows */
.svc-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; padding: 48px 0 60px; }
.cat-index .panel { padding: 22px; }
.sticky { position: sticky; top: 16px; }
.index-title { font-size: 1.35rem; }
.cat-index ul { list-style: none; margin: 0 0 18px; padding: 0; }
.cat-index a { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--rule); color: var(--ink); font-weight: 500; text-decoration: none; }
.cat-index a:hover { color: var(--plum); }
.cat-index img { width: 30px; height: 30px; }
.cats { display: grid; gap: 28px; }
.cat { padding: 28px; scroll-margin-top: 16px; }
.cat-head { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 3px solid var(--ink); }
.cat-head img { width: 52px; height: 52px; }
.cat-head h2 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.7rem); letter-spacing: 0.02em; }
.items { list-style: none; margin: 0; padding: 0; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.item h3 { margin: 0 0 3px; font-size: 1.12rem; }
.item .desc { margin: 0; color: var(--muted); font-size: 0.96rem; }
.price { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--plum); text-align: right; white-space: nowrap; }
.price.quote { font-size: 1.05rem; line-height: 1.3; white-space: normal; max-width: 11em; }
.price.quote a { display: block; margin-top: 4px; font-family: var(--sans); font-weight: 500; font-size: 0.9rem; white-space: nowrap; }
.featured { background: var(--cream); }
.featured .item { border-bottom-color: #e2cfb6; }
#featured .btn-row { margin-top: 20px; }

/* about */
.story p { color: var(--muted); }
.story p.first { color: var(--ink); font-family: var(--serif); font-size: 1.42rem; line-height: 1.45; }
.facts { margin: 0 0 18px; border-top: 3px solid var(--ink); }
.facts div { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--sage); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.facts dd { margin: 2px 0 0; font-weight: 500; overflow-wrap: anywhere; }
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.why li { padding: 6px 24px 0 0; color: #e9dde8; }
.why li + li { padding-left: 24px; border-left: 3px solid var(--kraft); }
.why strong { display: block; margin-bottom: 6px; color: var(--white); font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; }

/* contact */
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-family: var(--serif); font-weight: 700; font-size: 1.9rem; margin-bottom: 8px; }
.hours thead th { text-align: left; padding: 6px 0; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); border-bottom: 3px solid var(--ink); }
.hours tbody th, .hours tbody td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.hours tbody th { padding-right: 14px; font-weight: 500; }
.hours td { white-space: nowrap; }
.hours td.closed { color: var(--muted); }
.note-line { margin: 16px 0 0; padding: 12px 14px; border: 3px solid var(--kraft); background: var(--cream); }
.map-frame { display: block; width: 100%; height: 400px; border: 3px solid var(--ink); background: var(--cream); }
.map-link { margin: 12px 0 0; }

/* footer */
.site-footer { background: var(--ink); color: #d9cfd9; padding: 40px 0 24px; }
.site-footer a { color: var(--kraft); }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 28px; }
.footer-name { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; color: var(--white); margin-bottom: 6px; }
.footer-title { color: var(--white); font-weight: 500; 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 #4a3a4c; font-size: 0.9rem; }

@media (max-width: 1000px) {
  .hero-panel, .split, .svc-grid { grid-template-columns: 1fr; gap: 28px; }
  .sticky { position: static; }
  .desks { grid-template-columns: 1fr; }
  .desks li + li { border-left: 0; border-top: 3px solid var(--ink); }
}
@media (max-width: 700px) {
  .band, .section { padding: 40px 0; }
  .section.pt0 { padding-top: 0; }
  .panel, .cat { padding: 20px; }
  .why, .footer-grid { grid-template-columns: 1fr; }
  .why li, .why li + li { padding: 16px 0; border-left: 0; }
  .why li + li { border-top: 3px solid var(--kraft); }
  .item { grid-template-columns: 1fr; gap: 6px; }
  .price { text-align: left; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .main-nav, .main-nav ul { width: 100%; }
  .main-nav ul { display: grid; grid-template-columns: 1fr 1fr; }
  .main-nav a { text-align: center; padding: 9px 6px 11px; }
  .map-frame { height: 300px; }
}
.cat-index a.btn { display: inline-block; padding: 10px 20px; border: 3px solid var(--plum); color: var(--white); }
.cat-index a.btn:hover { border-color: var(--ink); color: var(--white); }
