/* ============================================================
   ROSEWOOD MODELS — Model Profile Styles
   ============================================================ */

   .profile-main {
    padding-top: 0;
  }
  
  /* ─── Back Navigation ─────────────────────────────────────── */
  .profile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 50;
    padding: var(--space-sm) var(--page-margin);
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
  }
  
  .profile-back {
    pointer-events: all;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-utility);
    font-size: var(--size-xs);
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--color-muted);
    transition: color var(--transition-base);
  }
  
  .profile-back:hover { color: var(--color-text); }
  
  .profile-back svg { transition: transform var(--transition-base); }
  .profile-back:hover svg { transform: translateX(-4px); }
  
  .profile-division {
    pointer-events: none;
    font-family: var(--font-utility);
    font-size: var(--size-xs);
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--color-muted);
  }
  
  /* ─── Layout ──────────────────────────────────────────────── */
  .profile-layout {
    display: flex;
    align-items: flex-start;
    min-height: 100vh;
  }
  
  /* ─── Left Column ─────────────────────────────────────────── */
  .profile-left {
    width: 40%;
    flex-shrink: 0;
  }
  
  .profile-image-item {
    width: 100%;
    padding-bottom: 150%; /* 2:3 ratio */
    position: relative;
    background-color: var(--color-surface);
    overflow: hidden;
  }
  
  .profile-image-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    cursor: pointer;
  }
  
  /* ─── Right Column ────────────────────────────────────────── */
  .profile-right {
    flex: 1;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
    padding: var(--space-xl) var(--space-lg);
    border-left: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .profile-right::-webkit-scrollbar { display: none; }
  
  /* ─── Identity ────────────────────────────────────────────── */
  .profile-identity {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  
  .profile-name {
    font-family: var(--font-display);
    font-size: var(--size-2xl);
    font-weight: 300;
    letter-spacing: var(--tracking-tight);
    color: var(--color-text);
    line-height: var(--leading-tight);
  }
  
  .profile-location {
    font-family: var(--font-utility);
    font-size: var(--size-xs);
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--color-muted);
  }
  
  /* ─── Section ─────────────────────────────────────────────── */
  .profile-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .profile-section-title {
    font-family: var(--font-utility);
    font-size: var(--size-xs);
    font-weight: 400;
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--color-muted);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
  }
  
  /* ─── Measurements ────────────────────────────────────────── */
  .profile-stats {
    display: flex;
    flex-direction: column;
  }
  
  .profile-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
  }
  
  .stat-label {
    font-family: var(--font-utility);
    font-size: var(--size-xs);
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--color-muted);
  }
  
  .stat-value {
    font-family: var(--font-utility);
    font-size: var(--size-sm);
    color: var(--color-text);
  }
  
  /* ─── Recent Work ─────────────────────────────────────────── */
  .profile-credits {
    display: flex;
    flex-direction: column;
  }
  
  .credit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
    transition: opacity var(--transition-base);
  }
  
  .credit-row:hover { opacity: 0.6; }
  
  .credit-brand {
    font-family: var(--font-display);
    font-size: var(--size-md);
    font-weight: 300;
    letter-spacing: var(--tracking-tight);
    color: var(--color-text);
  }
  
  .credit-detail {
    font-family: var(--font-utility);
    font-size: var(--size-xs);
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--color-muted);
  }
  
  /* ─── Lightbox ────────────────────────────────────────────── */
  .lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background-color: rgba(1,1,1,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-slow);
  }
  
  .lightbox.open {
    opacity: 1;
    pointer-events: all;
  }
  
  .lightbox-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    color: var(--color-muted);
    transition: color var(--transition-base);
    padding: var(--space-xs);
  }
  
  .lightbox-close:hover { color: var(--color-text); }
  
  .lightbox-image-wrap {
    max-width: 80vw;
    max-height: 90vh;
  }
  
  .lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
  }
  
  /* ─── Responsive ──────────────────────────────────────────── */
  @media (max-width: 768px) {
    .profile-layout {
      flex-direction: column;
    }
  
    .profile-left {
      width: 100%;
    }
  
    .profile-right {
      position: relative;
      top: 0;
      height: auto;
      overflow-y: visible;
      border-left: none;
      border-top: 1px solid var(--color-border);
      padding: var(--space-lg) var(--page-margin);
    }
  
    .profile-nav {
      position: relative;
      top: 0;
    }
  }
  
  @media (max-width: 390px) {
    .profile-name { font-size: var(--size-xl); }
  }
  
  /* ─── High contrast nav over images ──────────────────────── */
  .profile-back,
  .profile-division,
  .profile-back svg path {
    color: #ffffff;
    stroke: #ffffff;
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.5));
  }
  
  .profile-main #header .nav-logo,
  .profile-main #header .nav-links a {
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
  }