/* ─── Reset & Base ─────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/InterVariable-Italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }
.input-hidden { display: none !important; }

:root {
  /* Colors */
  --color-bg:                 #ffffff;
  --color-bg-secondary:       rgba(250, 250, 250, 0.92);
  --color-surface:            #ffffff;
  --color-border:             #f0f0f0;
  --color-border-subtle:      #ededed;
  --color-border-interactive: rgba(0, 0, 0, 0.08);
  --color-text:               #0a0a0a;
  --color-text-secondary:     #3a3a3a;
  --color-text-tertiary:      #6b6b6b;
  --color-text-quaternary:    #8a8a8a;
  --color-muted:              #6b6b6b;
  --color-primary:            #0a0a0a;
  /* Functional / status colors (admin & form feedback only) */
  --color-success:            #16a34a;
  --color-danger:             #dc2626;
  --color-warning:            #d97706;
  /* Radius */
  --radius:      12px;
  --radius-pill: 999px;
  --radius-photo: 10px;
  --radius-sm:   6px;
  /* Forms */
  --form-control-bg:           var(--color-surface);
  --form-control-border:       var(--color-border-interactive);
  --form-control-radius:       8px;
  --form-control-focus-border: rgba(0, 0, 0, 0.3);
  --form-control-focus-ring:   0 0 0 3px rgba(10, 10, 10, 0.08);
  /* Shadows */
  --shadow:         0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.05);
  --shadow-float:   0 1px 1px rgba(255,255,255,0.8) inset, 0 8px 24px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-modal:   0 24px 60px rgba(0,0,0,0.25), 0 4px 12px rgba(0,0,0,0.12);
  --shadow-btn:     0 2px 8px rgba(0,0,0,0.18);
  --shadow-btn-sm:  0 2px 6px rgba(0,0,0,0.18);
  --shadow-md:      0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.05);
  --shadow-hover:   0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.09);
  /* Layout */
  --max-width: 1280px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-optical-sizing: auto;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  font-size: 0.9375rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 84px;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ─── Focus ────────────────────────────────────────────────────────────────── */
*:focus-visible {
  outline: 2px solid #0a0a0a;
  outline-offset: 2px;
}

/* ─── Typography ───────────────────────────────────────────────────────────── */
h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--color-text);
}
h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.875rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--color-text);
}
h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
}
p { margin-bottom: 0.75rem; color: var(--color-text-secondary); }
p:last-child { margin-bottom: 0; }

.eyebrow, .section-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-tertiary);
  margin-bottom: 0.75rem;
}

/* ─── Buttons ──────────────────────────────────────────────────────────────── */
button, .btn-primary, .btn-secondary, .btn-success, .btn-warning, .btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.375rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
button:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover { background: #1a1a1a; border-color: #1a1a1a; box-shadow: 0 2px 12px rgba(0,0,0,0.22); }

.btn-secondary {
  background: #fff;
  color: var(--color-text);
  border: 1px solid var(--color-text);
}
.btn-secondary:hover { background: #f5f5f5; }

.btn-success { background: var(--color-success); color: #fff; border-color: var(--color-success); }
.btn-success:hover { background: #15803d; }
.btn-warning { background: var(--color-warning); color: #fff; border-color: var(--color-warning); }
.btn-warning:hover { background: #b45309; }
.btn-danger  { background: var(--color-danger);  color: #fff; border-color: var(--color-danger); }
.btn-danger:hover  { background: #b91c1c; }

.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  background: var(--color-primary);
  color: #fff;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-primary);
  box-shadow: var(--shadow-btn-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background 220ms ease, box-shadow 220ms ease;
}
.btn-primary-sm:hover { background: #1a1a1a; }

.btn-link {
  background: none;
  border: none;
  color: var(--color-text);
  padding: 0;
  font-size: inherit;
  font-family: var(--font);
  text-decoration: underline;
  cursor: pointer;
}

.btn-sm {
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font);
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease;
}
.btn-primary.btn-sm   { background: var(--color-primary); color: #fff; border-color: var(--color-primary); box-shadow: var(--shadow-btn-sm); }
.btn-secondary.btn-sm { background: #fff; color: var(--color-text); border: 1px solid var(--color-text); }
.btn-success.btn-sm   { background: var(--color-success); color: #fff; border-color: var(--color-success); }
.btn-warning.btn-sm   { background: var(--color-warning); color: #fff; border-color: var(--color-warning); }
.btn-danger.btn-sm    { background: var(--color-danger);  color: #fff; border-color: var(--color-danger); }

.btn-danger-sm {
  display: inline-flex;
  align-items: center;
  background: var(--color-danger);
  color: #fff;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-family: var(--font);
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background 220ms ease;
}
.btn-danger-sm:hover { background: #b91c1c; }

.full-width { width: 100%; justify-content: center; }

.rating-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  width: max-content;
  max-width: 100%;
  padding: 0.16rem 0.46rem;
  border-radius: var(--radius-pill);
  border: 1px solid #f0dfb4;
  background: #fff8e7;
  color: #6f4a00;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}
.rating-chip-star { color: #b7791f; font-size: 0.78rem; line-height: 1; }
.rating-chip--dark {
  border-color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.9);
  color: #5f3d00;
}
.rating-chip--ghost {
  background: #fff;
  border-color: var(--color-border);
}
.founder-name {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  max-width: 100%;
  min-width: 0;
  vertical-align: middle;
}
.founder-name-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.founder-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.05em;
  height: 1.05em;
  color: #16a34a;
  vertical-align: -0.14em;
}
.founder-badge svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.calendar-meta-person {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  vertical-align: middle;
}
.identity-name-line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  flex-wrap: wrap;
}
.identity-name-line > h1,
.identity-name-line > h2,
.identity-name-line > h3,
.identity-name-line > strong,
.identity-name-line > span:first-child {
  min-width: 0;
}

.review-reminder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  margin: 0 0 1rem;
  border: 1px solid #ead8ad;
  border-radius: var(--radius);
  background: #fffaf0;
}
.review-reminder-copy {
  min-width: 0;
}
.review-reminder-copy strong {
  display: block;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 600;
}
.review-reminder-copy span {
  display: block;
  color: var(--color-text-tertiary);
  font-size: 0.84rem;
  line-height: 1.4;
  margin-top: 0.1rem;
}
.review-reminder-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 700px) {
  .review-reminder {
    align-items: flex-start;
    flex-direction: column;
  }
  .review-reminder-actions {
    justify-content: flex-start;
    width: 100%;
  }
}

/* ─── Header — floating pillola ────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  max-width: calc(var(--max-width) - 28px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-float);
  z-index: 100;
}
.nav-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1.75rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}
.nav-links a,
.nav-links .btn-link { transition: color 200ms ease; }
.nav-links a:hover,
.nav-links .btn-link:hover { color: var(--color-text); }
.nav-links .btn-link {
  color: var(--color-text-secondary);
  text-decoration: none;
}
.nav-logout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.42rem 1rem;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-primary);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.nav-logout-button:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-always {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  transition: color 200ms ease;
  white-space: nowrap;
}
.nav-always:hover { color: var(--color-text); }
@media (min-width: 901px) {
  .nav-always,
  .nav-links a:not(.nav-login-pill),
  .nav-links .btn-link {
    position: relative;
  }
  .nav-always::after,
  .nav-links a:not(.nav-login-pill)::after,
  .nav-links .btn-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.42rem;
    height: 2px;
    border-radius: var(--radius-pill);
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
  }
  .nav-always:hover::after,
  .nav-always.is-active::after,
  .nav-links a:not(.nav-login-pill):hover::after,
  .nav-links a:not(.nav-login-pill).is-active::after,
  .nav-links .btn-link:hover::after {
    transform: scaleX(1);
  }
}
.nav-inbox-link {
  position: relative;
}
.nav-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.28rem;
  height: 1.28rem;
  padding: 0 0.34rem;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 2px #fff;
  flex: 0 0 auto;
}
.nav-count-badge[hidden] {
  display: none;
}
.nav-always svg,
.nav-icon-link svg {
  flex: 0 0 auto;
}
.nav-inbox-wrap { position: relative; display: flex; align-items: center; }
.nav-badge { position: absolute; top: -8px; right: -10px; background: #4ade80; color: white; font-size: 0.65rem; font-weight: 600; padding: 2px 6px; border-radius: 10px; min-width: 20px; text-align: center; }

/* ─── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  margin-top: auto;
  background: transparent;
  border-top: 1px solid var(--color-border-subtle);
  color: var(--color-text-secondary);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.825rem;
}

/* ─── Utilities ────────────────────────────────────────────────────────────── */
.text-muted { color: var(--color-muted); font-size: 0.875rem; }
.loading    { text-align: center; padding: 3rem; color: var(--color-muted); }
.empty      { text-align: center; padding: 3rem; color: var(--color-muted); }

.pagination { display: flex; gap: 0.4rem; justify-content: center; margin-top: 2rem; }
.pagination button {
  padding: 0.4rem 0.85rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  font-family: var(--font);
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.pagination button.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-btn-sm);
}

.badge {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 0.1rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 500;
}

/* ─── Forms ────────────────────────────────────────────────────────────────── */
label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 1rem;
  color: var(--color-text);
}
input[type=text], input[type=email], input[type=password],
input[type=number], input[type=tel], input[type=url],
input[type=search], input[type=date], input[type=time],
input[type=datetime-local], textarea, select {
  width: 100%;
  min-height: 2.65rem;
  padding: 0.62rem 0.9rem;
  border: 1px solid var(--form-control-border);
  border-radius: var(--form-control-radius);
  font-family: var(--font);
  font-size: 0.92rem;
  line-height: 1.35;
  background: var(--form-control-bg);
  color: var(--color-text);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}
select { padding-right: 2rem; }
input[type=file] {
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}
input[type=checkbox], input[type=radio] { accent-color: var(--color-primary); }
input[type=text]:focus, input[type=email]:focus, input[type=password]:focus,
input[type=number]:focus, input[type=tel]:focus, input[type=url]:focus,
input[type=search]:focus, input[type=date]:focus, input[type=time]:focus,
input[type=datetime-local]:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--form-control-focus-border);
  box-shadow: var(--form-control-focus-ring);
}
input::placeholder, textarea::placeholder { color: var(--color-text-quaternary); }
textarea {
  min-height: 6rem;
  resize: vertical;
}

[data-protected-photo] {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row label { margin-bottom: 0; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-message {
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.form-message.success { background: #dcfce7; color: #15803d; }
.form-message.error   { background: #fee2e2; color: #b91c1c; }

.identity-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.08);
  background: #f2f2f2;
  color: var(--color-text);
  font-weight: 600;
  line-height: 1;
}
.identity-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.identity-avatar--xs { width: 1.7rem; height: 1.7rem; font-size: 0.68rem; }
.identity-avatar--sm { width: 2.25rem; height: 2.25rem; font-size: 0.78rem; }
.identity-avatar--md { width: 2.8rem; height: 2.8rem; font-size: 0.9rem; }
.identity-avatar--xl { width: 4.8rem; height: 4.8rem; font-size: 1.25rem; }

.profile-photo-field {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fafafa;
}
.profile-photo-preview {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.72);
}
.profile-photo-copy {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}
.profile-photo-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}
.profile-photo-copy p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}
.profile-photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.profile-photo-remove {
  background: #fff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.profile-photo-remove:hover {
  background: #f5f5f5;
  border-color: rgba(0,0,0,0.18);
}
.profile-photo-message {
  margin: 0.2rem 0 0;
}
@media (max-width: 560px) {
  .profile-photo-field {
    align-items: flex-start;
  }
  .profile-photo-actions .btn-secondary,
  .profile-photo-actions .profile-photo-remove {
    flex: 1 1 auto;
    justify-content: center;
  }
}

fieldset {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
}
legend { padding: 0 0.4rem; font-weight: 500; font-size: 0.875rem; color: var(--color-text); }

#profile-form {
  display: grid;
  gap: 1rem;
}
#profile-form > label,
#profile-form > fieldset,
#profile-form > .lang-field,
#profile-form > .profile-photo-field {
  margin-bottom: 0;
}
#profile-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
}
#profile-form fieldset legend {
  display: block;
  width: 100%;
  margin: 0 0 0.35rem;
  padding: 0;
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
}
#profile-form .checkbox-grid {
  padding: 0.75rem;
  border: 1px solid var(--form-control-border);
  border-radius: var(--form-control-radius);
  background: var(--form-control-bg);
}
#profile-form > button[type="submit"] {
  justify-self: start;
  min-height: 3rem;
  min-width: 11rem;
  margin-top: 0.45rem;
  padding: 0.78rem 1.8rem;
  justify-content: center;
}
.profile-editor-layout,
.client-profile-layout {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.profile-photo-card {
  position: sticky;
  top: 104px;
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
}
.profile-photo-card-head {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 0.9rem;
}
.profile-photo-card-head h3 {
  margin: 0;
  font-size: 1.04rem;
}
.profile-photo-field--stacked {
  align-items: flex-start;
  flex-direction: column;
  padding: 0;
  border: 0;
  background: transparent;
}
.profile-photo-field--stacked .identity-avatar--xl {
  width: 6rem;
  height: 6rem;
  font-size: 1.55rem;
}
.profile-photo-field--stacked .profile-photo-actions {
  width: 100%;
}
.profile-photo-field--stacked .profile-photo-actions .btn-secondary,
.profile-photo-field--stacked .profile-photo-actions .profile-photo-remove {
  justify-content: center;
}

.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.4rem; }
.checkbox-label { flex-direction: row; align-items: center; gap: 0.4rem; margin-bottom: 0; font-weight: 400; cursor: pointer; }
.checkbox-label input { width: auto; }

.category-picker {
  display: grid;
  gap: 0.55rem;
}
.selected-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-height: 1.8rem;
}
.selected-category {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  max-width: 100%;
  padding: 0.22rem 0.22rem 0.22rem 0.65rem;
  border: 1px solid #0a0a0a;
  border-radius: var(--radius-pill);
  background: #0a0a0a;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.selected-category button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 200ms ease;
}
.selected-category button:hover { background: rgba(255,255,255,0.3); }
.category-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.65rem;
  border: 1px solid var(--form-control-border);
  border-radius: var(--form-control-radius);
  background: var(--form-control-bg);
}
.category-option {
  min-height: 2.1rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--color-text);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}
.category-option:hover {
  border-color: rgba(0,0,0,0.22);
  background: #f8f8f8;
  transform: translateY(-1px);
}
.category-options-empty {
  color: var(--color-muted);
  font-size: 0.84rem;
}

/* ─── Auth Pages ───────────────────────────────────────────────────────────── */
.page-auth {
  flex: 1;
  position: relative;
}
.auth-shell {
  position: relative;
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 1rem 2rem;
}
.auth-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.auth-card {
  position: relative;
  width: 100%;
  max-width: 30rem;
  min-width: 0;
  margin: 0 auto;
  border: 1px solid var(--color-border-subtle);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 28px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.75rem 2rem;
  overflow-wrap: break-word;
}
.auth-card.is-transitioning { animation: authFade 180ms ease; }
.auth-card--simple {
  max-width: 28rem;
}
.auth-panel[hidden] { display: none !important; }
.auth-panel--compact { padding-top: 0.15rem; }
.auth-panel--verify { gap: 1rem; }

.auth-tab-wrap {
  margin: 0 auto 1.25rem;
  display: inline-flex;
  align-self: center;
  gap: 0.2rem;
  padding: 0.25rem;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 999px;
  background: var(--color-bg-secondary);
  box-shadow: 0 1px 1px rgba(255,255,255,0.8) inset;
}
.auth-tab {
  border: none;
  background: transparent;
  color: var(--color-text-tertiary);
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 400;
  box-shadow: none;
}
.auth-tab.is-active {
  background: var(--color-primary);
  color: #fff;
  font-weight: 500;
  box-shadow: var(--shadow-btn-sm);
}

.auth-heading {
  margin-bottom: 1.25rem;
}
.auth-heading--center {
  text-align: center;
}
.auth-heading h1 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}
.auth-heading--signup h1 { font-size: 2.1rem; }
.auth-heading--step h1 { font-size: 1.55rem; }
.auth-heading p {
  margin: 0;
  color: var(--color-text-tertiary);
  font-size: 0.85rem;
}
.auth-eyebrow {
  margin-bottom: 0.25rem;
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.62rem;
}

.auth-field-stack {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}
.auth-field-stack--tight {
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}
.auth-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  min-width: 0;
}
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0;
  min-width: 0;
}
.auth-field > span,
.auth-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.22rem;
  color: var(--color-text-tertiary);
  font-size: 0.67rem;
  letter-spacing: 0.04em;
}
.auth-field-head small {
  color: var(--color-text-quaternary);
  font-size: 0.6rem;
}
.auth-inline-link {
  color: var(--color-text);
  font-weight: 500;
  text-decoration: none;
}
.auth-field input {
  width: 100%;
  min-width: 0;
  padding: 0.72rem 0.95rem;
  border: 1px solid var(--form-control-border);
  border-radius: var(--form-control-radius);
  background: var(--form-control-bg);
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--color-text);
  box-shadow: 0 1px 1px rgba(255,255,255,0.8) inset;
}
.auth-field input::placeholder {
  color: #c0c0c0;
}
.auth-field input:focus::placeholder {
  color: transparent;
}

.auth-primary-btn,
.auth-secondary-btn {
  width: 100%;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
}
.auth-primary-btn {
  background: var(--color-primary);
  color: #fff;
  border: 1px solid var(--color-primary);
  box-shadow: var(--shadow-btn);
}
.auth-primary-btn:hover:not(:disabled) {
  background: #1a1a1a;
}
.auth-secondary-btn {
  background: #fff;
  color: var(--color-text);
  border: 1px solid var(--color-text);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.auth-primary-btn:disabled {
  opacity: 0.42;
}

.auth-footer-link {
  margin-top: 1rem;
  text-align: center;
  color: var(--color-text-tertiary);
  font-size: 0.82rem;
}
.auth-footer-link a {
  color: var(--color-text);
  font-weight: 500;
}

.auth-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}
.auth-type-card {
  position: relative;
  min-height: 172px;
  padding: 1.45rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--color-border-subtle);
  background: #fff;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
}
.auth-type-card strong {
  font-size: 1rem;
  font-weight: 500;
}
.auth-type-card span {
  color: var(--color-text-tertiary);
  font-size: 0.78rem;
  line-height: 1.5;
}
.auth-type-card.is-active {
  border: 2px solid var(--color-primary);
  box-shadow: 0 2px 4px rgba(0,0,0,0.06), 0 6px 16px rgba(0,0,0,0.08);
}

.auth-step-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  color: var(--color-text-quaternary);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.auth-step-row--solo {
  justify-content: flex-start;
}
.auth-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-text-tertiary);
  font-size: 0.75rem;
  text-transform: none;
  letter-spacing: 0;
}

.auth-secondary-block {
  margin-bottom: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.05);
  background: var(--color-bg-secondary);
}
.auth-check-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  margin-bottom: 0;
  min-width: 0;
}
.auth-check-row--top {
  margin-bottom: 0.2rem;
}
.auth-check-row--consent {
  margin-bottom: 0.85rem;
}
.auth-check-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.auth-check-box {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 0.95rem;
  margin-top: 0.08rem;
  border-radius: 0.2rem;
  border: 1px solid var(--color-border-subtle);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.auth-check-input:checked + .auth-check-box {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.auth-check-input:focus-visible + .auth-check-box {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.auth-check-input:checked + .auth-check-box::after {
  content: '✓';
  color: #fff;
  font-size: 0.6rem;
}
.auth-check-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  color: var(--color-text);
  font-size: 0.78rem;
  line-height: 1.35;
}
.auth-check-copy strong {
  font-weight: 500;
}
.auth-check-copy small {
  margin-top: 0.1rem;
  color: var(--color-text-tertiary);
  font-size: 0.68rem;
  line-height: 1.45;
}
.auth-check-copy--consent {
  color: var(--color-text-secondary);
  font-size: 0.73rem;
  line-height: 1.45;
}
.auth-check-copy--consent a {
  color: var(--color-text);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(0,0,0,0.2);
  text-underline-offset: 2px;
}

.auth-business-fields {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--color-border-subtle);
}
.auth-business-fields[hidden] {
  display: none !important;
}
.auth-business-note {
  margin-top: 0.25rem;
  color: var(--color-text-quaternary);
  font-size: 0.62rem;
  line-height: 1.45;
  font-style: italic;
}

.auth-form-error,
.auth-form-message,
.auth-verify-note {
  margin-bottom: 0.8rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-size: 0.76rem;
  line-height: 1.45;
}
.auth-form-error {
  border: 1px solid rgba(220,38,38,0.16);
  background: #fff5f5;
  color: #b42318;
}
.auth-form-message {
  border: 1px solid rgba(10,10,10,0.08);
  background: var(--color-bg-secondary);
  color: var(--color-text-secondary);
}
.auth-verify-note {
  margin-bottom: 1rem;
  border: 1px solid rgba(0,0,0,0.05);
  background: var(--color-bg-secondary);
  color: var(--color-text-secondary);
}

@keyframes authFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .auth-shell {
    min-height: auto;
    padding: 1rem 0.75rem 1.25rem;
  }
  .auth-card,
  .auth-card--simple {
    width: 100%;
    max-width: 30rem;
    margin: 0 auto;
    padding: 1.25rem 1rem;
  }
  .auth-card.is-transitioning {
    animation: none;
  }
  .auth-type-grid,
  .auth-field-grid {
    grid-template-columns: 1fr;
  }
  .auth-type-card {
    min-height: 0;
    padding: 1.2rem 0.95rem;
  }
  .auth-heading h1 {
    font-size: 1.65rem;
  }
  .auth-heading--signup h1 { font-size: 1.8rem; }
  .auth-heading--step h1 { font-size: 1.45rem; }
}

/* ─── Homepage ──────────────────────────────────────────────────────────────── */
.page-home { flex: 1; }

.home-hero {
  background: var(--color-bg);
  padding: 5rem 2rem 4.5rem;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 160, 220, 0.07) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}
.home-hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 180, 0.06) 0%, transparent 70%);
  bottom: -150px;
  left: 0;
  pointer-events: none;
}
.home-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}
.home-hero h1 {
  color: var(--color-text);
  font-size: clamp(3rem, 6vw, 4.25rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 720px;
}
.home-hero-sub {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2.25rem;
  line-height: 1.65;
  max-width: 520px;
}
.home-ctas {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: #fff;
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  border: 1px solid var(--color-primary);
  transition: background 220ms ease, box-shadow 220ms ease;
}
.btn-hero-primary:hover {
  background: #1a1a1a;
  box-shadow: 0 2px 12px rgba(0,0,0,0.22);
  text-decoration: none;
}
.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.75rem;
  border: 1px solid var(--color-text);
  border-radius: var(--radius-pill);
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  background: transparent;
  transition: background 220ms ease, border-color 220ms ease;
}
.btn-hero-outline:hover { background: rgba(0, 0, 0, 0.04); text-decoration: none; }

/* ─── Category grid (homepage) ─────────────────────────────────────────────── */
.home-categories { padding: 4.5rem 2rem; }
.home-categories-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1rem; }
.home-categories h2 { margin-bottom: 2rem; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 540px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; } }

.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  display: block;
  text-decoration: none;
  background: #111;
  box-shadow: var(--shadow);
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.cat-card:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-hover); }

.cat-card-img {
  position: absolute;
  inset: 0;
}
.cat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: opacity 240ms ease;
}
.cat-card:hover .cat-card-img img { opacity: 0.88; }

.cat-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2e2e2e 0%, #1a1a1a 100%);
}

.cat-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 0.9rem 0.85rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Admin category cover upload */
.cat-cover-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.cat-cover-preview {
  width: 80px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #f0f0f0;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}
.cat-cover-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  color: var(--color-text-tertiary);
}

.home-how { padding: 4.5rem 2rem; background: var(--color-bg-secondary); }
.home-how-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1rem; }
.home-how h2    { margin-bottom: 2.5rem; }
.home-steps     { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.home-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.home-step h3 { margin-bottom: 0.5rem; }
.home-step p  { color: var(--color-muted); line-height: 1.6; }

.home-cta-band { background: var(--color-surface); border-top: 1px solid var(--color-border-subtle); padding: 4.5rem 2rem; text-align: center; }
.home-cta-band-inner { max-width: 540px; margin: 0 auto; }
.home-cta-band h2 { margin-bottom: 0.75rem; }
.home-cta-band p  { color: var(--color-muted); margin-bottom: 1.75rem; line-height: 1.65; }

/* ─── Inverted dark section (For Photographers pattern) ────────────────────── */
.section-dark {
  background: #0a0a0a;
  border-radius: var(--radius);
  color: #ffffff;
  padding: 3.5rem 2.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.section-dark h1,
.section-dark h2,
.section-dark h3 { color: #ffffff; }
.section-dark p  { color: rgba(255, 255, 255, 0.75); }

/* ─── Explore Page ─────────────────────────────────────────────────────────── */
.page-explore {
  flex: 1;
  width: calc(100% - 28px);
  max-width: calc(var(--max-width) - 28px);
  margin: 0 auto;
}

.explore-header {
  background: var(--color-bg);
  padding: 2.5rem 2rem;
  border-bottom: 1px solid var(--color-border);
}
.explore-header h1 { color: var(--color-text); margin-bottom: 0.4rem; }
.explore-header p  { color: var(--color-muted); font-size: 0.9375rem; margin: 0; }

.filters { background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding: 1rem 0; }
.filters-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-start;
}
.filters-inner select, .filters-inner input { max-width: 220px; }
.location-search {
  position: relative;
  flex: 1 1 320px;
  min-width: min(100%, 320px);
  max-width: 360px;
}
.location-search-box { position: relative; display: flex; align-items: center; }
.location-search-box input { width: 100%; max-width: none; padding-right: 4.8rem; }
.location-search-clear {
  position: absolute;
  right: 0.45rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  color: var(--color-muted);
  cursor: pointer;
  transition: color 200ms ease;
}
.location-search-clear:hover { color: var(--color-text); }
.location-search-results {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.location-search-option {
  width: 100%;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  padding: 0.8rem 0.9rem;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.15rem;
  cursor: pointer;
  transition: background 200ms ease;
}
.location-search-option:last-child { border-bottom: none; }
.location-search-option:hover,
.location-search-option.is-active { background: #f7f7f7; }
.location-search-option-main { font-size: 0.9375rem; font-weight: 500; }
.location-search-option-meta,
.location-search-empty,
.location-search-meta { font-size: 0.8rem; color: var(--color-muted); }
.location-search-empty { padding: 0.85rem 0.9rem; }
.location-search-meta  { margin-top: 0.35rem; margin-bottom: 0; }

.directory { max-width: var(--max-width); margin: 2rem auto; padding: 0 1.5rem; }

.photographer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.photographer-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 240ms ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.photographer-card:hover { box-shadow: var(--shadow-hover); text-decoration: none; }
.card-image { aspect-ratio: 3/4; background: #f0eeee; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-image-placeholder { object-fit: cover; background: linear-gradient(135deg, rgba(180,160,220,0.08) 0%, rgba(140,200,210,0.07) 100%); }
.card-body { padding: 1rem 1.1rem; flex: 1; }
.card-name { font-size: 0.9375rem; font-weight: 500; margin-bottom: 0.25rem; color: var(--color-text); }
.card-cats { font-size: 0.8rem; color: var(--color-muted); margin-bottom: 0.4rem; }
.card-rate { font-size: 0.85rem; font-weight: 500; color: var(--color-text); margin-bottom: 0.4rem; }
.card-bio  { font-size: 0.8rem; color: var(--color-muted); }

/* ─── Profile Page ─────────────────────────────────────────────────────────── */
.page-profile { flex: 1; max-width: var(--max-width); margin: 0 auto; padding: 2rem 1.5rem; width: 100%; }

.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.profile-cats  { color: var(--color-muted); margin: 0.25rem 0; }
.profile-loc   { color: var(--color-muted); font-size: 0.875rem; margin: 0.25rem 0; }
.profile-rate  { font-weight: 500; font-size: 1.05rem; color: var(--color-text); margin: 0.5rem 0; }
.profile-tags  { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.tag {
  background: #f7f7f7;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.75rem;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

.profile-bio { margin-bottom: 2.5rem; }
.profile-bio h2, .profile-portfolio h2, .lead-form-section h2 { margin-bottom: 1rem; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.portfolio-item { border-radius: var(--radius-photo); overflow: hidden; aspect-ratio: 3/2; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-item.cover { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

.lead-form-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 640px;
  box-shadow: var(--shadow);
}

/* ─── Dashboard ────────────────────────────────────────────────────────────── */
.page-dashboard {
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
  width: 100%;
}

.dashboard-sidebar { display: flex; flex-direction: column; gap: 0.75rem; }
.dashboard-sidebar,
.dashboard-content { min-width: 0; }
.page-dashboard--profile {
  grid-template-columns: minmax(0, 1fr);
}
.dash-sidebar-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-bottom: 1rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid var(--color-border);
}
.page-content {
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  width: 100%;
}
.dash-nav          { display: flex; flex-direction: column; gap: 0.35rem; }
.dash-page-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}
.dash-page-tabs .dash-tab {
  min-width: 10rem;
  justify-content: center;
}

.dash-nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}
.dash-nav-group:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.dash-nav-label {
  font-size: 0.68rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-tertiary);
  padding: 0 0.25rem 0.15rem;
}
.dash-nav-link {
  display: block;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  border: 1px solid var(--color-border);
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}
.dash-nav-link:hover { background: #f5f5f5; border-color: rgba(0,0,0,0.1); color: var(--color-text); text-decoration: none; }

.dash-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  text-align: left;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1rem;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.dash-tab.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-btn-sm);
}
.dash-tab:hover:not(.active) { background: #f5f5f5; border-color: rgba(0,0,0,0.1); }

.dash-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #16a34a;
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 500;
  min-width: 1.3em;
  height: 1.3em;
  padding: 0 0.3em;
  margin-left: 0.35em;
  vertical-align: middle;
  line-height: 1;
}
.dash-tab-badge[hidden] { display: none; }
.dash-tab.active .dash-tab-badge { background: rgba(255,255,255,0.85); color: #15803d; }

.dash-mobile-switcher {
  display: none;
}

.profile-status-badge {
  text-align: center;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.status-draft          { background: #fef9c3; color: #854d0e; }
.status-pending_review { background: var(--status-pending-bg); color: var(--status-pending-fg); }
.status-approved       { background: var(--status-accepted-bg); color: var(--status-accepted-fg); }
.status-rejected       { background: var(--status-rejected-bg); color: var(--status-rejected-fg); }
.status-suspended      { background: #f3f4f6; color: #374151; }
.status-active         { background: var(--status-accepted-bg); color: var(--status-accepted-fg); }
.status-founder        { background: #dcfce7; color: #166534; }
.status-client         { background: #f5f5f5; color: #3a3a3a; }
.status-photographer   { background: #dbeafe; color: #1d4ed8; }
.status-admin          { background: #0a0a0a; color: #fff; }

.review-notes { background: #fef3c7; border-radius: var(--radius); padding: 0.75rem; font-size: 0.875rem; }

.profile-status-badge.status-deleted,
.profile-status-badge.status-cancelled_by_client,
.profile-status-badge.status-cancelled_by_photographer,
.profile-status-badge.status-cancelled_by_admin,
.profile-status-badge.status-cancelled_by_deleted_user,
.req-status.status-cancelled_by_client,
.req-status.status-cancelled_by_photographer,
.req-status.status-cancelled_by_admin,
.req-status.status-cancelled_by_deleted_user,
.conv-row-status.status-cancelled_by_client,
.conv-row-status.status-cancelled_by_photographer,
.conv-row-status.status-cancelled_by_admin,
.conv-row-status.status-cancelled_by_deleted_user {
  background: var(--status-rejected-bg) !important;
  border-color: var(--status-rejected-line) !important;
  color: var(--status-rejected-fg) !important;
}

.account-danger-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid var(--swiss-black);
  border-left: 4px solid var(--swiss-red);
  background: var(--swiss-white);
}

.account-danger-card h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.account-danger-card p:not(.calendar-section-label) {
  margin: 0;
  color: var(--muted);
  max-width: 680px;
}

.account-danger-card .form-message {
  grid-column: 1 / -1;
  margin: 0;
}

.admin-delete-summary-card {
  margin: 1rem 0;
}

.admin-delete-impact,
.admin-delete-impact-grid {
  display: grid;
  gap: 12px;
}

.admin-delete-impact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 12px;
}

.admin-delete-impact-grid span {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--swiss-black);
  background: var(--swiss-white);
}

.admin-delete-impact-grid strong {
  font-size: 1.4rem;
  line-height: 1;
}

.admin-delete-impact-grid small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .account-danger-card {
    grid-template-columns: 1fr;
  }

  .account-danger-card .btn-danger {
    width: 100%;
  }

  .admin-delete-impact-grid {
    grid-template-columns: 1fr;
  }
}

.section-state-indicator,
.launch-check-icon {
  position: relative;
  display: inline-flex;
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 1.1rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
}
.section-state-indicator.is-complete,
.launch-check-item.is-complete .launch-check-icon {
  background: #16a34a;
  border-color: #16a34a;
}
.section-state-indicator.is-complete::after,
.launch-check-item.is-complete .launch-check-icon::after {
  content: "";
  width: 0.32rem;
  height: 0.56rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(42deg) translateY(-1px);
}
.section-state-indicator.is-incomplete,
.launch-check-item.is-incomplete .launch-check-icon {
  background: #fef3c7;
  border-color: #f59e0b;
}
.section-state-indicator.is-incomplete::before,
.launch-check-item.is-incomplete .launch-check-icon::before {
  content: "";
  width: 2px;
  height: 0.45rem;
  border-radius: 999px;
  background: #92400e;
  transform: translateY(-1px);
}
.section-state-indicator.is-incomplete::after,
.launch-check-item.is-incomplete .launch-check-icon::after {
  content: "";
  position: absolute;
  bottom: 0.23rem;
  width: 2px;
  height: 2px;
  border-radius: 999px;
  background: #92400e;
}
.dash-tab.active .section-state-indicator.is-incomplete {
  background: #fff7ed;
  border-color: #fed7aa;
}

.launch-panel {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #f4d27a;
  border-radius: var(--radius);
  background: #fffbeb;
  box-shadow: var(--shadow);
}
.launch-panel--pending {
  border-color: #bfdbfe;
  background: #eff6ff;
}
.launch-panel--approved {
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.launch-panel--rejected {
  border-color: #fecaca;
  background: #fff7ed;
}
.launch-panel--neutral {
  border-color: #d1d5db;
  background: #f9fafb;
}
.launch-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.launch-banner h1 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.25;
  letter-spacing: 0;
}
.launch-banner p {
  max-width: 760px;
  margin: 0.35rem 0 0;
  color: var(--color-text-secondary);
}
.launch-eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #92400e;
}
.launch-panel--pending .launch-eyebrow { color: #1d4ed8; }
.launch-panel--approved .launch-eyebrow { color: #15803d; }
.launch-panel--rejected .launch-eyebrow { color: #b91c1c; }
.launch-panel--neutral .launch-eyebrow { color: #4b5563; }
.launch-banner-action {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
}
.launch-submit-btn {
  min-width: 12rem;
  justify-content: center;
}
.launch-review-note {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(0,0,0,0.08);
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.72);
}
.launch-review-note-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.launch-review-note-head strong {
  display: block;
  margin-bottom: 0;
  font-size: 0.82rem;
}
.launch-review-dismiss {
  flex: 0 0 auto;
}
.launch-review-note p {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.5;
}
.launch-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.launch-check-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.72);
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
}
.launch-check-item:hover {
  border-color: rgba(0,0,0,0.18);
  background: #fff;
}
.launch-check-item span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.1rem;
}
.launch-check-item strong {
  font-size: 0.92rem;
  font-weight: 600;
}
.launch-check-item small {
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}
@media (max-width: 760px) {
  .launch-banner {
    align-items: flex-start;
    flex-direction: column;
  }
  .launch-banner-action,
  .launch-banner-action .btn-primary,
  .launch-banner-action .btn-secondary {
    width: 100%;
  }
  .launch-checklist {
    grid-template-columns: 1fr;
  }
}

.tab-pane {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.requests-subtab-bar {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.75rem;
}
.requests-subtab {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
  font-size: 0.825rem;
  font-weight: 500;
  font-family: var(--font);
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}
.requests-subtab.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.requests-subtab:hover:not(.active) { background: #f5f5f5; border-color: rgba(0,0,0,0.1); }

/* City / location picker */
.city-search {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  padding: 0.5rem 0.6rem 0.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  min-height: 2.6rem;
  cursor: text;
}
.city-search:focus-within {
  border-color: rgba(0,0,0,0.3);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}
.city-search input {
  flex: 1;
  min-width: 120px;
  min-height: auto;
  border: none;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  font-size: 0.875rem;
  color: var(--color-text);
  background: transparent;
  padding: 0.15rem 0;
  line-height: 1.4;
}
.city-search input:focus { box-shadow: none; }
.city-search input::placeholder { color: var(--color-muted); }
.selected-city-list { display: contents; }
.selected-city {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  max-width: 100%;
  padding: 0.18rem 0.2rem 0.18rem 0.6rem;
  border: 1px solid #0a0a0a;
  border-radius: var(--radius-pill);
  background: #0a0a0a;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 400;
  white-space: nowrap;
}
.selected-city button {
  display: inline-flex;
  align-items: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border-radius: 50%;
  justify-content: center;
  flex: 0 0 auto;
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: none;
  font-size: 0.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 200ms ease;
}
.selected-city button:hover { background: rgba(255,255,255,0.3); }

.city-search-meta { color: var(--color-muted); font-size: 0.82rem; }

.city-search-results {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 30;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.city-search-option {
  width: 100%;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  padding: 0.75rem 0.9rem;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.15rem;
  cursor: pointer;
  font-family: var(--font);
  transition: background 200ms ease;
}
.city-search-option:last-child { border-bottom: none; }
.city-search-option:hover,
.city-search-option.is-active { background: #f7f7f7; }
.city-search-option-main  { font-size: 0.9375rem; font-weight: 500; }
.city-search-option-meta,
.city-search-empty { color: var(--color-muted); font-size: 0.82rem; }
.city-search-empty { padding: 0.85rem 0.9rem; }
.city-search-meta  { margin-top: 0.4rem; margin-bottom: 0; }

/* Upload */
.portfolio-studio {
  display: grid;
  gap: 1rem;
}
.portfolio-studio-card {
  padding: 1.15rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
}
.portfolio-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.portfolio-card-head--compact {
  margin-bottom: 0.75rem;
}
.portfolio-card-head h3 {
  margin: 0;
  font-size: 1.05rem;
}
.portfolio-card-head p {
  max-width: 42rem;
  margin: 0.25rem 0 0;
  color: var(--color-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}
.portfolio-card-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.portfolio-count-chip,
.portfolio-watermark-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  background: #f5f5f5;
  color: var(--color-text-secondary);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}
.portfolio-watermark-chip {
  background: #eef3f0;
  color: #4d5c56;
}
.portfolio-toggle {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  width: 3.1rem;
  height: 1.75rem;
  margin-bottom: 0;
  cursor: pointer;
}
.portfolio-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.portfolio-toggle span {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-pill);
  background: #d7d7d7;
  transition: background 180ms ease;
}
.portfolio-toggle span::after {
  content: '';
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
  transition: transform 180ms ease;
}
.portfolio-toggle input:checked + span {
  background: var(--color-primary);
}
.portfolio-toggle input:checked + span::after {
  transform: translateX(1.35rem);
}
.portfolio-toggle input:focus-visible + span {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.portfolio-toggle input:disabled + span {
  opacity: 0.65;
  cursor: wait;
}
.upload-area {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: border-color 220ms ease;
}
.upload-area.drag-over { border-color: rgba(0,0,0,0.25); }
.upload-hint { color: var(--color-muted); font-size: 0.8rem; margin-top: 0.5rem; margin-bottom: 0; }

/* Portfolio management */
.portfolio-manage-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.75rem; }
.portfolio-manage-grid .portfolio-empty { grid-column: 1 / -1; margin: 0; white-space: normal; }
.portfolio-manage-item { display: flex; flex-direction: column; gap: 0.35rem; }
.portfolio-manage-photo {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-photo);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.portfolio-manage-photo img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-manage-photo .btn-danger-sm { position: absolute; top: 4px; right: 4px; }
.cover-badge {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.68rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}
.portfolio-cat-row select { min-height: 2.25rem; font-size: 0.8rem; padding: 0.45rem 0.65rem; }
.upload-category-row { display: flex; align-items: center; gap: 0.5rem; justify-content: center; margin-top: 0.75rem; font-size: 0.85rem; }
.upload-category-row label { display: inline-flex; flex-direction: row; align-items: center; margin-bottom: 0; color: var(--color-text-secondary); white-space: nowrap; }
.upload-category-row select { min-height: 2.4rem; padding: 0.55rem 0.75rem; font-size: 0.86rem; }

@media (max-width: 700px) {
  .portfolio-card-head,
  .portfolio-card-meta,
  .upload-category-row {
    align-items: stretch;
    flex-direction: column;
  }

  .portfolio-card-meta {
    justify-content: flex-start;
  }

  .upload-category-row select,
  .upload-area .btn-secondary {
    width: 100%;
  }
}

/* Leads */
.lead-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  background: var(--color-surface);
  box-shadow: var(--shadow);
}
.lead-card-past { opacity: 0.6; }
.lead-card-when { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.6rem; font-size: 0.875rem; }
.lead-datetime     { font-weight: 500; color: var(--color-text); }
.lead-datetime-sep { color: var(--color-muted); }
.lead-event-type   { background: #f0f0f0; border-radius: var(--radius-pill); padding: 0.1rem 0.6rem; font-size: 0.78rem; color: var(--color-muted); margin-left: auto; }
.lead-status-label { background: #f0f0f0; border-radius: var(--radius-pill); padding: 0.1rem 0.6rem; font-size: 0.72rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); margin-left: auto; }
.lead-card-body { display: flex; flex-direction: column; gap: 0.2rem; }
.lead-card-body strong { font-size: 0.9375rem; font-weight: 500; color: var(--color-text); }
.lead-email { color: var(--color-muted); font-size: 0.825rem; }
.lead-msg   { font-size: 0.875rem; color: var(--color-text-secondary); margin: 0.4rem 0 0; }
.lead-actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }

.calendar-section-label {
  font-size: 0.68rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  margin: 1.25rem 0 0.5rem;
}
.calendar-past-label { opacity: 0.7; }

/* ─── Admin Page ───────────────────────────────────────────────────────────── */
.page-admin { flex: 1; max-width: var(--max-width); margin: 0 auto; padding: 2rem 1.5rem; width: 100%; }
.page-admin h1 { margin-bottom: 1.5rem; }

.admin-section-nav {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}
.admin-section-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 0.6rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-muted);
  cursor: pointer;
  font-family: var(--font);
  transition: color 220ms ease, border-color 220ms ease;
}
.admin-section-btn.active { color: var(--color-text); border-bottom-color: var(--color-primary); }

.cat-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  box-shadow: var(--shadow-btn);
  z-index: 999;
  opacity: 1;
  transition: opacity 0.6s ease;
}
.cat-toast.cat-toast-fade { animation: cat-toast-out 3.5s forwards; }
@keyframes cat-toast-out { 0%,70% { opacity:1; } 100% { opacity:0; } }

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0;
}
.admin-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.875rem;
  font-family: var(--font);
  color: var(--color-muted);
  gap: 0.4rem;
  transition: color 220ms ease, border-color 220ms ease;
}
.admin-tab.active { border-bottom-color: var(--color-primary); color: var(--color-text); }

.admin-profile-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.admin-profile-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.admin-profile-person {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.75rem;
}
.admin-profile-avatar {
  width: 2.6rem;
  height: 2.6rem;
}
.admin-profile-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.15rem;
}
.admin-profile-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.admin-profile-meta span {
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-muted);
  font-size: 0.78rem;
}
.admin-review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
@media (max-width: 700px) { .admin-review-grid { grid-template-columns: 1fr; } }
.admin-review-section { margin-top: 1rem; }
.admin-review-section h3 { margin-bottom: 0.45rem; font-size: 0.875rem; }
.admin-bio { color: var(--color-text-secondary); font-size: 0.875rem; margin-bottom: 0.5rem; white-space: pre-wrap; }

.admin-chip-list { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.admin-chip {
  display: inline-flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.1rem;
  max-width: 100%;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: #f5f5f5;
  border: 1px solid var(--color-border);
  font-size: 0.82rem;
  color: var(--color-text-secondary);
}
.admin-chip small {
  max-width: 100%;
  color: var(--color-muted);
  font-size: 0.68rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.65rem; }
.admin-portfolio-item {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-photo);
  overflow: hidden;
  background: #f5f5f5;
}
.admin-portfolio-item img { width: 100%; height: 100%; object-fit: cover; }
.admin-portfolio-item span {
  position: absolute;
  left: 0.4rem;
  bottom: 0.4rem;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 500;
}
.admin-portfolio-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0.75rem;
  color: var(--color-muted);
  font-size: 0.78rem;
  text-align: center;
}
.admin-actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.admin-users-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.admin-users-head h2 { margin-bottom: 0.35rem; }
.admin-user-list {
  display: grid;
  gap: 0.75rem;
}
.admin-user-row {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) minmax(180px, 1fr) auto minmax(230px, auto);
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.admin-user-person {
  justify-content: flex-start;
  min-width: 0;
  padding: 0.15rem;
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  box-shadow: none;
  color: var(--color-text);
  text-align: left;
}
.admin-user-person:hover { background: #f7f7f7; }
.admin-user-context {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.08rem;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}
.admin-user-context span,
.admin-user-context small,
.admin-user-context a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-user-context small,
.admin-user-context a {
  color: var(--color-muted);
  font-size: 0.78rem;
}
.admin-user-context a { text-decoration: underline; text-underline-offset: 2px; }
.admin-user-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.admin-back-btn { margin-bottom: 1rem; }
.admin-user-detail-card { margin-bottom: 1rem; }
.admin-user-detail-badges {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.admin-user-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.admin-user-detail-grid .admin-profile-card { margin-bottom: 0; }
.admin-user-info-grid {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.85rem;
}
.admin-user-info-grid div {
  display: grid;
  gap: 0.12rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--color-border);
}
.admin-user-info-grid div:last-child { border-bottom: 0; padding-bottom: 0; }
.admin-user-info-grid dt {
  color: var(--color-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.admin-user-info-grid dd {
  min-width: 0;
  color: var(--color-text);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}
.admin-user-info-grid a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.admin-audit-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.85rem;
}
.admin-audit-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--color-border);
}
.admin-audit-row:last-child { border-bottom: 0; padding-bottom: 0; }
.admin-audit-row strong {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
}
.admin-audit-row span {
  color: var(--color-muted);
  font-size: 0.78rem;
  white-space: nowrap;
}
.admin-settings-list {
  display: grid;
  gap: 0.85rem;
}
.admin-setting-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
}
.admin-setting-row:last-child { border-bottom: 0; }
.admin-setting-row input {
  width: auto;
  margin-top: 0.15rem;
  flex: 0 0 auto;
}
.admin-setting-row span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.15rem;
}
.admin-setting-row strong {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
}
.admin-setting-row small {
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

/* ─── Modal ────────────────────────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal[hidden] { display: none; }
.modal-box {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 2rem;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-modal);
}
.modal-box h2  { margin-bottom: 1.25rem; }
.modal-actions { display: flex; gap: 0.75rem; margin-top: 1.25rem; }

body.has-beta-notice {
  overflow: hidden;
}

.beta-notice-modal {
  z-index: 1200;
  padding: 20px;
  background: rgba(0, 0, 0, 0.58);
}

.beta-notice-box {
  max-width: 500px;
  padding: clamp(28px, 4vw, 40px);
}

.beta-notice-eyebrow {
  margin-bottom: 14px;
  color: var(--swiss-red, #d62828);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.beta-notice-box h2 {
  margin: 0 0 16px;
  color: var(--color-text);
  font-size: clamp(1.7rem, 5vw, 2.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.beta-notice-box p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.beta-notice-error {
  margin-top: 16px !important;
  color: #b91c1c !important;
  font-size: 0.86rem !important;
  font-weight: 600;
}

.beta-notice-actions {
  justify-content: flex-end;
  margin-top: 28px;
}

.beta-notice-button {
  min-width: 138px;
}

/* ─── Admin statistics ─────────────────────────────────────────────────────── */
.stats-section       { margin-bottom: 2rem; }
.stats-section-title {
  font-size: 0.68rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-tertiary);
  margin-bottom: 0.75rem;
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.75rem; }
.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: var(--shadow);
}
.stat-value { font-size: 1.75rem; font-weight: 500; line-height: 1; color: var(--color-text); }
.stat-label { font-size: 0.78rem; color: var(--color-text-tertiary); }
.stat-card--green { border-left: 3px solid #16a34a; }
.stat-card--green .stat-value { color: #15803d; }
.stat-card--blue  { border-left: 3px solid #2563eb; }
.stat-card--blue  .stat-value { color: #1d4ed8; }
.stat-card--red   { border-left: 3px solid #dc2626; }
.stat-card--red   .stat-value { color: #b91c1c; }
.stat-card--grey  { border-left: 3px solid #9ca3af; }
.stat-card--grey  .stat-value { color: var(--color-muted); }

/* ─── Photo overlay buttons ─────────────────────────────────────────────────── */
.btn-photo-overlay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: background 200ms ease, box-shadow 200ms ease;
}
.btn-photo-overlay:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

/* ─── Marquee / scrolling text ─────────────────────────────────────────────── */
.marquee-track { overflow: hidden; white-space: nowrap; }
.marquee-inner {
  display: inline-flex;
  animation: marquee 22s linear infinite;
}
.marquee-inner:hover { animation-play-state: paused; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Client dashboard ─────────────────────────────────────────────────────── */
.page-my-requests { flex: 1; max-width: var(--max-width); margin: 0 auto; padding: 2rem 1.5rem; width: 100%; }
.client-requests-head,
.client-profile-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.client-requests-head h1,
.client-profile-head h1 {
  margin: 0;
  font-size: 1.55rem;
}
.client-requests-head p,
.client-profile-head p {
  max-width: 680px;
  margin: 0.3rem 0 0;
  color: var(--color-muted);
}
.client-profile-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
}
.client-empty-state,
.client-profile-panel {
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow);
}
.client-empty-state {
  display: grid;
  justify-items: start;
  gap: 0.6rem;
}
.client-empty-state h2,
.client-empty-state p {
  margin: 0;
}
.client-empty-state p { color: var(--color-muted); }
.client-requests-list {
  display: grid;
  gap: 1.1rem;
}
.client-request-group h2 {
  margin: 0 0 0.65rem;
  font-size: 0.98rem;
}
.client-request-card {
  padding: 1rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow);
}
.client-request-card-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.client-request-person,
.request-person {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.75rem;
}
.client-request-person h3,
.request-person strong {
  min-width: 0;
}
.client-request-card h3 {
  margin: 0;
  font-size: 1rem;
}
.client-request-card-main p {
  margin: 0.2rem 0 0;
  color: var(--color-muted);
  font-size: 0.86rem;
}
.client-request-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0;
}
.client-request-meta span {
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: #f7f7f7;
  color: var(--color-text-secondary);
  font-size: 0.78rem;
}
.request-client-context {
  margin-bottom: 1.5rem;
}
.request-client-context h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
}
.client-requests-calendar {
  min-height: 520px;
}
.client-cal-accepted { border-left: 3px solid var(--color-primary); }
.client-cal-pending { border-left: 3px solid var(--color-warning); }
.client-profile-score {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
}
.client-profile-score.is-complete { background: #dcfce7; color: #15803d; }
.client-profile-score.is-incomplete { background: #fef3c7; color: #92400e; }
.client-profile-form {
  display: grid;
  gap: 1rem;
}
.client-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.client-profile-grid label { margin-bottom: 0; }
.client-type-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.client-type-toggle label {
  display: inline-flex;
  flex-direction: row;
  margin-bottom: 0;
  cursor: pointer;
}
.client-type-toggle input {
  position: absolute;
  opacity: 0;
}
.client-type-toggle span {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}
.client-type-toggle input:checked + span {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: inset 0 0 0 1px var(--color-primary);
}
.client-type-toggle input:focus-visible + span {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.client-profile-actions {
  display: flex;
  justify-content: flex-start;
}
@media (max-width: 760px) {
  .client-requests-head,
  .client-profile-head,
  .client-request-card-main {
    flex-direction: column;
  }
  .client-requests-head .btn-primary {
    width: 100%;
    justify-content: center;
  }
  .client-profile-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .profile-editor-layout,
  .client-profile-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .profile-photo-card {
    position: static;
  }
  .dash-page-tabs .dash-tab {
    flex: 1 1 10rem;
  }
}

/* Photographer dashboard sub-nav */
.phot-dash-header { margin-bottom: 1.5rem; }
.phot-dash-status-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.phot-subtab-bar {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.75rem;
}
.phot-subtab {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
  font-size: 0.825rem;
  font-weight: 500;
  font-family: var(--font);
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}
.phot-subtab.active  { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.phot-subtab:hover:not(.active) { background: #f5f5f5; border-color: rgba(0,0,0,0.1); }
.phot-pane { padding-top: 1.25rem; }
.my-requests-header { margin-bottom: 2rem; max-width: 720px; }
.my-requests-header h1 { margin-bottom: 0.4rem; }
.my-requests-header p  { color: var(--color-muted); }
.my-requests-body { max-width: 720px; }

/* ─── Hamburger button ──────────────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0a0a0a;
  border-radius: 2px;
  transition: transform 220ms ease, opacity 220ms ease;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Mobile menu ───────────────────────────────────────────────────────────── */
.nav-mobile-menu {
  position: fixed;
  top: 78px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  max-width: 380px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  z-index: 99;
}
.nav-mobile-menu[hidden] { display: none; }
.nav-mobile-menu a,
.nav-mobile-menu button {
  display: block;
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font);
  color: var(--color-text);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 180ms ease;
}
.nav-mobile-menu a:hover,
.nav-mobile-menu button:hover { background: #f5f5f5; }
.nav-mobile-menu a.nav-icon-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.nav-mobile-menu button.nav-logout-button {
  display: inline-flex;
  justify-content: center;
  border: 1px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  text-align: center;
}
.nav-mobile-menu button.nav-logout-button:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ─── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links         { display: none; }
  .nav-hamburger     { display: flex; }
  .nav-desktop-only  { display: none; }
  .nav-always .nav-label { display: none; }
  .page-dashboard {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .dashboard-sidebar {
    display: flex;
    width: 100%;
    min-width: 0;
  }
  .dashboard-sidebar.has-mobile-switcher .dash-nav {
    display: none;
  }
  .dash-mobile-switcher {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
  }
  .dash-mobile-switcher span {
    color: var(--color-muted);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .dash-mobile-switcher select {
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 2.4rem 0.65rem 0.85rem;
    font-size: 0.95rem;
  }
  .dash-sidebar-header {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    margin-bottom: 0;
  }
  .dash-sidebar-header .dash-nav-link,
  .dash-sidebar-header .full-width {
    flex: 1 1 auto;
  }
}

/* Safety net: never show mobile menu on wide screens even if JS left it open */
@media (min-width: 901px) {
  .nav-mobile-menu { display: none !important; }
}

@media (max-width: 768px) {
  .home-hero { padding: 3.5rem 1.5rem 3rem; }
  .home-how  { padding: 3rem 1.5rem; }
  .home-cta-band { padding: 3rem 1.5rem; }
}

@media (max-width: 600px) {
  body { padding-top: 76px; }
  .site-header { top: 10px; width: calc(100% - 20px); }
  .page-explore { width: calc(100% - 20px); }
  .home-ctas { flex-direction: column; align-items: flex-start; }
  .home-hero h1 { font-size: clamp(2.5rem, 9vw, 3.5rem); }
  .nav-mobile-menu { top: 74px; }
}

/* ─── Nav badge ────────────────────────────────────────────────────────────── */
.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dc2626;
  min-width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-left: 3px;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ─── Inbox page ───────────────────────────────────────────────────────────── */
.page-inbox {
  align-items: stretch;
  min-height: calc(100vh - 120px);
}
.page-inbox .dashboard-sidebar { padding-top: 0.5rem; }
.page-inbox .dashboard-content {
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
}

/* Split pane container */
.inbox-split {
  display: flex;
  flex: 0 1 auto;
  width: 100%;
  height: min(620px, calc(100vh - 170px));
  height: min(620px, calc(100dvh - 170px));
  min-height: 420px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface);
}

/* Left: conversation list */
.inbox-conv-list {
  width: 280px;
  flex-shrink: 0;
  border-right: 1px solid var(--color-border);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.inbox-conv-loading,
.inbox-conv-empty {
  padding: 1.5rem 1rem;
  color: var(--color-muted);
  font-size: 0.875rem;
  text-align: center;
}

/* Conversation rows */
.conv-row {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: background 180ms ease;
  outline: none;
}
.conv-row:hover,
.conv-row:focus-visible { background: #f8f8f8; }
.conv-row.is-active { background: #f3f3f3; border-left: 3px solid var(--color-primary); padding-left: calc(1rem - 3px); }
.conv-row-top { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.conv-row-name { font-weight: 600; font-size: 0.875rem; color: var(--color-text); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-row-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.conv-row-time { font-size: 0.72rem; color: var(--color-muted); flex-shrink: 0; }
.conv-row-preview { font-size: 0.8rem; color: var(--color-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-row-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.35rem;
  padding: 0.12rem 0.48rem;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.conv-row.is-unread {
  background: #fbfbfb;
  border-left: 4px solid var(--color-primary);
  padding-left: calc(1rem - 4px);
}
.conv-row.is-unread:hover,
.conv-row.is-unread:focus-visible {
  background: #f5f5f5;
}
.conv-row.is-unread.is-active {
  background: #efefef;
}
.conv-row.is-unread .conv-row-title,
.conv-row.is-unread .conv-row-preview {
  color: var(--color-text);
  font-weight: 700;
}
.conv-row.is-unread .conv-row-counterpart,
.conv-row.is-unread .conv-row-time {
  color: var(--color-text-secondary);
  font-weight: 600;
}

/* Inbox row — title (bold black) for both direct and service threads */
.conv-row-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.conv-row-counterpart {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-top: 0.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.conv-row-counterpart-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.conv-row-status {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 0.7rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: #f0f0f0;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.conv-row-status.status-new { background: var(--status-pending-bg); color: var(--status-pending-fg); }
.conv-row-status.status-accepted { background: var(--status-accepted-bg); color: var(--status-accepted-fg); }
.conv-row-status.status-rejected { background: var(--status-rejected-bg); color: var(--status-rejected-fg); }

/* Shared chat panel used by inbox and request detail */
.fotuna-chat-shell {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--color-surface);
}

.fotuna-chat-shell--inbox {
  flex: 1;
}

.fotuna-chat-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.9rem;
  padding: 1.5rem;
}

.fotuna-chat-empty-state {
  color: var(--color-muted);
  font-size: 0.875rem;
  text-align: center;
  padding: 1.25rem;
}

.fotuna-chat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  flex-shrink: 0;
  flex-wrap: wrap;
}

.fotuna-chat-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
  min-width: 0;
}
.inbox-thread-avatar[hidden] { display: none; }

.fotuna-chat-title {
  font-weight: 600;
  font-size: 0.95rem;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fotuna-chat-context {
  font-size: 0.75rem;
  color: var(--color-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fotuna-chat-context:empty { display: none; }
.fotuna-chat-context .conv-row-status { margin: 0 0 0 0.4rem; vertical-align: middle; }

.fotuna-chat-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
  align-items: center;
  flex-shrink: 0;
}

.fotuna-chat-back {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--color-muted);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}

.fotuna-chat-back:hover { background: #f0f0f0; color: var(--color-text); }

.fotuna-chat-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
}

.fotuna-chat-message,
.msg-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.85rem;
}

.fotuna-chat-message.is-mine,
.msg-group.is-mine { align-items: flex-end; }

.fotuna-chat-message.is-other,
.msg-group.is-other { align-items: flex-start; }

.fotuna-chat-message-head,
.msg-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.2rem;
}
.fotuna-chat-message.is-mine .fotuna-chat-message-head,
.msg-group.is-mine .msg-head {
  justify-content: flex-end;
}
.fotuna-chat-message-meta {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.05rem;
}

.fotuna-chat-sender,
.msg-sender {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--color-text);
}

.fotuna-chat-time,
.msg-time {
  font-size: 0.7rem;
  color: var(--color-muted);
}

.fotuna-chat-bubble,
.msg-bubble {
  max-width: 70%;
  padding: 0.65rem 1rem;
  border-radius: 16px;
  line-height: 1.55;
  word-break: break-word;
  font-size: 0.9rem;
}

.fotuna-chat-bubble.is-mine,
.msg-bubble.is-mine {
  background: var(--color-primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.fotuna-chat-bubble.is-other,
.msg-bubble.is-other {
  background: #f0f0f0;
  color: var(--color-text);
  border-bottom-left-radius: 4px;
}

.fotuna-chat-composer {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  flex-shrink: 0;
}

.fotuna-chat-input {
  flex: 1;
  resize: none;
  min-height: 52px;
  max-height: 140px;
  border: 1px solid var(--form-control-border);
  border-radius: var(--form-control-radius);
  padding: 0.55rem 0.75rem;
  font-family: var(--font);
  font-size: 0.9rem;
  line-height: 1.5;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.fotuna-chat-input:focus {
  outline: none;
  border-color: var(--form-control-focus-border);
  box-shadow: var(--form-control-focus-ring);
}

/* Profile contact toggle */
.profile-contact-toggle {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.profile-contact-btn { transition: background 180ms, color 180ms, border-color 180ms; }
.profile-contact-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.profile-contact-panel { animation: fadeIn 180ms ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Mobile inbox: stack conv list + thread */
@media (max-width: 700px) {
  .page-dashboard {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    overflow-x: hidden;
  }
  .page-inbox { grid-template-columns: minmax(0, 1fr); }
  .page-inbox .dashboard-sidebar,
  .page-inbox .dashboard-content {
    width: 100%;
    min-width: 0;
  }
  .page-inbox .dashboard-sidebar { display: flex; }
  .page-inbox .dash-nav,
  .page-inbox .dash-tab { width: 100%; min-width: 0; }
  .page-inbox .dashboard-sidebar.has-mobile-switcher .dash-nav { display: none; }
  .inbox-split {
    width: 100%;
    min-width: 0;
    flex-direction: column;
    height: calc(100vh - 160px);
    height: calc(100dvh - 160px);
    min-height: 360px;
  }
  .inbox-split:not(.thread-open) .inbox-thread-panel { display: none; }
  .inbox-conv-list { width: 100%; min-width: 0; border-right: none; border-bottom: 1px solid var(--color-border); max-height: none; overflow-y: auto; }
  .inbox-split.thread-open .inbox-conv-list { display: none; }
  .inbox-split.thread-open .inbox-thread-panel { display: flex; flex: 1; }
  .inbox-back-btn { display: inline-flex; }
  .inbox-thread-actions { width: 100%; justify-content: flex-start; }
  .msg-bubble { max-width: 88%; }
}

@media (max-width: 900px) {
  .admin-user-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .admin-user-row > .profile-status-badge {
    justify-self: flex-start;
  }
  .admin-user-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .tab-pane,
  .lead-card,
  .admin-profile-card {
    padding: 1rem;
  }

  .requests-subtab-bar,
  .admin-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.6rem;
  }

  .requests-subtab,
  .admin-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .admin-profile-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .admin-actions,
  .modal-actions,
  .lead-actions {
    flex-wrap: wrap;
  }

  .modal {
    align-items: flex-end;
    padding: 0.75rem;
  }

  .modal-box {
    max-width: none;
    padding: 1.25rem;
  }

  .fc .fc-toolbar {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .fc .fc-toolbar-chunk {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
  }
}

/* ═══ HOMEPAGE redesign ══════════════════════════════════════════════════════ */

/* Nav additions */
.logo { font-size: 1.375rem; letter-spacing: -0.03em; }
.nav-hiw {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  transition: color 200ms ease;
}
.nav-hiw:hover { color: var(--color-text); }
.nav-hiw.is-active { color: var(--color-text); font-weight: 500; }
.nav-login-pill {
  padding: 8px 18px !important;
  font-size: 0.875rem !important;
}

/* Root container */
.hp-root {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

/* ─── Schermata 1: Hero ──────────────────────────────────────────────────── */
.hp-s1 {
  min-height: calc(100vh - 84px);
  display: flex;
  flex-direction: column;
}

.hp-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem 3rem;
  gap: 1.5rem;
}

/* Eyebrow scrolling text (inside hero, aligned to nav pill width) */
.hp-eyebrow-wrap {
  overflow: hidden;
  width: calc(100% - 28px);
  max-width: calc(var(--max-width) - 28px);
  height: clamp(18px, 1.3vw, 22px);
  line-height: clamp(18px, 1.3vw, 22px);
  margin-bottom: clamp(1rem, 1.4vw, 1.75rem);
}
.hp-eyebrow-track {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.4vw, 3rem);
  width: max-content;
  will-change: transform;
  animation: hp-scroll-fast 22s linear infinite;
}
.hp-eyebrow-track:hover { animation-play-state: paused; }
.hp-eyebrow-item {
  font-size: clamp(9px, 0.85vw, 12px);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b6b6b;
  white-space: nowrap;
}
.hp-eyebrow-dot { color: #9b9b9b; font-size: 9px; line-height: 1; }

/* H1 */
.hp-h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: #0a0a0a;
  max-width: min(56vw, 780px);
  margin: 0;
}

/* Description */
.hp-desc {
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  color: #3a3a3a;
  line-height: 1.55;
  max-width: min(50vw, 640px);
  margin: 0;
}

/* Search bar */
.hp-search {
  display: flex;
  align-items: center;
  width: min(38vw, 580px);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 999px;
  padding: 7px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06);
  gap: 0.5rem;
}
input.hp-search-input {
  flex: 1;
  min-height: auto;
  border: none;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
  font-family: var(--font);
  font-size: 0.875rem;
  color: var(--color-text);
  padding: 0 0.5rem;
  min-width: 0;
}
input.hp-search-input:focus { box-shadow: none; }
input.hp-search-input::placeholder { color: #9a9a9a; }
.hp-search-btn {
  background: #0a0a0a;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 200ms ease;
  flex-shrink: 0;
}
.hp-search-btn:hover { background: #1a1a1a; text-decoration: none; }

/* Homepage geo location search */
.hp-search-geo-wrap { flex: 1; position: relative; min-width: 0; display: flex; align-items: center; }
.hp-search-geo-wrap input { min-height: auto; background: transparent; border: none; border-radius: 0; outline: none; box-shadow: none; width: 100%; font-family: var(--font); font-size: 0.875rem; color: var(--color-text); padding: 0.65rem 2rem 0.65rem 1.25rem; }
.hp-search-geo-wrap input:focus { box-shadow: none; }
.hp-search-geo-wrap input::placeholder { color: #9a9a9a; }
.hp-search-geo-clear { position: absolute; right: 0.2rem; background: none; border: none; color: #b0b0b0; cursor: pointer; font-size: 0.75rem; padding: 0.3rem 0.4rem; line-height: 1; }
.hp-search-geo-clear:hover { color: #0a0a0a; }
.hp-search-geo-results {
  position: absolute; top: calc(100% + 6px); left: -0.5rem; right: -0.5rem;
  background: #fff; border: 1px solid rgba(0,0,0,0.1); border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1); overflow: hidden; z-index: 200;
}
.hp-search-geo-option {
  width: 100%; border: none; border-bottom: 1px solid #f2f2f2; background: #fff;
  padding: 0.7rem 1rem; cursor: pointer; text-align: left; display: flex;
  flex-direction: column; gap: 0.1rem; transition: background 150ms ease;
}
.hp-search-geo-option:last-child { border-bottom: none; }
.hp-search-geo-option:hover, .hp-search-geo-option.is-active { background: #f7f7f7; }
.hp-search-geo-option-main { font-size: 0.875rem; font-weight: 500; color: #0a0a0a; }
.hp-search-geo-option-meta { font-size: 0.72rem; color: #8a8a8a; }
.hp-search-geo-empty { padding: 0.75rem 1rem; font-size: 0.8rem; color: #9a9a9a; }

/* ─── Carousel shared ────────────────────────────────────────────────────── */
.hp-carousel-section { padding-bottom: 0; }
.hp-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw 0.85rem;
}
.hp-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b6b6b;
}
.hp-section-link {
  font-size: 0.875rem;
  color: #0a0a0a;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 180ms ease;
}
.hp-section-link:hover { opacity: 0.65; }
.hp-carousel-overflow {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.hp-carousel-overflow::-webkit-scrollbar { display: none; }
.hp-carousel-overflow.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.hp-carousel-track {
  display: inline-flex;
  gap: clamp(8px, 0.85vw, 13px);
  width: max-content;
  padding: 0 0 1.75rem;
  padding-right: clamp(8px, 0.85vw, 13px); /* match gap so loop is seamless */
  will-change: transform;
}
.hp-carousel-overflow:hover .hp-carousel-track,
.hp-carousel-overflow:focus-within .hp-carousel-track,
.hp-carousel-overflow.is-dragging .hp-carousel-track { animation-play-state: paused; }
.hp-photogs-speed { animation: hp-scroll 38s linear infinite; }

/* Featured photographers grid */
.hp-photogs-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.35fr) repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, clamp(118px, 12vw, 172px));
  grid-auto-flow: dense;
  align-items: stretch;
  gap: clamp(12px, 1vw, 16px);
  padding: 0 4vw 1.75rem;
}

/* Featured photographer cards */
.hp-card {
  width: 100%;
  min-height: 0;
  height: 100%;
  border-radius: clamp(6px, 0.6vw, 10px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05), 0 4px 14px rgba(0,0,0,0.07);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: transform 250ms ease, box-shadow 250ms ease;
  background: #ececec;
}
.hp-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.1); }
.hp-card:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 3; }
.hp-card:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }
.hp-card:nth-child(3) { grid-column: 3 / 4; grid-row: 1 / 2; }
.hp-card:nth-child(4) { grid-column: 4 / 5; grid-row: 1 / 2; }
.hp-card:nth-child(5) { grid-column: 2 / 4; grid-row: 2 / 3; }
.hp-card:nth-child(6) { grid-column: 4 / 5; grid-row: 2 / 3; }
.hp-card:nth-child(1) .hp-card-label-name {
  font-size: clamp(14px, 1.05vw, 17px);
}
.hp-card::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.74));
  pointer-events: none;
}
.hp-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hp-card-bg-empty {
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.52) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(255,255,255,0.48) 0 1px, transparent 1px 100%),
    linear-gradient(135deg, #d9d9d9, #f5f5f5);
  background-size: 24px 24px, 24px 24px, auto;
}
.hp-card-bg-empty span {
  color: rgba(10,10,10,0.62);
  font-size: clamp(1.7rem, 2.3vw, 2.6rem);
  font-weight: 500;
}
.hp-card-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: clamp(52px, 5vw, 74px) clamp(10px, 1vw, 15px) clamp(11px, 1vw, 16px);
  color: #fff;
}
.hp-card-label-kicker {
  font-size: clamp(9px, 0.6vw, 10.5px);
  color: rgba(255,255,255,0.78);
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.hp-card-label-name {
  font-size: clamp(12px, 0.9vw, 15px);
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  display: block;
}
.hp-card-label-meta {
  margin-top: 4px;
  font-size: clamp(9px, 0.66vw, 11.5px);
  color: rgba(255,255,255,0.74);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Featured carousel header row */
.hp-featured-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw clamp(0.7rem, 0.9vw, 1.2rem);
}

/* ─── Schermata 2: Metrics + Voices (combined) ───────────────────────────── */
.hp-s2 { padding: clamp(2.5rem, 3vw, 5rem) 0 clamp(2rem, 2.5vw, 4rem); }

.hp-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250,250,250,0.92);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: clamp(8px, 0.8vw, 14px);
  padding: clamp(1.1rem, 1.6vw, 2rem) 0;
  box-shadow: var(--shadow-float);
  margin: 0 4vw clamp(2rem, 2.5vw, 4rem);
}
.hp-metric {
  flex: 1;
  text-align: center;
  padding: 0 clamp(1.5rem, 2.5vw, 3.5rem);
}
.hp-metric-num {
  font-size: clamp(1.3rem, 1.9vw, 2rem);
  font-weight: 500;
  color: #0a0a0a;
  line-height: 1.2;
}
.hp-metric-label {
  font-size: clamp(0.6rem, 0.72vw, 0.72rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b6b6b;
  margin-top: 0.2rem;
}
.hp-metric-div {
  width: 1px;
  height: clamp(24px, 2.4vw, 40px);
  background: rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.hp-voices-expand-btn {
  display: block;
  margin: clamp(1rem, 1.2vw, 1.75rem) auto 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 999px;
  padding: clamp(0.5rem, 0.7vw, 0.875rem) clamp(1rem, 1.6vw, 2rem);
  font-size: clamp(0.8rem, 0.85vw, 0.875rem);
  color: #0a0a0a;
  font-family: var(--font);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: background 180ms ease;
}
.hp-voices-expand-btn:hover { background: #f5f5f5; }
.hp-section-hd {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 4vw;
  margin-bottom: 1.25rem;
  gap: 1rem;
}
.hp-section-hd-left { display: flex; flex-direction: column; gap: 0.3rem; }
.hp-s-h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  margin: 0;
  line-height: 1.1;
}

/* Voices — now part of Schermata 2 */
.hp-voices-hd { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: clamp(1.2rem, 1.8vw, 2.5rem); }
.hp-voices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.85rem, 1.2vw, 1.75rem);
}
.hp-voice-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: clamp(8px, 0.85vw, 14px);
  padding: clamp(1rem, 1.1vw, 1.5rem) clamp(1rem, 1.4vw, 2rem);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}
.hp-voice-quote {
  font-size: clamp(0.85rem, 0.875vw, 1rem);
  color: #3a3a3a;
  line-height: 1.6;
  margin-bottom: clamp(0.75rem, 0.8vw, 1.25rem);
  flex: 1;
}
.hp-voice-author { display: flex; align-items: center; gap: 0.65rem; margin-top: auto; }
.hp-voice-avatar {
  width: clamp(30px, 1.8vw, 38px);
  height: clamp(30px, 1.8vw, 38px);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  color: #fff;
  font-size: clamp(0.7rem, 0.7vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hp-voice-name { font-size: clamp(0.78rem, 0.76vw, 0.875rem); font-weight: 500; color: #0a0a0a; line-height: 1.3; }
.hp-voice-role { font-size: clamp(0.65rem, 0.6vw, 0.72rem); color: #8a8a8a; margin-top: 0.1rem; }

/* ─── Schermata 4: CTA ───────────────────────────────────────────────────── */
.hp-s4 { padding: 0 4vw clamp(3rem, 3vw, 5rem); }
.hp-cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(1.5rem, 2vw, 3rem);
  background: rgba(250,250,250,0.92);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: clamp(10px, 0.85vw, 14px);
  padding: clamp(1.75rem, 2.6vw, 3.5rem) clamp(2rem, 3vw, 4.5rem);
  box-shadow: var(--shadow-float);
  margin-bottom: clamp(2rem, 3vw, 4rem);
}
.hp-cta-left {}
.hp-cta-title {
  font-size: clamp(1.2rem, 1.9vw, 1.875rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  margin-bottom: 0.35rem;
  line-height: 1.2;
}
.hp-cta-sub { font-size: clamp(0.85rem, 1vw, 1rem); color: #6b6b6b; }
.hp-cta-right {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 0.8vw, 1.25rem);
  flex-shrink: 0;
}
.hp-cta-btn-pri, .hp-cta-btn-sec {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: clamp(0.6rem, 0.95vw, 1rem) clamp(1.2rem, 1.9vw, 2.5rem);
  font-size: clamp(0.875rem, 1vw, 1rem);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background 200ms ease, box-shadow 200ms ease;
}
.hp-cta-btn-pri { background: #0a0a0a; color: #fff; border-color: #0a0a0a; box-shadow: var(--shadow-btn); }
.hp-cta-btn-pri:hover { background: #1a1a1a; text-decoration: none; }
.hp-cta-btn-sec { background: #fff; color: #0a0a0a; border-color: #0a0a0a; }
.hp-cta-btn-sec:hover { background: rgba(0,0,0,0.04); text-decoration: none; }

/* ─── Footer (new) ───────────────────────────────────────────────────────── */
.site-footer { margin-top: 0; background: transparent; border-top: none; text-align: left; padding: 0; }
.site-footer-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 4vw; border-top: 1px solid #ededed; }
.site-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 2.5vw, 4rem);
  padding: clamp(2rem, 2.5vw, 4rem) 0 clamp(1.5rem, 1.8vw, 3rem);
}
.site-footer-brand-logo { font-size: clamp(0.95rem, 1.4vw, 1.2rem); font-weight: 500; letter-spacing: -0.03em; color: #0a0a0a; margin-bottom: 0.7rem; }
.site-footer-brand-desc { font-size: clamp(0.78rem, 0.85vw, 0.875rem); color: #6b6b6b; line-height: 1.6; margin: 0; }
.site-footer-col-header { font-size: clamp(0.62rem, 0.72vw, 0.72rem); text-transform: uppercase; letter-spacing: 0.12em; color: #6b6b6b; margin-bottom: 0.85rem; font-weight: 400; }
.site-footer-links { display: flex; flex-direction: column; gap: 0.55rem; }
.site-footer-links a { font-size: clamp(0.82rem, 0.9vw, 0.9375rem); color: #3a3a3a; text-decoration: none; transition: color 180ms ease; }
.site-footer-links a:hover { color: #0a0a0a; }
.site-footer-bottom { border-top: 1px solid #ededed; padding: clamp(0.9rem, 1.4vw, 2rem) 0; text-align: center; font-size: clamp(0.65rem, 0.72vw, 0.72rem); color: #8a8a8a; }

/* ─── Photographer full profile ───────────────────────────────────────────── */
.profile-v2 {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 0 4rem;
}
.profile-v2 .pf-breadcrumb,
.profile-v2 .pf-hero,
.profile-v2 .pf-metrics,
.profile-v2 .pf-section {
  padding-left: 4vw;
  padding-right: 4vw;
}
.pf-breadcrumb {
  padding-top: clamp(1rem, 1.4vw, 1.4rem);
  padding-bottom: 0;
  font-size: clamp(0.72rem, 0.75vw, 0.82rem);
  color: #6b6b6b;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.pf-breadcrumb-link { color: #6b6b6b; }
.pf-breadcrumb-link:hover { color: #0a0a0a; }
.pf-breadcrumb-current { color: #0a0a0a; }
.pf-breadcrumb-sep { color: #9a9a9a; }

.pf-hero {
  padding-top: clamp(1.2rem, 1.6vw, 1.8rem);
  padding-bottom: clamp(1.2rem, 1.6vw, 1.8rem);
}
.pf-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.pf-identity { min-width: 0; }
.pf-name-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  margin-bottom: clamp(0.45rem, 0.7vw, 0.75rem);
}
.pf-name-row .pf-name {
  margin-bottom: 0;
}
.pf-profile-avatar {
  width: clamp(4rem, 5.4vw, 5.8rem);
  height: clamp(4rem, 5.4vw, 5.8rem);
  font-size: clamp(1.2rem, 1.4vw, 1.55rem);
  background: #fff;
}
.pf-eyebrow {
  font-size: clamp(0.68rem, 0.75vw, 0.82rem);
  color: #6b6b6b;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: clamp(0.5rem, 0.7vw, 0.75rem);
  display: block;
}
.pf-name {
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: #0a0a0a;
  margin: 0 0 clamp(0.45rem, 0.7vw, 0.75rem);
}
.pf-location-line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: clamp(0.85rem, 0.9vw, 0.98rem);
  color: #6b6b6b;
  margin-bottom: clamp(1rem, 1.4vw, 1.4rem);
  flex-wrap: wrap;
}
.pf-location-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0a0a0a;
  flex-shrink: 0;
}
.pf-category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(1.2rem, 1.6vw, 1.6rem);
}
.pf-about-category-row {
  margin-bottom: 1rem;
}
.pf-category-pill {
  font-size: clamp(0.72rem, 0.75vw, 0.82rem);
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  color: #0a0a0a;
}
.pf-category-pill:hover { background: rgba(0,0,0,0.03); }
.pf-short-bio {
  font-size: clamp(0.88rem, 0.9vw, 0.98rem);
  color: #3a3a3a;
  line-height: 1.6;
  max-width: 32rem;
  margin: 0 0 clamp(1.2rem, 1.8vw, 1.8rem);
}
.pf-action-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.pf-btn-primary,
.pf-btn-secondary,
.pf-tertiary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  font-family: var(--font);
}
.pf-btn-primary {
  background: #0a0a0a;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  padding: 0.9rem 1.5rem;
  font-size: clamp(0.88rem, 0.9vw, 1rem);
  font-weight: 500;
}
.pf-btn-primary:hover { background: #1a1a1a; }
.pf-btn-secondary,
.pf-tertiary-pill {
  background: #fff;
  color: #0a0a0a;
  border-color: #0a0a0a;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.pf-btn-secondary:hover,
.pf-tertiary-pill:hover { background: rgba(0,0,0,0.04); }
.pf-btn-secondary {
  padding: 0.95rem 1.9rem;
  font-size: clamp(0.92rem, 1vw, 1rem);
  font-weight: 500;
}
.pf-tertiary-pill {
  padding: 0.85rem 2rem;
  font-size: clamp(0.86rem, 0.9vw, 0.96rem);
  font-weight: 500;
}
.pf-circle-btn {
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  box-sizing: border-box;
  border-radius: 50%;
  border: 1px solid #0a0a0a;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  color: #0a0a0a;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pf-circle-btn:hover { background: rgba(0,0,0,0.04); }
.pf-share-wrap { position: relative; }
.pf-share-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06);
  padding: 0.35rem;
  z-index: 250;
}
.pf-share-menu button,
.pf-share-menu a {
  width: 100%;
  display: block;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 0.65rem 0.8rem;
  color: #0a0a0a;
  font-size: 0.86rem;
  cursor: pointer;
}
.pf-share-menu button:hover,
.pf-share-menu a:hover { background: rgba(0,0,0,0.04); }

.pf-about-box {
  padding: clamp(1.4rem, 2vw, 2rem) clamp(1.5rem, 2.2vw, 2.2rem);
  background: rgba(250,250,250,0.92);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 14px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.8);
}
.pf-about-title {
  font-size: clamp(1.35rem, 1.7vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #0a0a0a;
  margin: 0 0 1rem;
}
.pf-about-copy {
  font-size: clamp(0.82rem, 0.85vw, 0.93rem);
  color: #3a3a3a;
  line-height: 1.65;
  margin: 0 0 0.95rem;
}
.pf-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid #ededed;
}
.pf-mini-label {
  font-size: clamp(0.62rem, 0.6vw, 0.68rem);
  color: #6b6b6b;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.pf-mini-value {
  font-size: clamp(0.76rem, 0.78vw, 0.86rem);
  color: #0a0a0a;
  line-height: 1.45;
}

.pf-metrics {
  margin: 0 4vw 1.4rem;
  padding: 1.2rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  background: rgba(250,250,250,0.92);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.8);
}
.pf-metric-cell {
  text-align: left;
  background: transparent;
  border: none;
  padding: 0;
}
.pf-metric-button { cursor: pointer; }
.pf-metric-label {
  font-size: clamp(0.62rem, 0.65vw, 0.72rem);
  color: #6b6b6b;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pf-metric-value {
  margin-top: 0.2rem;
  font-size: clamp(0.92rem, 0.95vw, 1rem);
  font-weight: 500;
  color: #0a0a0a;
}
.pf-metric-value-rate {
  font-size: clamp(1rem, 1.1vw, 1.2rem);
  letter-spacing: -0.01em;
}
.pf-language-row {
  gap: 0.4rem;
  margin-top: 0.45rem;
  margin-bottom: 0;
}
.pf-language-pill {
  cursor: default;
}
.pf-language-pill:hover {
  background: #fff;
}

.pf-city-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pf-hero-city-grid {
  margin-bottom: clamp(0.65rem, 1vw, 0.95rem);
}
.pf-city-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  gap: 0.42rem;
  padding: 0.44rem 0.78rem;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  background: #fafafa;
  color: #0a0a0a;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.2;
}
.pf-city-chip-dot {
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 999px;
  background: #0a0a0a;
  flex: 0 0 auto;
}

.pf-section {
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
}
.pf-section-header,
.pf-review-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
}
.pf-section-title {
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #0a0a0a;
  line-height: 1;
  margin: 0;
}
.pf-filter-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.pf-filter-pill {
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.1);
  background: #fff;
  color: #0a0a0a;
  font-size: 0.82rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  cursor: pointer;
}
.pf-filter-pill.is-active {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.pf-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
}
.pf-photo-card {
  width: 100%;
  aspect-ratio: 1;
  border: none;
  border-radius: 0;
  background-size: cover;
  background-position: center;
  box-shadow: none;
  cursor: pointer;
  transition: opacity 180ms ease, filter 180ms ease;
}
.pf-photo-card:hover {
  opacity: 0.86;
  filter: saturate(1.04);
}
.pf-center-cta {
  padding-top: 1.5rem;
  text-align: center;
}

.pf-review-aggregate {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}
.pf-review-score {
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  line-height: 1;
}
.pf-review-count {
  font-size: clamp(0.82rem, 0.85vw, 0.93rem);
  color: #6b6b6b;
}
.pf-review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.pf-review-grid-extra { padding-top: 1.2rem; }
.pf-review-card {
  padding: 1.2rem 1.6rem;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}
.pf-review-quote {
  font-size: 0.95rem;
  color: #3a3a3a;
  line-height: 1.6;
  margin: 0 0 1rem 0;
  flex: 1;
}
.pf-review-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
}
.pf-review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pf-review-author { flex: 1; min-width: 0; }
.pf-review-author-row {
  font-size: 0.85rem;
  font-weight: 500;
  color: #0a0a0a;
  line-height: 1.3;
}
.pf-review-author-row span:last-child {
  display: none;
}
.pf-review-meta {
  font-size: 0.7rem;
  color: #8a8a8a;
  margin-top: 0.1rem;
}
.pf-review-item {
  padding: 1.2rem 1.6rem;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}
.pf-review-footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.pf-reviews-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}
.pf-rating-header {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}
.pf-rating-value {
  font-size: clamp(1.2rem, 1.8vw, 1.8rem);
  font-weight: 600;
  line-height: 1;
  color: #0a0a0a;
}
.pf-rating-star {
  font-size: clamp(0.9rem, 1.3vw, 1.4rem);
  line-height: 1;
}
.pf-rating-count {
  font-size: clamp(0.8rem, 0.9vw, 0.95rem);
  color: #6b6b6b;
}

.pf-cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2.3rem 2.7rem;
  background: rgba(250,250,250,0.92);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 14px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.8);
}
.pf-cta-title {
  font-size: clamp(1.35rem, 1.9vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
  color: #0a0a0a;
}
.pf-cta-sub {
  font-size: clamp(0.92rem, 1vw, 1.05rem);
  color: #6b6b6b;
  margin: 0;
}
.pf-cta-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pf-modal-shell,
.pf-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20,20,25,0.55);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.pf-modal-shell[hidden],
.pf-lightbox[hidden] { display: none; }
.pf-modal-card {
  position: relative;
  width: min(680px, 96vw);
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 1px 1px rgba(255,255,255,0.8) inset, 0 24px 60px rgba(0,0,0,0.25), 0 4px 12px rgba(0,0,0,0.12);
  padding: 1.5rem 1.5rem 1.6rem;
}
.pf-modal-card-wide { width: min(1080px, 96vw); }
.pf-modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.92);
  font-size: 1.1rem;
  cursor: pointer;
}
.pf-modal-header { margin-bottom: 1.1rem; }
.pf-modal-title {
  font-size: clamp(1.3rem, 1.7vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  margin: 0 0 0.25rem;
}
.pf-modal-sub {
  font-size: 0.9rem;
  color: #6b6b6b;
  margin: 0;
}
.pf-modal-login {
  background: rgba(250,250,250,0.92);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  padding: 1.3rem;
}
.pf-modal-login p {
  margin: 0 0 1rem;
  color: #3a3a3a;
  line-height: 1.6;
}
.pf-modal-login-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.pf-modal-tabs {
  display: inline-flex;
  gap: 0.45rem;
  padding: 0.25rem;
  background: rgba(250,250,250,0.92);
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 1rem;
}
.pf-modal-tab {
  border: none;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  background: transparent;
  color: #6b6b6b;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}
.pf-modal-tab.is-active {
  background: #0a0a0a;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.pf-modal-panel { display: none; }
.pf-modal-panel.is-active { display: block; }

.pf-calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.pf-cal-month {
  background: rgba(250,250,250,0.92);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  padding: 1rem;
}
.pf-cal-title {
  font-size: 0.92rem;
  font-weight: 500;
  color: #0a0a0a;
  margin-bottom: 0.8rem;
}
.pf-cal-weekdays,
.pf-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.3rem;
}
.pf-cal-weekdays span {
  font-size: 0.66rem;
  color: #8a8a8a;
  text-align: center;
}
.pf-cal-empty,
.pf-cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.74rem;
}
.pf-cal-day.is-open { background: #fff; color: #0a0a0a; border: 1px solid rgba(0,0,0,0.08); }
.pf-cal-day.is-booked { background: #0a0a0a; color: #fff; }
.pf-cal-day.is-past { opacity: 0.35; }

/* Two month calendar view */
.pf-cal-wrapper {
  display: flex;
  flex-direction: column;
}

.pf-cal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.pf-cal-nav-btn {
  background: none;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #0a0a0a;
  font-weight: 500;
  transition: all 0.2s;
  width: 120px;
  text-align: center;
}

.pf-cal-nav-btn:hover:not(:disabled) {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.2);
}

.pf-cal-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Two month grid layout */
.pf-cal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

#book-calendar-grid .pf-cal-month {
  padding: 1.5rem;
}

#book-calendar-grid .pf-cal-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

#book-calendar-grid .pf-cal-weekdays span {
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

#book-calendar-grid .pf-cal-day {
  font-size: 0.85rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .pf-cal-grid {
    grid-template-columns: 1fr;
  }

  .pf-cal-nav {
    gap: 1rem;
  }
}

.pf-lightbox {
  gap: 1rem;
}
.pf-lightbox-center {
  width: min(92vw, 1320px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pf-lightbox-counter {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.pf-lightbox img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  object-fit: contain;
}
.pf-lightbox-close,
.pf-lightbox-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #0a0a0a;
  color: #fff;
  border-radius: 999px;
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  transition: background 180ms ease, transform 180ms ease;
}
.pf-lightbox-close:hover,
.pf-lightbox-arrow:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
}
.pf-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

@media (max-width: 960px) {
  .pf-hero-grid,
  .pf-mini-grid,
  .pf-metrics,
  .pf-calendar-grid,
  .pf-review-grid {
    grid-template-columns: 1fr;
  }
  .pf-review-card {
    padding: 1rem 1.2rem;
  }
  .pf-review-quote {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
  }
  .pf-review-avatar {
    width: 32px;
    height: 32px;
  }
  .pf-hero-grid { grid-template-columns: 1fr; }
  .pf-cta-box,
  .pf-section-header,
  .pf-review-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .pf-filter-row,
  .pf-cta-actions { justify-content: flex-start; }
  .pf-reviews-rating {
    align-items: flex-start;
    margin-top: 1rem;
  }
}

@media (max-width: 640px) {
  .pf-metrics,
  .pf-mini-grid,
  .pf-calendar-grid,
  .pf-review-grid {
    grid-template-columns: 1fr;
  }
  .pf-name { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .pf-action-row,
  .pf-modal-login-actions,
  .pf-cta-actions { width: 100%; }
  .pf-btn-primary,
  .pf-btn-secondary,
  .pf-tertiary-pill { width: 100%; }
  .pf-circle-btn { width: 2.8rem; }
  .pf-filter-row { width: 100%; }
  .pf-filter-pill { flex: 1 1 auto; }
  .pf-modal-card { padding: 1.2rem 1rem 1.2rem; }
}

/* ─── Photographer Preview Modal ─────────────────────────────────────────── */
.pm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,20,25,0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pm-overlay[hidden] { display: none; }
.pm-modal {
  position: relative;
  width: min(70vw, 1040px);
  max-height: 90vh;
  background: #fff;
  border-radius: clamp(8px, 0.85vw, 14px);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 1px 1px rgba(255,255,255,0.8) inset, 0 24px 60px rgba(0,0,0,0.25), 0 4px 12px rgba(0,0,0,0.12);
  overflow: hidden;
  display: flex;
}
.pm-close {
  position: absolute;
  top: clamp(8px, 1vw, 16px);
  right: clamp(8px, 1vw, 16px);
  width: clamp(28px, 2.2vw, 40px);
  height: clamp(28px, 2.2vw, 40px);
  padding: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(14px, 1.1vw, 20px);
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  font-family: var(--font);
  transition: background 180ms ease;
  box-sizing: border-box;
}
.pm-close:hover { background: #f0f0f0; }
.pm-left { flex: 1.1; background: #f4f4f4; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.pm-photo-wrap { position: relative; aspect-ratio: 4/5; overflow: hidden; flex-shrink: 0; }
.pm-photo { width: 100%; height: 100%; background-size: cover; background-position: center; }
.pm-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: clamp(28px, 2.2vw, 38px); height: clamp(28px, 2.2vw, 38px);
  padding: 0; box-sizing: border-box;
  border-radius: 50%;
  background: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(12px, 1vw, 18px); cursor: pointer; z-index: 5;
  line-height: 1; font-family: var(--font);
  transition: background 180ms ease;
}
.pm-arrow:hover { background: #fff; }
.pm-prev { left: clamp(6px, 0.8vw, 14px); }
.pm-next { right: clamp(6px, 0.8vw, 14px); }
.pm-counter {
  position: absolute; top: clamp(6px, 1vw, 14px); left: clamp(6px, 1vw, 14px);
  background: rgba(255,255,255,0.92); border-radius: 999px;
  padding: clamp(2px, 0.35vw, 5px) clamp(5px, 0.8vw, 10px);
  font-size: clamp(9px, 0.72vw, 12px); font-weight: 500;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.pm-indicators {
  position: absolute; bottom: clamp(8px, 1.1vw, 16px);
  left: 50%; transform: translateX(-50%);
  display: flex; gap: clamp(2px, 0.3vw, 5px); align-items: center;
}
.pm-dot { height: clamp(2px, 0.22vw, 4px); border-radius: 999px; transition: width 200ms ease, opacity 200ms ease; }
.pm-dot.active   { width: clamp(10px, 1.2vw, 18px); background: rgba(255,255,255,0.95); }
.pm-dot.inactive { width: clamp(3px, 0.45vw, 7px);  background: rgba(255,255,255,0.5); }
.pm-thumbs { display: flex; gap: clamp(4px, 0.45vw, 7px); padding: clamp(6px, 0.8vw, 12px); }
.pm-thumb { flex: 1; aspect-ratio: 1; border-radius: clamp(3px, 0.4vw, 6px); overflow: hidden; cursor: pointer; position: relative; transition: opacity 200ms ease; }
.pm-thumb.active   { outline: 1.5px solid #0a0a0a; opacity: 1; }
.pm-thumb.inactive { opacity: 0.85; }
.pm-thumb-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.pm-thumb-more { position: absolute; inset: 0; background: rgba(0,0,0,0.45); display: flex; align-items: center; justify-content: center; font-size: clamp(9px, 0.72vw, 12px); color: #fff; font-weight: 500; }
.pm-right {
  flex: 1; min-width: 0;
  padding: clamp(1.4rem, 1.8vw, 2.5rem) clamp(1.2rem, 1.7vw, 2.2rem);
  display: flex; flex-direction: column; overflow-y: auto;
}
.pm-name { font-size: clamp(1.2rem, 1.85vw, 1.875rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; color: #0a0a0a; margin: 0.5rem 0 0.3rem; }
.pm-location {
  display: flex; align-items: center; gap: 0.4rem;
  color: #6b6b6b; font-size: clamp(0.8rem, 0.85vw, 0.9375rem); margin-bottom: 1.4rem;
}
.pm-location::before { content: ''; display: inline-block; width: clamp(4px, 0.3vw, 6px); height: clamp(4px, 0.3vw, 6px); background: #0a0a0a; border-radius: 50%; flex-shrink: 0; }
.pm-info { border-top: 1px solid #ededed; border-bottom: 1px solid #ededed; padding: clamp(0.7rem, 1vw, 1.5rem) 0; margin-bottom: 1.4rem; display: flex; flex-direction: column; gap: clamp(0.55rem, 0.9vw, 1.2rem); }
.pm-info-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.pm-info-row span:first-child { font-size: clamp(0.7rem, 0.72vw, 0.8rem); color: #6b6b6b; letter-spacing: 0.04em; }
.pm-info-row span:last-child  { font-size: clamp(0.78rem, 0.85vw, 0.9375rem); font-weight: 500; color: #0a0a0a; text-align: right; }
.pm-price { font-size: clamp(1rem, 1.2vw, 1.375rem) !important; }
.pm-actions { margin-top: auto; display: flex; flex-direction: column; gap: clamp(0.4rem, 0.6vw, 0.85rem); padding-top: 0.5rem; }
.pm-btn-pri, .pm-btn-sec {
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px; text-decoration: none; cursor: pointer;
  padding: clamp(0.6rem, 0.85vw, 1.1rem) clamp(1rem, 1.3vw, 1.75rem);
  font-size: clamp(0.82rem, 0.9vw, 1rem); font-weight: 500;
  border: 1px solid transparent; transition: background 200ms ease, box-shadow 200ms ease;
}
.pm-btn-pri { background: #0a0a0a; color: #fff; border-color: #0a0a0a; box-shadow: var(--shadow-btn); }
.pm-btn-pri:hover { background: #1a1a1a; text-decoration: none; }
.pm-btn-sec { background: #fff; color: #0a0a0a; border-color: #0a0a0a; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.pm-btn-sec:hover { background: rgba(0,0,0,0.04); text-decoration: none; }

/* ─── Animations ─────────────────────────────────────────────────────────── */
@keyframes hp-scroll      { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@keyframes hp-scroll-fast { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

/* ─── Homepage responsive ────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hp-h1   { max-width: 85vw; }
  .hp-desc { max-width: 80vw; }
  .hp-search { width: min(80vw, 520px); }
  .hp-eyebrow-wrap { max-width: 90vw; }
  .hp-photogs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, clamp(118px, 20vw, 170px));
  }
  .hp-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
  .hp-card:nth-child(2) { grid-column: 3 / 4; grid-row: 1 / 2; }
  .hp-card:nth-child(3) { grid-column: 3 / 4; grid-row: 2 / 3; }
  .hp-card:nth-child(4) { grid-column: 1 / 2; grid-row: 3 / 4; }
  .hp-card:nth-child(5) { grid-column: 2 / 3; grid-row: 3 / 4; }
  .hp-card:nth-child(6) { grid-column: 3 / 4; grid-row: 3 / 4; }
}
@media (max-width: 700px) {
  .hp-hero { padding: 3rem 1.5rem 2.5rem; gap: 1.2rem; }
  .hp-root { width: 100%; max-width: 100%; overflow-x: hidden; }
  .hp-h1,
  .hp-desc,
  .hp-search {
    width: min(350px, calc(100vw - 40px));
    max-width: min(350px, calc(100vw - 40px));
  }
  .hp-h1 { font-size: clamp(2rem, 8vw, 2.35rem); }
  .hp-desc { font-size: 1rem; }
  .hp-featured-hd,
  .hp-photogs-grid {
    width: min(350px, calc(100vw - 40px));
    max-width: min(350px, calc(100vw - 40px));
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }
  .hp-photogs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: clamp(178px, 54vw, 240px);
    gap: 12px;
  }
  .hp-card:nth-child(1) { grid-column: 1 / -1; grid-row: span 2; }
  .hp-card:nth-child(2),
  .hp-card:nth-child(3),
  .hp-card:nth-child(4),
  .hp-card:nth-child(5),
  .hp-card:nth-child(6) { grid-column: auto; grid-row: auto; }
  .hp-voices-grid { grid-template-columns: 1fr; }
  .hp-cta-box { flex-direction: column; text-align: center; padding: 1.75rem; }
  .hp-cta-right { justify-content: center; flex-wrap: wrap; }
  .hp-s2 { padding: 3rem 0; }
  .hp-s3 { padding: 3rem 4vw; }
  .site-footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .hp-metrics { margin: 0 4vw 3rem; flex-wrap: wrap; padding: 1.25rem; }
  .hp-metric  { min-width: 40%; padding: 0.5rem 1rem; }
  .hp-metric-div { display: none; }
}
@media (max-width: 480px) {
  .site-footer-grid { grid-template-columns: 1fr; text-align: center; }
  .site-footer-links { align-items: center; }
  .site-footer-brand { align-items: center; display: flex; flex-direction: column; }
  .site-footer-bottom { text-align: center; }
  .hp-cta-left { text-align: center; }
  .pm-modal { flex-direction: column; width: 96vw; max-height: 92vh; }
  .pm-left  { flex: none; }
  .pm-photo-wrap { aspect-ratio: 4/3; }
  .pm-right { overflow-y: auto; flex: 1; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   How It Works page
   ═══════════════════════════════════════════════════════════════════════════ */

.hiw-root {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 4vw;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 84px);
}

/* Hero */
.hiw-hero {
  text-align: center;
  padding: clamp(1.5rem, 1.8vw, 2.5rem) 0 clamp(0.6rem, 0.8vw, 1.2rem);
}
.hiw-hero h1 {
  font-size: clamp(1.75rem, 2.4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: #0a0a0a;
  max-width: min(56vw, 720px);
  margin: 0 auto clamp(0.35rem, 0.5vw, 0.75rem);
}
.hiw-hero-sub {
  font-size: clamp(0.85rem, 0.88vw, 0.975rem);
  color: #6b6b6b;
  max-width: min(44vw, 580px);
  margin: 0 auto;
  line-height: 1.5;
}

/* Tab switch */
.hiw-tabs {
  display: flex;
  justify-content: center;
  padding: clamp(0.75rem, 1vw, 1.5rem) 0 clamp(0.9rem, 1.4vw, 2rem);
}
.hiw-tab-container {
  display: inline-flex;
  padding: clamp(3px, 0.3vw, 5px);
  background: rgba(250, 250, 250, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 999px;
  box-shadow: 0 1px 1px rgba(255,255,255,0.8) inset;
  gap: 2px;
}
.hiw-tab-btn {
  padding: clamp(7px, 0.55vw, 10px) clamp(18px, 1.6vw, 28px);
  font-size: clamp(0.8rem, 0.85vw, 0.9rem);
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
  white-space: nowrap;
}
.hiw-tab-btn.active {
  background: #0a0a0a;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}
.hiw-tab-btn:not(.active) { background: transparent; color: #6b6b6b; font-weight: 400; }

/* Panels */
.hiw-panel { display: none; flex: 1; padding-bottom: clamp(1.5rem, 2vw, 3rem); }
.hiw-panel.active { display: flex; }
@keyframes hiw-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.hiw-panel-fade-in { animation: hiw-fade 200ms ease; }

/* Box (shared) */
.hiw-box {
  width: 100%;
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: clamp(8px, 0.85vw, 14px);
  padding: clamp(1.75rem, 2.6vw, 3.5rem) clamp(2rem, 3vw, 4.5rem);
  display: flex;
  align-items: center;
}
.hiw-box-white {
  background: #fff;
  border: 1px solid #ededed;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 28px rgba(0,0,0,0.06);
}
.hiw-box-black {
  background: #0a0a0a;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.hiw-box-glow {
  position: absolute;
  top: clamp(-70px, -8vw, -40px);
  right: clamp(-55px, -6vw, -30px);
  width: clamp(140px, 18vw, 260px);
  height: clamp(140px, 18vw, 260px);
  border-radius: 50%;
  pointer-events: none;
}
.hiw-box-white .hiw-box-glow { background: radial-gradient(circle, rgba(0,0,0,0.025) 0%, rgba(0,0,0,0) 70%); }
.hiw-box-black .hiw-box-glow { background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 70%); }

/* Two-column grid */
.hiw-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 3.5vw, 5rem);
  align-items: center;
  position: relative;
  width: 100%;
}

/* Left column */
.hiw-eyebrow {
  display: block;
  font-size: clamp(9px, 0.7vw, 11px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: clamp(0.55rem, 0.8vw, 1.2rem);
}
.hiw-box-white .hiw-eyebrow { color: #6b6b6b; }
.hiw-box-black .hiw-eyebrow { color: rgba(255,255,255,0.6); }

.hiw-h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 clamp(0.65rem, 1vw, 1.5rem);
}
.hiw-box-white .hiw-h2 { color: #0a0a0a; }
.hiw-box-black .hiw-h2 { color: #fff; }

.hiw-desc {
  font-size: clamp(0.85rem, 0.9vw, 0.975rem);
  line-height: 1.55;
  max-width: min(28vw, 400px);
  margin: 0 0 clamp(1rem, 1.5vw, 2.25rem);
}
.hiw-box-white .hiw-desc { color: #3a3a3a; }
.hiw-box-black .hiw-desc { color: rgba(255,255,255,0.75); }

.hiw-bullets { display: flex; flex-direction: column; gap: clamp(0.45rem, 0.65vw, 1rem); margin-bottom: clamp(1.2rem, 1.7vw, 2.5rem); }
.hiw-bullet { display: flex; align-items: center; gap: clamp(0.5rem, 0.7vw, 1rem); }
.hiw-check {
  width: clamp(18px, 1.2vw, 22px);
  height: clamp(18px, 1.2vw, 22px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(8px, 0.6vw, 11px);
  flex-shrink: 0;
  line-height: 1;
}
.hiw-box-white .hiw-check { background: rgba(0,0,0,0.06); color: #0a0a0a; }
.hiw-box-black .hiw-check { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9); }
.hiw-bullet-text { font-size: clamp(0.82rem, 0.85vw, 0.9375rem); }
.hiw-box-white .hiw-bullet-text { color: #0a0a0a; }
.hiw-box-black .hiw-bullet-text { color: rgba(255,255,255,0.9); }

.hiw-cta {
  display: inline-block;
  border-radius: 999px;
  padding: clamp(0.6rem, 0.8vw, 1.1rem) clamp(1.25rem, 1.6vw, 2.25rem);
  font-size: clamp(0.85rem, 0.9vw, 0.975rem);
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: background 180ms ease;
}
.hiw-cta-dark { background: #0a0a0a; color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.18); }
.hiw-cta-dark:hover { background: #1a1a1a; text-decoration: none; }
.hiw-cta-light { background: #fff; color: #0a0a0a; box-shadow: 0 2px 8px rgba(0,0,0,0.25); }
.hiw-cta-light:hover { background: #f0f0f0; text-decoration: none; }

/* Right column — testimonial cards */
.hiw-quotes { display: flex; flex-direction: column; gap: clamp(0.5rem, 0.7vw, 1.1rem); }
.hiw-quote-card {
  padding: clamp(0.75rem, 1vw, 1.5rem) clamp(0.9rem, 1.2vw, 1.8rem);
  border-radius: clamp(7px, 0.7vw, 12px);
  display: flex;
  flex-direction: column;
}
.hiw-box-white .hiw-quote-card {
  background: rgba(250, 250, 250, 0.92);
  border: 1px solid #f0f0f0;
  box-shadow: 0 1px 1px rgba(255,255,255,0.8) inset;
}
.hiw-box-black .hiw-quote-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hiw-quote-text {
  font-size: clamp(0.78rem, 0.78vw, 0.875rem);
  line-height: 1.5;
  margin-bottom: clamp(0.5rem, 0.65vw, 1rem);
}
.hiw-box-white .hiw-quote-text { color: #3a3a3a; }
.hiw-box-black .hiw-quote-text { color: rgba(255,255,255,0.85); }
.hiw-quote-author { display: flex; align-items: center; gap: clamp(0.4rem, 0.55vw, 0.85rem); }
.hiw-avatar { width: clamp(26px, 1.4vw, 34px); height: clamp(26px, 1.4vw, 34px); border-radius: 50%; flex-shrink: 0; }
.hiw-box-black .hiw-avatar { border: 1px solid rgba(255,255,255,0.1); }
.hiw-avatar-c1 { background: #c7d9f0; }
.hiw-avatar-c2 { background: #d0ecd5; }
.hiw-avatar-p1 { background: #3a3a3a; }
.hiw-avatar-p2 { background: #555; }
.hiw-author-name { font-size: clamp(0.7rem, 0.68vw, 0.8rem); font-weight: 500; line-height: 1.3; }
.hiw-box-white .hiw-author-name { color: #0a0a0a; }
.hiw-box-black .hiw-author-name { color: #fff; }
.hiw-author-role { font-size: clamp(0.62rem, 0.55vw, 0.7rem); margin-top: 0.05rem; }
.hiw-box-white .hiw-author-role { color: #8a8a8a; }
.hiw-box-black .hiw-author-role { color: rgba(255,255,255,0.5); }

/* Responsive */
@media (max-width: 900px) {
  .hiw-grid { grid-template-columns: 1fr; }
  .hiw-hero h1 { max-width: 85vw; }
  .hiw-hero-sub { max-width: 85vw; }
  .hiw-desc { max-width: 100%; }
}
@media (max-width: 600px) {
  .hiw-box { padding: 1.5rem; }
  .hiw-hero h1 { font-size: clamp(1.4rem, 6vw, 2rem); max-width: 95vw; }
  .hiw-hero-sub { max-width: 92vw; }
}

/* ─── Explore Page Redesign ────────────────────────────────────────────────── */

.nav-always.is-active { color: #0a0a0a; font-weight: 500; }

/* Hero */
.page-explore {
  --explore-shell: calc(var(--max-width) - 28px);
  --explore-gutter: clamp(18px, 2.2vw, 28px);
}
.explore-hero { padding: 2.5vw var(--explore-gutter) 1.4vw; }
.explore-h1 {
  font-size: clamp(1.2rem, 2.8vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: #0a0a0a;
  max-width: 60vw;
  margin: 0 0 0.7vw;
}
.explore-sub {
  font-size: clamp(0.78rem, 0.95vw, 1rem);
  color: #6b6b6b;
  max-width: 50vw;
  margin: 0;
  line-height: 1.5;
}

/* Filter row */
.exp-filters {
  width: 100%;
  max-width: var(--explore-shell);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--explore-gutter);
  margin-bottom: 1vw;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(6px, 0.7vw, 12px);
  align-items: center;
}

/* Base pill */
.exp-pill-wrap { position: relative; }
.exp-pill {
  display: inline-flex;
  align-items: center;
  gap: clamp(4px, 0.5vw, 8px);
  padding: clamp(6px, 0.6vw, 10px) clamp(10px, 1.2vw, 18px);
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.1);
  background: #fff;
  color: #0a0a0a;
  font-size: clamp(0.7rem, 0.85vw, 0.95rem);
  font-weight: 400;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.14s, color 0.14s, box-shadow 0.14s;
}
.exp-pill:hover { background: rgba(0,0,0,0.025); }
.exp-pill.is-open,
.exp-pill.is-active {
  background: #0a0a0a;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  border-color: #0a0a0a;
}
.exp-caret {
  font-size: clamp(0.58rem, 0.7vw, 0.78rem);
  color: #8a8a8a;
  line-height: 1;
}
.exp-pill.is-open .exp-caret,
.exp-pill.is-active .exp-caret { color: rgba(255,255,255,0.6); }

/* Dropdown panel */
.exp-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: clamp(220px, 24vw, 320px);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: clamp(8px, 0.7vw, 12px);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.8), 0 12px 32px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06);
  padding: clamp(10px, 1vw, 16px);
  z-index: 200;
}

/* Zone A: tags */
.exp-drop-tags {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(4px, 0.4vw, 7px);
  margin-bottom: 8px;
}
.exp-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: clamp(3px, 0.35vw, 5px) clamp(4px, 0.4vw, 6px) clamp(3px, 0.35vw, 5px) clamp(6px, 0.7vw, 10px);
  background: #0a0a0a;
  color: #fff;
  border-radius: 999px;
  font-size: clamp(0.6rem, 0.7vw, 0.78rem);
  white-space: nowrap;
}
.exp-tag-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(13px, 0.85vw, 16px);
  height: clamp(13px, 0.85vw, 16px);
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #fff;
  flex-shrink: 0;
  line-height: 1;
}
.exp-tag-x:hover { background: rgba(255,255,255,0.3); }
.exp-tag-x-inner { font-size: 0.65rem; line-height: 1; }

/* Zone B: search */
input.exp-drop-search {
  width: 100%;
  box-sizing: border-box;
  min-height: auto;
  padding: clamp(5px, 0.55vw, 9px) clamp(8px, 0.9vw, 14px);
  background: rgba(250,250,250,0.92);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 999px;
  font-size: clamp(0.65rem, 0.75vw, 0.82rem);
  color: #0a0a0a;
  outline: none;
  margin-bottom: 6px;
}
input.exp-drop-search::placeholder { color: #8a8a8a; }
input.exp-drop-search:focus { border-color: rgba(0,0,0,0.15); box-shadow: none; }

/* Zone C: list */
.exp-drop-list {
  max-height: clamp(120px, 9vw, 160px);
  overflow-y: auto;
}
.exp-drop-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: clamp(5px, 0.55vw, 9px) clamp(4px, 0.5vw, 8px);
  font-size: clamp(0.65rem, 0.75vw, 0.82rem);
  color: #0a0a0a;
  border-radius: clamp(4px, 0.35vw, 6px);
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background 0.1s;
}
.exp-drop-item:hover { background: rgba(0,0,0,0.035); }
.exp-drop-item.is-sel { background: rgba(0,0,0,0.05); font-weight: 500; }
.exp-drop-meta {
  font-size: clamp(0.55rem, 0.62vw, 0.68rem);
  color: #8a8a8a;
  margin-left: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42%;
  text-align: right;
  flex-shrink: 0;
}
.exp-drop-empty {
  font-size: clamp(0.65rem, 0.75vw, 0.82rem);
  color: #8a8a8a;
  padding: clamp(5px, 0.55vw, 9px) clamp(4px, 0.5vw, 8px);
  text-align: center;
}

/* Price inline slider pill */
.exp-price-pill {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1vw, 16px);
  padding: clamp(6px, 0.6vw, 10px) clamp(12px, 1.4vw, 20px) clamp(6px, 0.6vw, 10px) clamp(10px, 1.2vw, 18px);
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.1);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  min-width: clamp(180px, 22vw, 300px);
}
.exp-price-label {
  font-size: clamp(0.65rem, 0.78vw, 0.85rem);
  color: #6b6b6b;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* Slider track */
.exp-slider-wrap {
  position: relative;
  flex: 1;
  height: clamp(18px, 1.4vw, 24px);
  display: flex;
  align-items: center;
  cursor: default;
  user-select: none;
}
.exp-slider-groove {
  position: absolute;
  left: 0; right: 0;
  height: clamp(2px, 0.28vw, 4px);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0,0,0,0.09) 0%, rgba(0,0,0,0.04) 100%);
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.08), inset 0 -1px 0 rgba(255,255,255,0.6);
}
.exp-slider-active {
  position: absolute;
  height: clamp(2px, 0.28vw, 4px);
  border-radius: 999px;
  background: linear-gradient(180deg, #1a1a1a 0%, #050505 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.12);
}
.exp-slider-handle {
  position: absolute;
  width: clamp(14px, 1.15vw, 18px);
  height: clamp(14px, 1.15vw, 18px);
  border-radius: 50%;
  transform: translateX(-50%);
  cursor: grab;
  background: radial-gradient(circle at 35% 30%, #4a4a4a 0%, #1a1a1a 50%, #000 100%);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.4),
    0 4px 8px rgba(0,0,0,0.28),
    0 1px 3px rgba(0,0,0,0.2),
    0 0 0 2px #fff;
  z-index: 2;
  touch-action: none;
}
.exp-slider-handle:active { cursor: grabbing; }
.exp-slider-handle:focus {
  outline: none;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.4),
    0 4px 8px rgba(0,0,0,0.28),
    0 1px 3px rgba(0,0,0,0.2),
    0 0 0 2px #fff,
    0 0 0 4px rgba(0,0,0,0.14);
}
.exp-price-range {
  font-size: clamp(0.62rem, 0.7vw, 0.78rem);
  color: #0a0a0a;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Filter summary */
.exp-summary {
  width: calc(100% - (var(--explore-gutter) * 2));
  max-width: calc(var(--explore-shell) - (var(--explore-gutter) * 2));
  margin: 0 auto 1.2vw;
  padding: clamp(8px, 0.9vw, 14px) clamp(12px, 1.5vw, 22px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(250,250,250,0.92);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: clamp(6px, 0.6vw, 10px);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.8), 0 1px 3px rgba(0,0,0,0.04);
  font-size: clamp(0.68rem, 0.8vw, 0.88rem);
  color: #6b6b6b;
  flex-wrap: wrap;
  gap: 8px;
}
.exp-summary-left strong { color: #0a0a0a; font-weight: 500; }
.exp-summary-right {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
  flex-wrap: wrap;
}
#exp-active-city,
#exp-active-price { color: #6b6b6b; }

/* Sort */
.exp-sort-wrap { position: relative; }
.exp-sort-btn {
  background: none;
  border: none;
  font-size: clamp(0.68rem, 0.8vw, 0.88rem);
  color: #0a0a0a;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
}
.exp-sort-btn:hover { color: #444; }
.exp-sort-drop {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: clamp(6px, 0.6vw, 10px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  padding: 4px 0;
  z-index: 200;
  min-width: clamp(140px, 12vw, 180px);
}
.exp-sort-opt {
  display: block;
  width: 100%;
  padding: clamp(5px, 0.55vw, 9px) clamp(10px, 1vw, 16px);
  background: none;
  border: none;
  font-size: clamp(0.65rem, 0.75vw, 0.82rem);
  color: #0a0a0a;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}
.exp-sort-opt:hover { background: rgba(0,0,0,0.035); }
.exp-sort-opt.is-active { font-weight: 600; }

/* Grid section */
.exp-grid-section {
  width: 100%;
  max-width: var(--explore-shell);
  margin: 0 auto;
  padding: 0 var(--explore-gutter) 2vw;
}

/* Override old grid/card styles scoped to explore page */
.page-explore .photographer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 14vw, 215px);
  grid-auto-flow: dense;
  gap: clamp(12px, 1.15vw, 20px);
  margin-bottom: clamp(12px, 1.6vw, 24px);
  transition: opacity 160ms ease;
  background: none;
}
.page-explore .photographer-card {
  position: relative;
  border-radius: clamp(6px, 0.6vw, 10px);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 14px rgba(0,0,0,0.07);
  display: block;
  width: 100%;
  min-height: 0;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #ececec;
  background-size: cover;
  background-position: center;
  transition: box-shadow 0.2s, transform 0.2s;
  /* reset card-image / card-body layout from old CSS */
  flex-direction: unset;
}
.page-explore .photographer-card.tile-feature { grid-column: span 2; grid-row: span 2; }
.page-explore .photographer-card.tile-tall    { grid-row: span 2; }
.page-explore .photographer-card.tile-wide    { grid-column: span 2; }
.page-explore .card-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-explore .card-photo-empty {
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.52) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(255,255,255,0.48) 0 1px, transparent 1px 100%),
    linear-gradient(135deg, #d9d9d9, #f5f5f5);
  background-size: 24px 24px, 24px 24px, auto;
}
.page-explore .card-photo-empty span {
  color: rgba(10,10,10,0.62);
  font-size: clamp(2rem, 3vw, 3.4rem);
  font-weight: 500;
}
.page-explore .photographer-card:hover {
  box-shadow: 0 2px 4px rgba(0,0,0,0.06), 0 14px 34px rgba(0,0,0,0.10);
  transform: translateY(-3px);
  text-decoration: none;
}
.page-explore .card-image { display: none; }
.page-explore .card-body  { display: none; }

.page-explore .card-badge {
  position: absolute;
  top: clamp(8px, 0.75vw, 12px);
  right: clamp(8px, 0.75vw, 12px);
  z-index: 1;
  padding: clamp(3px, 0.3vw, 5px) clamp(7px, 0.65vw, 10px);
  background: rgba(255,255,255,0.92);
  border-radius: 999px;
  font-size: clamp(0.5rem, 0.55vw, 0.62rem);
  font-weight: 500;
  letter-spacing: 0;
  color: #0a0a0a;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  white-space: nowrap;
}
.page-explore .card-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: clamp(58px, 5.5vw, 82px) clamp(13px, 1.1vw, 18px) clamp(13px, 1.1vw, 18px);
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.74));
  color: #fff;
}
.page-explore .card-bottom-top {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.5rem;
}
.page-explore .card-avatar {
  width: clamp(1.8rem, 2vw, 2.2rem);
  height: clamp(1.8rem, 2vw, 2.2rem);
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.22);
  color: #fff;
  font-size: clamp(0.68rem, 0.72vw, 0.78rem);
}
.page-explore .card-kicker {
  font-size: clamp(0.5rem, 0.56vw, 0.62rem);
  color: rgba(255,255,255,0.76);
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: clamp(2px, 0.2vw, 4px);
}
.page-explore .card-name {
  font-size: clamp(0.92rem, 0.95vw, 1.05rem);
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  margin: 0;
}
.page-explore .card-meta {
  margin-top: clamp(4px, 0.35vw, 6px);
  font-size: clamp(0.72rem, 0.75vw, 0.84rem);
  color: rgba(255,255,255,0.76);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Loading / empty states */
.exp-loading, .exp-empty {
  grid-column: 1 / -1;
  column-span: all;
  display: block;
  width: 100%;
  text-align: center;
  padding: clamp(24px, 3vw, 48px);
  color: #8a8a8a;
  font-size: clamp(0.78rem, 0.9vw, 1rem);
}

/* Pagination */
.exp-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: clamp(12px, 1.6vw, 24px);
  font-size: clamp(0.72rem, 0.85vw, 0.95rem);
  color: #6b6b6b;
  flex-wrap: wrap;
  gap: 10px;
}
.exp-pagination .exp-pag-left strong { color: #0a0a0a; font-weight: 500; }
.exp-pag-right {
  display: flex;
  align-items: center;
  gap: clamp(3px, 0.4vw, 6px);
}
.exp-pag-arrow {
  width: clamp(28px, 1.9vw, 34px);
  height: clamp(28px, 1.9vw, 34px);
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
  background: #fff;
  color: #0a0a0a;
  font-size: clamp(0.78rem, 0.9vw, 1rem);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: background 0.12s;
  line-height: 1;
}
.exp-pag-arrow:hover:not(:disabled) { background: rgba(0,0,0,0.04); }
.exp-pag-arrow:disabled { color: #b0b0b0; cursor: default; box-shadow: none; }
.exp-pag-num {
  min-width: clamp(28px, 1.9vw, 34px);
  height: clamp(28px, 1.9vw, 34px);
  padding: 0 clamp(4px, 0.6vw, 8px);
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #0a0a0a;
  font-size: clamp(0.7rem, 0.78vw, 0.86rem);
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s;
}
.exp-pag-num:hover { background: rgba(0,0,0,0.04); }
.exp-pag-num.is-active {
  background: #0a0a0a;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.exp-pag-ellipsis {
  font-size: clamp(0.7rem, 0.78vw, 0.86rem);
  color: #8a8a8a;
  padding: 0 2px;
  display: flex;
  align-items: center;
  height: clamp(28px, 1.9vw, 34px);
  cursor: default;
}

/* Responsive */
@media (max-width: 900px) {
  .explore-h1 { max-width: 90vw; font-size: clamp(1.2rem, 4vw, 1.8rem); }
  .explore-sub { max-width: 90vw; font-size: 0.85rem; }
  .page-explore .photographer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(160px, 28vw, 240px);
  }
  .exp-price-pill { min-width: 0; flex: 1; }
}
@media (max-width: 600px) {
  .explore-hero { padding: 5vw var(--explore-gutter) 3vw; }
  .explore-h1 { max-width: 100%; font-size: clamp(1.1rem, 5vw, 1.5rem); }
  .explore-sub { max-width: 100%; }
  .page-explore { width: 100%; max-width: 100%; overflow-x: hidden; }
  .explore-hero,
  .exp-filters,
  .exp-summary,
  .exp-grid-section {
    width: min(350px, calc(100vw - 40px));
    max-width: min(350px, calc(100vw - 40px));
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }
  .exp-filters { gap: 6px; align-items: stretch; }
  .exp-price-pill { width: 100%; min-width: 0; }
  .exp-summary {
    margin-bottom: 14px;
    padding: 10px 12px;
  }
  .exp-summary-right {
    width: 100%;
    justify-content: flex-start;
  }
  .page-explore .photographer-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: clamp(290px, 112vw, 430px);
  }
  .page-explore .photographer-card.tile-feature,
  .page-explore .photographer-card.tile-tall,
  .page-explore .photographer-card.tile-wide {
    grid-column: auto;
    grid-row: auto;
  }
  .exp-pagination { flex-direction: column; align-items: flex-start; }
  .exp-pag-left { text-align: left; }
}

/* ─── Language picker (photographer dashboard) ──────────────────────────────── */
.lang-field { display: flex; flex-direction: column; gap: 0.4rem; }
.lang-field-label { font-size: 0.875rem; font-weight: 500; color: var(--color-text); }
.lang-picker {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  padding: 0.5rem 0.6rem 0.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  min-height: 2.6rem;
  cursor: text;
}
.lang-picker:focus-within {
  border-color: rgba(0,0,0,0.3);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}
.lang-tags { display: contents; }
.lang-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.18rem 0.2rem 0.18rem 0.6rem;
  background: #0a0a0a;
  color: #fff;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 400;
  white-space: nowrap;
}
.lang-tag-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 0.75rem;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
}
.lang-tag-remove:hover { background: rgba(255,255,255,0.3); }
input.lang-input {
  flex: 1;
  min-width: 120px;
  min-height: auto;
  border: none;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  font-size: 0.875rem;
  color: var(--color-text);
  background: transparent;
  padding: 0.15rem 0;
  line-height: 1.4;
}
input.lang-input:focus { box-shadow: none; }
input.lang-input::placeholder { color: var(--color-muted); }
.lang-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06);
  max-height: 200px;
  overflow-y: auto;
  z-index: 100;
}
.lang-results-option {
  display: block;
  width: 100%;
  padding: 0.55rem 0.9rem;
  background: none;
  border: none;
  font-size: 0.875rem;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
}
.lang-results-option:hover { background: #f7f7f7; }
.lang-results-empty {
  padding: 0.6rem 0.9rem;
  font-size: 0.82rem;
  color: var(--color-muted);
}

/* ═══ Booking Page (book.php) ═══════════════════════════════════════════════ */

.page-book {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 4vw 4rem;
}

.book-back {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.book-back a {
  color: var(--color-text);
  text-decoration: none;
}

.book-back a:hover {
  opacity: 0.65;
}

.book-header {
  margin-bottom: 2rem;
}

.book-title-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.book-header h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.book-header-meta {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.book-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: start;
}

.book-col-calendar,
.book-col-form {
  display: flex;
  flex-direction: column;
}

.book-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.book-legend {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
}

.book-legend-busy::before,
.book-legend-selection::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 0.4rem;
  vertical-align: -1px;
}

.book-legend-busy::before {
  background: #9ca3af;
}

.book-legend-selection::before {
  background: #0a0a0a;
}

/* Calendar is shared from profile.php (.pf-calendar-grid) */

/* Form styling */
.book-request-instructions {
  margin: 0 0 1rem;
  color: #000;
  font-size: 1rem;
}

.page-book label {
  margin-bottom: 1rem;
}

.page-book label textarea {
  min-height: 7rem;
}

.page-book .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.25rem;
}

@media (max-width: 600px) {
  .page-book .form-row {
    grid-template-columns: 1fr;
  }
}

.page-book .form-message {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.page-book .form-message.success {
  background: #dcfce7;
  color: #15803d;
}

.page-book .form-message.error {
  background: #fee2e2;
  color: #b91c1c;
}

.page-book .pf-btn-primary {
  width: 100%;
  margin-top: 1rem;
}

/* Login prompt for unauthenticated users */
.page-book p {
  margin-bottom: 1.25rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Mobile stacked layout */
@media (max-width: 860px) {
  .book-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Click-interactive calendar dates */
.pf-cal-day.is-open:not(.is-past) {
  cursor: pointer;
  transition: background 150ms, color 150ms;
}

.pf-cal-day.is-open:not(.is-past):hover {
  background: var(--color-primary);
  color: white;
}

/* Star picker for reviews */
.star-picker {
  display: flex;
  gap: 0.6rem;
  font-size: 2.2rem;
  margin: 1rem 0 1.5rem;
  cursor: pointer;
  user-select: none;
}

.star-picker span {
  color: #ddd;
  transition: color 0.1s, transform 0.1s;
}

.star-picker span:hover,
.star-picker span.lit {
  color: #f0b429;
  transform: scale(1.1);
}

/* Review modal */
.modal-box {
  background: #fff;
  border-radius: 14px;
  padding: 2rem;
  max-width: 480px;
  width: 92vw;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.5;
  padding: 0.5rem;
  transition: opacity 0.2s;
}

.modal-close:hover {
  opacity: 1;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 1.5rem;
  color: var(--color-text);
}

#review-form label {
  margin-bottom: 1rem;
}

#review-form textarea {
  min-height: 6rem;
}

.btn-review {
  color: #a07000;
  border-color: #e8c547;
}

.btn-review:hover:not(:disabled) {
  background: #fffbef;
}

/* ─── FullCalendar Customization ─────────────────────────────────────────── */

.fotuna-calendar,
#booking-calendar,
#dash-calendar,
#client-calendar {
  font-family: inherit;
  font-size: 0.8rem;
}

.fc .fc-header-toolbar {
  gap: 0.75rem;
  align-items: center;
}

.fc .fc-toolbar-chunk {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.fc .fc-button-group {
  display: inline-flex;
  gap: 0.4rem;
}

.fc .fc-button-group > .fc-button {
  margin: 0 !important;
  border-radius: var(--radius-pill) !important;
}

/* Fix arrow icons with Unicode characters */
.fc-icon::before {
  font-family: var(--font) !important;
}

.fc-prev-button::before {
  content: "‹";
}

.fc-next-button::before {
  content: "›";
}

.fc-prev-button .fc-icon,
.fc-next-button .fc-icon {
  display: none;
}

.fc button {
  border-radius: var(--radius-pill) !important;
}

.fc-button-primary {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  font-size: 0.8rem;
}

.fc .fc-prev-button,
.fc .fc-next-button {
  width: 2.2rem;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #fff !important;
  border-color: var(--color-border-interactive) !important;
  color: var(--color-text) !important;
  box-shadow: none !important;
  font-size: 1.15rem !important;
  line-height: 1 !important;
}

.fc .fc-prev-button:hover,
.fc .fc-next-button:hover,
.fc .fc-prev-button:focus,
.fc .fc-next-button:focus {
  background: #f5f5f5 !important;
  border-color: rgba(0,0,0,0.18) !important;
  color: var(--color-text) !important;
}

.fc .fc-today-button {
  min-height: 2.2rem;
  padding: 0.35rem 0.85rem !important;
  border-radius: var(--radius-pill) !important;
  text-transform: capitalize !important;
}

.fotuna-calendar-view-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  min-width: 7.5rem;
}

.fotuna-calendar-view-select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.8rem;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  transform-origin: center;
  pointer-events: none;
  color: var(--color-text);
}

.fotuna-calendar-view-select.is-open::after {
  transform: translateY(-35%) rotate(225deg);
}

.fotuna-calendar-view-button,
.fotuna-calendar-view-select select {
  min-height: 2.2rem;
  width: 100%;
  min-width: 7.5rem;
  padding: 0.35rem 2rem 0.35rem 0.85rem;
  border: 1px solid var(--color-border-interactive);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--color-text);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  appearance: none;
  cursor: pointer;
  text-align: left;
}

.fotuna-calendar-view-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.fotuna-calendar-view-select select:focus {
  border-color: rgba(0,0,0,0.3);
  box-shadow: var(--form-control-focus-ring);
  outline: none;
}

.fotuna-calendar-view-button:focus {
  border-color: rgba(0,0,0,0.3);
  box-shadow: var(--form-control-focus-ring);
  outline: none;
}

.fotuna-calendar-view-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  left: 0;
  z-index: 30;
  display: grid;
  border: 1px solid var(--color-border-interactive);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-float);
  overflow: hidden;
}

.fotuna-calendar-view-menu[hidden] {
  display: none !important;
}

.fotuna-calendar-view-option {
  width: 100%;
  min-height: 2.2rem;
  padding: 0.45rem 0.85rem;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.fotuna-calendar-view-option:last-child {
  border-bottom: 0;
}

.fotuna-calendar-view-option:hover,
.fotuna-calendar-view-option:focus,
.fotuna-calendar-view-option[aria-selected="true"] {
  background: var(--color-primary);
  color: #fff;
  outline: none;
}

.fc-button-primary:not(:disabled):active,
.fc-button-primary:not(:disabled).fc-button-active {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

.fc-button-primary:disabled {
  opacity: 0.5;
}

@media (max-width: 700px) {
  .fc .fc-header-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .fc .fc-toolbar-chunk {
    justify-content: center;
    width: 100%;
  }
  .fc .fc-toolbar-title {
    text-align: center;
  }
  .fotuna-calendar-view-select,
  .fotuna-calendar-view-select select {
    width: 100%;
  }
}

/* Smaller headers */
.fc-col-header-cell {
  font-size: 0.75rem;
  padding: 4px 2px !important;
}

.fc-daygrid-day-number {
  font-size: 0.75rem;
  padding: 3px 2px !important;
}

.fc-daygrid-day-frame {
  min-height: 60px !important;
}

.fc .fc-daygrid-day.fc-day-other {
  opacity: 0.3 !important;
}

.fc-daygrid-day,
.fc-col-time-frame {
  border-color: var(--color-border) !important;
}

.fc-daygrid-day-frame {
  background: var(--color-bg) !important;
}

/* Make days selectable/clickable in month view */
.fc-daygrid-day {
  cursor: pointer;
}

/* SELECTION HIGHLIGHT - black background for selected days/times */
.fc .fc-highlight,
.fc-daygrid-day.fc-day-dragging .fc-daygrid-day-frame,
.fc-daygrid-day .fc-highlight {
  background-color: rgba(10, 10, 10, 0.85) !important;
  background: rgba(10, 10, 10, 0.85) !important;
}

/* Ensure dragging cells take full priority */
.fc-daygrid-day.fc-day-dragging {
  position: relative;
}

.fc-daygrid-day.fc-day-dragging .fc-daygrid-day-frame {
  background-color: #0a0a0a !important;
  background: #0a0a0a !important;
}

/* Make day numbers visible on dark selection (highlight or drag) */
.fc-daygrid-day.fc-day-dragging .fc-daygrid-day-number,
.fc-daygrid-day .fc-highlight ~ * .fc-daygrid-day-number,
.fc-day-today.fc-day-dragging .fc-daygrid-day-number {
  color: white !important;
  font-weight: 600;
}

/* When fc-highlight is inside a day cell, make the day number white */
.fc-daygrid-day:has(.fc-highlight) .fc-daygrid-day-number {
  color: white !important;
  font-weight: 600;
}

/* Mirror events (preview during drag in week/day view) */
.fc-event-mirror {
  background-color: #0a0a0a !important;
  border-color: #0a0a0a !important;
  opacity: 0.85 !important;
}

.fc-event {
  border: none !important;
}

.fc-event-title {
  color: white;
  font-weight: 500;
  font-size: 0.7rem;
}

.fc-daygrid-event {
  margin: 1px !important;
  padding: 1px 2px !important;
}

/* Booked event styling in month view (regular events, not background) */
.fc-event-booked {
  background-color: #9ca3af !important;
  border-color: #6b7280 !important;
  color: white !important;
}

.fc-event-booked .fc-event-title {
  color: white !important;
  font-weight: 500;
}

/* Show "Busy" event labels in ALL views */
.fc-event-booked {
  background-color: #9ca3af !important;
  border-color: #6b7280 !important;
  color: white !important;
  z-index: 1;
}

.fc-event-booked .fc-event-title,
.fc-event-booked .fc-event-time {
  color: white !important;
  font-weight: 500;
}

/* Hide background events in month view - regular events show there */
.fc-daygrid .fc-bg-event {
  display: none !important;
}

/* Background events styling for week/day view (gray time slots) */
.fc-timegrid .fc-bg-event {
  opacity: 0.6 !important;
  background-color: #d1d5db !important;
}

/* Reduce time grid slot height */
.fc-timegrid-slot {
  height: 1.5em !important;
}

.fc-col-time {
  width: 50px !important;
}

.fc-timegrid-slot-label {
  font-size: 0.7rem;
}

.fc-daygrid-block-event {
  font-size: 0.7rem;
}

/* All-day area */
.fc-daygrid-day-allday-section {
  display: none;
}

/* Show non-current dates in grey (don't hide) */
.fc .fc-daygrid-day.fc-day-other {
  background-color: rgba(240, 240, 240, 0.5) !important;
  opacity: 0.6 !important;
}

/* Disable selection of other month days and disabled days */
.fc .fc-daygrid-day.fc-day-other {
  pointer-events: none;
}

.fc .fc-daygrid-day.fc-day-disabled {
  opacity: 0.35 !important;
  background-color: rgba(0, 0, 0, 0.02) !important;
  pointer-events: none;
}

.fc .fc-daygrid-day.fc-day-disabled .fc-daygrid-day-number {
  opacity: 0.5;
}

.event-pending {
  border-left: 3px solid var(--color-warning) !important;
}

.event-blackout {
  background-color: #5f6f68 !important;
  border-color: #4d5c56 !important;
  color: #fff !important;
}

.event-blackout .fc-event-title,
.event-blackout .fc-event-time {
  color: #fff !important;
}

.dash-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.page-calendar {
  padding-top: 2rem;
}

.calendar-page-panel h1 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0 0 1rem;
}

.dash-calendar-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.dash-calendar-view-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: #fff;
}

.dash-calendar-view-btn {
  min-width: 5rem;
  min-height: 2rem;
  padding: 0 0.75rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.dash-calendar-view-btn.is-active {
  background: var(--color-primary);
  color: #fff;
}

.dash-calendar-view-panel {
  margin-top: 1rem;
}

.dash-calendar-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.dash-calendar-list-month h3 {
  margin: 0 0 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-muted);
}

.dash-calendar-list-items {
  display: grid;
  gap: 0.45rem;
}

.dash-calendar-list-item {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(4.25rem, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--color-border);
  border-left-width: 4px;
  border-radius: 8px;
  background: #fff;
  color: var(--color-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.dash-calendar-list-item:hover {
  background: #fafafa;
  border-color: rgba(0,0,0,0.14);
}

.dash-calendar-list-item.is-accepted { border-left-color: var(--color-primary); }
.dash-calendar-list-item.is-pending { border-left-color: var(--color-warning); }
.dash-calendar-list-item.is-blackout { border-left-color: #5f6f68; }

.dash-calendar-list-date {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.dash-calendar-list-main {
  display: grid;
  min-width: 0;
  gap: 0.12rem;
}

.dash-calendar-list-title {
  font-size: 0.93rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-calendar-list-meta {
  color: var(--color-muted);
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-calendar-list-status {
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-pill);
  background: #f4f4f4;
  color: var(--color-text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.dash-calendar-list-item.is-accepted .dash-calendar-list-status {
  background: var(--status-accepted-bg);
  color: var(--status-accepted-fg);
}

.dash-calendar-list-item.is-pending .dash-calendar-list-status {
  background: var(--status-pending-bg);
  color: var(--status-pending-fg);
}

.dash-calendar-list-item.is-blackout .dash-calendar-list-status {
  background: #eef3f0;
  color: #4d5c56;
}

.dash-calendar-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  color: var(--color-muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.dash-calendar-legend-item::before {
  content: '';
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 2px;
  margin-right: 0.38rem;
  vertical-align: -1px;
}

.dash-calendar-legend-accepted::before {
  background: var(--color-primary);
}

.dash-calendar-legend-pending::before {
  background: var(--color-warning);
}

.dash-calendar-legend-blackout::before {
  background: #5f6f68;
}

.calendar-blackout-card {
  margin-top: 1.5rem;
  padding: 1.15rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
}

.calendar-blackout-card-head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.calendar-blackout-card h2 {
  margin: 0;
  font-size: 1.08rem;
}

.calendar-blackout-card p {
  max-width: 44rem;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.blackout-card-form {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg-secondary);
}

.blackout-card-fields {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.blackout-card-fields label:last-child {
  min-width: 0;
}
.blackout-card-fields label { margin-bottom: 0; }

.blackout-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.blackout-card-actions .form-message {
  flex: 1 1 auto;
  margin: 0;
}

.blackout-card-list-wrap {
  margin-top: 1rem;
}

.blackout-card-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
  font-size: 0.82rem;
}

.blackout-card-list-head strong {
  color: var(--color-text);
}

.blackout-card-list-head span {
  color: var(--color-muted);
}

.blackout-card-list {
  display: grid;
  gap: 0.5rem;
}

.blackout-card-empty {
  margin: 0;
}

.blackout-card-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
}

.blackout-card-item-mark {
  width: 0.6rem;
  height: 2.1rem;
  border-radius: var(--radius-pill);
  background: #5f6f68;
}

.blackout-card-item-main {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
}

.blackout-card-item-main strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
}

.blackout-card-item-main small {
  color: var(--color-muted);
  font-size: 0.78rem;
}

.blackout-card-item .btn-sm {
  justify-content: center;
  white-space: nowrap;
}

@media (min-width: 860px) {
  .blackout-card-actions {
  justify-content: flex-end;
  }
}

@media (max-width: 700px) {
  .dash-calendar-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .dash-calendar-head-actions {
    width: 100%;
    justify-content: space-between;
  }

  .dash-calendar-view-toggle {
    width: 100%;
  }

  .dash-calendar-view-btn {
    flex: 1 1 0;
  }

  .dash-calendar-legend {
    white-space: normal;
  }

  .dash-calendar-list-item {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0.35rem;
  }

  .dash-calendar-list-date,
  .dash-calendar-list-status {
    justify-self: start;
  }

  .blackout-card-form,
  .blackout-card-fields,
  .blackout-card-actions {
    grid-template-columns: 1fr;
  }

  .blackout-card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .blackout-card-actions .pf-btn-primary,
  .blackout-card-item .btn-sm {
    width: 100%;
  }

  .blackout-card-list-head,
  .blackout-card-item {
    align-items: start;
  }

  .blackout-card-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .blackout-card-item .btn-sm {
    grid-column: 1 / -1;
  }
}

/* ── Request detail page ────────────────────────────────────────────────────── */
.request-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.request-detail-main { min-width: 0; }
.lead-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.lead-history {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}
.lead-history li {
  padding: 0.6rem 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.lead-history li + li { border-top: 1px solid var(--color-border); }

.request-detail-chat {
  position: sticky;
  top: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  height: min(580px, calc(100vh - 6rem));
  height: min(580px, calc(100dvh - 6rem));
  min-height: 360px;
}

@media (max-width: 900px) {
  .request-detail-layout { grid-template-columns: 1fr; }
  .request-detail-chat {
    position: static;
    height: min(560px, 70vh);
    height: min(560px, 70dvh);
    min-height: 360px;
  }
}

/* ── Shared overlay controls ───────────────────────────────────────────────── */
.pf-modal-close,
.modal-close,
.pf-lightbox-close,
.pf-lightbox-arrow,
.pm-close,
.pm-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #0a0a0a;
  color: #fff;
  opacity: 1;
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  cursor: pointer;
  box-sizing: border-box;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.pf-modal-close:hover,
.modal-close:hover,
.pf-lightbox-close:hover,
.pf-lightbox-arrow:hover,
.pm-close:hover,
.pm-arrow:hover {
  background: #1a1a1a;
  opacity: 1;
  box-shadow: 0 10px 28px rgba(0,0,0,0.32);
}

.pf-modal-close:hover,
.modal-close:hover,
.pf-lightbox-close:hover,
.pf-lightbox-arrow:hover,
.pm-close:hover {
  transform: none;
}

.pm-arrow:hover {
  transform: translateY(-50%);
}

/* Editorial restyle, June 2026. Visual layer only: existing IDs and hooks stay intact. */
:root {
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: var(--font-sans);
  --editorial-ink: #0a0a0a;
  --editorial-charcoal: #141414;
  --editorial-paper: #f7f4ee;
  --editorial-panel: #fffdf8;
  --editorial-rule: rgba(10, 10, 10, 0.14);
  --editorial-muted: #6f6a62;
  --editorial-red: #9f3328;
  --color-bg: var(--editorial-paper);
  --color-bg-secondary: rgba(255, 253, 248, 0.82);
  --color-surface: var(--editorial-panel);
  --color-border: rgba(10, 10, 10, 0.12);
  --color-border-subtle: rgba(10, 10, 10, 0.10);
  --color-border-interactive: rgba(10, 10, 10, 0.22);
  --color-text: var(--editorial-ink);
  --color-text-secondary: #302d29;
  --color-text-tertiary: var(--editorial-muted);
  --color-text-quaternary: #948d82;
  --color-muted: var(--editorial-muted);
  --color-primary: var(--editorial-ink);
  --radius: 6px;
  --radius-sm: 3px;
  --radius-photo: 0;
  --radius-pill: 2px;
  --form-control-radius: 0;
  --form-control-bg: transparent;
  --shadow: none;
  --shadow-float: none;
  --shadow-btn: none;
  --shadow-btn-sm: none;
  --shadow-md: none;
  --shadow-hover: none;
  --font: var(--font-sans);
}

body {
  background: var(--editorial-paper);
  color: var(--editorial-ink);
}

*,
*::before,
*::after {
  letter-spacing: 0 !important;
}

h1,
h2,
.logo,
.hp-h1,
.hp-s-h2,
.hp-featured-title,
.hp-cta-title,
.explore-h1,
.auth-heading h1,
.auth-editorial h2,
.site-footer-brand-logo,
.card-name,
.hp-card-label-name {
  letter-spacing: 0;
}

h1,
h2,
.hp-h1,
.hp-s-h2,
.hp-featured-title,
.hp-cta-title,
.explore-h1,
.auth-heading h1,
.auth-editorial h2,
.site-footer-brand-logo,
.hp-card-label-name,
.page-explore .card-name,
.card-name {
  font-family: var(--font-display);
  font-weight: 400;
}

em {
  font-family: inherit;
  font-style: italic;
}

button,
.btn-primary,
.btn-secondary,
.btn-success,
.btn-warning,
.btn-danger,
.btn-primary-sm,
.btn-sm,
.btn-danger-sm {
  border-radius: 2px;
  box-shadow: none;
}

.site-header {
  top: 0;
  width: 100%;
  max-width: none;
  transform: translateX(-50%);
  background: rgba(247, 244, 238, 0.94);
  border: none;
  border-bottom: 1px solid var(--editorial-rule);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.nav-inner {
  max-width: var(--max-width);
  height: 68px;
  padding: 0 4vw;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
}

.logo::first-letter,
.site-footer-brand-logo::first-letter {
  color: inherit;
}

.nav-always,
.nav-links {
  color: var(--editorial-muted);
}

.nav-always.is-active,
.nav-always:hover,
.nav-links a:hover,
.nav-links .btn-link:hover {
  color: var(--editorial-ink);
}

.nav-login-pill,
.nav-logout-button {
  border-radius: 0;
  min-height: 2.35rem;
}

.nav-login-pill {
  background: var(--editorial-ink);
  border-color: var(--editorial-ink);
}

.nav-mobile-menu {
  border-radius: 0;
  box-shadow: none;
}

body:has(.hp-root) {
  padding-top: 0;
  background: var(--editorial-paper);
}

body:has(.hp-root) .site-header {
  background: rgba(10, 10, 10, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

body:has(.hp-root) .logo,
body:has(.hp-root) .nav-always,
body:has(.hp-root) .nav-links,
body:has(.hp-root) .nav-links a,
body:has(.hp-root) .nav-links .btn-link {
  color: rgba(255, 255, 255, 0.74);
}

body:has(.hp-root) .logo,
body:has(.hp-root) .nav-always:hover,
body:has(.hp-root) .nav-always.is-active,
body:has(.hp-root) .nav-links a:hover,
body:has(.hp-root) .nav-links .btn-link:hover {
  color: #fff;
}

body:has(.hp-root) .nav-links .nav-login-pill,
body:has(.hp-root) .nav-login-pill {
  background: #fff;
  border-color: #fff;
  color: var(--editorial-ink);
}

body:has(.hp-root) .nav-hamburger span {
  background: #fff;
}

.hp-root {
  max-width: none;
  background: var(--editorial-paper);
}

.hp-s1 {
  min-height: 100vh;
  background: var(--editorial-paper);
  color: var(--editorial-ink);
  padding-top: 0;
}

.hp-hero {
  min-height: calc(100vh - 5rem);
  padding: calc(68px + clamp(4rem, 7vw, 7rem)) 4vw clamp(3rem, 5vw, 5rem);
  gap: clamp(1rem, 1.7vw, 1.8rem);
  background: var(--editorial-ink);
  color: #fff;
}

.hp-hero-eyebrow,
.hp-eyebrow,
.auth-eyebrow,
.auth-editorial-eyebrow,
.site-footer-col-header,
.page-explore .card-meta,
.hp-card-label-meta {
  color: var(--editorial-red);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hp-hero-eyebrow {
  color: #d7b7af;
}

.hp-h1 {
  max-width: min(980px, 88vw);
  color: #fff;
  font-size: clamp(3.3rem, 8.2vw, 8.6rem);
  line-height: 0.94;
}

.hp-desc {
  max-width: min(640px, 80vw);
  color: rgba(255, 255, 255, 0.70);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  font-style: italic;
  line-height: 1.45;
}

.hp-search {
  width: min(720px, 84vw);
  padding: 0 0 0.45rem;
  gap: 1rem;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hp-search-geo-wrap input,
input.hp-search-input {
  color: #fff;
  padding-left: 0;
  font-size: 1rem;
}

.hp-search-geo-wrap input::placeholder,
input.hp-search-input::placeholder {
  color: rgba(255, 255, 255, 0.54);
}

.hp-search-btn {
  border-radius: 0;
  background: #fff;
  color: var(--editorial-ink);
  padding: 0.7rem 1.25rem;
}

.hp-search-btn:hover {
  background: #ece7de;
}

.hp-search-geo-clear {
  color: rgba(255, 255, 255, 0.58);
}

.hp-search-geo-results {
  left: 0;
  right: 0;
  top: calc(100% + 0.75rem);
  border-radius: 0;
  border-color: var(--editorial-rule);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.hp-featured-hd,
.hp-s2,
.hp-s4 {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.hp-featured-hd {
  align-items: flex-end;
  padding-top: clamp(4rem, 7vw, 7rem);
  padding-bottom: clamp(1.4rem, 2.4vw, 2.6rem);
}

.hp-featured-title {
  margin: 0.35rem 0 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
}

.hp-section-link {
  border-bottom: 1px solid currentColor;
  color: var(--editorial-ink);
}

.hp-photogs-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: none;
  grid-auto-rows: auto;
  gap: clamp(1.3rem, 2.2vw, 2.5rem);
  padding-bottom: clamp(4rem, 6vw, 6rem);
}

.hp-card,
.hp-card:hover {
  height: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.hp-card:nth-child(n) {
  grid-column: auto;
  grid-row: auto;
}

.hp-card::after {
  display: none;
}

.hp-card-bg {
  position: relative;
  inset: auto;
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: #e8e2d8;
}

.hp-card-bg-empty {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(10, 10, 10, 0.07) 0 1px, transparent 1px 100%),
    #e8e2d8;
}

.hp-card-label {
  position: static;
  z-index: auto;
  padding: 0.9rem 0 0;
  color: var(--editorial-ink);
}

.hp-card-label-kicker {
  color: var(--editorial-muted);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-style: italic;
  text-transform: none;
  margin-bottom: 0.2rem;
}

.hp-card-label-name {
  color: var(--editorial-ink);
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.hp-card-label-name-row,
.page-explore .card-name-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.85rem;
  min-width: 0;
}

.hp-card-label-name,
.page-explore .card-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-card-label-price,
.page-explore .card-price {
  flex: 0 0 auto;
  color: var(--editorial-ink);
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 0.85vw, 0.92rem);
  font-weight: 600;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}

.hp-card:nth-child(1) .hp-card-label-name {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.hp-card-label-meta {
  color: var(--editorial-red);
  margin-top: 0.25rem;
}

.hp-card .rating-chip--dark,
.page-explore .rating-chip--dark {
  background: transparent;
  border-color: var(--editorial-rule);
  color: var(--editorial-muted);
}

.hp-metrics {
  border: solid var(--editorial-rule);
  border-width: 1px 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  margin-bottom: clamp(4rem, 6vw, 6rem);
}

.hp-metric-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 4.8rem);
  font-weight: 400;
  letter-spacing: 0;
}

.hp-metric-label {
  color: var(--editorial-muted);
  letter-spacing: 0;
}

.hp-voices-hd {
  align-items: center;
  text-align: center;
}

.hp-s-h2 {
  font-size: clamp(2rem, 4vw, 4.8rem);
}

.hp-voices-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--editorial-rule);
  border-left: 1px solid var(--editorial-rule);
}

.hp-voice-card {
  border: solid var(--editorial-rule);
  border-width: 0 1px 1px 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  min-height: 16rem;
}

.hp-voice-quote {
  color: #302d29;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  font-style: italic;
}

.hp-voice-avatar {
  border-radius: 50%;
  background: var(--editorial-red);
}

.hp-s4 {
  padding-top: clamp(4rem, 6vw, 7rem);
}

.hp-cta-box {
  justify-content: center;
  text-align: center;
  flex-direction: column;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hp-cta-title {
  font-size: clamp(2.2rem, 5vw, 5.8rem);
}

.hp-cta-btn-pri,
.hp-cta-btn-sec {
  border-radius: 0;
  box-shadow: none;
}

.site-footer {
  background: var(--editorial-charcoal);
  color: rgba(255, 255, 255, 0.76);
}

.site-footer-inner {
  border-top: none;
}

.site-footer-brand-logo {
  color: #fff;
}

.site-footer-brand-desc,
.site-footer-links a,
.site-footer-bottom {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer-col-header {
  color: #d7b7af;
}

.site-footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.page-auth {
  background: var(--editorial-panel);
}

.auth-shell {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
}

.auth-editorial {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 68px);
  padding: clamp(3rem, 5vw, 6rem);
  background: var(--editorial-ink);
  color: #fff;
}

.auth-shell[data-auth-panel="signup-photographer"] .auth-editorial {
  background: var(--editorial-red);
}

.auth-editorial-inner {
  max-width: 620px;
}

.auth-editorial-copy {
  display: none;
}

.auth-shell[data-auth-panel="login"] [data-auth-copy="login"],
.auth-shell[data-auth-panel="signup-step1"] [data-auth-copy="signup-step1"],
.auth-shell[data-auth-panel="signup-client"] [data-auth-copy="signup-client"],
.auth-shell[data-auth-panel="signup-photographer"] [data-auth-copy="signup-photographer"],
.auth-shell[data-auth-panel="verify"] [data-auth-copy="signup-step1"] {
  display: block;
}

.auth-editorial-eyebrow {
  color: #d7b7af;
  margin-bottom: 1.2rem;
}

.auth-editorial h2 {
  color: #fff;
  font-size: clamp(3rem, 5.8vw, 7rem);
  line-height: 0.94;
  margin: 0 0 1.4rem;
}

.auth-editorial p {
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  font-style: italic;
}

.auth-editorial-list {
  display: grid;
  gap: 0.85rem;
  margin-top: clamp(2.4rem, 4vw, 4.5rem);
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.84rem;
}

.auth-card {
  max-width: 560px;
  align-self: center;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: clamp(2rem, 4vw, 4.5rem);
}

.auth-tab-wrap {
  border-radius: 0;
  border-color: var(--editorial-rule);
  background: transparent;
  box-shadow: none;
}

.auth-tab {
  border-radius: 0;
}

.auth-tab.is-active,
.auth-type-card.is-active {
  background: var(--editorial-ink);
  border-color: var(--editorial-ink);
  color: #fff;
  box-shadow: none;
}

.auth-heading h1 {
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 0.98;
}

.auth-heading p {
  color: var(--editorial-muted);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
}

.auth-field > span,
.auth-field-head {
  color: var(--editorial-red);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.auth-field input {
  border: none;
  border-bottom: 1px solid var(--editorial-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0.78rem 0;
}

.auth-field input:focus {
  border-bottom-color: var(--editorial-ink);
  box-shadow: none;
}

.auth-inline-link {
  color: var(--editorial-red);
  border-bottom: 1px solid currentColor;
}

.auth-primary-btn,
.auth-secondary-btn {
  border-radius: 0;
  min-height: 3rem;
  box-shadow: none;
}

.auth-type-card {
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 152px;
  border-radius: 0;
  text-align: left;
  box-shadow: none;
}

.auth-type-card.is-active span {
  color: rgba(255, 255, 255, 0.72);
}

.auth-secondary-block,
.auth-form-error,
.auth-form-message,
.auth-verify-note {
  border-radius: 0;
  box-shadow: none;
}

.page-explore {
  background: var(--editorial-paper);
}

.explore-hero {
  max-width: var(--explore-shell);
  margin: 0 auto;
  padding-top: clamp(3rem, 5vw, 5.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 3.5rem);
}

.explore-h1 {
  max-width: 780px;
  font-size: clamp(2.4rem, 5.4vw, 6rem);
  line-height: 0.98;
}

.explore-sub {
  max-width: 560px;
  color: var(--editorial-muted);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 1.35vw, 1.3rem);
}

.exp-pill,
.exp-price-pill,
.exp-summary,
.exp-sort-drop,
.exp-dropdown,
.exp-pagination .exp-pag-arrow,
.exp-pag-num,
input.exp-drop-search {
  border-radius: 0;
  box-shadow: none;
}

.exp-pill,
.exp-price-pill,
.exp-summary {
  background: transparent;
  border-color: var(--editorial-rule);
}

.exp-pill.is-open,
.exp-pill.is-active,
.exp-pag-num.is-active {
  background: var(--editorial-ink);
  border-color: var(--editorial-ink);
}

.exp-dropdown,
.exp-sort-drop {
  border-color: var(--editorial-rule);
}

.exp-tag {
  border-radius: 0;
  background: var(--editorial-ink);
}

.page-explore .photographer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: clamp(1.4rem, 2.1vw, 2.5rem);
}

.page-explore .photographer-card,
.page-explore .photographer-card:hover {
  display: flex;
  flex-direction: column;
  height: auto;
  overflow: visible;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.page-explore .photographer-card.tile-feature,
.page-explore .photographer-card.tile-tall,
.page-explore .photographer-card.tile-wide {
  grid-column: auto;
  grid-row: auto;
}

.page-explore .card-photo {
  position: relative;
  inset: auto;
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: #e8e2d8;
  background-size: cover;
  background-position: center;
}

.page-explore .card-photo-empty {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(10, 10, 10, 0.07) 0 1px, transparent 1px 100%),
    #e8e2d8;
}

.page-explore .card-bottom {
  position: static;
  padding: 0.9rem 0 0;
  background: transparent;
  color: var(--editorial-ink);
}

.page-explore .card-bottom-top {
  gap: 0;
}

.page-explore .card-avatar {
  display: none;
}

.page-explore .card-kicker {
  color: var(--editorial-muted);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-style: italic;
  text-transform: none;
  margin-bottom: 0.2rem;
}

.page-explore .card-name {
  color: var(--editorial-ink);
  font-size: clamp(1.25rem, 1.7vw, 1.75rem);
}

.page-explore .card-name-row {
  width: 100%;
}

.page-explore .card-meta {
  color: var(--editorial-red);
  margin-top: 0.25rem;
}

.page-explore .card-badge {
  border-radius: 0;
  background: var(--editorial-panel);
  box-shadow: none;
}

.fc .fc-header-toolbar,
.fc .fc-toolbar-chunk,
.fc .fc-button-group {
  gap: 0.7rem;
}

.fc button,
.fc .fc-button-group > .fc-button,
.fc .fc-today-button,
.fotuna-calendar-view-button,
.fotuna-calendar-view-select select {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.fc .fc-prev-button,
.fc .fc-next-button {
  width: 2.45rem;
  min-width: 2.45rem;
  height: 2.45rem;
  border-color: var(--editorial-rule) !important;
}

.fotuna-calendar-view-button,
.fotuna-calendar-view-select select,
.fotuna-calendar-view-menu {
  border-color: var(--editorial-rule);
  background: var(--editorial-panel);
}

.photographer-card {
  border-radius: 0;
  box-shadow: none;
}

.card-image,
.portfolio-item,
.lead-form-section,
.profile-photo-field,
fieldset {
  border-radius: 0;
}

@media (max-width: 1020px) {
  .hp-photogs-grid,
  .hp-voices-grid,
  .page-explore .photographer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-editorial {
    min-height: auto;
    padding: 3rem 1.5rem;
  }

  .auth-editorial h2 {
    font-size: clamp(2.6rem, 9vw, 5rem);
  }

  .auth-card {
    max-width: 680px;
    width: 100%;
    justify-self: center;
  }
}

@media (max-width: 700px) {
  body {
    padding-top: 68px;
  }

  body:has(.hp-root) {
    padding-top: 0;
  }

  .nav-inner {
    position: relative;
    justify-content: flex-start;
    padding: 0 1rem;
    width: 100%;
    max-width: 100vw;
    min-width: 0;
  }

  .site-header {
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-width: 100vw;
  }

  .logo,
  .nav-right {
    flex-shrink: 0;
  }

  .nav-right {
    position: fixed !important;
    top: 0;
    right: 1rem;
    height: 68px;
    transform: none;
    display: flex !important;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    z-index: 150;
  }

  .nav-hamburger {
    display: flex !important;
    position: fixed !important;
    top: 16px;
    right: 16px;
    z-index: 300;
  }

  .site-header .nav-always,
  .site-header .nav-hamburger {
    opacity: 1;
    visibility: visible;
  }

  body:has(.hp-root) .site-header .nav-always {
    color: #fff !important;
  }

  body:has(.hp-root) .nav-always svg,
  body:has(.hp-root) .nav-icon-link svg {
    color: #fff;
  }

  body:has(.hp-root) .site-header .nav-hamburger span {
    background: #fff !important;
  }

  body:has(.hp-root) .site-header .nav-always {
    position: fixed;
    top: 20px;
    right: 64px;
    z-index: 300;
  }

  .hp-h1 {
    max-width: min(22rem, calc(100vw - 2rem));
    font-size: clamp(2.75rem, 12vw, 3.5rem);
    line-height: 0.98;
    overflow-wrap: normal;
  }

  .hp-h1 em {
    display: block;
  }

  .hp-hero {
    min-height: calc(100vh - 2rem);
    padding: calc(68px + 3rem) 1rem 3rem;
    overflow: hidden;
  }

  .hp-hero-eyebrow {
    max-width: min(18rem, calc(100vw - 2rem));
    font-size: 0.68rem;
    line-height: 1.25;
    text-align: center;
  }

  .hp-desc {
    max-width: min(18rem, calc(100vw - 2rem));
    font-size: 1rem;
  }

  .hp-search {
    width: min(20rem, calc(100vw - 2rem));
    flex-direction: column;
    align-items: stretch;
    border-bottom: none;
    gap: 0.8rem;
  }

  .hp-search-geo-wrap {
    border-bottom: 1px solid rgba(255, 255, 255, 0.62);
  }

  .hp-search-btn {
    justify-content: center;
  }

  .hp-photogs-grid,
  .hp-voices-grid,
  .page-explore .photographer-grid {
    grid-template-columns: 1fr;
  }

  .hp-voices-grid {
    border-left: none;
  }

  .hp-voice-card {
    border-left: 0;
    border-right: 0;
  }

  .auth-editorial {
    display: none;
  }

  .auth-shell {
    display: block;
    min-height: auto;
  }

  .auth-card {
    padding: 2rem 1rem;
  }

  .auth-heading h1,
  .explore-h1 {
    font-size: clamp(2.4rem, 11vw, 4rem);
  }
}

/* Keep the homepage black navigation treatment consistent on every page. */
.site-header {
  top: 0 !important;
  left: 50% !important;
  right: auto !important;
  width: 100% !important;
  max-width: none !important;
  transform: translateX(-50%) !important;
  background: rgba(10, 10, 10, 0.92) !important;
  border-bottom-color: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
}

.site-header .logo,
.site-header .nav-always,
.site-header .nav-links,
.site-header .nav-links a,
.site-header .nav-links .btn-link {
  color: rgba(255, 255, 255, 0.74) !important;
}

.site-header .logo,
.site-header .nav-always:hover,
.site-header .nav-always.is-active,
.site-header .nav-links a:hover,
.site-header .nav-links .btn-link:hover {
  color: #fff !important;
}

.site-header .nav-login-pill,
.site-header .nav-links .nav-login-pill {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--editorial-ink) !important;
}

.site-header .nav-logout-button {
  border-color: rgba(255, 255, 255, 0.72) !important;
  color: #fff !important;
}

.site-header .nav-logout-button:hover {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--editorial-ink) !important;
}

.site-header .nav-hamburger span {
  background: #fff !important;
}

.site-header .nav-count-badge {
  box-shadow: 0 0 0 2px var(--editorial-ink);
}

@media (max-width: 700px) {
  .site-header {
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
}

/* Swiss mockup restyle, June 2026. CSS-first visual layer; existing hooks stay intact. */
:root {
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: var(--font-sans);
  --swiss-black: #000;
  --swiss-white: #fff;
  --swiss-red: #d62828;
  --swiss-soft: #fafafa;
  --swiss-mid: #b8b8b8;
  --swiss-rule: #000;
  --status-accepted-bg: #0f8f3a;
  --status-accepted-fg: var(--swiss-white);
  --status-accepted-line: #0f8f3a;
  --status-pending-bg: #f2c400;
  --status-pending-fg: var(--swiss-black);
  --status-pending-line: #f2c400;
  --status-rejected-bg: var(--swiss-red);
  --status-rejected-fg: var(--swiss-white);
  --status-rejected-line: var(--swiss-red);
  --status-busy-bg: #e5e5e5;
  --status-busy-bg-alt: #d2d2d2;
  --status-busy-fg: #3f3f46;
  --status-busy-line: #8f8f8f;
  --status-past-bg: #f6f6f6;
  --status-past-bg-alt: #eeeeee;
  --status-past-fg: #8b8b8b;
  --status-past-line: #cfcfcf;
  --editorial-ink: var(--swiss-black);
  --editorial-charcoal: var(--swiss-black);
  --editorial-paper: var(--swiss-white);
  --editorial-panel: var(--swiss-white);
  --editorial-rule: var(--swiss-black);
  --editorial-muted: #000;
  --editorial-red: var(--swiss-red);
  --color-bg: var(--swiss-white);
  --color-bg-secondary: var(--swiss-soft);
  --color-surface: var(--swiss-white);
  --color-border: var(--swiss-black);
  --color-border-subtle: var(--swiss-black);
  --color-border-interactive: var(--swiss-black);
  --color-text: var(--swiss-black);
  --color-text-secondary: var(--swiss-black);
  --color-text-tertiary: var(--swiss-red);
  --color-text-quaternary: var(--swiss-mid);
  --color-muted: var(--swiss-black);
  --color-primary: var(--swiss-black);
  --radius: 0;
  --radius-sm: 0;
  --radius-photo: 0;
  --radius-pill: 0;
  --form-control-radius: 0;
  --form-control-bg: var(--swiss-white);
  --form-control-border: var(--swiss-black);
  --form-control-focus-border: var(--swiss-black);
  --form-control-focus-ring: none;
  --shadow: none;
  --shadow-float: none;
  --shadow-btn: none;
  --shadow-btn-sm: none;
  --shadow-md: none;
  --shadow-hover: none;
  --font: var(--font-sans);
  --max-width: 1440px;
}

html,
body {
  background: var(--swiss-white);
  color: var(--swiss-black);
  font-family: var(--font-sans);
}

body {
  padding-top: 68px;
  font-size: 14px;
  line-height: 1.45;
}

h1,
h2,
h3,
.logo,
.hp-h1,
.hp-s-h2,
.hp-featured-title,
.hp-cta-title,
.explore-h1,
.auth-heading h1,
.auth-editorial h2,
.site-footer-brand-logo,
.hp-card-label-name,
.page-explore .card-name,
.card-name,
.pf-name,
.pf-section-title,
.main-title,
.client-requests-head h1,
.client-profile-head h1 {
  font-family: var(--font-sans) !important;
  font-weight: 700;
  letter-spacing: 0 !important;
}

p,
.text-muted {
  color: var(--swiss-black);
}

button,
.btn-primary,
.btn-secondary,
.btn-success,
.btn-warning,
.btn-danger,
.btn-primary-sm,
.btn-sm,
.btn-danger-sm,
.pf-btn-primary,
.pf-btn-secondary,
.pf-tertiary-pill,
.auth-primary-btn,
.auth-secondary-btn {
  border-radius: 0 !important;
  box-shadow: none !important;
  text-transform: none;
}

.btn-primary,
.btn-primary-sm,
.pf-btn-primary,
.auth-primary-btn,
.page-book .pf-btn-primary,
.main-action,
.send-btn {
  background: var(--swiss-black) !important;
  border-color: var(--swiss-black) !important;
  color: var(--swiss-white) !important;
}

.btn-secondary,
.btn-sm,
.pf-btn-secondary,
.pf-tertiary-pill,
.auth-secondary-btn {
  background: var(--swiss-white) !important;
  border: 1px solid var(--swiss-black) !important;
  color: var(--swiss-black) !important;
}

input,
textarea,
select {
  border-radius: 0 !important;
  box-shadow: none !important;
}

label,
.auth-field > span,
.auth-field-head,
.client-profile-form label,
.book-col-form label,
.calendar-section-label,
.book-col-title,
.section-label,
.pf-eyebrow,
.client-profile-kicker,
.dash-nav-label {
  color: var(--swiss-red) !important;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0 !important;
}

.identity-avatar,
.profile-photo-preview,
.pf-profile-avatar,
.review-reminder .identity-avatar {
  border-radius: 0 !important;
  background: var(--swiss-black);
  color: var(--swiss-white);
}

.identity-avatar.has-photo img,
.profile-photo-preview.has-photo img {
  border-radius: 0 !important;
}

.rating-chip {
  border-radius: 0;
  border-color: var(--swiss-black);
  background: var(--swiss-white);
  color: var(--swiss-black);
}

/* Keep the user-requested black navigation while adopting the mockup geometry. */
.site-header {
  height: 68px;
  background: var(--swiss-black) !important;
  border-bottom: 2px solid var(--swiss-black) !important;
  backdrop-filter: none;
}

.nav-inner {
  height: 68px;
  max-width: none;
  padding: 0 24px;
}

.logo {
  font-size: 1.45rem;
  font-weight: 700;
}

.logo::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 3px;
  background: var(--swiss-red);
  vertical-align: baseline;
}

.nav-always,
.nav-links,
.nav-links a,
.nav-links .btn-link {
  font-size: 0.82rem;
  font-weight: 500;
}

.nav-always.is-active,
.nav-hiw.is-active {
  border-bottom: 2px solid var(--swiss-red);
  padding-bottom: 4px;
}

.nav-login-pill,
.nav-logout-button {
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  background: transparent !important;
  color: var(--swiss-white) !important;
}

.nav-login-pill:hover,
.nav-logout-button:hover {
  background: var(--swiss-white) !important;
  color: var(--swiss-black) !important;
}

.nav-mobile-menu {
  top: 68px;
  border: 1px solid var(--swiss-black);
  border-radius: 0;
}

/* Shared footer, close to the mockups but keeping existing footer links. */
.site-footer {
  background: var(--swiss-white);
  color: var(--swiss-black);
  border-top: 2px solid var(--swiss-black);
}

.site-footer-inner {
  max-width: none;
  padding: 48px 24px 24px;
}

.site-footer-grid {
  border-bottom: 1px solid var(--swiss-black);
  padding-bottom: 40px;
  gap: 56px;
}

.site-footer-brand-logo {
  color: var(--swiss-black);
  font-size: 1.55rem;
}

.site-footer-brand-logo::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 12px;
  background: var(--swiss-red);
}

.site-footer-brand-desc,
.site-footer-links a,
.site-footer-bottom {
  color: var(--swiss-black);
}

.site-footer-col-header {
  color: var(--swiss-red);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer-bottom {
  border-top: 0;
  padding-top: 20px;
}

/* Homepage mockup pass. */
body:has(.hp-root) {
  padding-top: 68px;
  background: var(--swiss-white);
}

.hp-root,
.hp-s1,
.hp-s2,
.hp-s4 {
  max-width: none;
  background: var(--swiss-white);
}

.hp-s1 {
  min-height: 0;
}

.hp-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
  grid-template-rows: auto auto auto 1fr auto;
  gap: 0;
  min-height: 560px;
  padding: 56px 0 0;
  border-bottom: 2px solid var(--swiss-black);
  background: var(--swiss-white);
  color: var(--swiss-black);
  text-align: left;
}

.hp-hero::after {
  content: "";
  grid-column: 2;
  grid-row: 1 / 5;
  min-height: 540px;
  border-left: 1px solid var(--swiss-black);
  background-image: url("https://images.unsplash.com/photo-1519741497674-611481863552?w=1200&q=90");
  background-size: cover;
  background-position: center;
}

.hp-hero-meta,
.hp-hero-eyebrow,
.hp-h1,
.hp-desc {
  grid-column: 1;
  margin-left: 24px;
  margin-right: 32px;
}

.hp-hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: start;
  max-width: 760px;
  margin-bottom: 36px;
  font-size: 0.78rem;
  font-weight: 500;
}

.hp-red-dot,
.explore-red-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  background: var(--swiss-red);
  vertical-align: middle;
}

.hp-hero-eyebrow {
  color: var(--swiss-red);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hp-h1 {
  max-width: 760px;
  color: var(--swiss-black);
  font-size: 6.4rem;
  line-height: 0.95;
}

.hp-h1 em {
  font-style: normal;
}

.hp-h1 em::after,
.explore-h1 em::after {
  content: "";
  display: inline-block;
  width: 0.13em;
  height: 0.13em;
  margin-left: 0.03em;
  background: var(--swiss-red);
  vertical-align: baseline;
}

.hp-desc {
  max-width: 520px;
  color: var(--swiss-black);
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-style: normal;
  line-height: 1.45;
  margin-top: 22px;
  text-align: left;
}

.hp-search {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 200px;
  width: 100%;
  margin-top: 56px;
  padding: 0;
  gap: 0;
  border-top: 2px solid var(--swiss-black);
  border-bottom: 0;
  background: var(--swiss-white);
}

.hp-search-label {
  display: flex;
  align-items: center;
  padding: 18px 16px;
  background: var(--swiss-red);
  color: var(--swiss-white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hp-search-geo-wrap {
  min-width: 0;
  border-right: 1px solid var(--swiss-black);
}

.hp-search-geo-wrap input,
input.hp-search-input {
  width: 100%;
  min-height: 64px;
  padding: 0 24px;
  color: var(--swiss-black);
  background: var(--swiss-white);
  font-size: 1.05rem;
}

.hp-search-geo-wrap input::placeholder,
input.hp-search-input::placeholder {
  color: #888;
}

.hp-search-btn {
  min-height: 64px;
  border: 0;
  background: var(--swiss-black);
  color: var(--swiss-white);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.hp-search-btn::after {
  content: " ->";
}

.hp-featured-hd,
.hp-voices-hd {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  align-items: end;
  max-width: none;
  padding: 64px 24px 24px;
  border-bottom: 1px solid var(--swiss-black);
  text-align: left;
}

.hp-featured-hd::before {
  content: "01";
  color: var(--swiss-red);
  font-size: 0.78rem;
  font-weight: 700;
}

.hp-voices-hd::before {
  content: "02";
  color: var(--swiss-red);
  font-size: 0.78rem;
  font-weight: 700;
}

.hp-featured-hd > div,
.hp-voices-hd > span,
.hp-voices-hd > h2 {
  min-width: 0;
}

.hp-eyebrow {
  display: none;
}

.hp-featured-title,
.hp-s-h2 {
  color: var(--swiss-black);
  font-size: 2.35rem;
  line-height: 1;
  text-align: left;
}

.hp-featured-title em,
.hp-s-h2 em {
  font-style: normal;
}

.hp-section-link {
  align-self: end;
  color: var(--swiss-black);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.hp-photogs-grid,
.page-explore .photographer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: none;
  padding: 0;
  border-bottom: 2px solid var(--swiss-black);
}

.hp-card,
.hp-card:hover,
.page-explore .photographer-card,
.page-explore .photographer-card:hover {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: auto;
  border-right: 1px solid var(--swiss-black);
  border-bottom: 1px solid var(--swiss-black);
  background: var(--swiss-white);
  box-shadow: none;
  transform: none;
}

.hp-card:nth-child(3n),
.page-explore .photographer-card:nth-child(3n) {
  border-right: 0;
}

.hp-card-head,
.page-explore .card-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  min-height: 38px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--swiss-black);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hp-card-num,
.page-explore .card-num {
  color: var(--swiss-red);
}

.hp-card-head-cat,
.page-explore .card-head-cat {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--swiss-black);
}

.hp-card-bg,
.page-explore .card-photo {
  position: relative;
  inset: auto;
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: var(--swiss-soft);
}

.hp-card-bg-empty,
.page-explore .card-photo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-card-bg-empty span,
.page-explore .card-photo-empty span {
  color: #666;
  font-size: 3.5rem;
  font-weight: 700;
}

.hp-card-label,
.page-explore .card-bottom {
  position: static;
  display: grid;
  gap: 4px;
  padding: 18px 16px 20px;
  border-top: 1px solid var(--swiss-black);
  background: var(--swiss-white);
  color: var(--swiss-black);
}

.hp-card-label-kicker,
.page-explore .card-kicker {
  order: 2;
  color: var(--swiss-black);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-style: normal;
  text-transform: none;
}

.hp-card-label-name-row,
.page-explore .card-name-row {
  order: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

.hp-card-label-name,
.page-explore .card-name {
  color: var(--swiss-black);
  font-size: 1.45rem;
  font-weight: 500;
}
.hp-card-label-name .founder-name,
.page-explore .card-name.founder-name,
.page-client-favorites .card-name .founder-name,
.page-client-favorites .card-name.founder-name {
  max-width: 100%;
}
.page-explore .card-name.founder-name,
.page-client-favorites .card-name.founder-name {
  display: inline-flex;
}

.hp-card-label-price,
.page-explore .card-price {
  color: var(--swiss-black);
  font-size: 0.86rem;
  font-weight: 700;
}

.hp-card-label-meta,
.page-explore .card-meta {
  order: 3;
  color: var(--swiss-red);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hp-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
  margin: 0;
  border: solid var(--swiss-black);
  border-width: 0 0 2px;
  background: var(--swiss-black);
  color: var(--swiss-white);
}

.hp-metric {
  padding: 48px 24px;
}

.hp-metric-div {
  display: none;
}

.hp-metric + .hp-metric,
.hp-metric-div + .hp-metric {
  border-left: 1px solid var(--swiss-white);
}

.hp-metric-num {
  color: var(--swiss-white);
  font-size: 5rem;
  font-weight: 700;
}

.hp-metric-num::first-letter {
  color: var(--swiss-white);
}

.hp-metric-label {
  color: var(--swiss-white);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}

.hp-voices-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: solid var(--swiss-black);
  border-width: 0 0 2px;
}

.hp-voice-card {
  min-height: 0;
  padding: 36px 24px;
  border: solid var(--swiss-black);
  border-width: 0 1px 1px 0;
  background: var(--swiss-white);
}

.hp-voice-quote {
  color: var(--swiss-black);
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-style: normal;
}

.hp-voice-avatar {
  border-radius: 0;
  background: var(--swiss-black);
}

.hp-cta-box {
  border-top: 2px solid var(--swiss-black);
  border-bottom: 2px solid var(--swiss-black);
  background: var(--swiss-red);
  color: var(--swiss-white);
}

.hp-cta-title,
.hp-cta-sub,
.hp-cta-box p {
  color: var(--swiss-white);
}

/* Explore mockup pass. */
.page-explore {
  max-width: none;
  background: var(--swiss-white);
}

.explore-hero {
  display: grid;
  grid-template-columns: 7fr 5fr;
  max-width: none;
  padding: 0;
  border-bottom: 2px solid var(--swiss-black);
}

.explore-hero-main {
  padding: 56px 24px 40px;
  border-right: 1px solid var(--swiss-black);
}

.explore-hero-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
}

.explore-hero-method {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 56px 32px 40px;
}

.explore-hero-method span {
  color: var(--swiss-red);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.explore-hero-method p {
  max-width: 320px;
  margin: 8px 0 0;
  font-size: 0.88rem;
  line-height: 1.4;
}

.explore-h1 {
  max-width: 760px;
  color: var(--swiss-black);
  font-size: 4.4rem;
  line-height: 0.98;
}

.explore-h1 em {
  font-style: normal;
}

.explore-sub {
  max-width: 520px;
  color: var(--swiss-black);
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 1rem;
}

.exp-filters {
  display: grid;
  grid-template-columns: 200px minmax(180px, 1fr) minmax(180px, 1fr) minmax(260px, 2fr);
  gap: 0;
  max-width: none;
  padding: 0;
  border-bottom: 2px solid var(--swiss-black);
}

.exp-filter-label {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  background: var(--swiss-red);
  color: var(--swiss-white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.exp-pill-wrap,
.exp-price-pill {
  border-right: 1px solid var(--swiss-black);
}

.exp-pill,
.exp-price-pill {
  width: 100%;
  min-height: 66px;
  justify-content: space-between;
  padding: 14px 20px;
  border: 0;
  background: var(--swiss-white);
  color: var(--swiss-black);
}

.exp-pill-stack {
  display: grid;
  gap: 3px;
  min-width: 0;
  text-align: left;
}

.exp-pill-title,
.exp-price-label {
  color: var(--swiss-red);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.exp-pill-label {
  min-width: 0;
  overflow: hidden;
  color: var(--swiss-black);
  font-size: 0.94rem;
  font-weight: 500;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.exp-price-pill {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}

.exp-slider-groove {
  background: var(--swiss-black);
}

.exp-slider-active {
  background: var(--swiss-black);
}

.exp-slider-handle {
  width: 11px;
  height: 11px;
  border: 0;
  background: var(--swiss-black);
}

.exp-dropdown,
.exp-sort-drop {
  border: 1px solid var(--swiss-black);
  background: var(--swiss-white);
}

.exp-summary {
  max-width: none;
  margin: 0;
  padding: 16px 24px;
  border: 0;
  border-bottom: 1px solid var(--swiss-black);
  background: var(--swiss-soft);
}

.exp-tag,
.exp-active-filter,
#exp-active-city,
#exp-active-price {
  border: 1px solid var(--swiss-black);
  border-radius: 0;
  background: var(--swiss-white);
  color: var(--swiss-black);
}

.exp-sort-btn {
  color: var(--swiss-black);
}

.exp-grid-section {
  max-width: none;
}

.page-explore .card-badge {
  top: 48px;
  right: 12px;
  border: 1px solid var(--swiss-black);
  background: var(--swiss-white);
  color: var(--swiss-black);
}

.page-explore .card-bottom-top {
  gap: 0;
}

.page-explore .card-avatar {
  display: none;
}

.exp-pagination {
  max-width: none;
  margin: 0;
  padding: 24px;
  border-bottom: 2px solid var(--swiss-black);
}

.exp-pag-num,
.exp-pagination .exp-pag-arrow {
  border: 1px solid var(--swiss-black);
  background: var(--swiss-white);
  color: var(--swiss-black);
}

.exp-pag-num.is-active {
  background: var(--swiss-black);
  color: var(--swiss-white);
}

/* Profile and booking pages. */
.page-profile.profile-v2,
.page-book,
.page-calendar,
.page-content,
.page-dashboard {
  max-width: none;
  width: 100%;
  padding: 0;
  background: var(--swiss-white);
}

.profile-v2 .pf-breadcrumb,
.book-back {
  margin: 0;
  padding: 18px 24px;
  border-bottom: 1px solid var(--swiss-black);
  font-size: 0.78rem;
}

.profile-v2 .pf-hero,
.profile-v2 .pf-metrics,
.profile-v2 .pf-section,
.book-header,
.book-grid {
  max-width: none;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.pf-hero {
  padding: 0;
  border-bottom: 2px solid var(--swiss-black);
}

.pf-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.pf-identity {
  padding: 56px 40px;
  border-right: 1px solid var(--swiss-black);
}

.pf-about-box {
  padding: 0;
  border: 0;
  background: var(--swiss-white);
}

.pf-about-box > .pf-eyebrow,
.pf-about-copy,
.pf-about-category-row {
  padding-left: 40px;
  padding-right: 40px;
}

.pf-about-box > .pf-eyebrow {
  display: block;
  padding-top: 32px;
}

.pf-about-copy {
  margin: 12px 0 18px;
  font-size: 0.95rem;
}

.pf-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--swiss-black);
}

.pf-mini-cell {
  padding: 20px 40px;
  border-right: 1px solid var(--swiss-black);
  background: var(--swiss-white);
}

.pf-mini-cell:last-child {
  border-right: 0;
}

.pf-name {
  font-size: 3.1rem;
  line-height: 1;
}

.pf-category-pill,
.pf-city-chip,
.pf-filter-pill,
.pf-language-pill {
  border: 1px solid var(--swiss-black);
  border-radius: 0;
  background: var(--swiss-white);
  color: var(--swiss-black);
  font-size: 0.74rem;
  font-weight: 700;
}

.pf-category-pill {
  background: var(--swiss-black);
  color: var(--swiss-white);
}

.pf-city-chip-dot {
  background: var(--swiss-red);
}

.pf-action-row .pf-circle-btn,
.pf-circle-btn {
  border: 1px solid var(--swiss-black);
  border-radius: 0;
  background: var(--swiss-white);
  color: var(--swiss-black);
}

.pf-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  border-bottom: 2px solid var(--swiss-black);
  background: var(--swiss-black);
  color: var(--swiss-white);
}

.pf-metric-cell {
  padding: 24px 32px;
  border-right: 1px solid var(--swiss-white);
}

.pf-metric-cell:last-child {
  border-right: 0;
}

.pf-metric-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.pf-metric-value,
.pf-metric-value-rate {
  color: var(--swiss-white);
  font-size: 1.15rem;
}

.pf-section {
  padding: 0;
  border-bottom: 2px solid var(--swiss-black);
}

.pf-section-header,
.pf-review-head {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  align-items: end;
  padding: 64px 32px 24px;
  border-bottom: 1px solid var(--swiss-black);
}

.pf-section-header::before {
  content: "01";
  color: var(--swiss-red);
  font-size: 0.78rem;
  font-weight: 700;
}

.pf-reviews .pf-section-header::before {
  content: "02";
}

.pf-section-title {
  margin: 0;
  font-size: 2.35rem;
}

.pf-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.pf-photo-card {
  border: solid var(--swiss-black);
  border-width: 0 1px 1px 0;
  border-radius: 0;
  aspect-ratio: 4 / 5;
}

.pf-photo-card:nth-child(3n) {
  border-right: 0;
}

.pf-cta-box,
.pf-review-item,
.pf-review-card {
  border: 1px solid var(--swiss-black);
  border-radius: 0;
  background: var(--swiss-white);
  box-shadow: none;
}

.pf-modal-card,
.modal-box {
  border: 2px solid var(--swiss-black);
  border-radius: 0;
  box-shadow: none;
}

.pf-modal-close,
.modal-close {
  border-radius: 0;
  background: var(--swiss-black);
  color: var(--swiss-white);
}

.book-header {
  padding: 32px 40px 28px;
  border-bottom: 2px solid var(--swiss-black);
}

.book-title-row .identity-avatar {
  width: 64px;
  height: 64px;
}

.book-header h1 {
  font-size: 3rem;
}

.book-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 0;
  border-bottom: 2px solid var(--swiss-black);
}

.book-col-calendar,
.book-col-form {
  padding: 40px;
  border: 0;
  background: var(--swiss-white);
}

.book-col-calendar {
  border-right: 1px solid var(--swiss-black);
}

.book-legend {
  margin-bottom: 24px;
}

.book-legend-busy::before,
.book-legend-selection::before {
  border: 1px solid var(--swiss-black);
  border-radius: 0;
}

.book-legend-busy::before {
  background: repeating-linear-gradient(45deg, var(--status-busy-bg) 0, var(--status-busy-bg) 5px, var(--status-busy-bg-alt) 5px, var(--status-busy-bg-alt) 10px);
  border-color: var(--status-busy-line);
}

.book-legend-selection::before {
  background: rgba(214, 40, 40, 0.14);
  border-color: var(--swiss-red);
}

.book-col-form input,
.book-col-form textarea,
.book-col-form select,
.client-profile-form input,
.client-profile-form textarea,
.client-profile-form select,
.blackout-card-form input,
.blackout-card-form textarea,
.blackout-card-form select,
.auth-field input {
  width: 100%;
  border: 1px solid var(--swiss-black) !important;
  background: var(--swiss-white);
  color: var(--swiss-black);
  padding: 10px 12px;
}

.book-col-form textarea,
.client-profile-form textarea {
  min-height: 80px;
}

/* FullCalendar mockup pass, shared across booking/client/photographer calendars. */
#booking-calendar,
#dash-calendar,
#client-calendar {
  border: 1px solid var(--swiss-black);
  background: var(--swiss-white);
}

.fc .fc-header-toolbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  margin: 0 !important;
  padding: 16px 20px;
  border-bottom: 1px solid var(--swiss-black);
}

.fc .fc-toolbar-chunk {
  gap: 8px;
}

.fc .fc-toolbar-chunk:nth-child(2) {
  justify-content: center;
}

.fc .fc-toolbar-chunk:nth-child(3) {
  justify-content: end;
}

.fc .fc-toolbar-title {
  color: var(--swiss-black);
  font-size: 1.3rem;
  font-weight: 700;
}

.fc .fc-button-group {
  gap: 8px;
}

.fc .fc-prev-button,
.fc .fc-next-button,
.fc .fc-today-button,
.fotuna-calendar-view-button,
.fotuna-calendar-view-select select {
  min-height: 36px;
  border: 1px solid var(--swiss-black) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase !important;
}

.fc .fc-prev-button,
.fc .fc-next-button {
  width: 36px;
  min-width: 36px;
  height: 36px;
  background: var(--swiss-white) !important;
  color: var(--swiss-black) !important;
}

.fc .fc-prev-button:hover,
.fc .fc-next-button:hover {
  background: var(--swiss-red) !important;
  border-color: var(--swiss-red) !important;
  color: var(--swiss-white) !important;
}

.fc .fc-today-button {
  background: var(--swiss-black) !important;
  color: var(--swiss-white) !important;
  padding: 0 16px !important;
}

.fotuna-calendar-view-select {
  min-width: 7rem;
}

.fotuna-calendar-view-select::after {
  right: 12px;
  color: var(--swiss-black);
}

.fotuna-calendar-view-button,
.fotuna-calendar-view-select select {
  min-width: 7rem;
  background: var(--swiss-white);
  color: var(--swiss-black);
}

.fotuna-calendar-view-menu {
  top: calc(100% + 6px);
  border: 1px solid var(--swiss-black);
  border-radius: 0;
  background: var(--swiss-white);
  box-shadow: none;
}

.fotuna-calendar-view-option {
  min-height: 36px;
  border-bottom: 1px solid var(--swiss-black);
  background: var(--swiss-white);
  color: var(--swiss-black);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.fotuna-calendar-view-option:hover,
.fotuna-calendar-view-option:focus,
.fotuna-calendar-view-option[aria-selected="true"] {
  background: var(--swiss-black);
  color: var(--swiss-white);
}

.fc-theme-standard th,
.fc-theme-standard td,
.fc-scrollgrid,
.fc-scrollgrid-section > td {
  border-color: var(--swiss-black) !important;
}

.fc-col-header-cell {
  padding: 10px 12px !important;
  background: var(--swiss-black);
  color: var(--swiss-white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.fc-daygrid-day-frame {
  min-height: 96px !important;
  background: var(--swiss-white) !important;
}

.fc-daygrid-day-number {
  color: var(--swiss-black);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 10px !important;
}

.fc .fc-day-today {
  background: var(--swiss-white) !important;
}

.fc .fc-day-today .fc-daygrid-day-number {
  background: var(--swiss-red);
  color: var(--swiss-white);
}

.fc .fc-daygrid-day.fc-day-other {
  background: var(--swiss-soft) !important;
  opacity: 1 !important;
}

.fc .fc-daygrid-day.fc-day-other .fc-daygrid-day-number {
  color: var(--swiss-mid);
}

.fc-event,
.fc-event-booked,
.event-blackout {
  border-left: 3px solid var(--swiss-black) !important;
  background: var(--swiss-white) !important;
  color: var(--swiss-black) !important;
}

.fc-event-title,
.fc-event-time,
.event-blackout .fc-event-title,
.event-blackout .fc-event-time {
  color: inherit !important;
}

.fc-event.event-accepted,
.fc-event.client-cal-accepted {
  background: var(--status-accepted-bg) !important;
  border-color: var(--status-accepted-line) !important;
  border-left-color: var(--status-accepted-line) !important;
  color: var(--status-accepted-fg) !important;
}

.fc-event.event-pending,
.fc-event.client-cal-pending {
  background: var(--status-pending-bg) !important;
  border-color: var(--status-pending-line) !important;
  border-left-color: var(--status-pending-line) !important;
  color: var(--status-pending-fg) !important;
}

.fc-event.event-rejected,
.fc-event.client-cal-rejected {
  background: var(--status-rejected-bg) !important;
  border-color: var(--status-rejected-line) !important;
  border-left-color: var(--status-rejected-line) !important;
  color: var(--status-rejected-fg) !important;
}

.fc-event-booked,
.fc-event.event-blackout,
.fc-event.event-busy,
.event-blackout,
.event-busy,
.client-cal-busy {
  background: var(--status-busy-bg) !important;
  border-color: var(--status-busy-line) !important;
  border-left-color: var(--status-busy-line) !important;
  color: var(--status-busy-fg) !important;
}

.fc-event-booked {
  background: repeating-linear-gradient(45deg, var(--status-busy-bg) 0, var(--status-busy-bg) 5px, var(--status-busy-bg-alt) 5px, var(--status-busy-bg-alt) 10px) !important;
}

.fc-event.fc-event-past,
.fc-event.event-past,
.fc-event-booked.fc-event-past,
.fc-event-booked.event-past,
.event-blackout.fc-event-past,
.event-blackout.event-past {
  background: var(--status-past-bg) !important;
  border-color: var(--status-past-line) !important;
  border-left-color: var(--status-past-line) !important;
  color: var(--status-past-fg) !important;
  opacity: 1 !important;
}

.fc-event-booked.fc-event-past,
.fc-event-booked.event-past {
  background: repeating-linear-gradient(45deg, var(--status-past-bg) 0, var(--status-past-bg) 5px, var(--status-past-bg-alt) 5px, var(--status-past-bg-alt) 10px) !important;
}

.fc-bg-event.fc-event-past,
.fc-bg-event.event-past {
  background: var(--status-past-bg) !important;
  border-color: var(--status-past-line) !important;
  opacity: 0.45 !important;
}

.fc-event.fc-event-past .fc-event-title,
.fc-event.fc-event-past .fc-event-time,
.fc-event.event-past .fc-event-title,
.fc-event.event-past .fc-event-time {
  color: var(--status-past-fg) !important;
}

#booking-calendar .fc-event-booked {
  pointer-events: none;
}

.fc-timegrid-slot {
  height: 28px !important;
  border-color: #ddd !important;
}

.fc-timegrid-slot-label {
  color: var(--swiss-black);
  font-size: 0.68rem;
  font-weight: 700;
}

.fc .fc-highlight,
.fc-daygrid-day .fc-highlight {
  background: rgba(214, 40, 40, 0.14) !important;
  opacity: 1;
  pointer-events: none;
}

.fc .fc-daygrid-day-bg .fc-highlight,
.fc .fc-timegrid-col-bg .fc-highlight {
  z-index: 1;
}

.fc .fc-daygrid-day-bg .fc-bg-event,
.fc .fc-timegrid-col-bg .fc-bg-event {
  z-index: 3;
}

.fc-daygrid-day.fc-day-dragging,
.fc-daygrid-day.fc-day-sequential-selected,
.fc .fc-day-today.fc-day-sequential-selected {
  background: rgba(214, 40, 40, 0.14) !important;
}

.fc-daygrid-day.fc-day-dragging .fc-daygrid-day-frame,
.fc-daygrid-day.fc-day-sequential-selected .fc-daygrid-day-frame {
  background: transparent !important;
}

.fc-daygrid-day.fc-day-sequential-selected .fc-daygrid-day-number,
.fc-day-today.fc-day-sequential-selected .fc-daygrid-day-number {
  color: var(--swiss-black) !important;
  font-weight: 700;
}

.fc-daygrid-day:has(.fc-highlight) .fc-daygrid-day-number {
  color: var(--swiss-black) !important;
  font-weight: 700;
}

.fc-day-today.fc-day-sequential-selected .fc-daygrid-day-number,
.fc-day-today:has(.fc-highlight) .fc-daygrid-day-number {
  color: var(--swiss-white) !important;
  font-weight: 700;
}

/* Dashboard, client profile, requests, inbox. */
.page-dashboard {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: calc(100vh - 68px);
  border-bottom: 2px solid var(--swiss-black);
}

.page-dashboard--profile {
  display: block;
}

.dashboard-sidebar {
  padding: 40px 24px;
  border-right: 1px solid var(--swiss-black);
  background: var(--swiss-white);
}

.dash-nav {
  gap: 0;
  border: 1px solid var(--swiss-black);
}

.dash-tab,
.dash-nav-link {
  border: 0;
  border-bottom: 1px solid var(--swiss-black);
  border-radius: 0;
  background: var(--swiss-white);
  color: var(--swiss-black);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.dash-tab:last-child,
.dash-nav-link:last-child {
  border-bottom: 0;
}

.dash-tab.active,
.dash-nav-link.active {
  background: var(--swiss-black);
  color: var(--swiss-white);
}

.dash-tab.active::before,
.dash-nav-link.active::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--swiss-red);
}

.dashboard-content {
  padding: 0;
}

.client-requests-head,
.client-profile-head,
.main-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin: 0;
  padding: 40px 40px 24px;
  border-bottom: 1px solid var(--swiss-black);
  background: var(--swiss-white);
}

.client-requests-head h1,
.client-profile-head h1 {
  font-size: 2.35rem;
}

.client-profile-panel,
.client-empty-state {
  padding: 0;
  border: 0;
  background: var(--swiss-white);
}

.client-profile-score {
  border: 1px solid var(--swiss-red);
  border-radius: 0;
  background: var(--swiss-white) !important;
  color: var(--swiss-red) !important;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.client-profile-score::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 8px;
  background: var(--swiss-red);
}

.client-profile-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  margin: 72px 40px 40px;
  border: 1px solid var(--swiss-black);
}

.profile-photo-card {
  padding: 24px;
  border: 0;
  border-right: 1px solid var(--swiss-black);
  background: var(--swiss-white);
  box-shadow: none;
}

.profile-photo-card-head {
  margin-bottom: 20px;
}

.profile-photo-field {
  border: 0;
  background: var(--swiss-white);
}

.profile-photo-copy p {
  color: var(--swiss-black);
}

.client-profile-form {
  padding: 28px 32px;
  gap: 20px;
}

.client-type-toggle {
  display: inline-flex;
  gap: 0;
  border: 1px solid var(--swiss-black);
}

.client-type-toggle span {
  min-width: 160px;
  justify-content: center;
  border: 0;
  border-right: 1px solid var(--swiss-black);
  border-radius: 0;
  background: var(--swiss-white);
  color: var(--swiss-black);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.client-type-toggle label:last-child span {
  border-right: 0;
}

.client-type-toggle input:checked + span {
  background: var(--swiss-black);
  color: var(--swiss-white);
  box-shadow: none;
}

.client-profile-actions,
.save-bar {
  justify-content: flex-end;
  padding-top: 8px;
}

.review-reminder {
  margin: 32px 40px 0;
  padding: 20px 24px;
  border: 1px solid var(--swiss-black);
  border-radius: 0;
  background: var(--swiss-white);
  box-shadow: none;
}

.review-reminder-copy strong {
  font-size: 1.15rem;
}

.review-reminder-copy::before {
  content: "Feedback request";
  display: block;
  color: var(--swiss-red);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.client-requests-list {
  gap: 0;
  padding: 32px 40px 40px;
}

.client-request-group {
  margin-bottom: 40px;
}

.client-request-group h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 700;
}

.client-request-group h2::before {
  content: "01";
  color: var(--swiss-red);
  font-size: 0.78rem;
}

.client-request-card {
  padding: 0;
  border: 1px solid var(--swiss-black);
  border-radius: 0;
  background: var(--swiss-white);
  box-shadow: none;
}

.client-request-card-main {
  padding: 18px 24px;
  border-bottom: 1px solid var(--swiss-black);
}

.client-request-meta,
.lead-actions {
  padding: 0 24px;
}

.client-request-meta span {
  border: 1px solid var(--swiss-black);
  border-radius: 0;
  background: var(--swiss-white);
  color: var(--swiss-black);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.client-request-meta span:first-child {
  background: var(--swiss-black);
  color: var(--swiss-white);
}

.lead-msg {
  margin: 14px 24px 16px;
  padding-left: 12px;
  border-left: 2px solid var(--swiss-red);
  color: var(--swiss-black);
  font-style: italic;
}

.profile-status-badge,
.req-status,
.conv-row-status {
  border-radius: 0;
  background: var(--swiss-black) !important;
  color: var(--swiss-white) !important;
  border: 1px solid var(--swiss-black);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.profile-status-badge.status-approved,
.profile-status-badge.status-accepted,
.profile-status-badge.status-founder,
.req-status.status-approved,
.req-status.status-accepted,
.conv-row-status.status-accepted {
  background: var(--status-accepted-bg) !important;
  border-color: var(--status-accepted-line) !important;
  color: var(--status-accepted-fg) !important;
}

.profile-status-badge.status-pending_review,
.profile-status-badge.status-new,
.profile-status-badge.status-pending,
.req-status.status-pending_review,
.req-status.status-new,
.req-status.status-pending,
.conv-row-status.status-new,
.conv-row-status.status-pending_review,
.conv-row-status.status-pending {
  background: var(--status-pending-bg) !important;
  border-color: var(--status-pending-line) !important;
  color: var(--status-pending-fg) !important;
}

.profile-status-badge.status-rejected,
.profile-status-badge.status-suspended,
.profile-status-badge.status-deleted,
.profile-status-badge.status-cancelled,
.profile-status-badge.status-canceled,
.req-status.status-rejected,
.req-status.status-suspended,
.req-status.status-cancelled,
.req-status.status-canceled,
.conv-row-status.status-rejected,
.conv-row-status.status-spam,
.conv-row-status.status-cancelled,
.conv-row-status.status-canceled {
  background: var(--status-rejected-bg) !important;
  border-color: var(--status-rejected-line) !important;
  color: var(--status-rejected-fg) !important;
}

.profile-status-badge.status-busy,
.req-status.status-busy,
.conv-row-status.status-busy {
  background: var(--status-busy-bg) !important;
  border-color: var(--status-busy-line) !important;
  color: var(--status-busy-fg) !important;
}

.page-inbox {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}

.page-inbox .dashboard-content {
  min-height: calc(100vh - 68px);
}

.inbox-split {
  height: calc(100vh - 68px);
  min-height: 620px;
  border: 0;
  border-radius: 0;
  background: var(--swiss-white);
}

.inbox-conv-list {
  width: 360px;
  border-right: 1px solid var(--swiss-black);
}

.conv-row {
  padding: 16px 24px;
  border-bottom: 1px solid var(--swiss-black);
  background: var(--swiss-white);
}

.conv-row:hover,
.conv-row:focus-visible {
  background: var(--swiss-soft);
}

.conv-row.is-active {
  background: var(--swiss-black);
  color: var(--swiss-white);
  border-left: 3px solid var(--swiss-red);
}

.conv-row.is-active .conv-row-title,
.conv-row.is-active .conv-row-counterpart,
.conv-row.is-active .conv-row-preview,
.conv-row.is-active .conv-row-time {
  color: var(--swiss-white);
}

.fotuna-chat-shell {
  background: var(--swiss-white);
}

.fotuna-chat-header {
  padding: 16px 28px;
  border-bottom: 1px solid var(--swiss-black);
}

.fotuna-chat-messages {
  padding: 28px;
}

.fotuna-chat-bubble,
.msg-bubble {
  border-radius: 0;
}

.fotuna-chat-bubble.is-mine,
.msg-bubble.is-mine {
  border-left: 3px solid var(--swiss-red);
  background: var(--swiss-black);
  color: var(--swiss-white);
}

.fotuna-chat-bubble.is-other,
.msg-bubble.is-other {
  border: 1px solid var(--swiss-black);
  background: var(--swiss-white);
  color: var(--swiss-black);
}

.fotuna-chat-composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 16px 28px;
  border-top: 1px solid var(--swiss-black);
}

.fotuna-chat-input {
  min-height: 58px;
  border: 1px solid var(--swiss-black);
  border-radius: 0;
}

.calendar-page-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--swiss-white);
  box-shadow: none;
}

.calendar-page-panel > h1,
.dash-calendar-head {
  margin: 0;
  padding: 40px 40px 24px;
  border-bottom: 1px solid var(--swiss-black);
}

.dash-calendar-head {
  display: grid;
  grid-template-columns: 1fr auto;
}

.dash-calendar-view-toggle {
  border: 1px solid var(--swiss-black);
  border-radius: 0;
  background: var(--swiss-white);
}

.dash-calendar-view-btn {
  border-radius: 0;
  border-right: 1px solid var(--swiss-black);
}

.dash-calendar-view-btn.is-active {
  background: var(--swiss-black);
  color: var(--swiss-white);
}

#dash-calendar,
#client-calendar {
  margin: 32px 40px 40px;
}

.calendar-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 420px);
  align-items: start;
  gap: 32px;
  margin: 32px 40px 40px;
}

.calendar-main-pane {
  min-width: 0;
}

.calendar-workspace #dash-calendar,
.calendar-workspace #dash-calendar-list {
  margin: 0;
}

.calendar-blackout-card {
  margin: 32px 40px 40px;
  border: 1px solid var(--swiss-black);
  border-radius: 0;
  background: var(--swiss-white);
}

.calendar-workspace .calendar-blackout-card {
  position: sticky;
  top: 92px;
  margin: 0;
}

.calendar-blackout-card-head,
.blackout-card-form,
.blackout-card-list-wrap {
  padding: 24px;
}

.blackout-card-fields {
  gap: 14px;
}

.calendar-workspace .blackout-card-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.calendar-workspace .blackout-card-fields label {
  min-width: 0;
}

.calendar-workspace .blackout-card-fields label:last-child {
  grid-column: 1 / -1;
}

.calendar-workspace .blackout-card-actions {
  align-items: stretch;
  flex-direction: column;
}

.calendar-workspace .blackout-card-actions .pf-btn-primary {
  width: 100%;
}

.dash-calendar-list-item {
  border: 1px solid var(--swiss-black);
  border-radius: 0;
  background: var(--swiss-white);
}

.dash-calendar-list-item.is-accepted {
  background: var(--status-accepted-bg);
  border-left-color: var(--status-accepted-line);
  color: var(--status-accepted-fg);
}

.dash-calendar-list-item.is-pending {
  background: var(--status-pending-bg);
  border-left-color: var(--status-pending-line);
  color: var(--status-pending-fg);
}

.dash-calendar-list-item.is-rejected {
  background: var(--status-rejected-bg);
  border-left-color: var(--status-rejected-line);
  color: var(--status-rejected-fg);
}

.dash-calendar-list-item.is-accepted .dash-calendar-list-date,
.dash-calendar-list-item.is-accepted .dash-calendar-list-title,
.dash-calendar-list-item.is-rejected .dash-calendar-list-date,
.dash-calendar-list-item.is-rejected .dash-calendar-list-title {
  color: var(--swiss-white);
}

.dash-calendar-list-item.is-accepted .dash-calendar-list-meta,
.dash-calendar-list-item.is-rejected .dash-calendar-list-meta {
  color: rgba(255, 255, 255, 0.78);
}

.dash-calendar-list-item.is-pending .dash-calendar-list-date,
.dash-calendar-list-item.is-pending .dash-calendar-list-title {
  color: var(--swiss-black);
}

.dash-calendar-list-item.is-pending .dash-calendar-list-meta {
  color: rgba(0, 0, 0, 0.68);
}

.dash-calendar-list-item.is-blackout {
  background: var(--status-busy-bg);
  border-left-color: var(--status-busy-line);
}

.dash-calendar-list-item.is-busy {
  background: var(--status-busy-bg);
  border-left-color: var(--status-busy-line);
}

.dash-calendar-list-item.is-past {
  background: var(--status-past-bg);
  border-left-color: var(--status-past-line);
  color: var(--status-past-fg);
}

.dash-calendar-list-item.is-accepted .dash-calendar-list-status {
  background: var(--status-accepted-bg);
  border: 1px solid var(--swiss-black);
  color: var(--status-accepted-fg);
}

.dash-calendar-list-item.is-pending .dash-calendar-list-status {
  background: var(--status-pending-bg);
  border: 1px solid var(--swiss-black);
  color: var(--status-pending-fg);
}

.dash-calendar-list-item.is-rejected .dash-calendar-list-status {
  background: var(--status-rejected-bg);
  border: 1px solid var(--swiss-black);
  color: var(--status-rejected-fg);
}

.dash-calendar-list-item.is-blackout .dash-calendar-list-status {
  background: var(--status-busy-bg);
  border: 1px solid var(--status-busy-line);
  color: var(--status-busy-fg);
}

.dash-calendar-list-item.is-busy .dash-calendar-list-status {
  background: var(--status-busy-bg);
  border: 1px solid var(--status-busy-line);
  color: var(--status-busy-fg);
}

.dash-calendar-list-item.is-past .dash-calendar-list-status {
  background: var(--status-past-bg);
  border: 1px solid var(--status-past-line);
  color: var(--status-past-fg);
}

.dash-calendar-legend-accepted::before {
  background: var(--status-accepted-bg);
  border: 1px solid var(--status-accepted-line);
}

.dash-calendar-legend-pending::before {
  background: var(--status-pending-bg);
  border: 1px solid var(--status-pending-line);
}

.dash-calendar-legend-blackout::before {
  background: var(--status-busy-bg);
  border: 1px solid var(--status-busy-line);
}

/* Auth and static content pages. */
.page-auth {
  background: var(--swiss-white);
}

.auth-shell {
  min-height: calc(100vh - 68px);
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  border-bottom: 2px solid var(--swiss-black);
}

.auth-editorial {
  min-height: calc(100vh - 68px);
  background: var(--swiss-black);
  border-right: 1px solid var(--swiss-black);
}

.auth-shell[data-auth-panel="signup-photographer"] .auth-editorial {
  background: var(--swiss-red);
}

.auth-editorial h2 {
  font-size: 4.2rem;
  line-height: 0.98;
}

.auth-editorial p {
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-sans);
  font-style: normal;
}

.auth-card {
  padding: 56px 48px;
}

.auth-tab-wrap,
.auth-type-card,
.auth-secondary-block,
.auth-form-error,
.auth-form-message,
.auth-verify-note {
  border: 1px solid var(--swiss-black);
  border-radius: 0;
  background: var(--swiss-white);
  box-shadow: none;
}

.auth-tab.is-active,
.auth-type-card.is-active {
  background: var(--swiss-black);
  border-color: var(--swiss-black);
  color: var(--swiss-white);
}

.auth-heading h1 {
  font-size: 3rem;
}

.auth-heading p {
  color: var(--swiss-black);
  font-family: var(--font-sans);
  font-style: normal;
}

.auth-shell--simple {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  min-height: calc(100vh - 68px);
  padding: clamp(32px, 6vw, 72px) 20px;
  border-bottom: 2px solid var(--swiss-black);
  background: var(--swiss-white);
}

.auth-shell--simple .auth-card {
  width: 100%;
  max-width: 440px;
  justify-self: center;
  align-self: center;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--swiss-black);
  background: var(--swiss-white);
}

.auth-shell--simple .auth-step-row {
  margin-bottom: 28px;
}

.auth-shell--simple .auth-heading {
  margin-bottom: 28px;
}

.auth-shell--simple .auth-heading h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.auth-shell--simple form {
  display: grid;
  gap: 20px;
}

.auth-shell--simple .auth-heading p {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 1020px) {
  .hp-hero,
  .explore-hero,
  .pf-hero-grid,
  .book-grid,
  .page-dashboard,
  .page-inbox,
  .client-profile-layout {
    grid-template-columns: 1fr;
  }

  .hp-hero::after {
    grid-column: 1;
    grid-row: 4;
    min-height: 340px;
    border-left: 0;
    border-top: 1px solid var(--swiss-black);
  }

  .hp-search {
    grid-row: 5;
  }

  .explore-hero-main,
  .pf-identity,
  .book-col-calendar,
  .profile-photo-card {
    border-right: 0;
  }

  .explore-hero-method,
  .book-col-form {
    border-top: 1px solid var(--swiss-black);
  }

  .dashboard-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--swiss-black);
  }

  .hp-photogs-grid,
  .page-explore .photographer-grid,
  .pf-photo-grid,
  .hp-voices-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-shell--simple {
    grid-template-columns: minmax(0, 1fr);
  }

  .calendar-workspace {
    grid-template-columns: 1fr;
  }

  .calendar-workspace .calendar-blackout-card {
    position: static;
  }
}

@media (max-width: 700px) {
  .auth-shell--simple {
    min-height: calc(100vh - 68px);
    place-items: start center;
    padding: clamp(96px, 18vh, 140px) 16px 32px;
  }

  .auth-shell--simple .auth-card {
    max-width: none;
    padding: 28px;
  }

  .auth-shell--simple .auth-step-row {
    margin-bottom: 24px;
  }

  .auth-shell--simple .auth-heading {
    margin-bottom: 24px;
  }

  .auth-shell--simple .auth-heading h1 {
    font-size: clamp(1.7rem, 7vw, 2rem);
    line-height: 1.02;
  }

  body,
  body:has(.hp-root) {
    padding-top: 68px;
  }

  .nav-inner {
    padding: 0 16px;
  }

  .hp-hero {
    padding-top: 32px;
  }

  .hp-hero-meta,
  .hp-hero-eyebrow,
  .hp-h1,
  .hp-desc {
    margin-left: 16px;
    margin-right: 16px;
  }

  .hp-h1,
  .explore-h1 {
    font-size: 3.2rem;
  }

  .hp-search,
  .exp-filters {
    grid-template-columns: 1fr;
  }

  .hp-search-label,
  .hp-search-geo-wrap,
  .exp-filter-label,
  .exp-pill-wrap,
  .exp-price-pill {
    border-right: 0;
    border-bottom: 1px solid var(--swiss-black);
  }

  .hp-photogs-grid,
  .page-explore .photographer-grid,
  .pf-photo-grid,
  .hp-voices-grid,
  .hp-metrics,
  .pf-metrics,
  .client-profile-grid {
    grid-template-columns: 1fr;
  }

  .hp-card:nth-child(3n),
  .page-explore .photographer-card:nth-child(3n) {
    border-right: 1px solid var(--swiss-black);
  }

  .hp-card,
  .page-explore .photographer-card {
    border-right: 0;
  }

  .hp-featured-hd,
  .hp-voices-hd,
  .pf-section-header,
  .client-requests-head,
  .client-profile-head,
  .dash-calendar-head,
  .fc .fc-header-toolbar {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .book-col-calendar,
  .book-col-form,
  .client-profile-form,
  .client-requests-list,
  .review-reminder,
  #dash-calendar,
  #client-calendar,
  .calendar-blackout-card {
    margin-left: 16px;
    margin-right: 16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .calendar-workspace {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 32px 16px 40px;
  }

  .calendar-workspace .calendar-blackout-card {
    position: static;
  }

  .calendar-workspace .blackout-card-fields {
    grid-template-columns: 1fr;
  }

  .client-profile-layout {
    margin: 32px 16px;
  }

  .inbox-split {
    height: auto;
    min-height: calc(100vh - 160px);
  }

  .inbox-conv-list {
    width: 100%;
  }
}

/* Client favorites */
.page-client-favorites {
  display: block;
  min-height: calc(100vh - 68px);
  background: var(--swiss-white);
}

.page-client-favorites .favorites-content {
  min-height: inherit;
}

.favorites-head p {
  max-width: 48rem;
}

.favorites-message {
  margin: 24px 40px 0;
}

.favorites-count-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 22px 40px;
  border-bottom: 1px solid var(--swiss-black);
  color: var(--swiss-black);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.favorites-count-row span:first-child {
  color: var(--swiss-red);
}

.favorites-empty {
  margin: 40px;
  padding: 36px;
  border: 1px solid var(--swiss-black);
}

.page-client-favorites .favorites-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-bottom: 2px solid var(--swiss-black);
}

.page-client-favorites .photographer-card,
.page-client-favorites .photographer-card:hover {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: auto;
  border-right: 1px solid var(--swiss-black);
  border-bottom: 1px solid var(--swiss-black);
  background: var(--swiss-white);
  box-shadow: none;
  transform: none;
}

.page-client-favorites .photographer-card:nth-child(3n) {
  border-right: 0;
}

.favorite-card-link {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.favorite-card-link:hover {
  text-decoration: none;
}

.page-client-favorites .card-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  min-height: 38px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--swiss-black);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.page-client-favorites .card-num {
  color: var(--swiss-red);
}

.page-client-favorites .card-head-cat {
  min-width: 0;
  overflow: hidden;
  color: var(--swiss-black);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-client-favorites .card-photo {
  position: relative;
  inset: auto;
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: var(--swiss-soft);
  background-position: center;
  background-size: cover;
}

.page-client-favorites .card-photo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-client-favorites .card-photo-empty span {
  color: #666;
  font-size: 3.5rem;
  font-weight: 700;
}

.page-client-favorites .card-bottom {
  position: static;
  display: grid;
  gap: 4px;
  padding: 18px 16px 20px;
  border-top: 1px solid var(--swiss-black);
  background: var(--swiss-white);
  color: var(--swiss-black);
}

.page-client-favorites .card-kicker {
  order: 2;
  color: var(--swiss-black);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-style: normal;
  text-transform: none;
}

.page-client-favorites .card-bottom-top {
  gap: 0;
}

.page-client-favorites .card-avatar {
  display: none;
}

.page-client-favorites .card-name-row {
  order: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-width: 0;
}

.page-client-favorites .card-name {
  min-width: 0;
  color: var(--swiss-black);
  font-size: 1.45rem;
  font-weight: 500;
}

.page-client-favorites .card-price {
  flex: 0 0 auto;
  color: var(--swiss-black);
  font-size: 0.86rem;
  font-weight: 700;
}

.page-client-favorites .card-meta {
  order: 3;
  color: var(--swiss-red);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.favorite-card-remove {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 39px;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--swiss-black);
  border-bottom: 1px solid var(--swiss-black);
  border-radius: 0;
  background: var(--swiss-white);
  color: var(--swiss-red);
  box-shadow: none;
  font-size: 1rem;
  line-height: 1;
}

.favorite-card-remove:hover {
  background: var(--swiss-black);
  color: var(--swiss-white);
}

.pf-circle-btn.is-saved {
  color: var(--swiss-red);
}

@media (max-width: 1020px) {
  .page-client-favorites .favorites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-client-favorites .photographer-card:nth-child(3n) {
    border-right: 1px solid var(--swiss-black);
  }

  .page-client-favorites .photographer-card:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 700px) {
  .favorites-message,
  .favorites-empty {
    margin-left: 16px;
    margin-right: 16px;
  }

  .favorites-count-row {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-client-favorites .favorites-grid {
    grid-template-columns: 1fr;
  }

  .page-client-favorites .photographer-card,
  .page-client-favorites .photographer-card:nth-child(2n),
  .page-client-favorites .photographer-card:nth-child(3n) {
    border-right: 0;
  }
}

/* Mobile responsive polish pass. Keep desktop geometry intact, but give stacked
   mobile surfaces consistent gutters, borders, and touch targets. */
@media (max-width: 700px) {
  :root {
    --mobile-gutter: clamp(20px, 6vw, 28px);
    --mobile-section-y: 28px;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    font-size: 15px;
    line-height: 1.48;
  }

  .site-header {
    min-height: 68px;
  }

  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: 0 var(--mobile-gutter) !important;
  }

  .logo {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .nav-right {
    position: static !important;
    top: auto !important;
    right: auto !important;
    height: auto !important;
    margin-left: auto;
    transform: none !important;
    gap: 8px !important;
  }

  .site-header .nav-always {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .site-header .nav-always.nav-desktop-only {
    display: none !important;
  }

  .site-header .nav-always svg {
    width: 20px;
    height: 20px;
  }

  .nav-hamburger {
    position: static !important;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0 !important;
  }

  .nav-mobile-menu {
    top: 74px;
    width: calc(100vw - (var(--mobile-gutter) * 2));
    max-width: 420px;
    border-radius: 0;
    border-color: var(--swiss-black);
    box-shadow: none;
  }

  .nav-mobile-menu a,
  .nav-mobile-menu button {
    min-height: 44px;
    border-radius: 0;
  }

  .hp-h1,
  .explore-h1 {
    font-size: clamp(2.35rem, 11vw, 2.95rem) !important;
    line-height: 1.02;
    max-width: 100%;
    overflow-wrap: normal;
  }

  .hp-hero-meta {
    padding-bottom: 24px;
  }

  .pf-name,
  .book-header h1,
  .client-requests-head h1,
  .client-profile-head h1,
  .calendar-page-panel > h1,
  .dash-calendar-head h1,
  .tab-pane > h1,
  .tab-pane h2:first-child {
    font-size: clamp(2rem, 10vw, 2.7rem) !important;
    line-height: 1.05;
  }

  .explore-hero-main,
  .explore-hero-method,
  .profile-v2 .pf-breadcrumb,
  .pf-identity,
  .pf-about-box > .pf-eyebrow,
  .pf-about-copy,
  .pf-about-category-row,
  .book-back,
  .book-header,
  .book-col-calendar,
  .book-col-form,
  .client-requests-head,
  .client-profile-head,
  .main-head,
  .calendar-page-panel > h1,
  .dash-calendar-head,
  .calendar-blackout-card-head,
  .blackout-card-form,
  .blackout-card-list-wrap {
    padding-left: var(--mobile-gutter) !important;
    padding-right: var(--mobile-gutter) !important;
  }

  .explore-hero-main,
  .explore-hero-method,
  .pf-identity,
  .book-header {
    padding-top: 38px !important;
    padding-bottom: 34px !important;
  }

  .explore-hero-main,
  .explore-hero-method {
    min-width: 0;
    width: 100%;
  }

  .explore-hero-meta,
  .book-title-row,
  .pf-name-row,
  .identity-name-line {
    min-width: 0;
  }

  .explore-sub,
  .pf-about-copy,
  .book-header-meta,
  .client-requests-head p,
  .client-profile-head p,
  .dash-calendar-head p {
    font-size: 1rem;
    line-height: 1.45;
  }

  .pf-name-row,
  .book-title-row {
    align-items: flex-start;
    gap: 18px;
  }

  .pf-name-row .identity-avatar,
  .book-title-row .identity-avatar {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
  }

  .pf-action-row,
  .pf-cta-actions,
  .book-legend,
  .client-profile-actions,
  .save-bar,
  .blackout-card-actions,
  .lead-actions,
  .admin-actions,
  .modal-actions {
    gap: 12px;
  }

  .pf-action-row .pf-btn-primary,
  .pf-action-row .pf-btn-secondary,
  .pf-cta-actions .pf-btn-primary,
  .pf-cta-actions .pf-btn-secondary,
  .book-col-form .pf-btn-primary,
  .client-profile-actions .btn-primary,
  .save-bar .btn-primary,
  .blackout-card-actions .pf-btn-primary,
  .launch-banner-action .btn-primary,
  .launch-banner-action .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  button,
  .btn-primary,
  .btn-secondary,
  .btn-success,
  .btn-warning,
  .btn-danger,
  .btn-primary-sm,
  .btn-sm,
  .pf-btn-primary,
  .pf-btn-secondary,
  .auth-primary-btn,
  .auth-secondary-btn,
  .auth-tab,
  .dash-tab,
  .dash-nav-link,
  .admin-tab,
  .requests-subtab,
  .dash-calendar-view-btn,
  .category-option,
  .fotuna-calendar-view-button,
  .fotuna-calendar-view-select select,
  .fc .fc-button {
    min-height: 44px;
  }

  input,
  select,
  textarea,
  .dash-mobile-switcher select,
  .auth-field input,
  .book-col-form input,
  .book-col-form select,
  .book-col-form textarea,
  .client-profile-form input,
  .client-profile-form select,
  .client-profile-form textarea,
  .blackout-card-form input,
  .blackout-card-form select,
  .blackout-card-form textarea,
  .lang-input {
    min-height: 44px;
    font-size: 1rem;
  }

  .selected-city button,
  .selected-category button,
  .lang-tag-remove,
  .favorite-card-remove {
    min-width: 36px;
    min-height: 36px;
  }

  .dashboard-sidebar {
    padding: 24px var(--mobile-gutter) !important;
    min-height: 0;
  }

  .page-dashboard {
    align-items: start;
    min-height: auto;
    gap: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-dashboard > .dashboard-sidebar,
  .page-dashboard > .dashboard-content {
    align-self: start;
    width: 100%;
  }

  .dash-mobile-switcher {
    gap: 10px;
  }

  .dash-mobile-switcher select {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .dashboard-sidebar:not(.has-mobile-switcher) .dash-nav {
    gap: 0;
    border: 1px solid var(--swiss-black);
  }

  .dashboard-sidebar:not(.has-mobile-switcher) .dash-tab,
  .dashboard-sidebar:not(.has-mobile-switcher) .dash-nav-link {
    width: 100%;
    justify-content: center;
    text-align: center;
    border: 0;
    border-bottom: 1px solid var(--swiss-black);
    border-radius: 0;
  }

  .dashboard-sidebar:not(.has-mobile-switcher) .dash-tab:last-child,
  .dashboard-sidebar:not(.has-mobile-switcher) .dash-nav-link:last-child {
    border-bottom: 0;
  }

  .tab-pane,
  .launch-panel,
  .client-profile-layout,
  .client-requests-list,
  .review-reminder,
  .calendar-workspace,
  #dash-calendar,
  #client-calendar,
  .calendar-blackout-card,
  .favorites-empty,
  .favorites-grid {
    width: auto;
    margin-left: var(--mobile-gutter) !important;
    margin-right: var(--mobile-gutter) !important;
  }

  .tab-pane,
  .launch-panel {
    padding: var(--mobile-section-y) var(--mobile-gutter) !important;
  }

  .calendar-page-panel .calendar-workspace,
  .calendar-page-panel #dash-calendar,
  .calendar-page-panel #dash-calendar-list,
  .calendar-page-panel .calendar-blackout-card {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .calendar-page-panel .calendar-blackout-card {
    padding: 0 !important;
  }

  .client-requests-list {
    padding: 24px 0 36px !important;
  }

  .client-empty-state {
    margin: 24px var(--mobile-gutter);
    padding: 28px var(--mobile-gutter);
    border: 1px solid var(--swiss-black);
  }

  .client-profile-layout,
  .profile-editor-layout {
    grid-template-columns: 1fr !important;
  }

  .profile-photo-card {
    border-right: 0 !important;
    border-bottom: 1px solid var(--swiss-black) !important;
  }

  .client-profile-form {
    padding: 24px var(--mobile-gutter) !important;
  }

  .client-type-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .client-type-toggle span {
    min-width: 0;
    min-height: 44px;
  }

  .dash-page-tabs,
  .admin-tabs,
  .requests-subtab-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    overflow: visible;
    border: 1px solid var(--swiss-black);
    border-bottom: 0;
    padding: 0;
  }

  .dash-page-tabs .dash-tab,
  .admin-tab,
  .requests-subtab {
    width: 100%;
    min-width: 0;
    justify-content: center;
    margin: 0;
    border: 0 !important;
    border-right: 1px solid var(--swiss-black) !important;
    border-bottom: 1px solid var(--swiss-black) !important;
    white-space: normal;
  }

  .dash-page-tabs .dash-tab:nth-child(2n),
  .admin-tab:nth-child(2n),
  .requests-subtab:nth-child(2n) {
    border-right: 0 !important;
  }

  .admin-tab .badge {
    flex: 0 0 auto;
  }

  .hp-photogs-grid,
  .page-explore .photographer-grid,
  .page-client-favorites .favorites-grid {
    border-top: 1px solid var(--swiss-black);
  }

  .hp-card,
  .hp-card:nth-child(2n),
  .hp-card:nth-child(3n),
  .page-explore .photographer-card,
  .page-explore .photographer-card:nth-child(2n),
  .page-explore .photographer-card:nth-child(3n),
  .page-client-favorites .photographer-card,
  .page-client-favorites .photographer-card:nth-child(2n),
  .page-client-favorites .photographer-card:nth-child(3n) {
    border-left: 1px solid var(--swiss-black);
    border-right: 1px solid var(--swiss-black);
  }

  .hp-card-head,
  .page-explore .card-head,
  .page-client-favorites .card-head {
    min-height: 44px;
    font-size: 0.74rem;
  }

  .hp-card-label-name,
  .page-explore .card-name,
  .page-client-favorites .card-name {
    font-size: clamp(1.2rem, 7vw, 1.5rem);
    line-height: 1.08;
  }

  .exp-slider-handle {
    width: 22px;
    height: 22px;
  }

  .fc .fc-header-toolbar {
    padding: 16px var(--mobile-gutter) !important;
  }

  .fc .fc-toolbar-chunk {
    width: 100%;
    justify-content: center !important;
  }

  .fc .fc-toolbar-chunk:first-child .fc-button-group {
    width: auto;
    gap: 12px;
    justify-content: center;
  }

  .fc .fc-prev-button,
  .fc .fc-next-button {
    width: 52px;
    min-width: 52px;
    height: 44px;
  }

  .fc .fc-toolbar-title {
    text-align: center;
    font-size: clamp(1.8rem, 8vw, 2.3rem);
  }

  .fotuna-calendar-view-select,
  .fotuna-calendar-view-button {
    width: 100%;
  }

  .fc-daygrid-day-frame {
    min-height: 76px !important;
  }

  .inbox-split {
    width: auto;
    margin-left: var(--mobile-gutter);
    margin-right: var(--mobile-gutter);
  }

  .fotuna-chat-header,
  .fotuna-chat-messages,
  .fotuna-chat-composer {
    padding-left: var(--mobile-gutter) !important;
    padding-right: var(--mobile-gutter) !important;
  }

  .fotuna-chat-composer {
    grid-template-columns: 1fr;
  }

  .fotuna-chat-composer .send-btn,
  .fotuna-chat-composer button {
    width: 100%;
    justify-content: center;
  }

  .site-footer-inner {
    padding-left: var(--mobile-gutter) !important;
    padding-right: var(--mobile-gutter) !important;
  }
}

/* Visual consistency refinements: desktop shell, table-like surfaces, static pages. */
:root {
  --site-shell-max: 1728px;
  --table-outer-border: 10px;
  --table-inner-border: 4px;
  --table-inline-gutter: 40px;
}

@media (min-width: 1280px) {
  :root {
    --table-inline-gutter: 120px;
  }
}

@media (min-width: 1021px) {
  .nav-inner,
  .hp-root,
  .page-explore,
  .page-profile.profile-v2,
  .page-book,
  .page-dashboard,
  .page-inbox,
  .page-client-favorites,
  .page-content,
  .hiw-root,
  .auth-shell {
    width: 100%;
    max-width: var(--site-shell-max);
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer-inner {
    max-width: var(--site-shell-max);
    margin-left: auto;
    margin-right: auto;
  }

  .auth-shell {
    align-items: stretch;
  }

  .auth-card {
    align-self: stretch;
    justify-content: flex-start;
  }

  .auth-panel {
    width: 100%;
  }

  .hp-photogs-grid,
  .page-explore .photographer-grid,
  .page-client-favorites .favorites-grid,
  .hp-voices-grid,
  .hp-metrics,
  .pf-metrics,
  .pf-photo-grid,
  .pf-mini-grid,
  .inbox-split,
  #dash-calendar,
  #client-calendar,
  .calendar-workspace,
  .client-profile-layout,
  .admin-user-list,
  .stats-grid {
    width: auto;
    margin-left: var(--table-inline-gutter);
    margin-right: var(--table-inline-gutter);
  }

  .calendar-page-panel .calendar-workspace {
    margin-left: var(--table-inline-gutter);
    margin-right: var(--table-inline-gutter);
  }

  .calendar-workspace #dash-calendar,
  .calendar-workspace #client-calendar,
  .calendar-workspace #dash-calendar-list {
    margin-left: 0;
    margin-right: 0;
  }

  .hp-photogs-grid,
  .page-explore .photographer-grid,
  .page-client-favorites .favorites-grid,
  .hp-voices-grid,
  .hp-metrics,
  .pf-metrics,
  .pf-photo-grid,
  .pf-mini-grid,
  .client-profile-layout,
  .inbox-split,
  .admin-user-list,
  .admin-user-info-grid,
  .admin-audit-list,
  .admin-settings-list,
  .admin-delete-impact-grid,
  .stats-grid,
  .lead-history,
  .hiw-bullets,
  .blackout-card-list,
  .dash-calendar-list-items {
    border: var(--table-outer-border) solid var(--swiss-black);
  }

  .hp-card,
  .page-explore .photographer-card,
  .page-client-favorites .photographer-card,
  .hp-voice-card,
  .hp-metric,
  .pf-metric-cell,
  .pf-photo-card,
  .pf-mini-cell,
  .admin-user-row,
  .admin-user-info-grid div,
  .admin-audit-row,
  .admin-setting-row,
  .admin-delete-impact-grid span,
  .stats-grid > *,
  .lead-history li,
  .hiw-bullet,
  .blackout-card-item,
  .dash-calendar-list-item {
    border-color: var(--swiss-black);
    border-radius: 0;
  }

  .hp-card,
  .page-explore .photographer-card,
  .page-client-favorites .photographer-card,
  .hp-voice-card,
  .pf-photo-card {
    border-right-width: var(--table-inner-border);
    border-bottom-width: var(--table-inner-border);
  }

  .hp-card-head,
  .page-explore .card-head,
  .page-client-favorites .card-head,
  .hp-card-label,
  .page-explore .card-bottom,
  .page-client-favorites .card-bottom {
    border-bottom-width: var(--table-inner-border);
  }

  .hp-card-label,
  .page-explore .card-bottom,
  .page-client-favorites .card-bottom {
    border-top-width: var(--table-inner-border);
  }

  .hp-card:nth-child(3n),
  .page-explore .photographer-card:nth-child(3n),
  .page-client-favorites .photographer-card:nth-child(3n),
  .pf-photo-card:nth-child(3n) {
    border-right-width: 0;
  }

  .hp-voice-card:nth-child(2n),
  .pf-mini-cell:last-child,
  .pf-metric-cell:last-child,
  .hp-metric:last-child {
    border-right-width: 0;
  }

  .hp-metric + .hp-metric,
  .hp-metric-div + .hp-metric,
  .pf-metric-cell,
  .pf-mini-cell {
    border-left-width: 0;
    border-right-width: var(--table-inner-border);
  }

  .hp-metrics .hp-metric,
  .pf-metrics .pf-metric-cell {
    border-right-style: solid;
    border-right-color: var(--swiss-white);
  }

  .hp-metrics .hp-metric:last-child,
  .pf-metrics .pf-metric-cell:last-child,
  .pf-mini-grid .pf-mini-cell:last-child {
    border-right-width: 0;
  }

  .admin-user-list,
  .admin-user-info-grid,
  .admin-audit-list,
  .admin-settings-list,
  .blackout-card-list,
  .dash-calendar-list-items {
    gap: 0;
    overflow: hidden;
  }

  .admin-user-row,
  .dash-calendar-list-item,
  .blackout-card-item {
    margin: 0;
    border: 0;
    border-bottom: var(--table-inner-border) solid var(--swiss-black);
    box-shadow: none;
  }

  .admin-user-row:last-child,
  .dash-calendar-list-item:last-child,
  .blackout-card-item:last-child {
    border-bottom: 0;
  }

  .admin-user-info-grid div,
  .admin-audit-row,
  .admin-setting-row,
  .lead-history li,
  .hiw-bullet {
    border-bottom-width: var(--table-inner-border);
  }

  .admin-user-info-grid div:last-child,
  .admin-audit-row:last-child,
  .admin-setting-row:last-child,
  .lead-history li:last-child,
  .hiw-bullet:last-child {
    border-bottom: 0;
  }

  .client-request-card {
    border: var(--table-outer-border) solid var(--swiss-black);
    border-radius: 0;
    box-shadow: none;
  }

  .client-request-card-main {
    border-bottom-width: var(--table-inner-border);
  }

  .inbox-conv-list {
    border-right-width: var(--table-inner-border);
  }

  .conv-row {
    border-bottom-width: var(--table-inner-border);
  }

  .fc .fc-scrollgrid,
  #booking-calendar .fc-scrollgrid {
    border: var(--table-outer-border) solid var(--swiss-black) !important;
  }

  .fc-theme-standard th,
  .fc-theme-standard td,
  .fc-scrollgrid-section > td {
    border-color: var(--swiss-black) !important;
    border-width: var(--table-inner-border) !important;
  }
}

.auth-check-row--consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
}

.auth-check-copy--consent {
  display: block;
  width: 100%;
  min-width: 0;
  color: var(--swiss-black);
  font-size: 0.78rem;
  line-height: 1.45;
  text-transform: none !important;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

.auth-check-copy--consent a {
  display: inline;
}

.hiw-root {
  padding: 0;
  background: var(--swiss-white);
  color: var(--swiss-black);
}

.hiw-hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
  gap: 0;
  padding: 0;
  border-bottom: 2px solid var(--swiss-black);
  text-align: left;
}

.hiw-hero h1 {
  max-width: 760px;
  margin: 0;
  padding: 56px 24px 40px;
  color: var(--swiss-black);
  font-size: 4.4rem;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

.hiw-hero-sub {
  align-self: stretch;
  max-width: none;
  margin: 0;
  padding: 56px 32px 40px;
  border-left: 1px solid var(--swiss-black);
  color: var(--swiss-black);
  font-size: 1rem;
  line-height: 1.45;
}

.hiw-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: stretch;
  gap: 0;
  padding: 0;
  border-bottom: 2px solid var(--swiss-black);
}

.hiw-tab-btn {
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border: 0;
  border-right: 1px solid var(--swiss-black);
  border-radius: 0;
  background: var(--swiss-white);
  color: var(--swiss-black);
  box-shadow: none;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hiw-tab-btn:last-child {
  border-right: 0;
}

.hiw-tab-btn.active {
  background: var(--swiss-black);
  color: var(--swiss-white);
  box-shadow: none;
}

.hiw-tab-container {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hiw-panel {
  display: none;
  padding: 0;
}

.hiw-panel.active {
  display: block;
}

.hiw-box {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--swiss-white);
  box-shadow: none;
}

.hiw-box-black {
  background: var(--swiss-black);
  color: var(--swiss-white);
}

.hiw-box-black .hiw-bullets,
.hiw-box-black .hiw-bullet {
  border-color: var(--swiss-white);
}

.hiw-grid {
  grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
  gap: 0;
  align-items: stretch;
}

.hiw-copy {
  min-width: 0;
  padding: 56px 40px;
  border-right: 1px solid var(--swiss-black);
}

.hiw-box-black .hiw-copy {
  border-right-color: var(--swiss-white);
}

.hiw-eyebrow {
  color: var(--swiss-red) !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
}

.hiw-h2 {
  max-width: 760px;
  margin: 0 0 20px;
  color: var(--swiss-black);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.hiw-box-black .hiw-h2,
.hiw-box-black .hiw-bullet-text,
.hiw-box-black .hiw-quote-text,
.hiw-box-black .hiw-author-name {
  color: var(--swiss-white);
}

.hiw-desc {
  max-width: 520px;
  margin: 0 0 28px;
  color: var(--swiss-black);
  font-size: 0.98rem;
  line-height: 1.45;
}

.hiw-box-black .hiw-desc,
.hiw-box-black .hiw-author-role {
  color: rgba(255, 255, 255, 0.74);
}

.hiw-bullets {
  display: grid;
  gap: 0;
  margin: 0 0 28px;
  list-style: none;
  border: 1px solid currentColor;
}

.hiw-bullet {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid currentColor;
}

.hiw-bullet:last-child {
  border-bottom: 0;
}

@media (min-width: 1021px) {
  .hiw-bullets {
    border-width: var(--table-outer-border);
  }

  .hiw-bullet {
    border-bottom-width: var(--table-inner-border);
  }

  .hiw-bullet:last-child {
    border-bottom-width: 0;
  }
}

.hiw-check {
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent !important;
}

.hiw-cta {
  border-radius: 0;
  box-shadow: none;
  font-weight: 700;
}

.hiw-quotes {
  display: grid;
  gap: 0;
  align-content: stretch;
  padding: 56px 40px;
}

.hiw-quote-card {
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--swiss-black);
  border-radius: 0;
  background: var(--swiss-white);
  box-shadow: none;
}

.hiw-box-white .hiw-quote-card {
  border-color: var(--swiss-black);
  background: var(--swiss-white);
  box-shadow: none;
}

.hiw-quote-card + .hiw-quote-card {
  border-top: 0;
}

.hiw-box-black .hiw-quote-card {
  border-color: var(--swiss-white);
  background: var(--swiss-black);
}

.hiw-avatar {
  border-radius: 0;
}

@media (max-width: 1020px) {
  .hiw-hero,
  .hiw-grid {
    grid-template-columns: 1fr;
  }

  .hiw-hero h1,
  .hiw-hero-sub,
  .hiw-copy,
  .hiw-quotes {
    padding-left: 40px;
    padding-right: 40px;
  }

  .hiw-hero-sub,
  .hiw-copy {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--swiss-black);
  }

  .hiw-box-black .hiw-copy {
    border-top-color: var(--swiss-white);
  }
}

@media (max-width: 700px) {
  .hiw-hero h1 {
    padding: 38px var(--mobile-gutter) 24px;
    font-size: clamp(2.35rem, 11vw, 2.95rem);
  }

  .hiw-hero-sub,
  .hiw-copy,
  .hiw-quotes {
    padding-left: var(--mobile-gutter);
    padding-right: var(--mobile-gutter);
  }

  .hiw-hero-sub {
    padding-top: 28px;
    padding-bottom: 30px;
  }

  .hiw-tabs {
    grid-template-columns: 1fr;
  }

  .hiw-tab-btn {
    border-right: 0;
    border-bottom: 1px solid var(--swiss-black);
  }

  .hiw-tab-btn:last-child {
    border-bottom: 0;
  }

  .hiw-copy,
  .hiw-quotes {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .hiw-h2 {
    font-size: clamp(2rem, 9vw, 2.5rem);
  }
}

@media (max-width: 430px) {
  .pf-name,
  .book-header h1 {
    font-size: clamp(2.35rem, 14vw, 3rem) !important;
  }

  .pf-name-row,
  .book-title-row {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .pf-action-row {
    grid-template-columns: 1fr auto auto;
  }

  .pf-action-row .pf-btn-primary {
    min-width: 0;
  }
}

/* Homepage featured photographers: one fixed table frame, no hover-resizing rules. */
.hp-featured-hd {
  border-bottom: 0;
}

.hp-photogs-grid {
  gap: var(--table-inner-border);
  padding: 0;
  border: var(--table-outer-border) solid var(--swiss-black);
  border-radius: 0;
  background: var(--swiss-black);
  overflow: hidden;
}

.hp-card,
.hp-card:hover,
.hp-card:focus,
.hp-card:focus-visible,
.hp-card:nth-child(2n),
.hp-card:nth-child(3n) {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  transition: none;
}

/* Homepage metrics bar: keep the values in one horizontal row. */
.hp-metrics {
  display: grid;
  align-items: stretch;
  grid-auto-flow: column;
  grid-auto-rows: auto;
  gap: 0;
  overflow: hidden;
}

.hp-metrics--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hp-metrics--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hp-metric {
  min-width: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: clamp(28px, 4vw, 48px) clamp(8px, 2vw, 24px);
}

.hp-metric-num {
  max-width: 100%;
  white-space: nowrap;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 1;
}

.hp-metric-label {
  white-space: nowrap;
}
