/* ============================================================
   SoCal Models — Talent page stylesheet
   Brand system: Pacific Heat palette + Barlow superfamily.
   Self-hosted fonts in /fonts. Shared by every /talent/*.html page.
   ============================================================ */

/* ---------- self-hosted fonts ---------- */
@font-face {
  font-family: 'Barlow'; font-style: normal; font-weight: 300;
  font-display: swap; src: url('/fonts/barlow-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow'; font-style: normal; font-weight: 400;
  font-display: swap; src: url('/fonts/barlow-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow'; font-style: normal; font-weight: 500;
  font-display: swap; src: url('/fonts/barlow-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow'; font-style: normal; font-weight: 600;
  font-display: swap; src: url('/fonts/barlow-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow'; font-style: normal; font-weight: 700;
  font-display: swap; src: url('/fonts/barlow-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600;
  font-display: swap; src: url('/fonts/barlow-condensed-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700;
  font-display: swap; src: url('/fonts/barlow-condensed-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800;
  font-display: swap; src: url('/fonts/barlow-condensed-800.woff2') format('woff2');
}

:root {
  --charcoal: #1C1C1C;
  --coral: #FF6B5B;
  --teal: #0ABAB5;
  --sand: #FAF6F0;
  --white: #FFFFFF;
  --magenta: #E8467C;
  --ink-soft: rgba(28,28,28,0.66);
  --sand-soft: rgba(250,246,240,0.72);
  --sand-faint: rgba(250,246,240,0.45);
  --line: #E6E0D7;
  --line-dark: rgba(250,246,240,0.14);

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;

  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-6: 48px; --s-8: 64px; --s-12: 96px;

  --r-card: 16px;
  --r-pill: 999px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 var(--s-4); }

a { color: var(--charcoal); }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 3px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--coral);
}

.btn {
  display: inline-block; cursor: pointer; border: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; padding: 15px 34px; border-radius: var(--r-pill);
}
.btn-outline { border: 1.5px solid var(--sand-soft); color: var(--sand); background: transparent; }

.heat-rule { height: 4px; border: 0; border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--coral), var(--teal)); }

.noise { position: relative; }
.noise::after {
  content: ''; position: absolute; inset: 0; opacity: 0.22; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- top bar ---------- */
.topbar {
  background: var(--charcoal);
  border-bottom: 1px solid var(--line-dark);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--s-4); max-width: 1140px; margin: 0 auto; }
.topbar .tb-logo { width: 160px; color: var(--sand); display: block; }
.topbar .tb-logo svg { width: 100%; height: auto; display: block; }
.topbar nav { display: flex; align-items: center; gap: var(--s-3); }
.topbar nav a:not(.btn) {
  font-size: 0.82rem; font-weight: 500; color: var(--sand-soft);
  text-decoration: none; letter-spacing: 0.02em;
}
.topbar nav a:not(.btn):hover { color: var(--coral); }

/* ---------- hero ---------- */
.hero {
  background: var(--charcoal); color: var(--sand);
  position: relative; overflow: hidden;
  padding: var(--s-6) 0;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 60% at 88% 115%, rgba(255,107,91,0.32) 0%, transparent 62%),
    radial-gradient(ellipse 50% 45% at 5% 110%, rgba(10,186,181,0.22) 0%, transparent 58%);
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3.4rem, 11vw, 7rem); line-height: 0.92;
  letter-spacing: 0.01em; text-transform: uppercase;
}
.hero .tagline {
  margin-top: var(--s-3); font-weight: 300; font-size: 1.2rem;
  color: var(--sand-soft); max-width: 520px;
}
.hero-actions { margin-top: var(--s-3); display: flex; gap: var(--s-2); flex-wrap: wrap; }

/* ---------- profile / stats ---------- */
.profile { background: var(--white); padding: var(--s-6) 0; }
.profile-grid {
  display: grid; grid-template-columns: 2fr 1fr; gap: var(--s-8);
  align-items: start;
}
.profile-photo {
  width: 100%; display: block; border-radius: var(--r-card);
  aspect-ratio: 2 / 3; object-fit: cover; object-position: center top;
  background: var(--charcoal); max-height: 720px;
}

.spec-card {
  background: var(--sand); border-radius: var(--r-card);
  padding: var(--s-4) var(--s-2);
}
.spec-card h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--coral);
}
.spec-card h3 + h3 { margin-top: var(--s-4); }
.spec {
  display: grid; grid-template-columns: 1fr auto; gap: var(--s-2);
  padding: 13px 0; border-bottom: 1px solid var(--line);
}
.spec:last-of-type { border-bottom: 0; }
.spec dt { font-size: 0.95rem; color: var(--ink-soft); }
.spec dd {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  letter-spacing: 0.04em; text-align: right;
}

/* full-width stacked row — for long values (e.g. an availability list) */
.spec.spec-stack { grid-template-columns: 1fr; gap: 6px; }
.spec.spec-stack dd {
  font-family: var(--font-body); font-weight: 400; font-size: 0.95rem;
  letter-spacing: 0; line-height: 1.55; text-align: left; color: var(--charcoal);
}

/* ---------- gallery (masonry via CSS columns) ---------- */
.gallery-section { padding: var(--s-12) 0; background: var(--sand); }
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-6); flex-wrap: wrap; }
.gallery-head h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.05; text-transform: uppercase;
}
.gallery-head p { color: var(--ink-soft); font-size: 0.95rem; }

.gallery { column-count: 3; column-gap: var(--s-2); }
.gallery-item {
  display: block; width: 100%; margin: 0 0 var(--s-2);
  break-inside: avoid; padding: 0; border: 0; cursor: zoom-in;
  border-radius: var(--r-card); overflow: hidden; background: var(--charcoal);
  position: relative; line-height: 0;
}
.gallery-item img { width: 100%; height: auto; display: block; transition: transform 0.5s ease; }
.gallery-item::after {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(135deg, rgba(255,107,91,0.30), rgba(10,186,181,0.25));
  transition: opacity 0.35s ease;
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.04); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .gallery-item img { transition: none; }
  .gallery-item:hover img, .gallery-item:focus-visible img { transform: none; }
}

/* ---------- footer ---------- */
.footer { background: var(--charcoal); color: var(--sand); padding: var(--s-8) 0; border-top: 1px solid var(--line-dark); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }
.footer .ft-logo { width: 130px; color: var(--sand); }
.footer .ft-logo svg { width: 100%; height: auto; display: block; }
.footer-meta { font-size: 0.82rem; color: var(--sand-faint); text-align: right; }
.footer-meta a { color: var(--sand-soft); text-decoration: none; }
.footer-age {
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.2em; color: var(--coral); margin-top: 6px;
}

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; display: none; }
.lb.open { display: block; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(15,15,15,0.94); }
.lb-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: var(--s-6); }
.lb-img { max-width: 90vw; max-height: 86vh; border-radius: var(--r-card); display: block; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lb-btn {
  position: absolute; z-index: 2; background: rgba(250,246,240,0.1); color: var(--sand);
  border: 1px solid var(--line-dark); border-radius: var(--r-pill); cursor: pointer;
  width: 52px; height: 52px; font-size: 1.4rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s ease;
}
.lb-btn:hover { background: var(--coral); border-color: var(--coral); }
.lb-close { top: var(--s-4); right: var(--s-4); }
.lb-prev { left: var(--s-4); top: 50%; transform: translateY(-50%); }
.lb-next { right: var(--s-4); top: 50%; transform: translateY(-50%); }
.lb-count {
  position: absolute; bottom: var(--s-4); left: 50%; transform: translateX(-50%); z-index: 2;
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.18em; color: var(--sand-soft);
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .profile-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .gallery { column-count: 2; }
  .topbar nav a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .hero, .profile, .gallery-section { padding: var(--s-8) 0; }
  .gallery { column-count: 1; }
  .lb-prev { left: var(--s-2); } .lb-next { right: var(--s-2); }
  .lb-btn { width: 44px; height: 44px; }
}
