/* ============================================
   FRAME — Homepage Styles
   home.css
   ============================================ */

/* ── Hero ── */
.hero {
  min-height: calc(100vh - var(--th) - var(--nh));
  display: flex; align-items: flex-end;
  padding: 0 2.5rem 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background: var(--hero-grad);
  transition: background 0.3s;
}

.hero-grid {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 65px 65px;
}

.hero-content { position: relative; z-index: 1; max-width: 780px; }

.hero-eyebrow {
  font-size: 0.63rem;
  letter-spacing: 0.27em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.hero-eyebrow::before {
  content: ''; width: 26px; height: 1px; background: var(--gold);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 0.95;
  color: var(--text-strong);
  margin-bottom: 1.1rem;
}
.hero-title em { font-style: italic; color: var(--gold); }

.hero-subtitle {
  font-size: 0.86rem;
  color: var(--text-muted2);
  max-width: 360px;
  margin-bottom: 2.5rem;
  line-height: 1.85;
}

.hero-buttons { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.hero-counters {
  position: absolute; right: 2.5rem; bottom: 4.5rem;
  display: flex; flex-direction: column;
  gap: 2.25rem; text-align: right;
}
.hc-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; font-weight: 300;
  color: var(--text-strong); line-height: 1;
}
.hc-label {
  font-size: 0.58rem; letter-spacing: 0.19em;
  text-transform: uppercase; color: var(--text-muted);
  margin-top: 0.18rem;
}

/* ── Marquee ── */
.marquee-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  overflow: hidden;
}
.marquee-track {
  display: inline-flex; gap: 2.25rem;
  animation: marquee 22s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem; font-style: italic;
  color: var(--text-muted); letter-spacing: 0.07em;
  flex-shrink: 0;
}
.marquee-dot { color: var(--gold); font-style: normal; }

/* ── Search Bar ── */
.search-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 1.75rem;
  transition: var(--transition-theme);
}
.search-inner { display: flex; align-items: center; gap: 0.65rem; flex-wrap: wrap; }

.search-input {
  flex: 1; min-width: 180px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.65rem 0.9rem;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  outline: none;
  transition: border-color 0.2s;
}
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus { border-color: var(--gold-dim); }

.search-select {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.65rem 2rem 0.65rem 0.9rem;
  color: var(--text-muted2);
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  outline: none; cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M0 0l4 5 4-5z' fill='%23C8A96E'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  transition: border-color 0.2s;
}
.search-select:focus { border-color: var(--gold-dim); }

.search-btn {
  background: var(--gold); border: none; border-radius: 2px;
  color: #080808;
  font-family: 'Outfit', sans-serif;
  font-size: 0.73rem; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase;
  padding: 0.65rem 1.6rem;
  cursor: pointer; transition: background 0.2s;
}
.search-btn:hover { background: var(--gold-light); }

/* ── Filter Pills ── */
.filter-pills {
  padding: 0.9rem 1.75rem;
  border-bottom: 1px solid var(--border);
  display: flex; gap: 0.55rem; flex-wrap: wrap; align-items: center;
}
.filter-label {
  font-size: 0.58rem; letter-spacing: 0.19em;
  text-transform: uppercase; color: var(--text-muted);
  margin-right: 0.25rem;
}
.filter-pill {
  font-size: 0.65rem; letter-spacing: 0.09em; text-transform: uppercase;
  border: 1px solid var(--border); color: var(--text-muted2);
  padding: 0.32rem 0.85rem; border-radius: 20px;
  cursor: pointer; background: none;
  font-family: 'Outfit', sans-serif;
  transition: all 0.18s;
}
.filter-pill:hover, .filter-pill.active { border-color: var(--gold); color: var(--gold); }
.filter-pill.active { background: rgba(200,169,110,0.07); }

/* ── Content Section ── */
.content-section { padding: 2.25rem 1.75rem; }

/* model-grid defined in v1.2.0 grid section below */

/* ── Agencies Section ── */
.agencies-section {
  background: var(--surface);
  padding: 2.75rem 1.75rem;
  transition: var(--transition-theme);
}
.agency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px; margin-top: 1.85rem;
}
.agency-card {
  background: var(--card); padding: 1.85rem;
  border-right: 1px solid var(--border);
  transition: background 0.22s; cursor: pointer;
}
.agency-card:last-child { border-right: none; }
.agency-card:hover { background: var(--surface); filter: brightness(1.05); }

.ag-logo {
  width: 44px; height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.35rem;
}
.ag-initial {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem; color: var(--gold);
}
.ag-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 300;
  color: var(--text-strong); margin-bottom: 0.22rem;
}
.ag-city {
  font-size: 0.64rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 0.9rem;
}
.ag-stats { display: flex; gap: 1.6rem; }
.ag-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; color: var(--text);
}
.ag-stat-label {
  font-size: 0.56rem; letter-spacing: 0.11em;
  text-transform: uppercase; color: var(--text-muted);
}
.ag-tags { display: flex; gap: 0.35rem; flex-wrap: wrap; margin-top: 1.1rem; }

/* ── CTA Section ── */
.cta-section {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; border-top: 1px solid var(--border);
}
.cta-panel {
  padding: 4rem 3rem;
  position: relative; overflow: hidden;
}
.cta-panel-model { background: var(--surface); }
.cta-panel-agency { background: var(--cta-b-bg); transition: background 0.3s; }

.cta-tag {
  font-size: 0.6rem; letter-spacing: 0.23em;
  text-transform: uppercase; color: var(--gold);
  display: block; margin-bottom: 1.1rem;
}
.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  font-weight: 300; color: var(--text-strong);
  line-height: 1.1; margin-bottom: 0.9rem;
}
.cta-title em { font-style: italic; color: var(--gold); }
.cta-desc {
  font-size: 0.83rem; color: var(--text-muted2);
  line-height: 1.85; margin-bottom: 2rem; max-width: 280px;
}
.cta-bg-num {
  position: absolute; right: 2.5rem; bottom: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 6.5rem; font-weight: 300;
  color: var(--cta-num-clr);
  line-height: 1; pointer-events: none;
  transition: color 0.3s;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 0.9rem;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; letter-spacing: 0.26em; color: var(--gold);
}
.footer-links { display: flex; gap: 1.6rem; }
.footer-links a {
  font-size: 0.63rem; letter-spacing: 0.11em;
  text-transform: uppercase; color: var(--text-muted);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.6rem; color: var(--text-muted); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .agency-grid, .cta-section { grid-template-columns: 1fr; }
  .hero { padding: 0 1rem 2rem; }
  .hero-counters { display: none; }
  .content-section { padding: 1.25rem 1rem; }
  .search-section  { padding: .75rem 1rem; }
}
@media (max-width: 480px) {
  .hero { padding: 0 .75rem 1.5rem; }
  .content-section { padding: 1rem .75rem; }
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: fadeUp 0.7s ease 0.15s both; }
.hero-title   { animation: fadeUp 0.7s ease 0.28s both; }
.hero-subtitle{ animation: fadeUp 0.7s ease 0.42s both; }
.hero-buttons { animation: fadeUp 0.7s ease 0.55s both; }
/* ══════════════════════════════════
   Model Grid — v1.3.0
   8 → 6 → 5 → 4 → 3 → 2 columns
══════════════════════════════════ */

.model-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  padding: 0 0 2rem;
}
@media (max-width: 1400px) {
  .model-grid { grid-template-columns: repeat(6, 1fr); gap: 12px; }
}
@media (max-width: 1100px) {
  .model-grid { grid-template-columns: repeat(5, 1fr); gap: 10px; }
}
@media (max-width: 860px) {
  .model-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
}
@media (max-width: 600px) {
  .model-grid { grid-template-columns: repeat(3, 1fr); gap: 7px; }
}
@media (max-width: 400px) {
  .model-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}

/* ── Pagination ── */
.pg-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  padding: 1.5rem 0 2.5rem;
  flex-wrap: wrap;
}
.pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 .5rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--card);
  color: var(--text-muted);
  font-size: .76rem;
  letter-spacing: .03em;
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.pg-btn:hover { border-color: var(--gold); color: var(--gold); }
.pg-btn.pg-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  font-weight: 600;
}
.pg-btn.pg-disabled {
  opacity: .3;
  pointer-events: none;
  cursor: default;
}
.pg-ellipsis {
  color: var(--text-muted);
  font-size: .8rem;
  padding: 0 .25rem;
  line-height: 32px;
}

/* Reset any old overrides */
.model-card:first-child {
  grid-column: span 1;
  grid-row: span 1;
}

/* ── Card wrapper ── */
.model-card {
  position: relative;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.model-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  border-color: var(--gold-dim);
}

/* ── Top label (nickname) ── */
.mc-top {
  background: var(--card);
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.mc-nickname {
  font-family: 'Outfit', sans-serif;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Photo area (25:37) ── */
.mc-photo-wrap {
  position: relative;
  aspect-ratio: 25 / 37;
  overflow: hidden;
  flex-shrink: 0;
}

.mc-photo-wrap img,
.mc-photo-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.model-card:hover .mc-photo-wrap img { transform: scale(1.05); }

/* Placeholder */
.mc-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph1 { background: linear-gradient(155deg, #2A1F14, #0E0C08); }
.ph2 { background: linear-gradient(155deg, #141A1F, #080C0E); }
.ph3 { background: linear-gradient(155deg, #1F1420, #0D080E); }
.ph4 { background: linear-gradient(155deg, #141F18, #080E0A); }
.ph5 { background: linear-gradient(155deg, #1A1510, #0E0C08); }

/* ── Badges (top-right of photo) ── */
.mc-badges {
  position: absolute;
  top: 2.2rem;
  right: .5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .25rem;
  z-index: 2;
}

.mc-badge {
  display: inline-flex;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-size: .5rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .2rem .5rem;
  border-radius: 20px;
  line-height: 1;
  white-space: nowrap;
}

.mc-badge--new         { background: rgba(210,50,50,.9);   color: #fff; }
.mc-badge--independent { background: rgba(120,70,190,.88); color: #fff; }
.mc-badge--review      { background: rgba(45,150,90,.88);  color: #fff; }
.mc-badge--video       { background: rgba(200,169,110,.88); color: #000; }
.mc-badge--gender      { background: rgba(30,120,180,.85); color: #fff; }

a.mc-badge { text-decoration: none; cursor: pointer; }
a.mc-badge:hover { filter: brightness(1.15); }

/* ── Hover overlay on photo ── */
.mc-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.22s;
}
.model-card:hover .mc-overlay { opacity: 1; }

.mc-link {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.6);
  padding: .5rem 1.1rem;
  border-radius: 2px;
  transition: background .2s, border-color .2s;
}
.mc-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #080808;
}

/* ── Photo overlay badges (premium / verified) ── */
.mc-photo-badge {
  position: absolute;
  left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  font-family: 'Outfit', sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: .42rem .5rem;
  pointer-events: none;
  z-index: 2;
}
.mc-photo-badge--top    { top: 0; }
.mc-photo-badge--bottom { bottom: 0; }

.mc-photo-badge--premium {
  background: rgba(120,88,10,.93);
  border-bottom: 2px solid #c8a96e;
  color: #f5d87a;
}
.mc-photo-badge--standard {
  background: rgba(40,40,40,.88);
  border-bottom: 2px solid rgba(128,128,128,.4);
  color: rgba(200,200,200,.6);
}
.mc-photo-badge--verified {
  background: rgba(10,70,30,.93);
  border-top: 2px solid #4CAF7D;
  color: #6dd9a0;
}
.mc-photo-badge--unverified {
  background: rgba(110,15,15,.93);
  border-top: 2px solid #c96e6e;
  color: #f5a0a0;
}

/* ── Bottom label (gender · city) ── */
.mc-bottom {
  background: var(--card);
  padding: 8px 10px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.mc-sub {
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mc-views {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-size: .58rem;
  color: var(--text-muted);
  margin-top: .2rem;
  letter-spacing: .04em;
}

/* Gender count bar */
.gender-count-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: .65rem 1.75rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.gcb-item {
  font-size: .72rem;
  letter-spacing: .09em;
  text-decoration: none;
  color: var(--text-muted2);
  transition: color .2s;
}
.gcb-item:hover, .gcb-item.active { color: var(--gold); }
.gcb-label { text-transform: uppercase; }
.gcb-count { color: var(--text-muted); margin-left: .25rem; }
.gcb-sep   { color: var(--border2); }
.gcb-clear { color: var(--danger); font-size: .65rem; }

/* ── Responsive ── */
@media (max-width: 1200px) {
  .model-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 960px) {
  .model-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .model-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 0 0 1.5rem; }
}
