:root {
  --ink: #121826;
  --ink-soft: #3a4458;
  --muted: #6b7588;
  --line: #d8dee8;
  --paper: #ffffff;
  --wash: #eef2f7;
  --wash-2: #e4ebf4;
  --accent: #1f4fd6;
  --accent-soft: #e8effc;
  --wa: #128c7e;
  --radius: 14px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--wash);
  background-image:
    radial-gradient(ellipse 100% 80% at 50% -30%, #dce6f5 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 100%, #d8e4f0 0%, transparent 45%),
    linear-gradient(180deg, #f5f7fb 0%, var(--wash) 40%, var(--wash-2) 100%);
  background-attachment: fixed;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M120 0H0v120' fill='none' stroke='%2399a8c0' stroke-opacity='0.18' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 28px 18px 56px;
}

.hero {
  padding: 12px 4px 28px;
  animation: in 0.5s ease both;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 9vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--ink);
}

.tagline {
  margin: 12px 0 20px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.ig-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(18, 24, 38, 0.03);
  transition:
    border-color 0.18s ease,
    transform 0.18s ease,
    background 0.18s ease;
}

.ig-card:hover,
.ig-card:focus-visible {
  border-color: #c9b0d8;
  background: #fcfafd;
  transform: translateY(-1px);
  outline: none;
}

.ig-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af);
}

.ig-avatar svg {
  width: 22px;
  height: 22px;
}

.ig-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ig-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.ig-handle {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.ig-cta {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #c13584;
  padding: 8px 0 8px 8px;
}

.toolbar {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 10px 0 14px;
  margin: 0 -4px;
  background: linear-gradient(
    to bottom,
    rgba(238, 242, 247, 0.96) 65%,
    rgba(238, 242, 247, 0)
  );
  backdrop-filter: blur(8px);
  animation: in 0.5s ease 0.06s both;
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(18, 24, 38, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search:focus-within {
  border-color: #9bb0e0;
  box-shadow: 0 0 0 3px rgba(31, 79, 214, 0.12);
}

.search svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex-shrink: 0;
}

.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 500;
}

.search input::placeholder {
  color: #96a0b3;
  font-weight: 400;
}

.meta {
  margin: 10px 6px 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

.section {
  margin-bottom: 22px;
  animation: in 0.45s ease both;
}

.section-title {
  margin: 0 0 8px 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 8px;
}

.card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 12px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  transition:
    border-color 0.18s ease,
    transform 0.18s ease,
    background 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.card:hover,
.card:focus-visible {
  border-color: #b7c6e4;
  background: #fafbfd;
  transform: translateY(-1px);
  outline: none;
}

.card:active {
  transform: scale(0.99);
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #e8f6f3;
  color: var(--wa);
  flex-shrink: 0;
}

.icon svg {
  width: 20px;
  height: 20px;
}

.card-body {
  flex: 1;
  min-width: 0;
}

.card-name {
  margin: 0;
  font-weight: 650;
  font-size: 0.98rem;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.card-dept {
  margin: 3px 0 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.action {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--accent);
  padding: 6px 0 6px 8px;
}

.empty {
  display: none;
  text-align: center;
  padding: 48px 12px;
  color: var(--muted);
}

.empty.show {
  display: grid;
  gap: 4px;
}

.empty strong {
  color: var(--ink);
  font-size: 1rem;
}

.footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

.footer p {
  margin: 0;
}

.footer-sub {
  margin-top: 6px !important;
  font-size: 0.72rem;
  opacity: 0.85;
}

.seo {
  margin-top: 36px;
  padding: 18px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
}

.seo h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
}

.seo p {
  margin: 0 0 10px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.seo p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

@keyframes in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 640px) {
  .shell {
    padding: 40px 24px 72px;
  }

  .hero {
    padding-bottom: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
