@import url("/assets/design-tokens.css");
:root {
  color-scheme: light;
  --paper: var(--ivory);
  --gold: var(--gold-text);
  --soft: var(--plum-soft);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    "Nirmala UI",
    "Noto Sans Devanagari",
    "Noto Sans Malayalam",
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
h1,
h2,
h3,
p {
  margin: 0 0 16px;
}
h1,
h2,
.serif {
  font-family: Georgia, "Noto Serif Devanagari", serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(36px, 4.5vw, 66px);
  line-height: 1.1;
}
h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
}
h3 {
  font-size: 19px;
  line-height: 1.4;
}
a {
  color: var(--plum);
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #77581f;
  outline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
svg {
  flex-shrink: 0;
}
.icon {
  width: 21px;
  height: 21px;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
}
a .icon {
  margin-right: 7px;
}
p .icon {
  margin-right: 5px;
}
small,
.meta {
  font-size: 13px;
  color: var(--muted);
}
.lede {
  font-size: 19px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 660px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.17em;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}
.container {
  width: min(1248px, calc(100% - 80px));
  margin: auto;
}
.narrow {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section {
  margin-top: 88px;
  margin-bottom: 88px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.section-heading h2,
.section-heading p {
  margin-bottom: 8px;
}
.section-heading > a {
  font-weight: 600;
  white-space: nowrap;
  font-size: 14px;
}
.section-intro {
  max-width: 700px;
  color: var(--muted);
  margin-bottom: 32px;
}
.button,
button.secondary,
a.secondary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 21px;
  border-radius: 8px;
  background: var(--plum);
  border: 1px solid var(--plum);
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.button:hover,
button.secondary:hover,
a.secondary:hover {
  filter: brightness(0.93);
}
button.secondary,
a.secondary {
  background: transparent;
  color: var(--plum);
  border-color: #8c7d86;
}
.button.small {
  padding: 10px 16px;
}
.quiet {
  border: 0;
  background: none;
  color: var(--plum);
  min-height: 44px;
  text-decoration: underline;
  padding: 8px 0;
}
.text-link {
  display: inline-block;
  margin: 12px 16px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.site-header {
  background: rgba(250, 247, 241, 0.98);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1440px;
  margin: auto;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: block;
  max-width: 248px;
  flex-shrink: 0;
}
.brand img {
  width: 248px;
  height: auto;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav > a {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.main-nav > [aria-current] {
  text-decoration: underline;
}
.menu-toggle {
  display: none !important;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 99;
  padding: 12px;
  background: white;
}
.skip:focus {
  top: 8px;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 50px;
  padding: 60px 0 34px;
}
.hero h1 {
  max-width: 580px;
}
.hero .lede {
  max-width: 525px;
  font-size: 17px;
}
.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 30px;
}
.hero-notes span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-notes .icon {
  width: 16px;
  height: 16px;
}
.hero-art {
  position: relative;
}
.hero-art img {
  mix-blend-mode: multiply;
  border-radius: 28px;
}
.art-note {
  display: block;
  text-align: center;
  font-family: Georgia, serif;
  font-size: 15px;
  color: var(--gold);
  margin-top: 8px;
}
.search-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 12px 35px #48243809;
}
.search-form .search-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  min-width: 0;
}
.field .field {
  margin: 0;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 46px;
  border: 1px solid #8c7d86;
  border-radius: 7px;
  background: white;
  color: var(--ink);
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 400;
}
.field textarea {
  resize: vertical;
  min-height: 140px;
}
.area-field {
  grid-row: span 2;
}
.area-field > label {
  display: block;
}
.area-field .field {
  margin-top: 6px;
}
.search-note {
  display: inline-block;
  margin: 0 0 0 20px;
  color: var(--muted);
  font-size: 12px;
}
.search-form > .button {
  min-width: 170px;
}
.grid {
  display: grid;
  gap: 24px;
}
.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.area-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.area-links > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 18px 16px;
  text-decoration: none;
  font-size: 14px;
}
.area-links > a > span {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.area-links small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
}
.area-links + h3 {
  margin-top: 32px;
}
.notice {
  border: 1px solid var(--line);
  background: #f4eee7;
  border-radius: 10px;
  padding: 20px;
  color: var(--muted);
  font-size: 14px;
}
.sponsored-section {
  background: #fbf1d9;
  padding: 32px;
  border: 1px solid #d9c498;
  border-radius: 16px;
}
.sponsored-section > p {
  font-size: 14px;
  color: #654f2d;
  max-width: 800px;
}
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.specialty-grid > a {
  background: #f0e8ed;
  border: 1px solid #e4dad7;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 23px;
  text-decoration: none;
}
.specialty-grid .icon {
  width: 30px;
  height: 30px;
}
.specialty-grid span {
  flex: 1;
  font-size: 15px;
}
.profile-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-wrap: anywhere;
}
.sponsored-card {
  border-color: #c6ac7d;
}
.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.badge {
  display: inline-flex;
  background: var(--soft);
  color: var(--plum);
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
}
.badge.gold {
  background: #fbf1d9;
  color: #77581f;
  border: 1px solid #c6ac7d;
}
.badge.checked {
  background: #edf6ef;
  color: #256246;
}
.person {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}
.person h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.person p {
  margin: 0;
  font-size: 12px;
}
.avatar {
  height: 64px;
  width: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #f4eee7;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.avatar .icon {
  width: 30px;
  height: 30px;
  color: #77581f;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar.large {
  width: 120px;
  height: 120px;
}
.avatar.large .icon {
  width: 48px;
  height: 48px;
}
.profile-card > .contact-actions {
  margin-top: auto;
}
.contact-actions .button {
  padding: 10px 12px;
  font-size: 13px;
  flex: 1;
}
.profile-link {
  font-size: 13px;
  font-weight: 600;
  margin-top: 16px;
}
.report-link {
  font-size: 11px;
  color: var(--muted);
  margin-top: 14px;
}
.empty-state {
  padding: 24px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
.empty-state img {
  max-width: 230px;
  max-height: 154px;
  object-fit: cover;
  margin: auto;
  mix-blend-mode: multiply;
}
.empty-state h2 {
  font-size: 28px;
  margin-top: 12px;
}
.empty-state p {
  font-size: 14px;
  color: var(--muted);
  max-width: 480px;
  margin: auto;
}
.how-section {
  text-align: center;
}
.steps {
  margin-top: 40px;
  gap: 50px;
}
.steps h3 {
  font-size: 19px;
}
.steps p {
  color: var(--muted);
  font-size: 14px;
}
.step-number {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f0e8ed;
  color: var(--plum);
  font-family: Georgia, serif;
  font-size: 23px;
  margin-bottom: 20px;
}
.community {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: #f1ebe2;
  border-radius: 24px;
  padding: 28px 48px;
}
.community .illustration {
  mix-blend-mode: multiply;
  border-radius: 20px;
}
.community h2 {
  font-size: 44px;
}
.community .lede {
  font-size: 17px;
}
.pricing-grid {
  margin-top: 32px;
}
.price-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  background: white;
  display: flex;
  flex-direction: column;
}
.price-card h3 {
  font-size: 22px;
  font-family: Georgia, serif;
  font-weight: 400;
}
.price-card .price {
  font-size: 38px;
  font-family: Georgia, serif;
  color: var(--plum);
}
.price small {
  font-size: 14px;
  font-family: system-ui, sans-serif;
}
.price-card > p:not(.price):not(.eyebrow),
.price-card li {
  font-size: 14px;
  color: var(--muted);
}
.price-card ul {
  padding-left: 20px;
  margin: 0 0 30px;
}
.price-card li {
  margin-bottom: 12px;
}
.price-card .button {
  margin-top: auto;
}
.price-card.featured {
  border: 2px solid var(--plum);
  background: #f8f3f6;
}
.article-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: white;
}
.article-card > img {
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover;
}
.article-card > div {
  padding: 24px;
}
.article-card h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 24px;
}
.article-card h3 a {
  text-decoration: none;
}
.article-card p {
  font-size: 14px;
  color: var(--muted);
}
.article-card .eyebrow {
  font-size: 10px;
}
.article-card a {
  font-size: inherit;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-list summary {
  cursor: pointer;
  min-height: 44px;
  padding: 10px 28px 10px 0;
  font-weight: 500;
}
.faq-list details > .prose {
  padding-top: 12px;
}
.site-footer {
  margin-top: 96px;
  border-top: 1px solid var(--line);
  background: #f1ebe2;
  padding: 55px 0 25px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-grid h2 {
  font-size: 14px;
  font-family: system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  margin-top: 5px;
}
.footer-grid > div > a:not(.brand) {
  display: block;
  font-size: 13px;
  text-decoration: none;
  padding: 7px 0;
}
.footer-grid > div > p {
  font-size: 13px;
  max-width: 300px;
  color: var(--muted);
  margin-top: 16px;
}
.footer-grid .serif {
  font-size: 20px;
  color: var(--plum);
}
.footer-bottom {
  margin-top: 36px;
  border-top: 1px solid #d9ceca;
  padding-top: 24px;
  font-size: 11px;
  color: var(--muted);
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  padding: 25px 0;
}
.page-heading {
  padding: 36px 0 40px;
}
.page-heading h1 {
  font-size: clamp(34px, 4vw, 54px);
}
.page-heading.centered {
  text-align: center;
}
.centered .lede {
  margin: auto;
}
.area-disclosure {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 24px;
  padding: 16px;
}
.area-disclosure summary {
  cursor: pointer;
  min-height: 30px;
}
.area-disclosure .area-links {
  margin-top: 16px;
}
.scope-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--soft);
  border-radius: 9px;
  font-size: 14px;
  margin-bottom: 28px;
}
.directory-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
}
.filter-panel {
  background: white;
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 12px;
  align-self: start;
  position: sticky;
  top: 24px;
}
.filter-panel h2 {
  font-family: system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
}
.filter-panel .section-heading {
  margin-bottom: 12px;
}
.filter-panel .search-fields {
  display: block;
}
.filter-panel .search-note {
  display: block;
  margin: 16px 0;
  font-size: 11px;
}
.filter-panel .button {
  width: 100%;
  min-width: 0;
}
.filter-panel > a {
  font-size: 12px;
}
.filter-panel .field {
  font-size: 12px;
  margin-bottom: 18px;
}
.filter-panel input,
.filter-panel select {
  font-size: 13px;
}
.results {
  min-width: 0;
}
.results .sponsored-section {
  padding: 24px;
  margin-bottom: 40px;
}
.results h2 {
  font-size: 28px;
}
.results .grid {
  gap: 18px;
}
.results .profile-card {
  padding: 20px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.chip {
  border: 1px solid #b9a6b3;
  background: white;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 13px;
  font-size: 12px;
  min-height: 40px;
  text-decoration: none;
}
.chip span {
  font-size: 20px;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin: 40px 0;
  font-size: 14px;
}
.mobile-only {
  display: none !important;
}
.broader {
  border-top: 2px solid var(--line);
  padding-top: 32px;
  margin-top: 40px;
}
.broader > .grid {
  grid-template-columns: 1fr;
}
.broader > p {
  font-size: 14px;
}
.broader > a {
  display: inline-block;
  margin-top: 20px;
}
.profile-heading {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 35px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 45px;
}
.profile-heading h1 {
  font-size: 48px;
}
.profile-heading .badges {
  margin: 0;
}
.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
  gap: 64px;
}
.profile-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.profile-section h2 {
  font-size: 30px;
}
.prose p {
  white-space: normal;
  overflow-wrap: anywhere;
}
.prose {
  line-height: 1.85;
}
.contact-panel {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  align-self: start;
  position: sticky;
  top: 24px;
}
.contact-panel h2 {
  font-size: 28px;
}
.contact-panel h3 {
  margin: 28px 0 20px;
}
.contact-panel .contact-actions {
  margin-bottom: 20px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  margin: 20px 0;
}
.check input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: var(--plum);
}
.honeypot {
  position: absolute;
  left: -10000px;
  visibility: hidden;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.gallery img {
  aspect-ratio: 1.5;
  object-fit: cover;
  border-radius: 10px;
  width: 100%;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  max-width: min(960px, 95vw);
  max-height: 95dvh;
  background: var(--paper);
  color: var(--ink);
}
dialog::backdrop {
  background: #2e2029a6;
}
dialog > img {
  max-height: 65dvh;
  width: auto;
  object-fit: contain;
  margin: 20px auto;
}
dialog > p {
  text-align: center;
}
dialog > .actions {
  justify-content: center;
}
.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  background: white;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  max-width: 1000px;
}
.contact-layout aside {
  padding: 16px 0;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 65px auto;
}
.auth-layout h1 {
  font-size: 48px;
}
.auth-layout .illustration {
  max-width: 420px;
  mix-blend-mode: multiply;
}
.auth-card {
  max-width: 480px;
  width: 100%;
  margin: auto;
}
.auth-card .section {
  margin: 28px 0;
}
.auth-card .actions {
  font-size: 13px;
}
.auth-card .button {
  width: 100%;
}
.article-detail {
  margin: 32px auto 72px;
}
.article-detail h1 {
  font-size: 48px;
}
.article-cover {
  aspect-ratio: 1.6;
  object-fit: cover;
  border-radius: 12px;
  margin: 28px 0;
  width: 100%;
}
.article-detail .prose {
  font-size: 18px;
}
.help-search {
  display: flex;
  align-items: end;
  gap: 20px;
  margin-bottom: 32px;
}
.help-search .field {
  flex: 1;
  margin: 0;
}
.form-status:not(:empty) {
  border: 1px solid #b9a6b3;
  background: var(--soft);
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
}
.form-status.error {
  background: #fdeef0;
  border-color: #a12d3a;
  color: #8c2332;
}
.form-status.success {
  background: #edf6ef;
  border-color: #256246;
  color: #256246;
}
.field-error {
  font-size: 12px;
  color: #a12d3a;
  display: block;
  margin: 4px 0 12px;
}
.reference {
  overflow-wrap: anywhere;
}
input[aria-invalid="true"],
textarea[aria-invalid="true"],
select[aria-invalid="true"] {
  border: 2px solid #a12d3a;
}
.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;
}
#global-status {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 640px;
  margin: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  background: white;
  z-index: 50;
  box-shadow: 0 6px 24px #48243822;
}
.loading {
  opacity: 0.6;
  pointer-events: none;
}
@media (min-width: 1440px) {
  .hero h1 {
    font-size: 70px;
  }
  .hero {
    padding-top: 75px;
    padding-bottom: 45px;
  }
}
@media (max-width: 1150px) {
  .main-nav {
    gap: 15px;
  }
  .header-inner {
    padding: 18px 28px;
  }
  .brand,
  .brand img {
    width: 210px;
  }
  .main-nav > a {
    font-size: 12px;
  }
  .main-nav .button {
    padding: 10px;
  }
  .container {
    width: calc(100% - 56px);
  }
  .hero {
    gap: 25px;
  }
  .hero-notes {
    gap: 10px;
  }
  .community {
    gap: 35px;
    padding: 24px;
  }
  .three {
    gap: 18px;
  }
  .area-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .directory-layout {
    gap: 22px;
    grid-template-columns: 230px minmax(0, 1fr);
  }
  .person {
    align-items: flex-start;
  }
  .contact-actions .button {
    padding: 9px;
  }
  .profile-layout {
    gap: 32px;
  }
  .footer-grid {
    gap: 24px;
  }
  .auth-layout {
    gap: 40px;
  }
}
@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex !important;
  }
  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }
  .main-nav {
    display: none;
    width: 100%;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    padding-top: 18px;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav > a {
    font-size: 14px;
  }
  .hero {
    grid-template-columns: 1.15fr 1fr;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero .lede {
    font-size: 16px;
  }
  .hero-notes {
    display: none;
  }
  .three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .directory-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 20px;
  }
  .results .two {
    grid-template-columns: 1fr;
  }
  .community h2 {
    font-size: 36px;
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .footer-grid > div:last-child {
    grid-column: 2/4;
  }
  .profile-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
  }
  .contact-panel {
    padding: 20px;
  }
  .specialty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .auth-layout h1 {
    font-size: 40px;
  }
  .auth-card {
    padding: 24px;
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 36px);
  }
  .header-inner {
    padding: 17px 18px;
  }
  .brand,
  .brand img {
    width: 205px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    padding: 38px 0 26px;
  }
  .hero h1 {
    font-size: 48px;
    max-width: 500px;
  }
  .hero-art {
    max-width: 440px;
    margin: auto;
  }
  .hero .lede {
    font-size: 16px;
  }
  .hero-art img {
    max-height: 260px;
    object-fit: contain;
  }
  .art-note {
    font-size: 13px;
    margin: 0;
  }
  .hero-notes {
    display: flex;
    font-size: 11px;
    margin-top: 20px;
  }
  .search-panel {
    padding: 20px;
  }
  .search-form .search-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
  }
  .search-form > .button {
    width: 100%;
  }
  .search-note {
    display: block;
    margin: 14px 0 0;
    text-align: center;
    font-size: 11px;
  }
  .section {
    margin: 58px 0;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
  }
  .section-heading > a {
    white-space: normal;
  }
  .section-intro {
    font-size: 14px;
  }
  .area-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .area-links > a {
    font-size: 13px;
    padding: 14px;
    gap: 5px;
  }
  .area-links .icon {
    width: 16px;
    height: 16px;
  }
  .sponsored-section {
    padding: 22px;
  }
  .specialty-grid > a {
    padding: 17px;
    font-size: 13px;
    gap: 10px;
  }
  .specialty-grid span {
    font-size: 13px;
  }
  .specialty-grid .icon {
    width: 23px;
    height: 23px;
  }
  .three,
  .two {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .steps article {
    max-width: 420px;
    margin: auto;
  }
  .steps p {
    margin-bottom: 0;
  }
  .community {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }
  .community > div:first-child {
    max-width: 340px;
  }
  .community h2 {
    font-size: 36px;
  }
  .community .lede {
    font-size: 16px;
  }
  .price-card {
    padding: 25px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-grid > div:last-child {
    grid-column: auto;
  }
  .footer-grid h2 {
    font-size: 13px;
  }
  .footer-grid > div > a:not(.brand) {
    font-size: 12px;
  }
  .site-footer {
    margin-top: 64px;
    padding-top: 35px;
  }
  .breadcrumbs {
    font-size: 11px;
    padding: 20px 0;
  }
  .page-heading {
    padding: 22px 0 26px;
  }
  .page-heading .lede {
    font-size: 16px;
  }
  .scope-bar {
    flex-wrap: wrap;
    padding: 16px;
    font-size: 13px;
  }
  .scope-bar > span:last-child {
    width: 100%;
    font-size: 12px;
  }
  .scope-bar .button,
  .scope-bar button {
    font-size: 12px;
    padding: 8px 10px;
  }
  .directory-layout {
    display: block;
  }
  .mobile-only {
    display: inline-flex !important;
  }
  .filter-panel {
    display: none;
  }
  .filter-panel.open {
    display: block;
    position: fixed;
    inset: 12px;
    z-index: 60;
    overflow-y: auto;
    border: 1px solid #8c7d86;
    box-shadow: 0 0 0 30px #2e202999;
  }
  .filter-panel .section-heading {
    flex-direction: row;
    align-items: center;
  }
  .filter-panel .search-fields {
    display: block;
  }
  .filter-panel .field {
    font-size: 14px;
  }
  .filter-panel > a {
    display: block;
    margin-top: 20px;
  }
  .results .section-heading {
    flex-direction: row;
    align-items: center;
  }
  .results .section-heading h2 {
    font-size: 27px;
  }
  .results .section-heading span {
    font-size: 11px;
  }
  .profile-heading {
    align-items: flex-start;
    gap: 18px;
    padding: 22px 0;
    margin-bottom: 26px;
  }
  .avatar.large {
    width: 76px;
    height: 76px;
  }
  .profile-heading h1 {
    font-size: 34px;
    overflow-wrap: anywhere;
  }
  .profile-heading p {
    font-size: 13px;
  }
  .profile-heading .eyebrow {
    font-size: 10px;
  }
  .profile-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .contact-panel {
    position: static;
    width: 100%;
    padding: 24px;
  }
  .profile-section {
    padding: 26px 0;
  }
  .profile-section h2 {
    font-size: 28px;
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .profile-layout .lede {
    font-size: 17px;
  }
  .contact-layout {
    display: block;
  }
  .contact-layout aside {
    margin-top: 35px;
  }
  .card {
    padding: 24px;
  }
  .auth-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 35px auto;
  }
  .auth-layout h1 {
    font-size: 38px;
  }
  .auth-layout .illustration {
    display: none;
  }
  .auth-layout .lede {
    font-size: 16px;
  }
  .auth-card {
    max-width: none;
  }
  .auth-card .actions {
    gap: 16px;
  }
  .article-detail h1 {
    font-size: 36px;
  }
  .article-detail .prose {
    font-size: 16px;
  }
  .help-search {
    gap: 12px;
  }
  .prose {
    font-size: 15px;
  }
  .pagination {
    gap: 16px;
  }
  .article-cover {
    margin: 20px 0;
  }
  .profile-card .contact-actions .button {
    flex: none;
  }
  .results .profile-card {
    padding: 22px;
  }
  .narrow.card {
    margin-top: 20px;
  }
}
@media (max-width: 400px) {
  .hero h1 {
    font-size: 42px;
  }
  .search-form .search-fields {
    grid-template-columns: 1fr;
  }
  .area-field {
    grid-row: auto;
  }
  .area-links {
    grid-template-columns: 1fr;
  }
  .specialty-grid {
    gap: 10px;
  }
  .specialty-grid > a {
    flex-wrap: wrap;
    padding: 14px;
  }
  .specialty-grid span {
    flex: 1 1 65%;
  }
  .main-nav {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-art img {
    max-height: 220px;
  }
  .brand,
  .brand img {
    width: 190px;
  }
  .menu-toggle {
    padding: 10px 14px !important;
  }
  .profile-heading {
    gap: 14px;
  }
  .profile-heading h1 {
    font-size: 29px;
  }
  .profile-card {
    padding: 20px;
  }
  .hero-notes {
    gap: 8px;
  }
  .hero-notes span {
    font-size: 10px;
  }
  .scope-bar button {
    max-width: 175px;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .help-search {
    flex-wrap: wrap;
  }
  .help-search .field {
    flex-basis: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
