@font-face {
  font-family: Editorial;
  src: url("/assets/fonts/serif.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: Interface;
  src: url("/assets/fonts/sans.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: Interface;
  src: url("/assets/fonts/sans-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
:root {
  --ink: #1c1c1c;
  --gold: #b8973a;
  --gold-dark: #80651f;
  --ivory: #f8f5f0;
  --paper: #fffdfa;
  --line: #ded8cc;
  --muted: #706b60;
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Interface, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: Editorial, Georgia, serif;
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(36px, 4.7vw, 66px);
}
h2 {
  font-size: clamp(30px, 3vw, 42px);
}
h3 {
  font-size: 18px;
  line-height: 1.4;
}
em {
  font-style: normal;
  color: var(--gold-dark);
}
small,
.small {
  font-size: 13px;
  line-height: 1.65;
}
.muted {
  color: var(--muted);
}
.gold {
  color: var(--gold-dark);
}
.preline {
  white-space: pre-line;
}
.wrap {
  max-width: 1300px;
  margin: auto;
  padding-left: 48px;
  padding-right: 48px;
}
.section {
  padding-top: 94px;
  padding-bottom: 94px;
}
.header {
  height: 102px;
  max-width: 1440px;
  padding: 12px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}
.header .brand img {
  width: 190px;
  height: 66px;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.header nav > a {
  position: relative;
  padding: 12px 0;
}
.header nav > a:after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.header nav > a:hover:after {
  transform: scaleX(1);
}
.nav-account {
  border-left: 1px solid var(--line);
  padding-left: 27px !important;
}
.nav-toggle {
  display: none;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.eyebrow > span:empty {
  width: 22px;
  height: 1px;
  background: var(--gold);
}
.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  vertical-align: middle;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 14px 23px;
  background: var(--gold);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s;
  min-height: 48px;
}
.btn:after {
  content: "";
  position: absolute;
  inset: -60%;
  background: linear-gradient(
    115deg,
    transparent 38%,
    #fff5 49%,
    transparent 60%
  );
  transform: translateX(-110%);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}
.btn:hover:after {
  transform: translateX(110%);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 22px #80651f20;
}
.btn:active {
  transform: translateY(0);
}
.btn.outline {
  border-color: var(--line);
  background: transparent;
}
.btn.dark {
  background: var(--ink);
  color: var(--paper);
}
.btn.danger {
  background: #8a3028;
  color: white;
}
.full {
  width: 100%;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid var(--gold);
  padding: 7px 0;
}
.text-button {
  border: 0;
  background: none;
  color: var(--gold-dark);
  font-size: 13px;
  text-decoration: underline;
  padding: 8px 0;
}
.icon-button {
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  background: var(--paper);
}
.hero {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 20px;
  min-height: 688px;
  padding-top: 60px;
  padding-bottom: 50px;
  align-items: center;
  position: relative;
}
.hero-copy {
  z-index: 2;
}
.hero h1 {
  margin-bottom: 24px;
  animation: revealUp 0.8s var(--ease) both;
}
.hero-copy > p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 29px;
  animation: revealUp 0.9s 0.1s var(--ease) both;
}
.hero .eyebrow {
  font-size: 10px;
}
.hero-search {
  display: flex;
  gap: 0;
  align-items: center;
  background: var(--paper);
  padding: 10px;
  border: 1px solid #d7ccb4;
  border-radius: 10px;
  box-shadow: 0 16px 40px #493d2510;
  width: 690px;
  max-width: calc(100vw - 96px);
  position: relative;
  z-index: 5;
}
.hero-search label {
  display: grid;
  grid-template-columns: 23px 1fr;
  column-gap: 8px;
  padding: 2px 12px;
  min-width: 0;
  flex: 1;
}
.hero-search label + .hero-search label {
  border-left: 1px solid var(--line);
}
.hero-search label .icon {
  grid-row: 1/3;
  align-self: center;
  color: var(--gold-dark);
}
.hero-search label > span {
  font-size: 11px;
  font-weight: 700;
}
.hero-search select {
  border: 0;
  background: transparent;
  font-size: 12px;
  color: var(--muted);
  padding: 4px 0;
  max-width: 100%;
  width: 100%;
  box-shadow: none !important;
  min-height: 25px;
}
.hero-search .btn {
  padding: 17px 20px;
}
.ai-link {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  font-size: 12px;
  padding: 19px 0;
  color: var(--muted);
}
.ai-link .icon {
  width: 18px;
  color: var(--gold-dark);
}
.ai-link > span {
  color: var(--gold-dark);
  font-weight: 700;
}
.hero-trust {
  display: flex;
  gap: 22px;
  font-size: 11px;
  color: var(--muted);
  padding-top: 7px;
}
.hero-trust > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-trust .icon {
  width: 15px;
  height: 15px;
  color: var(--gold-dark);
}
.hero-visual {
  height: 520px;
  position: relative;
  align-self: start;
  margin-top: 0;
  margin-left: 23px;
  animation: fadeIn 1.2s var(--ease);
}
.hero-arch {
  height: 500px;
  width: 94%;
  position: absolute;
  inset: 5px auto auto 0;
  border-radius: 240px 240px 10px 10px;
  overflow: hidden;
  background: #a38d61;
}
.hero-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% center;
  filter: saturate(0.45) sepia(0.18);
  transform: scale(1.04);
  transition: transform 0.6s var(--ease);
}
.hero-arch:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #1c1c1c60, transparent 48%);
}
.arch-outline {
  position: absolute;
  top: -12px;
  left: 17px;
  width: 94%;
  height: 525px;
  border: 1px solid var(--gold);
  border-radius: 250px 250px 12px 12px;
  opacity: 0.65;
}
.floating-seal {
  position: absolute;
  bottom: 45px;
  left: -28px;
  background: var(--paper);
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 24px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 50px #0001;
  border-radius: 9px;
  font-family: Editorial, serif;
  font-size: 15px;
  z-index: 3;
  animation: revealUp 1s 0.25s both;
}
.floating-seal small {
  display: block;
  color: var(--muted);
  font-family: Interface, sans-serif;
  font-size: 10px;
  padding-top: 3px;
}
.vertical-caption {
  position: absolute;
  right: -26px;
  top: 73px;
  writing-mode: vertical-rl;
  font-size: 8px;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.trust-strip {
  background: var(--ink);
  color: var(--ivory);
}
.trust-strip > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  gap: 20px;
}
.trust-strip span {
  font-family: Editorial;
  font-size: 24px;
}
.trust-strip i {
  font-style: normal;
  color: var(--gold);
}
.trust-strip p {
  margin: 0;
  color: #c6c2b9;
  font-size: 12px;
  border-left: 1px solid #5a5548;
  padding-left: 35px;
}
.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}
.section-title h2 {
  margin-bottom: 0;
}
.section-title > p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 5px;
}
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.specialty-tile {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
  background: var(--paper);
  transition:
    transform 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
  min-height: 175px;
}
.specialty-tile:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 16px 35px #493d2510;
}
.specialty-tile > .icon {
  color: var(--gold-dark);
  width: 29px;
  height: 29px;
}
.specialty-tile > .icon:last-child {
  position: absolute;
  right: 22px;
  bottom: 23px;
  width: 18px;
}
.specialty-tile h3 {
  font-size: 14px;
  font-weight: 400;
  margin: 25px 25px 0 0;
}
.specialty-number {
  position: absolute;
  right: 22px;
  top: 18px;
  color: #bdb3a0;
  font-size: 11px;
}
.soft-section {
  background: #eee9e0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.professional-card {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 30px;
  border-radius: 14px;
  position: relative;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s;
  overflow: hidden;
}
.professional-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px #57432016;
}
.professional-card .favorite {
  position: absolute;
  right: 20px;
  top: 20px;
}
.featured {
  position: absolute;
  right: 18px;
  top: 68px;
  background: #ece2c7;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 9px;
  color: var(--gold-dark);
}
.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e9dfc8;
  color: var(--gold-dark);
  font-family: Editorial;
  font-size: 29px;
  margin-bottom: 20px;
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.firm-avatar {
  border-radius: 16px;
  background: #252725;
  color: var(--gold);
}
.card-kind {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 7px;
}
.professional-card h3 {
  font-family: Editorial;
  font-weight: 400;
  font-size: 21px;
  margin-bottom: 9px;
}
.specialty {
  font-size: 12px;
  color: var(--gold-dark);
  min-height: 20px;
}
.location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 14px;
}
.location .icon {
  width: 14px;
  height: 14px;
}
.verified {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  color: var(--gold-dark);
  font-size: 10px;
  padding: 4px 8px;
  border: 1px solid #e5dbc3;
  background: #f8f3e7;
  border-radius: 4px;
}
.verified .icon {
  width: 13px;
  height: 13px;
}
.card-description {
  font-size: 12px;
  color: var(--muted);
  margin-top: 20px;
  min-height: 58px;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.card-bottom small {
  font-size: 10px;
  color: var(--muted);
  display: block;
}
.card-bottom strong {
  font-weight: 400;
  font-size: 22px;
  font-family: Editorial;
}
.circle-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
}
.rating {
  font-size: 10px;
  color: var(--muted);
  margin-top: 14px;
}
.steps-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.steps-section .btn {
  margin-top: 14px;
}
.steps article {
  display: flex;
  gap: 25px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.steps article > span {
  font: 30px Editorial;
  color: var(--gold);
}
.steps h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.steps p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 0;
}
.professional-cta {
  background: var(--ink);
  color: var(--paper);
  margin-bottom: 85px;
  border-radius: 16px;
  padding-top: 55px;
  padding-bottom: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}
.professional-cta .eyebrow {
  color: var(--gold);
}
.professional-cta p {
  font-size: 14px;
  color: #bcb7ac;
}
.cta-emblem {
  width: 34%;
  display: flex;
  gap: 24px;
  align-items: center;
}
.cta-emblem img {
  width: 130px;
}
.cta-emblem span {
  font-family: Editorial;
  font-size: 21px;
  color: var(--gold);
}
.cta-emblem small {
  font-family: Interface;
  font-size: 10px;
}
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 50px max(48px, calc((100vw - 1204px) / 2)) 25px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
}
.footer-top p {
  font-size: 13px;
  color: #bbb7ae;
  margin: 0;
}
.footer-top > a:last-child {
  font-size: 13px;
  color: var(--gold);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid #434036;
  border-bottom: 1px solid #434036;
  margin-top: 35px;
  padding: 23px 0;
  font-size: 11px;
}
.footer-links .text-button {
  padding: 0;
  color: inherit;
  font-size: 11px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  color: #9d988d;
  font-size: 10px;
  padding-top: 22px;
}
.page-heading {
  padding-top: 55px;
  padding-bottom: 35px;
}
.page-heading h1 {
  font-size: 44px;
  margin-bottom: 18px;
}
.lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 720px;
}
.search-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  padding-bottom: 90px;
}
.filters {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  align-self: start;
  position: sticky;
  top: 20px;
}
.filters h2 {
  font: 20px Editorial;
}
.filters label {
  font-size: 12px;
}
.filters .field {
  margin-bottom: 19px;
}
.filters .btn {
  margin-top: 12px;
}
.search-results .cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.results-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
  font-size: 13px;
}
.results-top select {
  width: auto;
}
.field {
  display: block;
  margin-bottom: 18px;
}
.field > span,
.field > label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
}
input,
select,
textarea {
  background: var(--paper);
  border: 1px solid #ccc3b3;
  color: var(--ink);
  border-radius: 6px;
  width: 100%;
  padding: 12px;
  font-size: 14px;
  min-height: 45px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px #b8973a20;
}
textarea {
  resize: vertical;
  min-height: 105px;
}
.check {
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: 13px;
  margin: 15px 0;
}
.check input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--gold-dark);
  margin-top: 4px;
}
.check a {
  text-decoration: underline;
}
.check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 25px;
}
.check-group .check {
  margin: 4px 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.form-grid .wide {
  grid-column: 1/-1;
}
.auth-shell {
  max-width: 560px;
  margin: 60px auto 100px;
  padding: 40px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 15px;
}
.auth-shell h1 {
  font-size: 35px;
}
.auth-shell p {
  font-size: 14px;
  color: var(--muted);
}
.auth-shell .text-button {
  display: inline-block;
  margin: 8px 0;
}
.form-message {
  font-size: 13px;
  color: #873d24;
  padding: 12px 0;
}
.form-message:empty {
  display: none;
}
.notice {
  background: #eee4ca;
  color: #574414;
  border: 1px solid #dcc990;
  border-radius: 7px;
  padding: 16px 20px;
  font-size: 13px;
  margin-bottom: 22px;
}
.notice.error {
  background: #f8ece8;
  color: #7b2f24;
  border-color: #e5c6be;
}
.notice.success {
  background: #eaf0e7;
  color: #324c2c;
  border-color: #c8d5c2;
}
.empty {
  border: 1px dashed #c8bfae;
  border-radius: 12px;
  background: #fff8;
  padding: 44px;
  text-align: center;
  grid-column: 1/-1;
}
.empty > .icon {
  color: var(--gold-dark);
  width: 35px;
  height: 35px;
  margin-bottom: 14px;
}
.empty p {
  font-size: 14px;
  color: var(--muted);
}
.empty h3 {
  font-family: Editorial;
  font-size: 23px;
  font-weight: 400;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
}
.breadcrumb {
  padding-top: 26px;
  font-size: 12px;
  color: var(--muted);
}
.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 325px;
  gap: 65px;
  padding-top: 35px;
  padding-bottom: 80px;
}
.profile-intro {
  display: flex;
  gap: 25px;
  align-items: center;
  margin-bottom: 40px;
}
.profile-intro h1 {
  font-size: 38px;
  margin-bottom: 10px;
}
.profile-intro .eyebrow {
  font-size: 10px;
  margin-bottom: 10px;
}
.profile-intro p {
  font-size: 13px;
  color: var(--gold-dark);
}
.avatar.large {
  width: 104px;
  height: 104px;
  font-size: 34px;
  flex-shrink: 0;
  margin-bottom: 0;
}
.profile-block {
  border-top: 1px solid var(--line);
  padding: 32px 0;
}
.profile-block h2 {
  font-size: 26px;
  letter-spacing: -0.02em;
}
.profile-block p {
  font-size: 14px;
}
.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.chips span {
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 11px;
}
.chips .icon {
  width: 13px;
  height: 13px;
}
.license {
  padding: 18px;
  background: #eee9df;
  border-radius: 7px;
  margin: 12px 0;
  font-size: 13px;
}
.license p {
  margin: 5px 0;
}
.contact-card {
  position: sticky;
  top: 25px;
  align-self: start;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 14px;
  box-shadow: 0 15px 50px #5743200a;
}
.contact-card h2 {
  font-size: 40px;
  margin-bottom: 0;
}
.contact-card p {
  font-size: 13px;
}
.contact-card .btn {
  margin: 6px 0;
}
.contact-card small {
  display: block;
  margin-top: 17px;
  font-size: 11px;
  color: var(--muted);
}
.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 12px;
  color: var(--gold-dark);
}
.review {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.review > small {
  float: right;
  font-size: 11px;
}
.review p {
  margin: 10px 0;
}
.review blockquote {
  margin: 15px 0 0;
  padding: 15px;
  border-left: 2px solid var(--gold);
  background: #ede7db;
  font-size: 13px;
}
.post {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 20px;
}
.post h3 {
  font-family: Editorial;
  font-size: 24px;
  font-weight: 400;
}
.post p {
  font-size: 14px;
}
.post-image {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  border-radius: 9px;
  margin: 20px 0;
}
.post-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--gold-dark);
}
.feed-layout {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 35px;
  padding-bottom: 80px;
}
.aside-note {
  padding: 30px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 12px;
  align-self: start;
}
.aside-note h2 {
  font-size: 28px;
}
.aside-note p {
  font-size: 13px;
  color: #cbc5b8;
}
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  padding-bottom: 60px;
}
.plan {
  border: 1px solid var(--line);
  padding: 38px;
  border-radius: 14px;
  background: var(--paper);
}
.plan strong {
  display: block;
  font: 36px Editorial;
  margin-bottom: 15px;
}
.plan h2 {
  font-size: 27px;
}
.plan p {
  color: var(--muted);
  font-size: 14px;
}
.plan .btn {
  margin-top: 20px;
}
.faq {
  max-width: 850px;
  margin: 0 auto 80px;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
}
.faq p {
  font-size: 14px;
  color: var(--muted);
  padding-top: 15px;
}
.article {
  max-width: 860px;
  padding-bottom: 80px;
}
.article .preline {
  font-size: 15px;
  line-height: 1.9;
}
.account-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 30px;
  padding-bottom: 80px;
}
.account-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-self: start;
  position: sticky;
  top: 20px;
}
.account-nav a {
  padding: 13px 16px;
  border-radius: 7px;
  font-size: 13px;
}
.account-nav a.active {
  background: var(--ink);
  color: var(--gold);
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 22px;
}
.panel h2 {
  font-size: 26px;
}
.panel h3 {
  font-size: 17px;
}
.panel .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.status {
  font-size: 11px;
  background: #eee7d5;
  border-radius: 20px;
  display: inline-block;
  padding: 4px 10px;
  color: #66511e;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th,
td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-size: 11px;
  color: var(--muted);
}
.account-empty {
  padding: 30px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 22px;
}
.stat {
  padding: 25px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.stat strong {
  display: block;
  font: 32px Editorial;
}
.stat small {
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 35px;
  width: min(560px, calc(100vw - 30px));
  max-height: 90vh;
  overflow: auto;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 100px #0003;
}
dialog[open] {
  animation: revealUp 0.3s var(--ease);
}
dialog::backdrop {
  background: #15130fde;
  backdrop-filter: blur(4px);
}
dialog h2 {
  font-size: 29px;
  margin-right: 20px;
}
.close-dialog {
  position: absolute;
  right: 14px;
  top: 10px;
  border: 0;
  background: none;
  font-size: 27px;
  color: var(--muted);
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--gold);
  box-shadow: 0 5px 30px #0002;
  padding: 14px 25px;
  border-radius: 8px;
  max-width: 90vw;
  font-size: 13px;
}
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  z-index: 60;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 15px;
}
.skip:focus {
  top: 10px;
}
:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 4px;
}
#demo-banner {
  background: #e7d5a8;
  text-align: center;
  padding: 6px 15px;
  font-size: 11px;
}
.loading {
  padding: 80px;
  text-align: center;
  color: var(--muted);
}
.spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid var(--line);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 12px;
}
.reveal {
  opacity: 1;
}
.motion .reveal:not(.seen) {
  opacity: 0;
  transform: translateY(18px);
}
.motion .reveal {
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
}
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1500px) {
  .hero {
    min-height: 730px;
  }
  .hero-visual {
    height: 550px;
  }
  .hero-arch {
    height: 540px;
  }
  .arch-outline {
    height: 560px;
  }
}
@media (max-width: 1050px) {
  .header {
    padding: 12px 25px;
  }
  .header nav {
    gap: 15px;
    font-size: 12px;
  }
  .wrap {
    padding-left: 30px;
    padding-right: 30px;
  }
  .hero {
    gap: 0;
    padding-top: 45px;
    min-height: 620px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-visual {
    height: 450px;
  }
  .hero-arch {
    height: 430px;
  }
  .arch-outline {
    height: 452px;
  }
  .hero-search {
    width: 620px;
    max-width: calc(100vw - 60px);
  }
  .hero-search label {
    padding: 2px 8px;
  }
  .hero-search .btn {
    padding: 16px;
  }
  .hero-trust {
    font-size: 10px;
    gap: 12px;
  }
  .professional-card {
    padding: 24px;
  }
  .cards {
    gap: 16px;
  }
  .professional-cta {
    margin-left: 30px;
    margin-right: 30px;
  }
  .cta-emblem {
    width: 38%;
  }
  .profile-layout {
    gap: 30px;
    grid-template-columns: 1fr 290px;
  }
  .search-layout {
    grid-template-columns: 220px 1fr;
    gap: 20px;
  }
  .footer {
    padding-left: 30px;
    padding-right: 30px;
  }
  .specialty-tile {
    padding: 20px;
  }
  .vertical-caption {
    right: -14px;
  }
}
@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .header {
    height: 82px;
    padding: 8px 20px;
  }
  .header .brand img {
    width: 168px;
    height: 60px;
  }
  .nav-toggle {
    display: block;
    border: 1px solid var(--line);
    background: transparent;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    font-size: 20px;
  }
  .header nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 20px;
    box-shadow: 0 20px 30px #0002;
    flex-direction: column;
    align-items: stretch;
    font-size: 14px;
  }
  .header nav.open {
    display: flex;
  }
  .nav-account {
    border-left: 0;
    padding-left: 0 !important;
  }
  .wrap {
    padding-left: 22px;
    padding-right: 22px;
  }
  .hero {
    display: block;
    padding-top: 35px;
    padding-bottom: 35px;
    min-height: 0;
  }
  .hero h1 {
    font-size: 45px;
    letter-spacing: -0.055em;
  }
  .hero .eyebrow {
    font-size: 9px;
    margin-bottom: 21px;
  }
  .hero-copy > p {
    font-size: 14px;
  }
  .hero-visual {
    display: block;
    height: 300px;
    margin: 38px 10px 0 18px;
  }
  .hero-arch {
    height: 280px;
    width: 100%;
    border-radius: 180px 180px 8px 8px;
  }
  .arch-outline {
    height: 294px;
    width: 100%;
    left: 10px;
    top: -5px;
    border-radius: 190px 190px 8px 8px;
  }
  .floating-seal {
    bottom: 15px;
    left: -18px;
    padding: 12px 16px;
    font-size: 13px;
  }
  .floating-seal img {
    width: 32px;
    height: 39px;
  }
  .vertical-caption {
    display: none;
  }
  .hero-search {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }
  .hero-search label {
    padding: 5px;
    grid-template-columns: 23px 1fr;
  }
  .hero-search label + .hero-search label {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 14px;
  }
  .hero-search label > span {
    font-size: 12px;
  }
  .hero-search select {
    font-size: 14px;
    padding: 7px 0;
  }
  .ai-link {
    font-size: 11px;
    flex-wrap: wrap;
    gap: 6px;
  }
  .ai-link > span {
    margin-left: 26px;
  }
  .hero-trust {
    font-size: 10px;
    gap: 15px;
  }
  .trust-strip > .wrap {
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 25px;
    padding-bottom: 25px;
  }
  .trust-strip span {
    width: 100%;
    font-size: 23px;
  }
  .trust-strip p {
    padding: 0;
    border: 0;
    font-size: 10px;
  }
  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }
  .section-title {
    display: block;
    margin-bottom: 25px;
  }
  .section-title > p {
    display: none;
  }
  .section-title h2 {
    font-size: 30px;
  }
  .section-title .text-link {
    margin-top: 16px;
  }
  .specialty-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .specialty-tile {
    padding: 19px;
    min-height: 155px;
  }
  .specialty-tile h3 {
    font-size: 13px;
    max-width: 130px;
  }
  .cards,
  .search-results .cards {
    grid-template-columns: 1fr;
  }
  .professional-card {
    padding: 28px;
  }
  .card-description {
    min-height: 0;
    font-size: 14px;
  }
  .card-kind,
  .location,
  .verified,
  .rating {
    font-size: 12px;
  }
  .specialty {
    font-size: 14px;
  }
  .featured {
    font-size: 11px;
  }
  .card-bottom small {
    font-size: 12px;
  }
  .steps-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .professional-cta {
    margin: 0 18px 50px;
    padding: 35px 26px;
    display: block;
  }
  .cta-emblem {
    display: none;
  }
  .footer {
    padding: 35px 22px 22px;
  }
  .footer-top {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }
  .footer-top img {
    width: 200px;
  }
  .footer-links {
    gap: 14px 22px;
    font-size: 12px;
  }
  .footer-links .text-button {
    font-size: 12px;
  }
  .footer-bottom {
    gap: 20px;
  }
  .page-heading {
    padding-top: 35px;
  }
  .page-heading h1 {
    font-size: 35px;
  }
  .search-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .filters {
    position: static;
  }
  .filters form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .filters .field {
    margin-bottom: 0;
  }
  .filters .field:first-child {
    grid-column: 1/-1;
  }
  .filters input,
  .filters select {
    font-size: 13px;
  }
  .filters .btn {
    grid-column: 1/-1;
  }
  .results-top {
    align-items: start;
  }
  .results-top select {
    max-width: 190px;
    font-size: 12px;
  }
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .profile-intro {
    align-items: start;
    gap: 15px;
  }
  .profile-intro h1 {
    font-size: 28px;
  }
  .avatar.large {
    width: 75px;
    height: 75px;
    font-size: 26px;
  }
  .profile-intro .eyebrow {
    font-size: 9px;
  }
  .contact-card {
    position: static;
    grid-row: 1;
  }
  .profile-block p {
    font-size: 15px;
  }
  .feed-layout {
    grid-template-columns: 1fr;
  }
  .aside-note {
    grid-row: 1;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .plan {
    padding: 28px;
  }
  .auth-shell {
    margin: 30px 18px 65px;
    padding: 28px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .account-layout {
    grid-template-columns: 1fr;
  }
  .account-nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
  }
  .account-nav a {
    font-size: 12px;
    padding: 11px;
  }
  .panel {
    padding: 22px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat {
    padding: 20px;
  }
  .faq {
    margin-left: 22px;
    margin-right: 22px;
  }
  .faq summary {
    font-size: 14px;
  }
  .eyebrow {
    font-size: 10px;
  }
  .empty {
    padding: 30px 20px;
  }
  .hero .desktop {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .motion .reveal:not(.seen) {
    opacity: 1;
    transform: none;
  }
}
