:root {
  color-scheme: light;
  --ink: #171615;
  --muted: #605b56;
  --paper: #f7f5f1;
  --line: #dfdbd5;
  --focus: #6d431a;
  --head: Poppins, "Century Gothic", "Segoe UI", sans-serif;
  --body: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); line-height: 1.5; }
a { color: inherit; }
button, input { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.wrap { width: min(1140px, calc(100% - 72px)); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; top: 8px; left: 8px; z-index: 2; background: white; color: var(--ink); padding: 10px 16px; }

.site-header, .site-footer { background: var(--ink); color: #fff; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.header-inner { min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 7px; font: 750 20px/1 var(--head); letter-spacing: -.04em; text-decoration: none; }
.brand strong { color: #e8ccae; font-weight: inherit; }
.brand-mark { display: inline-block; width: 24px; height: 16px; margin-inline-end: 5px; border: 2px solid #e8ccae; border-radius: 33% 27% 34% 26%; transform: rotate(-12deg); }
.company-link, .footer-inner a { color: #eee7df; font-size: .85rem; text-underline-offset: 4px; text-decoration-color: transparent; }
.company-link:hover, .footer-inner a:hover { text-decoration-color: currentColor; }
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: #f7daba; }

.hero {
  color: #fff;
  background-color: #393028;
  background-image: linear-gradient(90deg, rgb(24 19 15 / 89%) 0%, rgb(26 21 17 / 77%) 28%, rgb(27 21 16 / 29%) 60%, rgb(28 21 16 / 5%) 100%), url("bedroom.jpg");
  background-position: center, center 54%;
  background-size: cover;
}
.hero-inner { min-height: clamp(390px, 36vw, 550px); display: grid; align-content: center; justify-items: start; padding-block: 55px; }
.hero h1 { font: 800 clamp(3rem, 6.1vw, 5.4rem)/1.04 var(--head); letter-spacing: -.067em; margin: 0; }
.hero p { max-width: 36ch; margin: 23px 0 26px; color: #fff7f0; font-size: clamp(1rem, 1.9vw, 1.14rem); }
.hero-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 48px; padding: 10px 17px; border-radius: 9px; background: #fff; color: var(--ink); font-weight: 720; text-decoration: none; }
.hero-link:hover { background: #f1e0ce; }

.directory { padding-block: 50px 60px; scroll-margin-block-start: 14px; }
.directory-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px 26px; margin-bottom: 24px; }
.directory h2 { margin: 0; font: 780 clamp(1.9rem, 4.2vw, 2.65rem)/1.1 var(--head); letter-spacing: -.048em; }
.directory-heading p { margin: 9px 0 0; color: var(--muted); }
.search { flex: 0 1 320px; min-width: 220px; }
.search-field { position: relative; }
.search-icon { position: absolute; pointer-events: none; inset: 16px auto auto 17px; width: 14px; height: 14px; border: 1.8px solid var(--muted); border-radius: 50%; }
.search-icon::after { content: ""; position: absolute; bottom: -4px; right: -3px; width: 6px; height: 1.8px; border-radius: 2px; background: var(--muted); transform: rotate(45deg); }
.search input { width: 100%; min-height: 48px; padding: 8px 14px 8px 43px; border: 1px solid #b9b1a8; border-radius: 9px; background: #fff; color: var(--ink); }
.search input::placeholder { color: var(--muted); }

.store-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; padding: 0; margin: 0; list-style: none; }
.store-card { min-height: 92px; height: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; }
.store-card:hover { border-color: #a98c6e; background: #fffdfa; }
.store-card img { border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgb(23 22 21 / 14%); }
.store-info { min-width: 0; }
.store-info strong, .store-info span { display: block; overflow-wrap: anywhere; }
.store-info strong { font-size: .97rem; }
.store-info span { margin-top: 3px; font-size: .76rem; color: var(--muted); }
.arrow { color: #594630; align-self: start; margin-top: 5px; font-size: 1.1rem; }
.directory-note { margin: 24px 0 0; color: var(--muted); font-size: .88rem; }
.directory-note a { color: var(--ink); text-underline-offset: 3px; font-weight: 660; }
.empty { border: 1px dashed #b9b1a8; border-radius: 12px; padding: 22px; }
.empty p { margin: 0 0 8px; }
.empty button { padding: 4px 0; border: 0; background: none; cursor: pointer; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-weight: 660; }
.footer-inner { min-height: 78px; padding-block: 14px; font-size: .85rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.details { padding-block: 46px 60px; max-width: 72ch; }
.details h1, .details h2 { font-family: var(--head); line-height: 1.15; }
.details h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); margin-top: 0; }
.details h2 { margin-top: 30px; }
.analytics-preferences { margin-inline: max(20px, calc((100% - 1140px) / 2)) !important; }

@media (max-width: 1120px) {
  .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 61px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 20px; height: 14px; margin-inline-end: 2px; }
  .company-link { font-size: .72rem; text-align: right; }
  .hero {
    background-image: linear-gradient(90deg, rgb(22 18 14 / 83%), rgb(24 19 15 / 70%) 48%, rgb(29 23 18 / 24%)), url("bedroom.jpg");
    background-position: center, 64% center;
  }
  .hero h1 { font-size: clamp(2.7rem, 8.2vw, 3.6rem); }
  .hero-inner { min-height: 385px; }
  .desktop-break { display: none; }
  .directory { padding-block: 34px 42px; }
  .directory-heading { display: grid; }
  .search { min-width: 0; }
  .store-card { min-height: 83px; }
}
@media (max-width: 520px) {
  .store-grid { grid-template-columns: 1fr; gap: 9px; }
  .store-card { padding: 12px 14px; min-height: 71px; }
  .store-info span { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
