@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;
}

: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: #0c1018;
  color: #f4f6fa;
  color-scheme: dark;
  --ink: #f4f6fa;
  --muted: #b4bdca;
  --line: #29364a;
  --panel: #141c2a;
  --surface: #192337;
  --blue: #0957ee;
  --accent: #287bff;
  --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: #0a1429;
  border-bottom: 1px solid var(--line);
  color: #fff;
}

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

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

.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #0a1429 25%, #0a1429e8 43%, #0a142942 75%, transparent),
              linear-gradient(0deg, #0a1429 0%, #0a142975 20%, transparent 54%);
}

.hero-inner {
  padding-block: 62px 56px;
  min-height: clamp(470px, 37vw, 556px);
  display: flex;
  align-items: center;
}

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

.eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #d9e0ec;
  font-size: 13px;
  font-weight: 640;
  letter-spacing: .08em;
  margin-bottom: 21px;
}

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

.hero h1 {
  font-family: Barlow Condensed, 'Arial Narrow', Impact, sans-serif;
  font-size: clamp(58px, 6.5vw, 100px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.019em;
  text-transform: uppercase;
}

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

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

.search {
  display: flex;
  align-items: center;
  margin-top: 29px;
  min-height: 58px;
  width: min(530px,100%);
  padding: 4px;
  border-radius: var(--radius);
  background: #f6f8fc;
  box-shadow: 0 8px 26px #0004;
  color: #62718b;
  color-scheme: light;
}

.search i {
  margin-inline: 12px 4px;
}

.search input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  background: transparent;
  padding: 0 8px;
  font-size: 16px;
  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: 25px;
  align-self: stretch;
}

.hero-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 12px;
  color: #bcd4ff;
  font-size: 14px;
  font-weight: 640;
}

.hero-map-link:hover,.results-add:hover {
  text-decoration: underline;
  text-underline-offset: .24em;
}

.catalog .primary:hover {
  background: #0849c9;
  border-color: #0849c9;
}

.directory {
  --map-frame-height: clamp(480px, 40vw, 565px);
  padding-block: clamp(34px, 4vw, 58px) 0;
  scroll-margin-top: 12px;
}

.directory h2 {
  font-size: clamp(30px,3.2vw,40px);
  font-weight: 740;
  line-height: 1.14;
  letter-spacing: -.043em;
}

.directory-heading p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

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

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

.directory-workspace {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px #0002;
}

.directory-toolbar {
  padding: 11px 14px;
  background: #e5eefc;
  color-scheme: light;
}

.pill,.service-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #b8c8df;
  background: #f7faff;
  color: #182d4e;
  min-height: 44px;
  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: #1b375f;
  color: #fff;
  border-color: #1b375f;
}

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

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

.service-filter:hover {
  border-color: #557af0;
}

.service-filter select {
  appearance: none;
  border: 0;
  background: transparent;
  width: 100%;
  min-height: 42px;
  color: inherit;
  font-weight: inherit;
  border-radius: var(--radius);
  padding: 0 32px;
  text-overflow: ellipsis;
  cursor: pointer;
}

.service-filter option {
  background: #f7faff;
  color: #182d4e;
}

.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: clamp(260px, 25vw, 335px) minmax(0,1fr);
}

.results,.map-panel {
  min-width: 0;
  height: var(--map-frame-height);
}

.results {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--panel);
  border-inline-end: 1px solid var(--line);
}

.results h3 {
  flex: none;
  padding: 15px 19px;
  border-bottom: 1px solid var(--line);
  color: #e4edff;
  font-size: 14px;
  font-weight: 640;
}

.results-add {
  display: flex;
  flex: none;
  justify-content: space-between;
  align-items: center;
  min-height: 53px;
  padding: 12px 19px;
  border-top: 1px solid var(--line);
  background: #192c4b;
  color: #e0ebff;
  font-size: 14px;
  font-weight: 670;
}

.results-add:focus-visible {
  outline-offset: -4px;
}

.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 {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0 12px;
  scrollbar-width: thin;
}

.cards:has(>.empty) {
  display: grid;
  place-items: center;
}

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

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

.workshop:last-child {
  border-bottom: 0;
}

.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 12px;
  text-align: center;
  color: var(--muted);
}

.empty i {
  display: inline-flex;
  padding: 12px;
  background: #1d2940;
  color: #88a8ff;
  border: 1px solid #30415f;
  border-radius: var(--radius);
  margin-bottom: 15px;
}

.empty strong {
  display: block;
  color: var(--ink);
  margin-bottom: 7px;
  font-weight: 650;
}

.empty p {
  max-width: 27ch;
  font-size: 14px;
  line-height: 1.55;
}

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

.map-panel {
  --map-water: #101b2b;
  --map-control: #131f31;
  --map-control-hover: #223856;
  --map-line: #39516e;
  --map-label: #e1eaf7;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--map-water);
  color: var(--map-label);
}

.map {
  position: absolute;
  inset: 0;
  background: var(--map-water);
  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);
}

.map .leaflet-street-tiles-pane {
  filter: grayscale(1) invert(1) sepia(.55) hue-rotate(175deg) saturate(2.4) brightness(1.3) contrast(.93);
}

.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: var(--map-label);
  font-weight: 650;
  text-shadow: 0 1px 2px #0b1420, 0 0 4px #0b1420;
}

.place-dot::before {
  content: '';
  display: inline-block;
  background: #98b5de;
  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 .leaflet-tooltip {
  background: var(--map-control);
  border-color: var(--map-line);
  color: var(--map-label);
  box-shadow: 0 3px 12px #060b16a0;
}

.map .leaflet-tooltip-top::before {
  border-top-color: var(--map-control);
}

.map-controls {
  position: absolute;
  top: 13px;
  right: 13px;
  display: flex;
  flex-direction: column;
  background: var(--map-control);
  border: 1px solid var(--map-line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 14px #050b1690;
}

.map-controls button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-bottom: 1px solid var(--map-line);
  background: var(--map-control);
  color: var(--map-label);
}

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

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

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

.attribution {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #101a2bf0;
  color: #c4d6ef;
  padding: 4px 7px;
  font-size: 11px;
  text-decoration: underline;
}

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

.registry {
  display: grid;
  grid-template-columns: minmax(152px, 184px) minmax(0, 1fr);
  gap: clamp(20px, 3.3vw, 44px);
  padding: clamp(22px, 3.5vw, 43px);
  margin-top: clamp(30px, 4.6vw, 62px);
  border: 1px solid #2952ac;
  background: #1046ba;
  border-radius: var(--radius);
  scroll-margin-top: 20px;
}

.registry-partner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border-inline-end: 1px solid #ffffff42;
  color: #edf4ff;
  font-size: 13px;
  font-weight: 620;
}

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

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

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

.registry-copy p {
  margin-top: 12px;
  max-width: 73ch;
  color: #e6efff;
  line-height: 1.64;
}

.registry-map-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  margin-top: 7px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .28em;
  font-size: 14px;
  font-weight: 640;
}

.registry-map-link i {
  transform: rotate(180deg);
}

.registry-map-link:hover {
  color: #cbdfff;
}

.registry a:focus-visible {
  outline-color: #fff;
}

.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: clamp(218px, 26vw, 285px) 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: 420px;
    padding-block: 42px 36px;
  }
  .hero-photo {
    inset: 0;
  }
  .hero-photo img {
    object-position: 60% top;
  }
  .hero::after {
    background: linear-gradient(90deg, #0a1429f2, #0a1429a2 100%),
                linear-gradient(0deg, #0a1429 0%, transparent 50%);
  }
  .hero h1 {
    font-size: clamp(39px, 11.2vw, 68px);
  }
  .directory {
    padding-top: 30px;
  }
  .directory-workspace {
    margin-top: 17px;
  }
  .directory-toolbar {
    padding: 9px;
  }
  .directory-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .directory-actions .locate {
    min-height: 44px;
    padding-inline: 11px;
  }
  .directory-grid {
    display: block;
  }
  .directory-grid .results {
    height: auto;
    max-height: 580px;
    min-height: 220px;
    border-inline-end: 0;
  }
  .directory-grid .map-panel {
    height: 460px;
  }
  .directory-grid[data-view=list] .map-panel,.directory-grid[data-view=map] .results {
    display: none;
  }
  .mobile-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
  }
  .registry {
    grid-template-columns: minmax(0, 1fr);
    gap: 21px;
  }
  .registry-partner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-inline-end: 0;
  }
  .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: 390px;
  }
  .search .primary {
    padding-inline: 12px;
  }
  .search i {
    margin-inline: 5px 0;
  }
  .search input {
    font-size: 14px;
  }
  .pill {
    padding-inline: 8px;
  }
  .service-filter select {
    padding-inline: 28px;
    font-size: 13px;
  }
  .directory-actions .locate {
    font-size: 13px;
  }
}
