@font-face {
  font-family: Barlow Condensed;
  src: url('/assets/barlow.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Geist;
  src: url('/assets/geist.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Geist;
  src: url('/assets/geist-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02FF,U+1E00-1EFF;
}

.leaflet-street-tiles-pane {
  filter: saturate(.57) contrast(.9) brightness(1.09);
}

:root {
  font-family: Geist,Arial,sans-serif;
  color: #17253b;
  background: #f5f7fb;
  font-synthesis: none;
  --ink: #17253b;
  --muted: #526079;
  --blue: #2558ec;
  --line: #dee5f0;
  --white: #fff;
  --gold: #946411;
  --soft-blue: #eaf0ff;
  --radius: 15px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.catalog {
  min-height: 100vh;
  background: #0e1014;
  color: #f4f6fa;
  color-scheme: dark;
  --ink: #f4f6fa;
  --muted: #b8bdc7;
  --line: #2b3039;
  --panel: #13161b;
  --surface: #191d24;
  --blue: #2455ff;
  --accent: #4677ff;
  --radius: 2px;
}

button,input,select,textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

h1,h2,h3,p {
  margin: 0;
}

i[data-icon] {
  display: inline-flex;
  flex: none;
  font-style: normal;
}

i[data-icon] svg {
  width: 19px;
  height: 19px;
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible {
  outline: 3px solid #3663ec;
  outline-offset: 4px;
}

[hidden] {
  display: none!important;
}

.sr-only,.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip:focus {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  background: #fff;
  color: #17253b;
  padding: 10px 14px;
}

.wrap {
  width: min(1320px,calc(100% - 112px));
  margin-inline: auto;
}

.masthead {
  background: #08090b;
  border-bottom: 1px solid #22252b;
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  position: relative;
  display: block;
  width: min(252px, 100%);
  aspect-ratio: 1390 / 282;
  overflow: hidden;
}

.brand img {
  position: absolute;
  top: -127.66%;
  left: -6.62%;
  width: 110.5%;
  height: auto;
  max-width: none;
  mix-blend-mode: screen;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #090a0d;
  border-bottom: 1px solid var(--line);
  color: #fff;
}

.hero-photo {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 32%;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 300%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(.72) brightness(.82);
}

.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #090a0d 25%, #090a0df2 32%, #090a0da6 48%, transparent 77%),
              linear-gradient(0deg, #090a0d 0%, transparent 30%, transparent 85%, #090a0d55 100%);
}

.hero-inner {
  padding-block: 58px 68px;
  min-height: 490px;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(640px,100%);
}

.eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #d1d5df;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1.7px;
  margin-bottom: 23px;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  font-family: Barlow Condensed, 'Arial Narrow', Impact, sans-serif;
  font-size: clamp(52px, 6.45vw, 94px);
  font-weight: 700;
  line-height: .94;
  letter-spacing: -.015em;
  text-transform: uppercase;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-copy>p:not(.eyebrow) {
  margin-top: 23px;
  color: #d6d9e1;
  max-width: 460px;
  font-size: 16px;
  line-height: 1.55;
}

.search {
  display: flex;
  align-items: center;
  margin-top: 27px;
  min-height: 52px;
  width: min(498px,100%);
  border-radius: 2px;
  background: #fff;
  color: #62718b;
  color-scheme: light;
}

.search i {
  margin-inline: 11px 5px;
}

.search input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 0 8px;
  font-size: 15px;
  color: #17253b;
}

.search input::placeholder {
  color: #5c6b84;
}

.search input:focus-visible {
  outline-offset: -3px;
}

.primary,.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 680;
  white-space: nowrap;
}

.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.primary:hover {
  background: #1947d7;
}

.button:hover {
  border-color: #a1b6f1;
  color: #1947d7;
}

.catalog .button {
  background: var(--surface);
}

.catalog :is(.primary, .button, .pill, .service-filter, .map-controls, .license-inline, .tag, .demo-tag, .close-dialog, dialog) {
  border-radius: var(--radius);
}

.catalog .button:hover {
  color: #dce5ff;
  border-color: #557af0;
}

.search .primary {
  padding-inline: 23px;
  align-self: stretch;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.directory {
  padding-block: 38px 42px;
  scroll-margin-top: 18px;
}

.directory-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.directory h2 {
  font-size: clamp(26px,3.3vw,37px);
  font-weight: 780;
  line-height: 1.14;
  letter-spacing: -.047em;
}

.locate i {
  color: var(--accent);
}

.location-status {
  padding: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.directory-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pills {
  display: flex;
  gap: 7px;
  align-items: center;
}

.pill,.service-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 9px;
  min-height: 42px;
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 670;
  white-space: nowrap;
}

.pill i[data-icon] svg,.service-filter i[data-icon] svg {
  width: 16px;
  height: 16px;
}

.pill[aria-pressed=true] {
  background: #293b61;
  color: #eef3ff;
  border-color: #5970a8;
}

.pill:hover {
  border-color: #94aaf1;
}

.service-filter {
  position: relative;
  padding: 0;
  justify-content: flex-start;
}

.service-filter select {
  appearance: none;
  border: 0;
  background: transparent;
  width: 100%;
  min-height: 40px;
  color: inherit;
  font-weight: inherit;
  border-radius: 8px;
  padding: 0 32px;
  cursor: pointer;
}

.service-filter option {
  background: var(--surface);
}

.service-filter i {
  position: absolute;
  left: 10px;
  pointer-events: none;
}

.service-filter i:last-child {
  left: auto;
  right: 9px;
}

.mobile-switch {
  display: none;
}

.directory-grid {
  display: grid;
  grid-template-columns: minmax(290px,365px) minmax(0,1fr);
  min-height: 507px;
  gap: 13px;
  margin-top: 17px;
}

.results,.map-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.results {
  height: 507px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.demo-tag {
  align-self: flex-start;
  flex-shrink: 0;
  margin: 10px 15px 0;
  font-size: 12px;
  color: #78580d;
  background: #fff5d8;
  padding: 3px 7px;
  border-radius: 5px;
}

.cards {
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 9px;
  scrollbar-width: thin;
}

.workshop {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 13px 10px;
  color: var(--ink);
  min-height: 81px;
}

.workshop:hover {
  background: var(--surface);
}

.workshop:focus-visible {
  outline-offset: -3px;
}

.workshop-icon {
  display: grid;
  place-items: center;
  background: #202632;
  color: #bbc7de;
  width: 46px;
  height: 46px;
  flex: none;
}

.workshop-logo {
  background: #fff;
}

.workshop-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.profile-content .workshop-logo {
  width: 86px;
  height: 86px;
}

.workshop-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

.workshop-name {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 760;
  letter-spacing: -.025em;
}

.address {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
}

.address i[data-icon] svg {
  width: 14px;
  height: 14px;
}

.license-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff6df;
  border: 1px solid #f2e1b4;
  border-radius: 5px;
  padding: 2px 6px;
  color: #725115;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.2;
}

.license-inline img {
  width: 15px;
  height: 14px;
  object-fit: contain;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.tag {
  color: #d6e1f3;
  background: #242b38;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 12px;
  line-height: 1.35;
}

.empty {
  padding: 30px 16px;
  text-align: center;
  color: var(--muted);
}

.empty i {
  display: inline-flex;
  padding: 12px;
  background: #293b61;
  color: var(--accent);
  border-radius: 12px;
  margin-bottom: 12px;
}

.empty strong {
  display: block;
  color: var(--ink);
  margin-bottom: 6px;
}

.empty p {
  font-size: 14px;
  line-height: 1.5;
}

.empty button {
  margin-top: 13px;
}

.map-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 507px;
  background: #e5eef4;
  color: #17253b;
  color-scheme: light;
}

.map {
  position: absolute;
  inset: 0;
  background: #dce9f0;
  z-index: 0;
  font-family: inherit;
}

.map>.map-overview,.map>.map-tiles,.map>.map-points {
  display: none;
}

.leaflet-tile-pane {
  filter: saturate(.57) contrast(.9) brightness(1.09);
}

.leaflet-container .leaflet-marker-icon {
  background: none;
  border: 0;
}

.place-dot {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  font-size: 12px;
  color: #4d6073;
  font-weight: 650;
  text-shadow: 0 1px #fff,1px 0 #fff,0 -1px #fff,-1px 0 #fff;
}

.place-dot::before {
  content: '';
  display: inline-block;
  background: #8796a7;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  flex: none;
}

.map-pin {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border: 1px solid #9ea9b5;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px #151c325e;
}

.map-pin img {
  filter: invert(1);
  mix-blend-mode: multiply;
}

.map-pin:hover,.leaflet-marker-icon:focus-visible .map-pin {
  border-color: #2558ec;
  box-shadow: 0 0 0 3px #ffffffb0, 0 2px 7px #151c325e;
}

.leaflet-tooltip {
  font: 650 13px Geist,Arial,sans-serif;
}

.map-controls {
  position: absolute;
  top: 13px;
  right: 13px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #cfdce8;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px #15345717;
}

.map-controls button {
  width: 36px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 0;
  border-bottom: 1px solid #dce4ee;
  background: #fff;
  color: #263a56;
}

.map-controls button:focus-visible {
  outline-offset: -3px;
}

.map-controls button:last-child {
  border: 0;
}

.map-controls button:hover {
  background: var(--soft-blue);
}

.attribution {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #ffffffef;
  padding: 3px 5px;
  font-size: 11px;
  text-decoration: underline;
}

.map-unavailable {
  padding: 16px;
  width: max-content;
  max-width: 100%;
  background: white;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 9px;
}

.registry {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(20px, 3.5vw, 36px);
  border: 1px solid #30466e;
  border-inline-start: 4px solid var(--accent);
  background: #121c2e;
  border-radius: var(--radius);
  scroll-margin-top: 20px;
}

.registry-logo {
  display: grid;
  place-items: center;
  flex: none;
  padding: 10px;
  border-radius: var(--radius);
  background: #fff;
}

.registry-logo img {
  width: 120px;
  height: auto;
}

.registry h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 780;
  line-height: 1.14;
  letter-spacing: -.04em;
}

.registry p {
  margin-top: 10px;
  max-width: 70ch;
  color: #d8e3f7;
  line-height: 1.56;
}

.registry .button {
  margin-top: 16px;
}

.footer {
  border-top: 1px solid var(--line);
  background: #08090b;
}

.footer-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  color: var(--muted);
  font-size: 14px;
}

.footer .brand {
  width: min(190px, 100%);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-inner .brand {
  flex-shrink: 0;
}

@media(max-width:560px) {
  .footer-inner {
    flex-wrap: wrap;
    padding-block: 14px;
    gap: 10px 20px;
  }
  .footer-links {
    justify-content: flex-start;
  }
}

dialog {
  width: min(480px,calc(100% - 28px));
  max-height: calc(100dvh - 32px);
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 18px 80px #0a133854;
}

dialog::backdrop {
  background: #111e3b95;
}

#cookie-info p {
  margin-block: 10px 18px;
  color: var(--muted);
  line-height: 1.55;
}

.cookie-info-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-info-actions a {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.close-dialog {
  position: absolute;
  right: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
}

.profile-content>h2 {
  font-size: 28px;
  letter-spacing: -.04em;
  line-height: 1.1;
  margin: 12px 30px 7px 0;
}

.profile-content>p {
  line-height: 1.55;
  color: var(--muted);
  margin-top: 12px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.profile-content .license-inline {
  margin-top: 14px;
  padding: 5px 8px;
  font-size: 14px;
}

.profile-content .license-inline img {
  width: 22px;
  height: 21px;
}

.profile-content .tags {
  margin-top: 16px;
}

.profile-content .tag {
  font-size: 14px;
  padding: 4px 8px;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

@media(max-width:1050px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .directory-grid {
    grid-template-columns: minmax(250px,320px) minmax(0,1fr);
  }
}

@media(max-width:740px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .header-inner {
    height: 65px;
    gap: 12px;
  }
  .brand {
    width: min(226px, 100%);
  }
  .hero-inner {
    min-height: 440px;
    padding-block: 50px 70px;
  }
  .hero-photo {
    inset: 16% 0 0 0;
  }
  .hero-photo img {
    object-position: 60% top;
  }
  .hero::after {
    background: linear-gradient(90deg, #090a0deb, #090a0d70 75%, #090a0d45),
                linear-gradient(0deg, #090a0d 0%, transparent 24%, transparent 60%, #090a0d 91%);
  }
  .hero h1 {
    font-size: clamp(44px, 10.8vw, 69px);
  }
  .directory {
    padding-block: 24px;
  }
  .directory-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .locate {
    padding-inline: 10px;
  }
  .directory-grid {
    display: block;
    min-height: 0;
    margin-top: 10px;
  }
  .directory-grid .results {
    height: auto;
    max-height: 580px;
    min-height: 220px;
  }
  .directory-grid .map-panel {
    height: 460px;
  }
  .directory-grid[data-view=list] .map-panel,.directory-grid[data-view=map] .results {
    display: none;
  }
  .mobile-switch {
    display: flex;
    margin-top: 15px;
  }
  .registry {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
  }
  .registry-logo img {
    width: 92px;
  }
}

@media(max-width:390px) {
  .wrap {
    width: calc(100% - 26px);
  }
  .hero-copy>p:not(.eyebrow) {
    font-size: 15px;
  }
  .hero-inner {
    min-height: 404px;
  }
  .search .primary {
    padding-inline: 12px;
  }
  .search i {
    margin-left: 6px;
    margin-right: 0;
  }
  .pill {
    padding-inline: 8px;
  }
  .service-filter select {
    padding-inline: 28px;
    font-size: 13px;
  }
}
