/* Clare's piano store — shared styles for the collection and product pages.
   Edit here, not in the generated HTML. */

:root {
  --green: #659933;
  --green-dark: #567d2b;
  --ink: #1c1b18;
  --text: #33322e;
  --muted: #6f6c64;
  --cream: #faf8f4;
  --line: #e4e0d7;
  --gold: #a98a4b;
  --blue: #2b6cb0;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', Arial, sans-serif; color: var(--text); line-height: 1.65; background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; color: var(--ink); font-weight: 600; line-height: 1.12; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-family: 'Open Sans', sans-serif; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; font-weight: 700; color: var(--gold); }

/* Utility bar */
.util-bar { background: #fff; font-size: 0.82rem; border-bottom: 1px solid var(--line); }
.util-inner { max-width: 1180px; margin: 0 auto; padding: 8px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.util-bar a { color: var(--blue); text-decoration: none; }
.util-links { display: flex; gap: 20px; }

/* Header */
.site-header { background: #000; color: #fff; }
.header-inner { max-width: 1180px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; color: #fff; }
.brand-name { font-size: 1.5rem; font-weight: 700; letter-spacing: 0.3px; }
.brand-tagline { font-size: 0.8rem; color: #cfcfcf; }
.main-nav { display: flex; gap: 26px; list-style: none; align-items: center; }
.main-nav a { text-decoration: none; color: #fff; font-size: 0.95rem; font-weight: 600; transition: color 0.2s; }
.main-nav a:hover, .main-nav a.active { color: var(--green); }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: #fff; cursor: pointer; }

/* Breadcrumb */
.crumb { background: var(--cream); font-size: 0.82rem; color: var(--muted); }
.crumb .wrap { padding-top: 12px; padding-bottom: 12px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--green); }

/* Hero */
.hero { background: var(--cream); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding: 52px 0 60px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; border-radius: 4px; box-shadow: 0 24px 60px -28px rgba(0,0,0,0.45); }
.badge { position: absolute; top: 18px; left: 18px; background: rgba(28,27,24,0.92); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 14px; border-radius: 2px; }
.badge .dot { color: var(--green); }
.viz-tag { position: absolute; bottom: 14px; right: 14px; background: rgba(28,27,24,0.82); color: #efece4; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em; padding: 6px 11px; border-radius: 2px; }

.hero-name { font-size: 3.1rem; margin: 14px 0 6px; letter-spacing: 0.2px; }
.hero-prov { font-size: 1.05rem; color: var(--muted); font-style: italic; font-family: 'Cormorant Garamond', serif; }
.hero-rule { width: 54px; height: 2px; background: var(--gold); margin: 22px 0; }
.hero-blurb { font-size: 1.02rem; color: var(--text); max-width: 42ch; }

.price-row { display: flex; align-items: baseline; gap: 14px; margin: 26px 0 4px; flex-wrap: wrap; }
.price { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; font-weight: 700; color: var(--ink); }
.finance { font-size: 0.95rem; color: var(--green-dark); font-weight: 600; }
.finance-note { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }

.cta-row { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.btn { display: inline-block; text-decoration: none; text-align: center; font-weight: 700; border-radius: 3px; padding: 15px 30px; font-size: 1rem; transition: background 0.2s, color 0.2s, border-color 0.2s; cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.assurance { margin-top: 18px; font-size: 0.86rem; color: var(--muted); }
.assurance strong { color: var(--ink); }

/* Trust strip */
.trust { background: var(--ink); color: #efece4; }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; padding: 18px 24px; font-size: 0.9rem; }
.trust span { display: flex; align-items: center; gap: 9px; }
.trust .mk { color: var(--green); font-weight: 700; }

/* Sections */
section.block { padding: 68px 0; }
section.block.alt { background: var(--cream); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.sec-head h2 { font-size: 2.3rem; margin: 10px 0 12px; }
.sec-head p { color: var(--muted); font-size: 1.05rem; }

/* Gallery */
.gallery { max-width: 900px; margin: 0 auto; }
.gallery-main { border-radius: 6px; overflow: hidden; box-shadow: 0 20px 50px -28px rgba(0,0,0,0.45); background: #fff; }
.gallery-main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin-top: 14px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; cursor: pointer; background: #fff; line-height: 0; transition: border-color 0.15s, opacity 0.15s; opacity: 0.75; }
.thumb:hover { opacity: 1; }
.thumb.is-active { border-color: var(--green); opacity: 1; }
.thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.player-caption { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 22px; font-style: italic; }
.player-caption a { color: var(--green-dark); font-weight: 600; }

/* Story two-column */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story-img { border-radius: 4px; box-shadow: 0 18px 44px -26px rgba(0,0,0,0.4); }
.story-copy h2 { font-size: 2.2rem; margin-bottom: 16px; }
.story-copy p { margin-bottom: 16px; }

/* Before / after (used when a piano is restored-to-order) */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 900px; margin: 0 auto 44px; }
.ba-card { text-align: center; }
.ba-card img { border-radius: 4px; }
.ba-tag { display: inline-block; margin-top: 14px; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.ba-tag.after { color: var(--green-dark); }

/* Restoration checklist */
.checklist { max-width: 720px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.checklist.wide { max-width: 900px; }
.checklist li { list-style: none; padding-left: 28px; position: relative; color: var(--text); }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.restore-note { max-width: 720px; margin: 28px auto 0; text-align: center; font-size: 0.84rem; color: var(--muted); font-style: italic; }

/* Specs */
.specs { max-width: 720px; margin: 0 auto; border-top: 1px solid var(--line); }
.specs .row { display: flex; justify-content: space-between; gap: 20px; padding: 15px 4px; border-bottom: 1px solid var(--line); }
.specs .k { color: var(--muted); font-weight: 600; }
.specs .v { color: var(--ink); font-weight: 600; text-align: right; }

/* Upgrade upsell */
.upsell { max-width: 820px; margin: 40px auto 0; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 4px; padding: 28px 30px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.upsell .u-body { flex: 1 1 320px; }
.upsell h3 { font-size: 1.5rem; margin-bottom: 6px; }
.upsell p { color: var(--muted); font-size: 0.95rem; }
.upsell .u-price { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 700; color: var(--ink); white-space: nowrap; }

/* Inquiry CTA */
.inquire { background: var(--ink); color: #efece4; }
.inquire .wrap { padding: 66px 24px; }
.inquire-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.inquire h2 { color: #fff; font-size: 2.4rem; margin-bottom: 14px; }
.inquire .lead { color: #cfccc3; font-size: 1.05rem; margin-bottom: 22px; }
.scarcity { display: inline-flex; align-items: center; gap: 9px; background: rgba(101,153,51,0.16); color: #b9d99a; border: 1px solid rgba(101,153,51,0.4); font-size: 0.82rem; font-weight: 600; padding: 8px 14px; border-radius: 3px; margin-bottom: 22px; }
.inq-points { list-style: none; margin-top: 6px; }
.inq-points li { padding: 7px 0 7px 26px; position: relative; color: #d7d4cb; font-size: 0.95rem; }
.inq-points li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.inq-phone { display: inline-block; margin-top: 22px; font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 700; color: #fff; text-decoration: none; }
.inq-phone span { display: block; font-family: 'Open Sans'; font-size: 0.78rem; color: #9c988f; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }

/* Form card */
.form-card { background: #fff; color: var(--text); border-radius: 6px; padding: 32px; }
.form-card h3 { font-size: 1.7rem; margin-bottom: 6px; }
.form-card .fc-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 7px; }
.field label .req { color: #d33; }
.field input, .field textarea { width: 100%; padding: 12px; font-size: 1rem; font-family: inherit; border: 1px solid #cfcbc1; border-radius: 3px; background: #fff; color: var(--text); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); }
.field textarea { min-height: 92px; resize: vertical; }
.btn-submit { width: 100%; background: var(--green); color: #fff; border: none; border-radius: 3px; padding: 15px; font-size: 1.05rem; font-weight: 700; cursor: pointer; transition: background 0.2s, opacity 0.2s; }
.btn-submit:hover { background: var(--green-dark); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-error { color: #d33; font-weight: 600; margin-top: 12px; display: none; }
.form-fine { font-size: 0.75rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* Collection page */
.coll-hero { background: var(--cream); border-bottom: 1px solid var(--line); text-align: center; }
.coll-hero .wrap { padding: 60px 24px 56px; }
.coll-hero h1 { font-size: 3rem; margin: 12px 0 14px; }
.coll-hero p { color: var(--muted); font-size: 1.08rem; max-width: 62ch; margin: 0 auto; }
.coll-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 36px; }
.card { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: transform 0.18s, box-shadow 0.18s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(0,0,0,0.4); }
.card-media { position: relative; background: var(--cream); }
.card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-flag { position: absolute; top: 12px; left: 12px; background: rgba(28,27,24,0.9); color: #fff; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 11px; border-radius: 2px; }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-eyebrow { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.card-name { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; color: var(--ink); margin: 8px 0 8px; line-height: 1.15; }
.card-desc { color: var(--muted); font-size: 0.92rem; flex: 1; }
.card-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.card-price { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.card-link { color: var(--green-dark); font-weight: 700; font-size: 0.9rem; }
.coll-empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Sticky mobile CTA */
.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,0.08); padding: 10px 14px; gap: 10px; }
.sticky-cta .s-price { flex: 1; }
.sticky-cta .s-price b { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--ink); line-height: 1; }
.sticky-cta .s-price small { color: var(--muted); font-size: 0.72rem; }
.sticky-cta a { flex: 0 0 auto; padding: 12px 20px; }

@media (max-width: 900px) {
  .hero-grid, .story-grid, .inquire-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-name { font-size: 2.5rem; }
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
}
@media (max-width: 640px) {
  .util-links { display: none; }
  .checklist, .ba-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .sec-head h2 { font-size: 1.9rem; }
  .coll-hero h1 { font-size: 2.2rem; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
  .trust .wrap { flex-direction: column; gap: 12px; align-items: center; }
  .sticky-cta { display: flex; align-items: center; }
  body { padding-bottom: 74px; }
}

/* Footer */
.site-footer { background: #000; color: #cfcfcf; padding: 48px 0 28px; font-size: 0.9rem; }
.footer-grid { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 32px; }
.footer-grid h4 { color: var(--green); font-size: 1rem; margin-bottom: 14px; font-family: 'Open Sans'; }
.footer-hours .row { display: flex; justify-content: space-between; max-width: 220px; padding: 2px 0; }
.footer-contact p { margin-bottom: 12px; line-height: 1.5; }
.footer-contact a { color: #cfcfcf; text-decoration: none; }
.social { display: flex; gap: 12px; }
.social a { width: 34px; height: 34px; border-radius: 50%; background: #222; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; font-size: 0.8rem; font-weight: 700; }
.social a:hover { background: var(--green); }
.copyright { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid #222; font-size: 0.82rem; }

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
