@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #f4f4f5;
  --accent: #e5e5e7;
  --canvas: #111112;
  --paper: #19191a;
  --muted: #b1b1b6;
  --gold: #88888e;
  --stroke: #303032;
  --surface: #131314;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font-sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}
body {
  display: grid;
  place-items: center;
  min-width: 280px;
  min-height: 100svh;
  margin: 0;
  padding: max(20px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
    max(20px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button:disabled {
  cursor: not-allowed;
  opacity: 1;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
.skip-link {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--canvas);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.business-card {
  width: min(100%, 720px);
  padding: 12px;
  border: 1px solid var(--stroke);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 22px 70px #0002;
  animation: arrive 350ms ease-out both;
}
.profile-panel {
  padding: 24px 16px 21px;
  border-radius: 17px;
  background: var(--surface);
  text-align: center;
}
.portrait-frame {
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid #ffffff24;
  border-radius: 50%;
  background: #282829;
  box-shadow: 0 5px 16px #0003;
}
.portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 35%;
}
.portrait-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--muted);
}
.portrait-fallback .icon {
  width: 35px;
  height: 35px;
}
h1 {
  margin: 0;
  font-size: clamp(22px, 5.5vw, 26px);
  font-weight: 650;
  line-height: 1.22;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.profession {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.5;
}
.profile-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
}
.icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.icon--small {
  width: 13px;
  height: 13px;
}
.actions-panel {
  margin-top: 12px;
}
.save-button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 73px;
  padding: 15px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
}
.save-copy {
  display: grid;
  gap: 5px;
}
.save-copy strong {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}
.save-copy > span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.contact-spacer {
  height: 1.6em;
}
.save-end {
  width: 16px;
  height: 16px;
  margin-left: auto;
  color: var(--muted);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  min-height: 49px;
  padding: 12px 8px;
  border: 1px solid var(--stroke);
  border-radius: 13px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  transition:
    background 160ms ease,
    border-color 160ms ease;
}
.contact-link .icon {
  width: 16px;
  height: 16px;
}
.contact-link:disabled {
  color: var(--muted);
  border-style: dashed;
}
.pending-note {
  margin: 11px 4px 12px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}
.location-link {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-height: 69px;
  margin-top: 8px;
  padding: 13px 10px;
  border: 1px solid var(--stroke);
  border-radius: 13px;
  transition:
    background 160ms ease,
    border-color 160ms ease;
}
.location-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.location-label strong {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.location-label > .icon {
  width: 16px;
  height: 16px;
}
.location-arrow {
  color: var(--muted);
}
.address {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}
.page-footer {
  padding: 14px 8px 2px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}
.noscript-note {
  padding: 20px;
  text-align: center;
}
@media (hover: hover) {
  a.contact-link:hover,
  .location-link:hover {
    border-color: #66666c;
    background: #ffffff06;
  }
}
@media (min-width: 600px) {
  .business-card {
    padding: 12px;
  }
  .profile-panel {
    padding-block: 23px 22px;
  }
  .portrait-frame {
    width: 108px;
    height: 108px;
  }
  h1 {
    font-size: 27px;
  }
  .save-button {
    min-height: 72px;
    padding-inline: 16px;
  }
  .save-copy strong,
  .contact-link,
  .location-label strong {
    font-size: 13px;
  }
  .save-copy > span {
    font-size: 12px;
  }
  .contact-link {
    min-height: 48px;
  }
  .location-link {
    min-height: 68px;
  }
  .pending-note,
  .page-footer {
    font-size: 11px;
  }
}
@media (max-width: 359px) {
  body {
    padding-inline: 12px;
  }
  .business-card {
    padding: 9px;
    border-radius: 20px;
  }
  .profile-panel {
    padding-inline: 12px;
  }
  h1 {
    font-size: 21px;
  }
  .save-button {
    gap: 9px;
    padding-inline: 11px;
  }
  .save-copy > span {
    font-size: 10px;
  }
  .location-label {
    gap: 6px;
  }
  .location-label strong {
    font-size: 11px;
  }
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
