/* Don's Furniture — 1:1 rebuild of the current Wix site.
   Measurements match the live desktop layout at 1280px wide. */

:root {
  --ink: #242424;
  --black: #000;
  --white: #fff;
  --gray-band: #e3e3e3;
  --font-display: "Wix Madefor Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-text: "Wix Madefor Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: 38px;
  --max: 1204px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font: 16px/1.4 var(--font-text);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 12px; z-index: 10; }
.skip-link:focus { left: 8px; }

h1, h2 { font-family: var(--font-display); font-weight: 700; color: var(--ink); line-height: 1.4; }
h1 { font-size: 62px; }
h2 { font-size: 40px; }

/* Header */
.site-header { height: 90px; display: flex; align-items: center; }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { margin-left: 14px; }
.brand img { width: 290px; height: 45px; object-fit: contain; }
.nav { display: flex; gap: 8px; }
.nav a {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 20px; min-width: 167px;
  font-size: 21px; letter-spacing: 0.05em; color: var(--ink); text-decoration: none;
  transition: opacity .2s;
}
.nav a:hover { opacity: .6; }

/* Hero */
.hero { padding: 26px 0 38px; }
.hero-inner { display: grid; grid-template-columns: 602px 1fr; min-height: 836px; }
.hero-media img { width: 100%; height: 836px; object-fit: cover; transition: transform .3s ease-in-out; }
.hero-media:hover img { transform: scale(.95); }
.hero-copy { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; }
.hero-copy h1 { max-width: 600px; }
.hero-copy p { font-size: 21px; color: var(--ink); max-width: 509px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 20px; width: 227px; height: 55px;
  background: var(--ink); color: var(--white); border: 1px solid var(--ink); border-radius: 5px;
  font-size: 16px; text-decoration: none; transition: background .2s, color .2s;
}
.button:hover { background: var(--white); color: var(--ink); }

/* Real Homes */
.real-homes { padding: 64px 0 47px; text-align: center; }
.lede { max-width: 761px; margin: 6px auto 0; }
.photo-row { display: grid; gap: 30px; margin-top: 38px; }
.real-homes .photo-row:first-of-type { margin-top: 55px; }
.photo-row img { width: 100%; height: 381px; object-fit: cover; border-radius: 5px; }
.row-a { grid-template-columns: 469fr 704fr; }
.row-b { grid-template-columns: 704fr 469fr; }
.row-c { grid-template-columns: 594fr 579fr; margin-top: 77px; }
.row-c img { height: 321px; }

/* Vendors */
.vendors { background: var(--gray-band); padding: 27px 0 60px; }
.vendors > .container > h2 { text-align: center; }
.vendors .lede { max-width: 836px; margin-top: 27px; font-size: 20px; text-align: center; }
.vendor-group { margin-top: 21px; }
.vendor-group h3 { font: 700 40px/1.4 var(--font-display); color: var(--ink); margin-left: 24px; }
.logo-grid { display: grid; grid-template-columns: repeat(5, 231px); gap: 12px; margin: 5px 0 0 12px; }
.logo { display: flex; align-items: center; justify-content: center; width: 231px; height: 130px; transition: transform .3s ease-in-out; }
.logo img { width: 100%; height: 100%; object-fit: contain; }
a.logo:hover { transform: scale(.95); }

/* Contact */
.contact { padding: 99px 0 120px; }
.contact-inner { display: grid; grid-template-columns: 570px 1fr; gap: 59px; padding-left: 22px; }
.contact-photos { display: grid; gap: 28px; }
.contact-photos img { width: 570px; height: 299px; object-fit: cover; }
.contact-copy h2 { margin-bottom: 36px; }
.store { margin-bottom: 20px; }
.store p { line-height: 1.6; }
.store .store-name { font-size: 25px; font-weight: 700; line-height: 1.6; }

/* Footer */
.site-footer { padding: 38px 0 60px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; row-gap: 74px; }
.footer-name { font: 400 28px/1.4 var(--font-display); padding-left: 7px; }
.footer-social { justify-self: end; align-self: start; font-size: 16px; }
.footer-social, .footer-credit a { display: inline-block; min-height: 24px; line-height: 24px; } /* WCAG 2.2 target size */
.footer-credit { grid-column: 1 / -1; justify-self: end; font-size: 14px; }

/* Smaller screens (the Wix site has a separate mobile layout; this stacks the same content) */
@media (max-width: 1240px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin-left: 0; }
  .logo { width: auto; }
  .contact-inner { grid-template-columns: 1fr 1fr; padding-left: 0; }
  .contact-photos img { width: 100%; }
}
@media (max-width: 750px) {
  :root { --gutter: 16px; }
  h1 { font-size: 40px; }
  h2, .vendor-group h3 { font-size: 30px; }
  .site-header { height: auto; padding: 16px 0; }
  .header-inner { flex-direction: column; gap: 8px; }
  .brand { margin: 0; }
  .brand img { width: 220px; height: 34px; }
  .nav a { min-width: 0; font-size: 17px; padding: 0 12px; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 32px; }
  .hero-media img { height: 420px; }
  .hero-copy p { font-size: 18px; }
  .photo-row, .row-a, .row-b, .row-c { grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
  .photo-row img, .row-c img { height: 260px; }
  .vendor-group h3 { margin-left: 0; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo { height: 100px; }
  .contact { padding: 60px 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-photos img { height: 200px; }
  .footer-inner { row-gap: 24px; }
}
