:root {
  --black: #000000;
  --panel: #080808;
  --white: #ffffff;
  --lavender: #e6c7eb;
  --muted: #bdb8c0;
  --line: rgba(230, 199, 235, 0.36);
  --serif: "Cormorant Garamond", Baskerville, "Times New Roman", serif;
  --sans: Fahkwang, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(circle at 75% 10%, rgba(230, 199, 235, 0.055), transparent 24rem), var(--black);
  color: var(--white);
  font-family: var(--sans);
}
a { color: inherit; }
button, select { font: inherit; }
.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;
}

.site-header {
  min-height: 104px;
  padding: 24px clamp(24px, 3vw, 52px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand, .footer-brand {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.21em;
}
.brand > span, .footer-brand > span {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.9vw, 1.75rem);
  letter-spacing: 0.16em;
}
.brand small, .footer-brand small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.42em;
}
.site-header nav, .site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.4vw, 54px);
}
.site-header nav a, .site-footer nav a {
  position: relative;
  padding: 13px 0;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  white-space: nowrap;
}
.site-header nav a::after, .site-footer nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 4px;
  height: 1px;
  background: var(--lavender);
  transition: left 0.2s ease, right 0.2s ease;
}
.site-header nav a:hover::after, .site-header nav a:focus-visible::after,
.site-footer nav a:hover::after, .site-footer nav a:focus-visible::after {
  left: 0;
  right: 0;
}
.site-header .nav-register {
  border: 1px solid var(--lavender);
  padding: 13px 23px;
}

#main-content { padding: 0 clamp(18px, 2.5vw, 38px); }
.discovery {
  min-height: 178px;
  display: grid;
  grid-template-columns: minmax(310px, 0.9fr) minmax(600px, 1.25fr);
  align-items: center;
  gap: 52px;
  padding: 28px 0 25px;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--lavender);
  text-transform: uppercase;
  font-size: 0.71rem;
  letter-spacing: 0.25em;
}
.discovery h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.65rem, 4.3vw, 4.65rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.98;
}
.intro {
  margin: 13px 0 0;
  color: #d0cbd1;
  font-size: 0.95rem;
  letter-spacing: 0.035em;
}

.quick-search {
  display: grid;
  grid-template-columns: minmax(142px, 1fr) minmax(156px, 1.05fr) minmax(150px, 1fr) minmax(135px, 0.92fr);
  align-items: stretch;
}
.quick-search label, .search-button, .register-button { min-height: 68px; }
.quick-search select {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-right: 0;
  border-radius: 0;
  padding: 0 20px;
  background: #020202;
  color: #eee8ef;
  outline: 0;
}
.quick-search select:focus-visible {
  position: relative;
  z-index: 2;
  border-color: var(--lavender);
  box-shadow: 0 0 0 2px var(--lavender);
}
.search-button, .register-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.87rem;
  letter-spacing: 0.025em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.search-button {
  border: 1px solid var(--lavender);
  background: #050505;
  color: var(--white);
}
.search-button:hover, .search-button:focus-visible { background: rgba(230, 199, 235, 0.12); }
.register-button {
  margin-left: 20px;
  border: 1px solid var(--lavender);
  background: var(--lavender);
  color: #120d13;
}
.register-button:hover, .register-button:focus-visible {
  background: var(--white);
  border-color: var(--white);
}

.profiles {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
}
.profile-card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: var(--panel);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.profile-card:hover, .profile-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--lavender);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.5);
  outline: none;
}
.photo-frame {
  position: relative;
  aspect-ratio: 0.7;
  overflow: hidden;
  background: #151515;
}
.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.85) contrast(1.03);
  transition: transform 0.5s ease, filter 0.22s ease;
}
.profile-card:hover img, .profile-card:focus-visible img {
  transform: scale(1.025);
  filter: saturate(1) contrast(1.03);
}
.view-profile {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  padding: 10px;
  border: 1px solid var(--lavender);
  background: rgba(0, 0, 0, 0.78);
  color: var(--lavender);
  text-align: center;
  font-size: 0.77rem;
  letter-spacing: 0.07em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.profile-card:hover .view-profile, .profile-card:focus-visible .view-profile {
  opacity: 1;
  transform: translateY(0);
}
.profile-details {
  min-height: 126px;
  padding: 16px 15px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.23);
}
.profile-details h2 {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.7vw, 1.62rem);
  font-weight: 400;
}
.profile-details p {
  min-height: 32px;
  margin: 6px 0 11px;
  color: #d4cfd5;
  font-size: 0.77rem;
  line-height: 1.35;
}
.verified {
  color: var(--lavender);
  font-size: 0.69rem;
  letter-spacing: 0.045em;
}
.verified span { margin-right: 5px; }

.more-profiles {
  padding: 34px 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: #c8c2ca;
}
.more-profiles p { margin: 0; }
.more-profiles a {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--lavender);
  color: var(--lavender);
  text-decoration: none;
}

.site-footer {
  min-height: 164px;
  padding: 31px clamp(24px, 3vw, 52px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 26px 50px;
}
.site-footer nav { gap: 25px; }
.site-footer nav a { font-size: 0.62rem; }
.site-footer > p {
  grid-column: 1 / -1;
  margin: 0;
  color: #8f8991;
  text-transform: uppercase;
  text-align: center;
  font-size: 0.64rem;
  letter-spacing: 0.24em;
}

@media (max-width: 1120px) {
  .site-header { align-items: flex-start; }
  .site-header nav { gap: 19px; }
  .discovery { grid-template-columns: 1fr; gap: 24px; }
  .profiles { grid-template-columns: repeat(3, 1fr); }
  .photo-frame { aspect-ratio: 0.82; }
}

@media (max-width: 760px) {
  .site-header {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 22px 20px;
  }
  .site-header nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 12px;
  }
  .site-header nav a {
    padding: 10px 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
    font-size: 0.62rem;
  }
  .site-header .nav-register { padding: 10px 6px; }
  #main-content { padding: 0 14px; }
  .discovery { padding: 30px 2px 26px; }
  .quick-search { grid-template-columns: 1fr 1fr; gap: 9px; }
  .quick-search select { border: 1px solid rgba(255, 255, 255, 0.55); }
  .quick-search label, .search-button, .register-button { min-height: 54px; }
  .register-button { margin-left: 0; }
  .profiles { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .photo-frame { aspect-ratio: 0.72; }
  .profile-details { min-height: 118px; padding: 13px 11px; }
  .profile-details h2 { font-size: 1.18rem; }
  .view-profile { display: none; }
  .more-profiles { flex-direction: column; gap: 12px; text-align: center; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .site-footer nav { display: grid; grid-template-columns: repeat(2, 1fr); }
  .site-footer > p { grid-column: 1; }
}

@media (max-width: 390px) {
  .quick-search, .profiles { grid-template-columns: 1fr; }
  .photo-frame { aspect-ratio: 0.88; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
