@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap");
:root {
  --ink: #123f43;
  --dark: #0b3135;
  --orange: #ef7724;
  --bg: #f1f7f5;
  --line: #c9ddda;
  --muted: #637b7b;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #ef7724;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.045em;
}
h2 {
  font-size: 28px;
  margin-bottom: 10px;
}
p {
  line-height: 1.65;
}
.muted {
  color: var(--muted);
  font-size: 14px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 12px;
}
.site-header {
  height: 100px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px max(24px, calc((100vw - 1140px) / 2));
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  display: block;
  width: 174px;
  flex-shrink: 0;
  line-height: 0;
}
.brand img {
  width: 100%;
  height: auto;
  aspect-ratio: 512/279;
  object-fit: contain;
  border-radius: 8px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.desktop-link {
  text-decoration: none;
  font-size: 13px;
  margin-right: 22px;
}
.primary,
.outline-btn,
.link-btn,
.text-button {
  border: 0;
  border-radius: 12px;
  padding: 13px 20px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 44px;
}
.primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 3px 8px #ef772415;
}
.primary:hover {
  background: #d9651c;
  transform: translateY(-1px);
}
.outline-btn {
  border: 1px solid var(--line);
  background: #fff;
}
.link-btn,
.text-button {
  background: transparent;
  color: var(--ink);
}
.text-button {
  padding: 10px 0;
  font-size: 12px;
  white-space: nowrap;
}
.link-btn:hover,
.outline-btn:hover {
  background: var(--bg);
}
main {
  max-width: 1140px;
  margin: auto;
  padding: 0 24px;
}
.welcome {
  padding: 54px 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.welcome h1 {
  font-size: 52px;
  line-height: 1.08;
  margin-bottom: 18px;
  letter-spacing: -0.055em;
}
.welcome h1 span {
  color: var(--orange);
}
.welcome .muted {
  font-size: 15px;
}
.welcome-note {
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 1px solid var(--line);
  padding: 10px 0 10px 28px;
}
.welcome-note p {
  font-size: 12px;
  margin: 0;
}
.seal {
  background: #e1eee8;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  padding: 9px 10px 9px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 5px 20px #123f4305;
}
.search-bar > span {
  font-size: 29px;
}
.search-bar input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 10px 0;
  font-size: 15px;
  outline-offset: 0;
}
.category-section {
  padding: 32px 0;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.category-section h2 {
  font-size: 19px;
  margin: 0;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
}
.category-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: white;
  border-radius: 16px;
  padding: 20px 10px;
  font-size: 12px;
  min-height: 106px;
}
.category-card:hover,
.category-card.active {
  border-color: var(--orange);
  background: #fff9f3;
}
.category-icon {
  font-size: 25px;
  color: var(--ink);
  height: 30px;
}
.promo {
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  background: var(--ink);
  color: white;
  border-radius: 24px;
  padding: 34px 40px;
  margin-bottom: 48px;
  min-height: 270px;
}
.promo h2 {
  font-size: 34px;
  line-height: 1.15;
}
.promo .eyebrow {
  color: #ffc59d;
}
.promo p:not(.eyebrow) {
  font-size: 13px;
  color: #d5e5e1;
}
.promo-art {
  position: relative;
  min-height: 200px;
  display: grid;
  place-items: center;
}
.orbit {
  position: absolute;
  width: 240px;
  height: 240px;
  border: 1px solid #b3d2c533;
  border-radius: 50%;
  box-shadow:
    0 0 0 26px #b3d2c50a,
    0 0 0 54px #b3d2c507;
}
.house {
  font-size: 150px;
  font-family: system-ui;
  color: #d4e3d9;
  line-height: 1;
  transform: rotate(-8deg);
}
.art-check {
  position: absolute;
  right: 20%;
  bottom: 20%;
  background: var(--orange);
  border: 7px solid var(--ink);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
}
.art-dot {
  position: absolute;
  left: 15%;
  top: 20%;
  width: 14px;
  height: 14px;
  background: var(--orange);
  border-radius: 50%;
}
.filters {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}
.filters label {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.filters input,
.filters select {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  background: white;
  font-size: 12px;
  margin-top: 6px;
}
.professional-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.pro {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 6px 20px #123f4304;
}
.pro-top {
  display: flex;
  gap: 14px;
  align-items: center;
}
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e4efea;
  display: grid;
  place-items: center;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.initials {
  font-size: 20px;
  font-weight: 700;
}
.pro h3 {
  font-size: 18px;
  letter-spacing: -0.025em;
  margin: 0 0 5px;
  overflow-wrap: anywhere;
}
.pro .role {
  font-size: 12px;
  margin: 0;
  color: var(--muted);
}
.pro .description {
  font-size: 13px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  line-height: 1.7;
  min-height: 64px;
}
.pro-location {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.pro-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #e6efeb;
}
.availability {
  font-size: 10px;
  color: #267456;
}
.pro-footer .outline-btn {
  font-size: 12px;
  padding: 9px 12px;
  min-height: 40px;
}
.approved {
  font-size: 11px;
  color: #267456;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.empty-state {
  grid-column: 1/-1;
  border: 1px dashed var(--line);
  background: #ffffff80;
  border-radius: 18px;
  text-align: center;
  padding: 42px 20px;
}
.empty-state > span {
  font-size: 35px;
  color: var(--orange);
}
.empty-state h3 {
  margin: 10px 0;
}
.empty-state p {
  font-size: 14px;
  color: var(--muted);
}
.join-banner {
  margin: 48px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 30px;
  background: #e5eee8;
  border-radius: 20px;
}
.join-banner h2 {
  font-size: 25px;
}
.join-banner p {
  font-size: 13px;
  margin-bottom: 0;
}
.join-banner .eyebrow {
  margin-bottom: 8px;
}
footer {
  max-width: 1140px;
  margin: auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
}
footer p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
footer a:last-child {
  font-size: 12px;
  text-decoration: none;
}
.mobile-nav {
  display: none;
}
.overlay {
  position: fixed;
  inset: 0;
  background: #08262d88;
  backdrop-filter: blur(4px);
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal {
  position: relative;
  background: white;
  width: min(680px, 100%);
  max-height: 92dvh;
  overflow: auto;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 25px 80px #08262d20;
}
.close {
  position: absolute;
  right: 18px;
  top: 16px;
  border: 0;
  background: var(--bg);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 24px;
}
.auth-card {
  width: min(560px, 100%);
}
.auth-card > .brand {
  width: 158px;
  margin: 0 auto 24px;
}
.auth-card h1 {
  font-size: 30px;
}
.auth-card label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 16px 0 0;
}
.auth-card input,
.auth-card textarea,
.auth-card select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fcfefd;
  border-radius: 10px;
  padding: 12px;
  margin-top: 7px;
  min-width: 0;
  font-weight: 400;
}
.auth-card textarea {
  resize: vertical;
}
.auth-card form > .primary {
  width: 100%;
  margin-top: 22px;
}
.hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 10px;
}
.switch {
  text-align: center;
  font-size: 12px;
  margin: 22px 0 0;
}
.switch button {
  border: 0;
  background: none;
  color: var(--orange);
  font-weight: 700;
}
.form-error {
  color: #a33127;
  font-size: 13px;
  line-height: 1.6;
  padding: 10px 0;
}
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0;
}
.preview-item {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
}
.preview-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.preview-item button {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: white;
  font-size: 18px;
}
.preview-item span {
  display: block;
  padding: 6px;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.upload-count {
  font-size: 11px;
  color: var(--muted);
}
.profile-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 20px 0;
}
.profile-head h2 {
  font-size: 28px;
  margin: 0 0 8px;
}
.profile-head p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 6px;
}
.profile-head .avatar {
  width: 90px;
  height: 90px;
}
.profile-tabs {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  margin: 26px 0;
}
.profile-tabs a {
  font-size: 13px;
  text-decoration: none;
  padding: 12px 0;
}
.profile-section {
  padding: 10px 0;
}
.profile-section h3 {
  font-size: 18px;
}
.profile-section p {
  font-size: 14px;
  color: var(--muted);
  white-space: pre-wrap;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.photo-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 14px;
}
.status-badge {
  display: inline-flex;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 12px;
  background: #fff0dd;
  color: #97581e;
}
.status-badge.published {
  background: #e2f3e8;
  color: #257349;
}
.status-badge.suspended {
  background: #fbe7e5;
  color: #a33127;
}
.account-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0;
}
.account-details div {
  padding: 12px;
  background: var(--bg);
  border-radius: 10px;
  overflow-wrap: anywhere;
  font-size: 13px;
}
.account-details small {
  display: block;
  color: var(--muted);
  margin-bottom: 5px;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: var(--dark);
  color: white;
  padding: 14px 20px;
  border-radius: 12px;
  max-width: calc(100vw - 32px);
  width: max-content;
  font-size: 13px;
  display: none;
  z-index: 100;
}
.sr-only {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skeleton {
  height: 260px;
  background: linear-gradient(100deg, #e3ece7, #fff, #e3ece7);
  border-radius: 18px;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.45;
  }
}
button,
a {
  transition:
    background 0.18s,
    transform 0.18s;
}
@media (max-width: 850px) {
  .professional-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .welcome-note {
    display: none;
  }
  .desktop-link {
    display: none;
  }
  .promo {
    padding: 28px;
  }
  .promo h2 {
    font-size: 28px;
  }
  .promo-art {
    transform: scale(0.8);
  }
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .filters {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  body {
    padding-bottom: 76px;
  }
  .site-header {
    height: 80px;
    padding: 8px 18px;
    gap: 8px;
  }
  .brand {
    width: 122px;
  }
  .site-header nav {
    gap: 6px;
  }
  .site-header nav .primary {
    padding: 10px 12px;
    font-size: 11px;
  }
  .site-header .link-btn {
    font-size: 12px;
    padding: 8px;
  }
  main {
    padding: 0 20px;
  }
  .welcome {
    padding: 32px 0 18px;
  }
  .welcome h1 {
    font-size: 38px;
  }
  .welcome .muted {
    font-size: 13px;
    max-width: 260px;
    margin-bottom: 0;
  }
  .search-bar {
    padding: 7px 8px 7px 14px;
    gap: 8px;
  }
  .search-bar input {
    font-size: 12px;
  }
  .search-bar .primary {
    padding: 10px 13px;
    font-size: 11px;
    gap: 5px;
  }
  .category-section {
    padding: 24px 0;
  }
  .category-section h2 {
    font-size: 16px;
  }
  .category-card {
    min-height: 94px;
    padding: 14px 8px;
  }
  .category-grid {
    gap: 9px;
  }
  .promo {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 25px;
    border-radius: 18px;
    margin-bottom: 32px;
  }
  .promo h2 {
    font-size: 29px;
  }
  .promo-art {
    display: none;
  }
  .promo p:not(.eyebrow) {
    max-width: 260px;
  }
  .section-heading {
    gap: 10px;
  }
  .section-heading h2 {
    font-size: 23px;
  }
  .professional-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .pro {
    padding: 20px;
  }
  .pro .description {
    min-height: 0;
  }
  .filters {
    gap: 9px;
  }
  .join-banner {
    margin: 30px 0;
    padding: 24px;
    display: block;
  }
  .join-banner .primary {
    margin-top: 20px;
  }
  .join-banner h2 {
    font-size: 23px;
  }
  footer {
    padding: 20px;
    flex-wrap: wrap;
    gap: 18px;
  }
  footer > .brand {
    width: 110px;
  }
  footer a:last-child {
    width: 100%;
    text-align: center;
    padding: 10px;
  }
  .mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 30;
    background: #fff;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 8px 8px max(9px, env(safe-area-inset-bottom));
  }
  .mobile-nav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 10px;
    padding: 3px;
  }
  .mobile-nav span {
    font-size: 23px;
    line-height: 1.1;
  }
  .mobile-nav .active {
    color: var(--orange);
  }
  .overlay {
    padding: 12px;
  }
  .modal {
    padding: 26px 20px;
    border-radius: 20px;
    max-height: 94dvh;
  }
  .auth-card h1 {
    font-size: 26px;
  }
  .profile-head {
    align-items: flex-start;
  }
  .profile-head h2 {
    font-size: 23px;
  }
  .profile-head .avatar {
    width: 70px;
    height: 70px;
  }
  .account-details {
    grid-template-columns: 1fr;
  }
  .photo-grid {
    gap: 8px;
  }
  #toast {
    bottom: 84px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
