/* The Marketplace at Canyon Springs. One stylesheet, no web fonts, no scripts.
   Palette checked for WCAG 2.2 AA: every text pair below is at least 5.6:1 (most 7:1 or higher). */
:root {
  --paper: #faf7f1;
  --surface: #ffffff;
  --ink: #1d2025;
  --muted: #4a4f57;
  --line: #e2d9c8;
  --line-strong: #cdbfa6;
  --basalt: #23272e;
  --basalt-2: #2d323a;
  --night: #17191d;
  --cream: #f5efe4;
  --sand: #d9b77e;
  --chip: #f1e4cf;
  --teal: #1f5c63;
  --sage: #2f4a3a;
  --clay: #8a4b1f;
  --clay-dark: #7a4119;
  --badge-bg: #f6ead8;
  --badge-ink: #6b3a16;
  --focus-light: #1f5c63;
  --focus-dark: #ffd27a;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(29, 32, 37, 0.06), 0 8px 24px rgba(29, 32, 37, 0.07);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "Noto Serif", "DejaVu Serif", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { text-decoration-thickness: 0.14em; }
:focus-visible { outline: 3px solid var(--focus-light); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .hero-panel :focus-visible, .page-head :focus-visible { outline-color: var(--focus-dark); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 0.5em; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.25rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1.5rem; height: 1.5rem; flex: none; }

/* Skip link: visible on focus, never covered */
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 10; background: var(--surface); color: var(--ink); padding: 0.75rem 1rem; border-radius: 8px; font-weight: 600; box-shadow: var(--shadow); }
.skip:focus { top: 1rem; outline-offset: -5px; }
#main:focus { outline: none; }

/* Preview notice (inside the banner landmark) */
.notice { background: var(--chip); color: var(--basalt); border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.notice p { margin: 0; padding: 0.6rem 0; }
.site-header .notice .wrap { display: block; padding-block: 0; }

/* Header */
.site-header { background: var(--basalt); color: var(--cream); }
.site-header > .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--cream); text-decoration: none; min-height: 44px; }
.brand-text { display: grid; line-height: 1.1; }
.brand-kicker { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand); }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--cream); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 0.4rem; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.85rem; border-radius: 999px; color: var(--cream); text-decoration: none; font-weight: 600; }
.site-nav a:hover { background: var(--basalt-2); text-decoration: underline; }
.site-nav a[aria-current="page"] { background: var(--cream); color: var(--basalt); }
/* Phones: one row of equal cells under the name, like a tab bar. The current page gets an underline, and the focus
   ring is drawn inside each cell so it never lands on a neighbor or below the header. Wraps rather than overflows. */
@media (max-width: 30rem) {
  .site-header > .wrap { row-gap: 0.5rem; padding-bottom: 0; }
  .site-nav { flex: 1 1 100%; border-top: 1px solid var(--basalt-2); }
  .site-nav ul { gap: 0; }
  .site-nav li { flex: 1 1 auto; }
  .site-nav a { width: 100%; justify-content: center; padding: 0 0.3rem; border-radius: 0; font-size: min(1rem, 3.9vw); }
  .site-nav a:focus-visible { outline-offset: -3px; }
  .site-nav a[aria-current="page"] { background: none; color: var(--cream); box-shadow: inset 0 -3px 0 var(--sand); }
}

/* Hero: the picture, then a solid band for the headline (contrast is measurable) */
.hero { background: var(--night); }
.hero picture { display: block; position: relative; }
.hero picture img { width: 100%; height: clamp(13rem, 24vw, 19rem); object-fit: cover; object-position: center 58%; }
.hero picture::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(23, 25, 29, 0) 62%, rgba(23, 25, 29, 0.7) 88%, #17191d 100%); }
.hero-panel { position: relative; padding-block: 0.5rem 2.25rem; background-color: var(--night); color: var(--cream); }
.hero-panel h1 { color: #ffffff; margin-bottom: 0.35em; }
.hero-panel p { font-size: 1.15rem; max-width: 42rem; color: var(--cream); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.hero-panel p { text-wrap: pretty; }
.strip li { text-wrap: balance; }

/* Quick facts strip */
.strip { background: var(--chip); border-bottom: 1px solid var(--line); }
.strip ul { list-style: none; margin: 0; padding: 0.9rem 0; display: grid; gap: 0.6rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)); }
.strip li { display: flex; align-items: center; gap: 0.6rem; color: var(--basalt); font-weight: 600; }
.strip .icon { color: var(--clay); }

/* Page title band for inner pages */
.page-head { background: var(--basalt); color: var(--cream); padding-block: 2.5rem 2rem; }
.page-head h1 { color: #ffffff; margin: 0; }
.page-head p { margin: 0.6rem 0 0; color: var(--cream); max-width: 46rem; }
.crumbs { font-size: 0.95rem; margin-bottom: 0.75rem; }
.crumbs a { color: var(--sand); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0.7rem 1.25rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; line-height: 1.2; }
.btn-primary { background: var(--clay); color: #ffffff; }
.btn-primary:hover { background: var(--clay-dark); text-decoration: underline; }
.btn-light { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-light:hover { background: var(--cream); color: var(--basalt); }
.btn-outline { background: var(--surface); color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #ffffff; }

/* Sections */
.section { padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem); }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: 2rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
p.eyebrow, .section-head p.eyebrow, .hero-panel p.eyebrow, .prose p.eyebrow { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay-dark); font-weight: 700; margin: 0 0 0.5rem; max-width: none; }
.on-dark p.eyebrow, .hero-panel p.eyebrow { color: var(--sand); }

/* Business tiles (home): logo, kind, name and suite, each linking to the full entry in the directory */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 48rem) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } }
.tiles > li { display: grid; }
.tile { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; overflow: hidden; }
.tile:hover { border-color: var(--line-strong); }
.tile:hover .tile-name { text-decoration: underline; }
.tile-logo { height: 7rem; display: grid; place-items: center; padding: 0.9rem; border-bottom: 1px solid var(--line); }
.tile-logo img { max-height: 5rem; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.tile-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--badge-bg); color: var(--clay); }
.tile-text { display: grid; gap: 0.2rem; padding: 0.8rem 0.95rem 1rem; line-height: 1.3; }
.tile-kind { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--clay-dark); font-weight: 700; }
.tile-name { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; }
.tile-suite { color: var(--muted); font-size: 0.92rem; }
.tile-suite .badge { margin-left: 0.25rem; font-size: 0.78rem; }
.section-more { margin: 1.75rem 0 0; }

/* Directory cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
@media (min-width: 46rem) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; scroll-margin-top: 1rem; }
.card-logo { height: 9.5rem; display: grid; place-items: center; padding: 1.25rem; background: var(--surface); border-bottom: 1px solid var(--line); }
.card-logo img { max-height: 7rem; width: auto; object-fit: contain; }
.card-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.card-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; order: -1; }
.suite { display: inline-block; background: var(--chip); color: var(--basalt); border-radius: 999px; padding: 0.15rem 0.7rem; font-size: 0.88rem; font-weight: 700; }
.badge { display: inline-block; background: var(--badge-bg); color: var(--badge-ink); border: 1px solid #e2c9a6; border-radius: 999px; padding: 0.1rem 0.6rem; font-size: 0.85rem; font-weight: 700; }
.card h3 { margin: 0.35rem 0 0; }
.category { color: var(--muted); font-weight: 600; margin: 0; }
.description { margin: 0.35rem 0 0.25rem; }
.pills { list-style: none; margin: 0.25rem 0 0.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pills li { background: var(--paper); border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 0.15rem 0.7rem; font-size: 0.9rem; }
.recognition { margin: 0 0 0.5rem; padding: 0.6rem 0.8rem; background: var(--badge-bg); border-radius: var(--radius-sm); color: var(--badge-ink); font-size: 0.92rem; }
.recognition p { margin: 0; }
.card-body .pending { color: var(--muted); font-size: 0.95rem; margin: 0 0 0.25rem; }
.card-links { list-style: none; margin: auto 0 0; padding: 0.4rem 0 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; border-top: 1px solid var(--line); }
.card-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* Tables */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; }
caption { text-align: left; padding: 1rem 1.25rem 0; font-weight: 700; font-family: var(--serif); font-size: 1.15rem; }
th, td { text-align: left; padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: break-word; }
@media (max-width: 40rem) { th, td { padding: 0.7rem 0.6rem; font-size: 0.95rem; } caption { padding: 0.85rem 0.6rem 0; } thead th { font-size: 0.8rem; letter-spacing: 0.03em; } }
thead th { font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.table-wrap + p { margin-top: 1rem; }

/* Info blocks */
.grid-2 { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; }
.panel h2, .panel h3 { margin-top: 0; }
address { font-style: normal; font-size: 1.15rem; line-height: 1.5; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.facts li { padding-left: 1.75rem; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0.25rem; top: 0.6em; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--sand); border: 2px solid var(--clay); }
.stack > * + * { margin-top: 1rem; }
/* Contact details: a label, then a large link that is easy to tap */
.contact-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.25rem; }
.contact-list li { display: flex; flex-wrap: wrap; align-items: center; column-gap: 0.75rem; }
.contact-label { min-width: 3.75rem; color: var(--muted); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.1rem; font-weight: 700; overflow-wrap: anywhere; }
.site-footer .footer-contact { margin: 0 0 0.75rem; }
.prose { max-width: 46rem; }
.wrap.prose { max-width: none; }
.wrap.prose > * { max-width: 46rem; }
.nearby-title { margin: 1.75rem 0 0.5rem; }
.prose h2 { margin-top: 2rem; }
.prose > h2:first-child, .prose > .faq-group:first-child > h2 { margin-top: 0; }
.lead { font-size: 1.15rem; color: var(--ink); }

/* Stats */
.stats { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); }
.stats li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; display: grid; gap: 0.15rem; }
.stat-value { font-family: var(--serif); font-size: 1.75rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.stat-label { color: var(--muted); font-size: 0.95rem; }

/* Map */
.map-figure { margin: 0; }
.map-figure > a { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.map-figure img { width: 100%; height: auto; }
.map-figure figcaption { font-size: 0.92rem; color: var(--muted); margin-top: 0.6rem; }
.wayfinding { display: flex; gap: 0.75rem; align-items: flex-start; background: var(--badge-bg); border-radius: var(--radius-sm); padding: 0.85rem 1rem; color: var(--badge-ink); font-weight: 600; margin: 1rem 0; }
.wayfinding .icon { color: var(--clay); margin-top: 0.1rem; }

/* Nearby */
.nearby { margin: 0; display: grid; grid-template-columns: 1fr auto; border-top: 1px solid var(--line); }
.nearby dt, .nearby dd { margin: 0; padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
.nearby dd { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; padding-left: 1rem; }
.note { font-size: 0.92rem; color: var(--muted); margin-top: 0.75rem; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.faq-item p { margin: 0; color: var(--ink); }
.faq-group + .faq-group { margin-top: 2.5rem; }

/* Bands */
.band { background: var(--basalt); color: var(--cream); }
.band h2 { color: #ffffff; }
.band p { color: var(--cream); max-width: 44rem; }
.band-sage { background: var(--sage); }

/* Footer */
.site-footer { background: var(--basalt); color: var(--cream); padding-block: 2.5rem; font-size: 0.98rem; }
.site-footer a { color: var(--cream); }
.footer-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.site-footer h2 { color: #ffffff; font-size: 1.15rem; margin-bottom: 0.5rem; }
.site-footer address { font-size: inherit; margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.fine { border-top: 1px solid #3a3f47; margin-top: 2rem; padding-top: 1.25rem; }
.fine p { margin: 0.25rem 0; color: var(--cream); }

@media (max-width: 40rem) {
  .hero picture img { height: 13rem; }
  .hero-panel { padding-block: 0.25rem 1.75rem; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print {
  .notice, .site-nav, .hero picture, .skip, .strip { display: none; }
  .hero-panel { background: none; color: var(--ink); }
  .hero-panel h1, .hero-panel p, .page-head h1, .page-head p { color: var(--ink); }
  .site-header, .site-footer, .page-head, .band { background: none; color: var(--ink); }
}
