:root {
  --blue: #090975;
  --blue-dark: #06065d;
  --red: #ec5266;
  --ink: #282828;
  --muted: #696969;
  --page: #f1f1f1;
  --line: #dedede;
  --white: #fff;
  --font: "Source Sans Pro", Graphik, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: var(--page); font-family: var(--font); line-height: 1.55; }
button, input, select { font: inherit; }
a { color: inherit; }
button, select { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 50; background: var(--white); color: var(--blue); padding: .65rem 1rem; }
.skip-link:focus { top: 1rem; }
.masthead { background: var(--white); border-bottom: 1px solid #e7e7e7; }
.masthead-inner, .nav-wrap, .section-wrap, .footer-inner, .about-wrap { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.masthead-inner { min-height: 144px; display: flex; align-items: center; gap: 1.1rem; }
.thumbwind-logo { display: block; flex: 0 0 92px; width: 92px; height: 92px; }
.thumbwind-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.masthead-copy { min-width: 0; }
.masthead-title { display: inline-block; color: var(--blue); font-size: clamp(1.85rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.05; letter-spacing: -.035em; text-decoration: none; }
.masthead-copy p { margin: .38rem 0 0; color: #333; font-size: 1rem; }
.masthead-about { margin-left: auto; color: var(--blue); font-size: .82rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.masthead-about span { color: var(--red); padding-left: .2rem; }
.nav-band { background: var(--blue); color: var(--white); }
.nav-wrap { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.nav-brand { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-decoration: none; white-space: nowrap; }
.site-header nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.3rem); }
.site-header nav a { color: #fff; font-size: .9rem; font-weight: 700; text-decoration: none; }
.site-header nav a:hover { color: #ffbec7; }
.site-header nav .nav-total { display: flex; align-items: center; gap: .4rem; margin-left: .25rem; padding-left: 1.15rem; border-left: 1px solid rgba(255,255,255,.32); color: #fff; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.nav-total span:first-child { color: #ff9dab; font-size: 1.02rem; }
.hero { background: var(--page); padding: 58px 0 0; }
.hero-inner { width: min(1240px, calc(100% - 48px)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(2rem, 7vw, 6rem); align-items: center; padding-bottom: 45px; }
.hero-copy { max-width: 760px; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: .65rem; color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow-rule { width: 24px; height: 3px; background: var(--red); }
.hero h1 { margin: .8rem 0 .85rem; color: #252525; font-size: clamp(2.6rem, 5.2vw, 4.6rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.03; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-deck { max-width: 700px; margin: 0 0 1.45rem; color: #4e4e4e; font-size: clamp(1rem, 1.6vw, 1.17rem); line-height: 1.65; }
.search-form { display: flex; align-items: center; max-width: 760px; min-height: 60px; padding: 6px; background: var(--white); border: 1px solid #cfcfcf; box-shadow: 0 3px 12px rgba(0,0,0,.07); }
.search-icon { flex: 0 0 22px; width: 22px; height: 22px; margin: 0 12px; fill: none; stroke: #555; stroke-width: 1.8; }
.search-form input { flex: 1; min-width: 0; padding: .7rem 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .98rem; }
.search-form input::placeholder { color: #777; opacity: 1; }
.search-form input:focus-visible { outline: 0; }
.search-form:focus-within { outline: 3px solid rgba(236,82,102,.35); outline-offset: 2px; }
.search-form button, .button-dark { border: 0; background: var(--blue); color: #fff; font-size: .87rem; font-weight: 700; padding: .8rem 1.25rem; }
.search-form button:hover, .button-dark:hover { background: var(--blue-dark); }
.search-form button span { padding-left: .45rem; color: #ffb0bc; }
.search-help { margin: .55rem 0 0; color: var(--muted); font-size: .77rem; }
.quick-search { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; color: #676767; font-size: .8rem; }
.quick-search button { border: 1px solid #d4d4d4; background: #fff; color: var(--blue); padding: .27rem .65rem; font-size: .76rem; font-weight: 600; }
.quick-search button:hover { border-color: var(--red); color: #be3549; }
.hero-summary { display: flex; flex-direction: column; align-items: flex-start; min-height: 226px; padding: 1.25rem 1.4rem; border-left: 4px solid var(--red); background: var(--white); box-shadow: 0 3px 14px rgba(0,0,0,.06); }
.summary-label { color: var(--red); font-size: .68rem; font-weight: 800; letter-spacing: .1em; }
.hero-summary strong { margin: .65rem 0 .15rem; color: var(--blue); font-size: 3.5rem; line-height: 1; }
.summary-caption { color: #555; font-size: .9rem; line-height: 1.4; }
.hero-summary a { margin-top: auto; padding-top: 1rem; color: var(--blue); font-size: .8rem; font-weight: 700; text-decoration: none; }
.hero-summary a span { color: var(--red); padding-left: .2rem; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); width: min(1240px, calc(100% - 48px)); margin-inline: auto; border-top: 1px solid #d6d6d6; }
.stat { min-height: 82px; display: flex; align-items: center; gap: .85rem; padding: 1rem 1.2rem 1rem 0; }
.stat + .stat { border-left: 1px solid #d7d7d7; padding-left: 1.3rem; }
.stat strong { color: var(--blue); font-size: 1.8rem; line-height: 1; }
.stat span { max-width: 180px; color: #5f5f5f; font-size: .75rem; line-height: 1.35; }
.region-section { padding: 62px 0 68px; background: #fff; border-block: 1px solid #e2e2e2; }
.section-kicker { margin-bottom: .7rem; }
.section-kicker span { color: #777; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.section-heading h2, .about-grid h2 { margin: 0; max-width: 760px; color: #272727; font-size: clamp(1.8rem, 3.5vw, 2.75rem); font-weight: 700; line-height: 1.1; letter-spacing: -.04em; }
.section-heading p { max-width: 405px; margin: 0; color: #606060; font-size: .88rem; line-height: 1.6; }
.region-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.region-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: 104px; padding: .95rem 1rem; text-align: left; border: 1px solid #dedede; border-bottom: 3px solid #d4d4d4; background: #f8f8f8; color: var(--ink); transition: background .16s ease, transform .16s ease, border-color .16s ease; }
.region-card:hover, .region-card.is-active { border-color: #c8c8d9; border-bottom-color: var(--red); background: #fff; transform: translateY(-2px); }
.region-card.is-active { box-shadow: inset 3px 0 var(--red); }
.visit-section { padding: 58px 0 62px; background: #f7f7f7; border-bottom: 1px solid #e2e2e2; }
.visit-panel { display: flex; flex-wrap: wrap; align-items: end; gap: .8rem; padding: 1.1rem; border: 1px solid #dedede; background: #fff; }
.visit-panel label { display: grid; flex: 1 1 280px; gap: .35rem; color: #5d5d5d; font-size: .7rem; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.visit-panel select { width: 100%; min-height: 43px; padding: .45rem .7rem; border: 1px solid #cfcfcf; background: #fff; color: #333; font-size: .84rem; text-transform: none; letter-spacing: 0; }
.visit-panel .button-dark { min-height: 43px; }
.visit-panel button:disabled { cursor: not-allowed; background: #8b8b9e; }
.visit-map-link { display: inline-flex; min-height: 43px; align-items: center; padding: .65rem .95rem; background: #fcecef; color: #8e2334; font-size: .84rem; font-weight: 700; text-decoration: none; }
.visit-map-link:hover { background: #f8dce1; }
.visit-map-link.is-disabled { color: #777; background: #eee; }
.visit-note { max-width: 900px; margin: .8rem 0 0; color: #666; font-size: .77rem; line-height: 1.55; }
.region-card .region-name { max-width: 240px; font-size: 1.05rem; font-weight: 700; line-height: 1.2; }
.region-card .region-count { color: #6c6c6c; font-size: .73rem; }
.region-card .region-arrow { position: absolute; top: .75rem; right: .9rem; color: var(--red); font-size: 1rem; }
.directory-section { padding: 68px 0 82px; background: var(--page); }
.directory-heading { margin-bottom: 1.6rem; }
.filter-panel { padding: 1rem 1.15rem 1.2rem; border: 1px solid #dedede; background: #fff; box-shadow: 0 3px 12px rgba(0,0,0,.04); }
.filter-panel-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .8rem; }
.filter-panel-top strong { color: var(--blue); font-size: 1rem; }
.clear-button { padding: .2rem .35rem; border: 0; background: transparent; color: #c63d51; font-size: .78rem; text-decoration: underline; text-underline-offset: 3px; }
.filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .85rem; }
.filter-grid label, .sort-control { display: grid; gap: .35rem; color: #5d5d5d; font-size: .7rem; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.filter-grid select, .sort-control select { width: 100%; min-height: 43px; padding: .45rem .7rem; border: 1px solid #cfcfcf; border-radius: 0; background: #fff; color: #333; font-size: .84rem; text-transform: none; letter-spacing: 0; }
.results-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 1.5rem 0 .9rem; padding-bottom: .65rem; border-bottom: 1px solid #d7d7d7; }
.results-toolbar p { margin: 0; color: #5b5b5b; font-size: .85rem; }
.results-toolbar p strong { color: var(--ink); }
.sort-control { display: flex; align-items: center; gap: .55rem; white-space: nowrap; }
.sort-control select { width: auto; min-width: 150px; min-height: 36px; padding-block: .35rem; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; align-items: stretch; }
.entry-card { display: flex; flex-direction: column; min-width: 0; padding: 1rem 1rem .95rem; border: 1px solid #e1e1e1; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.035); transition: box-shadow .15s ease, transform .15s ease; }
.entry-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.09); transform: translateY(-2px); }
.card-image-wrap { position: relative; overflow: hidden; aspect-ratio: 16 / 9; margin: -1rem -1rem .9rem; background: #e6e6e6; }
.card-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-image-wrap::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(0,0,0,.14), transparent 45%); }
.card-image-fallback { display: grid; place-items: center; width: 100%; height: 100%; color: var(--blue); font-size: 2.6rem; font-weight: 700; letter-spacing: .06em; background: linear-gradient(135deg, #e7e7ef, #f6f6f6); }
.card-topline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .45rem; margin-bottom: .55rem; }
.type-label, .region-label { color: #666; font-size: .62rem; font-weight: 800; letter-spacing: .065em; text-transform: uppercase; }
.type-label { padding: .25rem .45rem; background: #fcecef; color: #c64155; }
.region-label { text-align: right; }
.entry-card h3 { margin: 0 0 .4rem; color: #252525; font-size: 1.18rem; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
.card-location { display: flex; align-items: center; gap: .42rem; margin: 0 0 .7rem; color: var(--blue); font-size: .75rem; font-weight: 700; }
.card-location svg { width: 14px; height: 14px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; }
.card-description { margin: 0 0 .8rem; color: #4f4f4f; font-size: .84rem; line-height: 1.55; }
.related-posts { margin: .1rem 0 .75rem; padding: .65rem .7rem .7rem; border-left: 3px solid var(--red); background: #f6f6f6; }
.related-posts[hidden] { display: none; }
.related-posts h4 { margin: 0 0 .35rem; color: var(--blue); font-size: .65rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.related-posts ul { display: grid; gap: .3rem; margin: 0; padding: 0; list-style: none; }
.related-posts a { color: #333; font-size: .8rem; font-weight: 700; line-height: 1.35; text-decoration: none; }
.related-posts a:hover { color: #c83e52; text-decoration: underline; text-underline-offset: 3px; }
.related-posts time { margin-left: .35rem; color: #777; font-size: .66rem; white-space: nowrap; }
.activity-line { display: flex; gap: .5rem; align-items: flex-start; margin-top: auto; padding-top: .65rem; border-top: 1px solid #e8e8e8; color: #656565; font-size: .72rem; line-height: 1.45; }
.activity-mark { flex: 0 0 7px; width: 7px; height: 7px; margin-top: .38rem; border-radius: 50%; background: var(--red); }
.card-actions { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-top: .75rem; }
.visit-card-actions { display: flex; justify-content: flex-end; margin-top: .55rem; }
.visit-card-link { padding: .38rem .6rem; border: 1px solid #dedede; background: #fafafa; font-size: .72rem; }
.visit-card-link:hover { border-color: var(--red); background: #fff; }
.website-status { color: #707070; font-size: .7rem; }
.website-link { color: var(--blue); font-size: .77rem; font-weight: 800; text-decoration: none; text-underline-offset: 3px; }
.website-link:hover { color: #c63d51; text-decoration: underline; }
.no-link { color: #777; font-size: .72rem; }
.entry-details { margin-top: .75rem; border-top: 1px solid #e8e8e8; }
.entry-details summary { cursor: pointer; padding-top: .65rem; color: #555; font-size: .74rem; font-weight: 700; }
.facts { display: grid; gap: .55rem; padding: .7rem 0 .2rem; }
.fact { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: .55rem; font-size: .74rem; line-height: 1.5; }
.fact-label { color: #767676; font-size: .63rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.fact-value { min-width: 0; color: #444; overflow-wrap: anywhere; }
.fact-value a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.load-more-wrap { display: flex; justify-content: center; padding-top: 1.6rem; }
.load-more, .button-dark { border: 0; background: var(--blue); color: #fff; padding: .8rem 1.2rem; font-size: .84rem; font-weight: 700; }
.load-more:hover { background: var(--blue-dark); }
.load-more span { padding-left: .5rem; color: #ffb0bc; }
.empty-state { margin: 2rem 0 0; padding: 3rem 1rem; text-align: center; border: 1px dashed #ccc; background: #fff; }
.empty-state[hidden] { display: none; }
.empty-mark { color: var(--red); font-size: 2rem; }
.empty-state h3 { margin: .5rem 0; color: #292929; font-size: 1.55rem; }
.empty-state p { color: #626262; }
.about-section { padding: 68px 0 50px; background: #fff; border-top: 1px solid #e1e1e1; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 6rem); }
.about-grid h2 { max-width: 520px; }
.about-copy p { margin: 0 0 1rem; color: #4f4f4f; font-size: .88rem; line-height: 1.7; }
.about-copy .source-note { border-left: 3px solid var(--red); padding-left: 1rem; font-size: .81rem; }
.source-note a { color: var(--blue); text-underline-offset: 3px; }
.about-stamp { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .7rem; margin-top: 2rem; padding-top: .9rem; border-top: 1px solid #ddd; color: #696969; font-size: .65rem; font-weight: 800; letter-spacing: .075em; }
.site-footer { background: var(--blue); color: #fff; }
.footer-inner { min-height: 92px; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; }
.footer-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.6); color: #ffabb7; font-size: .8rem; font-weight: 800; }
.footer-brand .brand-name { display: grid; line-height: 1.12; }
.footer-brand .brand-name strong { font-size: .86rem; }
.footer-brand .brand-name small { margin-top: .2rem; color: #ddd; font-size: .63rem; }
.footer-inner p { margin: 0; color: #e5e5f3; font-size: .75rem; text-align: center; }
.back-top { color: #fff; font-size: .76rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.back-top:hover { color: #ffb7c1; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: minmax(0,1fr) 220px; gap: 2rem; }
  .region-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stat { align-items: flex-start; flex-direction: column; gap: .45rem; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 20px; }
  .masthead-inner, .nav-wrap, .section-wrap, .footer-inner, .about-wrap { width: min(100% - 32px, 600px); }
  .masthead-inner { min-height: 104px; gap: .75rem; }
  .thumbwind-logo { flex-basis: 64px; width: 64px; height: 64px; }
  .masthead-title { font-size: clamp(1.35rem, 6vw, 2rem); }
  .masthead-copy p { margin-top: .25rem; font-size: .78rem; }
  .masthead-about { display: none; }
  .nav-wrap { min-height: 58px; gap: .8rem; }
  .nav-brand { font-size: .65rem; }
  .site-header nav { gap: .85rem; }
  .site-header nav a { font-size: .72rem; }
  .site-header nav a:nth-child(2) { display: none; }
  .site-header nav a:nth-child(4) { display: none; }
  .site-header nav .nav-total { gap: .25rem; padding-left: .65rem; font-size: .64rem; }
  .hero { padding-top: 38px; }
  .hero-inner { width: min(100% - 32px, 600px); grid-template-columns: 1fr; gap: 1.4rem; padding-bottom: 28px; }
  .hero h1 { font-size: clamp(2.45rem, 11vw, 3.7rem); }
  .hero-deck { font-size: .96rem; }
  .hero-summary { min-height: 0; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 1rem; padding: .9rem 1rem; }
  .summary-label { grid-column: 1 / -1; }
  .hero-summary strong { grid-row: 2 / 4; margin: .2rem 0; font-size: 2.7rem; }
  .summary-caption { font-size: .8rem; }
  .hero-summary a { margin: 0; padding: .2rem 0 0; font-size: .75rem; }
  .hero-stats { width: min(100% - 32px, 600px); grid-template-columns: repeat(2,1fr); }
  .stat { min-height: 68px; flex-direction: row; align-items: center; gap: .55rem; padding: .65rem .5rem .65rem 0; }
  .stat + .stat { padding-left: .65rem; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat strong { font-size: 1.45rem; }
  .stat span { font-size: .64rem; }
  .region-section, .visit-section, .directory-section, .about-section { padding: 48px 0; }
  .section-heading { display: block; }
  .section-heading p { margin-top: .75rem; }
  .region-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .region-card { min-height: 96px; padding: .8rem; }
  .region-card .region-name { font-size: .94rem; padding-right: .35rem; }
  .region-card .region-count { font-size: .65rem; }
  .filter-panel { padding: .8rem; }
  .visit-panel { align-items: stretch; padding: .8rem; }
  .visit-panel label { flex-basis: 100%; }
  .visit-panel .button-dark, .visit-map-link { justify-content: center; flex: 1 1 100%; }
  .filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
  .filter-grid label { font-size: .62rem; }
  .filter-grid select { font-size: .75rem; padding-left: .45rem; }
  .results-toolbar { align-items: flex-end; }
  .results-toolbar p { max-width: 55%; font-size: .74rem; }
  .sort-control { display: grid; gap: .25rem; font-size: .61rem; }
  .sort-control select { min-width: 108px; font-size: .72rem; }
  .cards { grid-template-columns: 1fr; gap: 12px; }
  .entry-card { padding: .9rem; }
  .card-image-wrap { margin: -.9rem -.9rem .8rem; }
  .about-grid { grid-template-columns: 1fr; gap: 1rem; }
  .about-grid h2 { font-size: 2rem; }
  .about-stamp { font-size: .57rem; }
  .footer-inner { min-height: 130px; flex-wrap: wrap; justify-content: space-between; padding-block: 1rem; }
  .footer-inner p { order: 3; flex-basis: 100%; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
