@font-face {
  font-family: "Liberation Sans";
  src: url("../fonts/LiberationSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Liberation Sans";
  src: url("../fonts/LiberationSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Liberation Sans";
  src: url("../fonts/LiberationSans-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: "Liberation Sans";
  src: url("../fonts/LiberationSans-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg-page: #F6F5F2;
  --bg-canvas: #FFFFFF;
  --bg-footer: #F3F2EE;
  --text: #222222;
  --muted: #555555;
  --line: #E6E4DE;
  --field: #D9D7D0;
  --link: #1A4F9C;
  --link-hover: #123A74;
  --accent: #B01212;
  --nav-current: #1A4F9C;
  --max: 1000px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg-page);
  color: var(--text);
  font-family: "Liberation Sans", Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
.thumb img, .hero img, .about-poster img, .info-photos img, .ship-row img {
  max-width: none;
}

a { color: var(--link); }
a:hover { color: var(--link-hover); }

.page {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--bg-canvas);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  padding: 20px 40px 0;
}
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.site-name {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
  text-align: center;
  text-wrap: balance;
}
.site-place { white-space: nowrap; }
.header-right { text-align: right; }
.strap {
  font-size: 13px;
  line-height: 18px;
  color: var(--muted);
}
.phone {
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
  color: var(--accent);
  text-decoration: none;
  display: inline-block;
  margin-top: 2px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 4px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.nav a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  line-height: 48px;
  padding: 0 14px;
  white-space: nowrap;
}
.nav a.current {
  font-weight: 700;
  color: var(--text);
  box-shadow: inset 0 -2px 0 var(--nav-current);
}

.main { flex: 1; padding: 32px 40px 48px; }

h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 34px;
  margin-bottom: 10px;
}
h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
  margin: 28px 0 10px;
}
.lead {
  font-size: 22px;
  line-height: 32px;
  margin-bottom: 14px;
}
.body, .prose { font-size: 15px; line-height: 25px; color: var(--text); }
.prose p { margin-bottom: 12px; }
.note { font-size: 13px; line-height: 20px; color: var(--muted); margin: 16px 0; }

.hero {
  margin: 8px 0 28px;
  overflow: hidden;
  background: var(--bg-page);
  aspect-ratio: 92 / 26;
  max-height: 260px;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 8px 0 32px;
}
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--link);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 50px;
  text-decoration: none;
  letter-spacing: 0.01em;
  min-height: 50px;
  text-align: center;
  padding: 0 10px;
}
.cta:hover { background: var(--link-hover); color: #fff; }

.page-links { font-size: 14px; line-height: 24px; color: var(--muted); margin: 0 0 24px; }
.page-links a { color: var(--link); text-decoration: none; }
.page-links .current { color: var(--text); font-weight: 700; }
.page-links .sep { color: #C8C5BC; margin: 0 10px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 30px;
}

.card { min-width: 0; }
.thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-page);
}
.thumb > a {
  display: block;
  width: 100%;
  height: 100%;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.thumb-rot90 img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 133.34%;
  height: 80%;
  object-fit: cover;
  transform: translate(-50%, -50%) rotate(90deg);
}
.sold-banner {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 72%;
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
  padding: 8px 0 7px;
  z-index: 2;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}
.cap {
  font-size: 13px;
  line-height: 18px;
  margin-top: 12px;
  color: var(--text);
}
.cap .price { font-weight: 700; margin-top: 2px; }
.cap .more { margin-top: 4px; }
.cap .more a { font-size: 13px; }

.stock-head { margin-top: 8px; }
.stock-rotator { position: relative; }
.stock-slide { display: none; }
.stock-slide.is-on { display: grid; }
.stock-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 8px;
}
.stock-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: #C8C5BC;
  cursor: pointer;
}
.stock-dots button.on { background: var(--link); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  margin-top: 12px;
  max-width: 100%;
}
.form-grid .wide { grid-column: 1 / -1; }
label.field-label {
  font-size: 13px;
  line-height: 18px;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}
.input, .textarea {
  width: 100%;
  height: 36px;
  border: 1px solid var(--field);
  background: #fff;
  font-family: "Liberation Sans", Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: var(--text);
  padding: 7px 10px;
}
.textarea { height: 120px; resize: vertical; }
.check {
  font-size: 13px;
  line-height: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--link);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  width: 140px;
  height: 42px;
  font-family: inherit;
}
.btn-send:hover { background: var(--link-hover); color: #fff; }
.form-note { font-size: 13px; color: var(--muted); margin: 10px 0 16px; }

.about-hero {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
  margin-top: 8px;
}
.about-poster {
  background: var(--bg-page);
  overflow: hidden;
}
.about-poster img { width: 100%; height: auto; object-fit: cover; }
.about-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 8px;
}
.ship-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 8px;
}
.ship-row img { width: 100%; height: auto; }

.info-back { font-size: 14px; margin-bottom: 22px; display: inline-block; }
.info-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 40px;
  align-items: start;
}
.info-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.info-photos.one { grid-template-columns: 1fr; }
.info-photos a, .info-photos .cell {
  display: block;
  overflow: hidden;
  background: var(--bg-page);
  aspect-ratio: 4 / 5;
  position: relative;
}
.info-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.info-photos .cell.rot90 img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 133.34%;
  height: 80%;
  object-fit: cover;
  transform: translate(-50%, -50%) rotate(90deg);
}
.info-copy h1, .info-copy .info-h1 {
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  margin-bottom: 4px;
}
.info-copy h2, .info-copy .info-h2 {
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  margin: 0 0 14px;
}
.info-copy p { margin-bottom: 12px; font-size: 15px; line-height: 22px; }
.info-copy ul { margin: 0 0 14px 18px; font-size: 15px; line-height: 24px; }
.info-copy li { margin: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-photos { display: grid; gap: 12px; }

.footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--line);
  padding: 20px 40px 24px;
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
}
.footer a { color: var(--link); text-decoration: none; }
.footer-contact { margin-top: 4px; }
.footer-nav { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px 18px; }

@media (max-width: 900px) {
  .grid, .stock-slide.is-on { grid-template-columns: repeat(2, 1fr); }
  .cta-row { grid-template-columns: 1fr; }
  .about-hero, .about-two, .ship-row, .info-layout, .contact-grid, .form-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .header, .main, .footer { padding-left: 18px; padding-right: 18px; }
  .header { padding-top: 16px; }
  .grid, .stock-slide.is-on { grid-template-columns: 1fr; }
  .site-name { font-size: 24px; }
  .nav a { line-height: 40px; padding: 0 10px; font-size: 13px; }
  .hero { max-height: 180px; aspect-ratio: 16 / 8; }
  .info-photos { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .info-photos { grid-template-columns: 1fr; }
}

/* Centred header and menu (Chris, 20 Nov 2026) */
.header-top { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.header-right { text-align: center; }
.nav { justify-content: center; }

/* Blue menu bar (Chris, 20 Nov 2026) */
.nav { background: var(--link); border-top: 0; border-bottom: 0; margin-left: -40px; margin-right: -40px; padding: 0 20px; }
.nav a { color: #fff; }
.nav a:hover { background: var(--link-hover); color: #fff; }
.nav a.current { color: #fff; font-weight: 700; background: var(--link-hover); box-shadow: inset 0 -3px 0 #fff; }
@media (max-width: 600px) { .nav { margin-left: -18px; margin-right: -18px; padding: 0 8px; } }

/* Background music play/pause control (Chris, 20 Nov 2026) */
.music-toggle {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  background: #1A4F9C;
  color: #fff;
  border: 0;
  border-radius: 24px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  font-family: inherit;
}
.music-toggle:hover,
.music-toggle:focus {
  background: #123A74;
  color: #fff;
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.music-toggle.is-playing { box-shadow: 0 2px 8px rgba(0,0,0,0.25), inset 0 0 0 1px rgba(255,255,255,0.35); }

/* Attribution for the background music (CC BY). Shown in the footer. */
.music-credit { margin-top: 10px; font-size: 12px; line-height: 18px; color: var(--muted); }
.music-credit cite { font-style: italic; }


/* Individual nav buttons (Chris, 20 Nov 2026)
   Each page link in the blue menu bar is a separate rounded button,
   centred, with an 8px gap. Current page: white fill, blue text. */
.nav {
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
}
.nav a {
  display: inline-block;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 6px;
  line-height: 1.2;
  padding: 8px 14px;
  font-weight: 600;
  box-shadow: none;
}
.nav a:hover,
.nav a:focus {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
  border-color: #fff;
}
.nav a.current {
  background: #fff;
  color: #1A4F9C;
  font-weight: 700;
  border-color: #fff;
  box-shadow: none;
}
.nav a.current:hover,
.nav a.current:focus {
  background: #fff;
  color: #123A74;
  border-color: #fff;
}
@media (max-width: 600px) {
  .nav {
    margin-left: -18px;
    margin-right: -18px;
    padding: 10px 8px;
    gap: 8px;
  }
  .nav a {
    line-height: 1.2;
    padding: 7px 11px;
    font-size: 13px;
  }
}

/* Two-row nav (Chris, 20 Nov 2026)
   Top row: Home, About Us, Contact Us
   Second row: Piano Accordions, Button Accordions, Bargain Page
   Button style and current-page highlight are unchanged. */
.nav {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.nav-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
}
@media (max-width: 420px) {
  .nav-row { gap: 6px; flex-wrap: nowrap; }
  .nav a { padding: 7px 8px; font-size: 12px; }
}

/* Listing card text +2pt (Chris, 20 Nov 2026)
   Make/title, description line, price and “Click here” link on listing cards
   (piano-accordions pages, button-accordions, bargain-page, and homepage stock
   cards, which all use .cap). 2pt ≈ 2.67px. Original sizes were 13px / 18px
   line-height; line-height is raised by the same 2pt so the larger type still
   has even leading and the 3-across cards stay aligned. */
.cap {
  font-size: calc(13px + 2pt);
  line-height: calc(18px + 2pt);
}
.cap .more a {
  font-size: calc(13px + 2pt);
}

/* Homepage CTA buttons styled like the top menu (Chris, 20 Nov 2026)
   Blue bar with separate rounded buttons, same look as .nav a.
   Revert: restore backup-before-cta-style/site.css. */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: var(--link);
  border-radius: 6px;
  padding: 12px 16px;
  margin: 8px 0 32px;
}
.cta {
  display: inline-block;
  min-height: 0;
  line-height: 1.2;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 6px;
}
.cta:hover,
.cta:focus {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
  border-color: #fff;
}
@media (max-width: 420px) {
  .cta-row { flex-wrap: nowrap; gap: 5px; padding: 10px 6px; }
  .cta { padding: 7px 6px; font-size: 11.5px; white-space: nowrap; }
}

/* Photo viewer with Back to listing button (Chris, 20 Nov 2026).
   Revert: restore backup-before-gallery/. */
.pv { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.88);
  align-items: center; justify-content: center; padding: 64px 56px 48px; }
.pv.open { display: flex; }
.pv-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.pv-back { position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  background: #fff; color: #1A4F9C; border: 1px solid #fff; border-radius: 6px;
  padding: 10px 18px; font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; cursor: pointer; }
.pv-back:hover, .pv-back:focus { background: #eef3fb; }
.pv-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 64px;
  background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.55);
  border-radius: 6px; font-size: 34px; line-height: 1; cursor: pointer; }
.pv-nav:hover, .pv-nav:focus { background: rgba(255,255,255,0.24); }
.pv-prev { left: 6px; }
.pv-next { right: 6px; }
.pv-count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #ddd; font-size: 14px; }
@media (max-width: 600px) { .pv { padding: 60px 8px 44px; } .pv-nav { width: 36px; height: 52px; font-size: 28px; background: rgba(0,0,0,0.35); } }
