:root {
  --ink: #141414;
  --ink-soft: #333333;
  --paper: #ffffff;
  --paper-soft: #f6f5f2;
  --line: #dedbd3;
  --muted: #77736b;
  --gold: #c7a45a;
  --gold-soft: #f3ead3;
  --wine: #6f1721;
  --wine-soft: #f6e8ea;
  --success: #20724b;
  --warning: #a46316;
  --shadow: 0 18px 50px rgba(20, 20, 20, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

main {
  min-height: 70vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 clamp(16px, 3.4vw, 60px);
  padding: 32px 0 26px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 2px solid var(--ink);
  backdrop-filter: blur(10px);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  line-height: 0.9;
}

.brand::after {
  content: "PROFESSIONAL AGENCY";
  display: block;
  margin-top: 8px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.44rem;
  font-weight: 900;
  letter-spacing: 0.42em;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 14px 16px 18px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.site-nav.open {
  display: grid;
  gap: 12px;
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
}

.site-nav a.button {
  color: var(--paper);
}

.site-nav a.button.ghost,
.site-nav a.button.light {
  color: var(--ink);
}

.nav-toggle {
  display: inline-grid;
  gap: 4px;
  width: 42px;
  height: 42px;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  cursor: pointer;
  text-align: center;
}

.button.ghost {
  background: transparent;
  color: var(--ink);
}

.button.light {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.button.small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.9rem;
}

.danger-button {
  border-color: var(--wine);
  background: var(--wine);
}

.text-link {
  color: var(--wine);
  font-weight: 800;
}

.danger-link {
  color: var(--wine);
}

.eyebrow {
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--paper);
}

.hero {
  display: grid;
  gap: 28px;
  padding: clamp(34px, 7vw, 86px) clamp(16px, 4vw, 56px) 28px;
  background: var(--paper);
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 16px;
}

.hero h1,
.page-hero h1,
.auth-copy h1,
.form-heading h1,
.dashboard-heading h1,
.empty-page h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 1.02;
}

.hero p,
.auth-copy p,
.profile-summary p,
.empty-page p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: repeat(2, minmax(120px, 190px));
  gap: 10px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(0.95);
}

.hero-main {
  grid-row: span 2;
}

.home-video-hero {
  position: relative;
  min-height: clamp(560px, 82vh, 840px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero-video,
.home-video-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
  filter: saturate(0.9) contrast(1.08);
}

.home-video-shade {
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.76), rgba(20, 20, 20, 0.34) 48%, rgba(20, 20, 20, 0.18)),
    linear-gradient(0deg, rgba(20, 20, 20, 0.28), rgba(20, 20, 20, 0.08));
}

.home-hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 20px;
  color: var(--paper);
}

.home-hero-content h1 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 6.4vw, 5.7rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.home-hero-content p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.section,
.page-hero,
.market-layout,
.profile-layout,
.dashboard-shell,
.messages-layout,
.form-shell,
.auth-panel,
.empty-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section,
.market-layout,
.profile-layout,
.dashboard-shell,
.messages-layout,
.form-shell,
.auth-panel,
.empty-page {
  padding: 44px 0;
}

.page-hero {
  padding: 40px 0 12px;
}

.page-hero.compact h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2,
.profile-section h2,
.contact-card h2,
.social-card h2,
.admin-section h2,
.profile-form h2 {
  margin: 6px 0 0;
  font-size: 1.55rem;
  line-height: 1.15;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.process-grid,
.metric-grid,
.action-grid,
.admin-columns {
  display: grid;
  gap: 14px;
}

.process-grid article,
.metric-grid article,
.action-card,
.contact-card,
.social-card,
.profile-status-card,
.admin-section,
.profile-form,
.auth-card,
.notice,
.success-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.06);
}

.process-grid article {
  padding: 20px;
}

.process-grid span {
  color: var(--gold);
  font-weight: 900;
}

.process-grid h3,
.talent-card h3,
.action-card strong,
.metric-grid strong,
.admin-profile h3 {
  margin: 8px 0;
}

.process-grid p,
.action-card span,
.muted-text,
.notice span,
.compact-row strong {
  color: var(--muted);
}

.talent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: clamp(18px, 2vw, 30px);
}

.talent-card {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--paper);
}

.talent-photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  background: #ddd;
  overflow: hidden;
}

.talent-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.7s ease;
}

.talent-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 18px;
  color: var(--paper);
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.08), rgba(20, 20, 20, 0.88));
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.talent-photo:hover img,
.talent-photo:focus-visible img {
  transform: scale(1.045);
  filter: saturate(0.82);
}

.talent-photo:hover .talent-overlay,
.talent-photo:focus-visible .talent-overlay {
  opacity: 1;
  transform: translateY(0);
}

.talent-overlay strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.05;
}

.overlay-kicker,
.overlay-facts,
.overlay-tags {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.overlay-bio {
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
  line-height: 1.45;
}

.talent-body {
  display: grid;
  gap: 8px;
  padding: 14px 0 2px;
  text-align: center;
}

.talent-meta,
.talent-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.talent-card h3 a {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.talent-facts {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.pill,
.verified,
.status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.pill {
  background: var(--paper-soft);
  color: var(--ink-soft);
}

.verified,
.status.success {
  background: #e5f2ec;
  color: var(--success);
}

.verified.large {
  min-height: 34px;
  white-space: nowrap;
}

.status.warning {
  background: #fff1dc;
  color: var(--warning);
}

.status.danger,
.notice.danger {
  background: var(--wine-soft);
  color: var(--wine);
}

.status.muted {
  background: var(--paper-soft);
  color: var(--muted);
}

.notice,
.success-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
  margin-bottom: 18px;
}

.notice.success {
  background: #e9f6ef;
  color: var(--success);
}

.notice.inline {
  margin: 0;
}

.ad-slot {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 132px;
  padding: 18px;
  border: 1px dashed #b7afa0;
  border-radius: 8px;
  background: var(--gold-soft);
  color: var(--ink-soft);
  text-align: center;
}

.ad-slot.wide {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto;
}

.ad-slot img {
  max-height: 120px;
  border-radius: 6px;
}

.market-layout {
  display: grid;
  gap: 20px;
}

.filter-panel {
  display: grid;
  gap: 16px;
  align-content: start;
}

.filter-panel form,
.profile-form,
.auth-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfc9be;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(199, 164, 90, 0.22);
}

.results-count {
  margin-bottom: 16px;
  color: var(--muted);
  font-weight: 800;
}

.profile-layout {
  display: grid;
  gap: 22px;
}

.profile-main,
.profile-sidebar {
  display: grid;
  gap: 16px;
  align-content: start;
}

.profile-cover {
  overflow: hidden;
  border-radius: 8px;
  background: #ddd;
}

.profile-cover img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
}

.profile-summary {
  display: grid;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
}

.profile-summary h1 {
  margin: 4px 0 10px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
}

.detail-grid,
.form-grid {
  display: grid;
  gap: 12px;
}

.detail-grid div {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.detail-grid span {
  color: var(--muted);
  font-size: 0.85rem;
}

.profile-section,
.contact-card,
.social-card {
  padding: 18px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.gallery-grid figure {
  display: grid;
  gap: 8px;
  margin: 0;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-grid figcaption {
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-card,
.social-card {
  display: grid;
  gap: 12px;
}

.social-card a,
.social-card span {
  color: var(--ink-soft);
  font-weight: 800;
}

.auth-panel {
  display: grid;
  gap: 22px;
  align-items: center;
}

.auth-copy {
  display: grid;
  gap: 12px;
}

.form-shell.narrow {
  max-width: 760px;
}

.form-heading,
.dashboard-heading {
  margin-bottom: 20px;
}

.profile-form {
  max-width: 920px;
}

.form-step {
  display: none;
  gap: 14px;
}

.form-step.active {
  display: grid;
}

.step-kicker {
  color: var(--gold);
  font-weight: 900;
}

.step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 6px;
}

.current-photo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-weight: 800;
}

.current-photo img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}

.dashboard-shell {
  display: grid;
  gap: 18px;
}

.profile-status-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.profile-status-card img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
}

.metric-grid article,
.action-card {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.metric-grid span {
  color: var(--wine);
  font-size: 2rem;
  font-weight: 900;
}

.messages-layout {
  display: grid;
  gap: 20px;
}

.message-list,
.message-thread {
  display: grid;
  gap: 12px;
  align-content: start;
}

.message-preview,
.thread-box,
.thread-message {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.message-preview {
  display: grid;
  gap: 4px;
  padding: 13px;
}

.message-preview.unread {
  border-color: var(--gold);
}

.message-preview span {
  color: var(--muted);
}

.thread-box {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.thread-message {
  max-width: 82%;
  padding: 12px;
}

.thread-message.own {
  justify-self: end;
  background: var(--ink);
  color: var(--paper);
}

.thread-message p {
  margin: 8px 0;
  line-height: 1.55;
}

.thread-message time {
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-shell {
  width: min(1280px, calc(100% - 32px));
}

.admin-list {
  display: grid;
  gap: 14px;
}

.admin-profile {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-profile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.compact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.empty-state,
.empty-page {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(16px, 4vw, 48px);
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.site-footer div,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer span,
.site-footer a {
  color: #d7d0c5;
}

@media (min-width: 720px) {
  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav-toggle {
    display: none;
  }

  .hero,
  .auth-panel {
    grid-template-columns: 1fr 0.9fr;
  }

  .process-grid,
  .metric-grid,
  .action-grid,
  .admin-columns {
    grid-template-columns: repeat(3, 1fr);
  }

  .market-layout {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }

  .profile-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .profile-summary {
    grid-template-columns: 1fr auto;
  }

  .detail-grid,
  .form-grid.two {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid.three {
    grid-template-columns: repeat(3, 1fr);
  }

  .profile-status-card {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .messages-layout {
    grid-template-columns: 320px minmax(0, 1fr);
  }

  .admin-profile {
    grid-template-columns: 140px 1fr 220px 220px;
    align-items: start;
  }
}

@media (min-width: 1060px) {
  .hero-visual {
    grid-template-rows: repeat(2, 230px);
  }
}
