/* Clare's Player Pianos — Fort Worth microsite */
:root {
  --walnut: #3a2416;
  --walnut-2: #513422;
  --cream: #f9f5ee;
  --ivory: #fffdf9;
  --ink: #241a12;
  --muted: #6c5d4e;
  --brass: #a97b30;
  --brass-dark: #855f22;
  --line: #e7ddce;
  --shadow: 0 1px 2px rgba(58,36,22,.06), 0 8px 24px rgba(58,36,22,.08);
  --radius: 10px;
  --maxw: 1080px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brass-dark); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--walnut); font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin: 1.8em 0 .5em; }
h3 { font-size: 1.25rem; margin: 1.4em 0 .4em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section--tight { padding: 36px 0; }
.lede { font-size: 1.2rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 700;
  font-size: 1.05rem; line-height: 1; text-decoration: none; cursor: pointer;
  padding: 16px 26px; border-radius: var(--radius); border: 2px solid transparent;
  transition: transform .05s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brass); color: #fff; }
.btn--primary:hover { background: var(--brass-dark); }
.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--dark { background: var(--walnut); color: #fff; }
.btn--dark:hover { background: var(--walnut-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ivory); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.05; }
.brand b { font-family: var(--serif); font-size: 1.2rem; color: var(--walnut); font-weight: 700; }
.brand span { font-size: .78rem; color: var(--brass-dark); letter-spacing: .04em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:hover { color: var(--brass-dark); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone { font-weight: 700; color: var(--walnut); text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--brass-dark); }
.nav-toggle { display: none; }
.nav-toggle-label { display: none; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--walnut) 0%, #2c1a0f 100%); color: #f3ead9; }
.hero .wrap { padding-top: 64px; padding-bottom: 64px; }
.hero h1 { color: #fff; }
.hero .lede { color: #e6d8c2; max-width: 44ch; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 26px; padding: 0; list-style: none; }
.hero-badges li { position: relative; padding-left: 26px; font-weight: 600; color: #f0e6d4; }
.hero-badges li::before { content: "✓"; position: absolute; left: 0; color: var(--brass); font-weight: 800; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 14px 36px rgba(0,0,0,.42); }

/* Cards / grids */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); display: block;
}
a.card:hover { border-color: var(--brass); }
.card h3 { margin-top: 0; }
.card p { margin-bottom: 0; color: var(--muted); }

/* Answer-first callout */
.answer {
  background: var(--ivory); border-left: 5px solid var(--brass); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px; box-shadow: var(--shadow); font-size: 1.12rem; margin: 0 0 24px;
}

/* Price band */
.priceband { background: var(--walnut-2); color: #f3ead9; }
.priceband .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.priceband .price { font-family: var(--serif); font-size: 2.4rem; color: #fff; }
.priceband small { display: block; font-family: var(--sans); font-size: .95rem; color: #d9c9b0; }

/* Home guarantee band (the emotional hook that replaces the price on the homepage) */
.guarantee-band { background: var(--walnut-2); color: #f3ead9; }
.guarantee-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.guarantee-band .gb-headline { max-width: 32ch; }
.guarantee-band h2 { color: #fff; margin: 0 0 6px; }
.guarantee-band .gb-headline p { margin: 0; font-size: 1.2rem; color: #fff; }
.guarantee-band .gb-note { max-width: 46ch; margin: 0; color: #e6d8c2; }

/* Content prose */
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose { max-width: 72ch; }

/* Lists of checks */
.checklist { list-style: none; padding: 0; margin: 1em 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brass-dark); font-weight: 800; }

/* FAQ */
.faq details { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px; margin-bottom: 12px; }
.faq summary { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--walnut); cursor: pointer; padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brass); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* Forms */
.form { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.form label { display: block; font-weight: 600; margin: 14px 0 6px; }
.form input, .form select, .form textarea {
  width: 100%; font-family: var(--sans); font-size: 1.05rem; padding: 13px 14px;
  border: 1px solid #cdbfab; border-radius: 8px; background: #fff; color: var(--ink);
}
.form textarea { min-height: 110px; resize: vertical; }
.form .btn { margin-top: 20px; width: 100%; }
.form-note { font-size: .9rem; color: var(--muted); margin-top: 12px; }

/* Contact page (centered: heading, service lines, price, divider, form) */
.contact-wrap { max-width: 680px; }
.contact-h1 { text-align: center; text-transform: uppercase; letter-spacing: .02em; text-wrap: balance; }
.contact-lines { text-align: center; color: var(--muted); font-size: 1.1rem; margin: 0 auto 6px; }
.contact-lines p { margin: .25em 0; text-wrap: balance; }
.contact-price { text-align: center; font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--brass-dark); margin: 14px 0 2px; }
.contact-divider { border: none; border-top: 1px solid var(--line); max-width: 560px; margin: 18px auto 26px; }

/* Breadcrumb */
.crumb { font-size: .9rem; color: var(--muted); padding: 16px 0 0; }
.crumb a { color: var(--brass-dark); text-decoration: none; }

/* Callout strip */
.cta-strip { background: linear-gradient(160deg, var(--walnut) 0%, #2c1a0f 100%); color: #f3ead9; text-align: center; }
.cta-strip h2 { color: #fff; margin-top: 0; }
.cta-strip .btn-row { justify-content: center; }

/* Placeholder image blocks */
.ph {
  background:
    linear-gradient(135deg, rgba(255,255,255,.06) 25%, transparent 25%) 0 0/22px 22px,
    linear-gradient(160deg, var(--walnut-2), #2c1a0f);
  color: #d9c9b0; border-radius: var(--radius); min-height: 240px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: .9rem; letter-spacing: .03em; padding: 20px;
}
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.photo { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: auto; }
.prose .photo { margin: 8px 0 20px; }

/* Footer */
.site-footer { background: var(--walnut); color: #d9c9b0; margin-top: 20px; }
.site-footer a { color: #e9dcc6; text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; padding-top: 48px; padding-bottom: 28px; }
.footer-grid h4 { font-family: var(--serif); color: #fff; margin: 0 0 14px; font-size: 1.1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; padding-bottom: 30px; font-size: .85rem; color: #b7a487; }
.footer-bottom p { margin: .2em 0; }

/* Sticky mobile call bar */
.callbar { display: none; }

@media (max-width: 860px) {
  .nav-toggle-label {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 42px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
    font-size: 1.4rem; color: var(--walnut); background: var(--cream);
  }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
  }
  .nav a { display: block; width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle:checked ~ .nav { display: flex; }
  .header-phone { display: none; }
  /* The sticky bottom bar already carries See Pricing + Call, so the header stays
     just brand + menu on mobile instead of three crowded controls. */
  .header-cta .btn { display: none; }
  .grid-2, .grid-3, .two-col, .hero-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 26px; }
  .hero-media { max-width: 440px; margin: 4px auto 0; }
  .priceband .wrap, .guarantee-band .wrap { flex-direction: column; align-items: flex-start; gap: 14px; }
  .two-col { display: block; }
  .two-col .ph { margin-top: 20px; }
  body { padding-bottom: 60px; }
  /* Footer stacks on mobile. Without this it stayed 3 columns and the email
     address (an unbreakable token) forced the whole page wider than the screen,
     which pushed the header hamburger and body text off the right edge. */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 36px; padding-bottom: 24px; }
  .callbar {
    display: block; gap: 0;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    box-shadow: 0 -2px 12px rgba(0,0,0,.18);
  }
  .callbar a { display: block; padding: 16px; text-align: center; font-weight: 700; text-decoration: none; color: #fff; }
  .callbar .book { background: var(--brass-dark); }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .section { padding: 40px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
