/*
Theme Name: secretworkjob.com — Minimal Nocturnal One-Page
Theme URI: https://secretworkjob.com
Author: secretworkjob.com Studio
Author URI: https://secretworkjob.com
Description: Minimal, image-rich one-page nocturnal WordPress theme pointed at secretworkjob.com. Features 28+ visual frames across the hero mosaic, portrait strip, 6-photo contact sheet, 6 dual-image adult services opportunity cards, 9-photo interactive Lookbook Gallery with lightbox modal, and a streamlined confidential Sign-Up form with blind server-side wp_mail() delivery.
Version: 4.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: secretworkjob-theme
Tags: dark, one-page, photography, portfolio, custom-menu, responsive-layout
*/

:root {
  --bg-obsidian: #090608;
  --bg-velvet: #0C0609;
  --bg-card: #12080E;
  --bg-input: #090507;
  --border-subtle: rgba(212, 175, 55, 0.2);
  --border-hover: rgba(212, 175, 55, 0.65);
  --accent-crimson: #B91C3B;
  --accent-crimson-hover: #9F1239;
  --accent-gold: #D4AF37;
  --text-ivory: #F5EFEA;
  --text-body: #C9B8C0;
  --text-muted: #B8A6AE;
  --text-dim: #8E7A83;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--text-ivory);
  font-family: var(--font-sans);
  line-height: 1.6;
}

body {
  background-color: var(--bg-obsidian);
  color: var(--text-ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.swj-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.swj-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* Top Bar Contract: 1 row, 3 zones separated by gap-8 */
.swj-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 6, 8, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.swj-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 4rem;
}

.swj-brand {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-ivory);
  white-space: nowrap;
  flex-shrink: 0;
}

.swj-brand:hover {
  color: var(--accent-gold);
}

.swj-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.swj-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.swj-nav a:hover {
  color: var(--text-ivory);
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-color: var(--accent-gold);
}

@media (max-width: 768px) {
  .swj-nav {
    display: none;
  }
}

.swj-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background-color: var(--accent-crimson);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.swj-btn-primary:hover {
  background-color: var(--accent-crimson-hover);
}

.swj-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  background-color: transparent;
  color: var(--text-ivory);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 0.25rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.swj-btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* Sections */
.swj-section {
  padding: 3.5rem 0 4.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.swj-section-alt {
  padding: 3.5rem 0 4.5rem;
  background-color: var(--bg-velvet);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.swj-kicker {
  font-size: 0.75rem;
  color: var(--accent-gold);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.swj-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4vw, 3.75rem);
  line-height: 1.06;
  font-weight: 600;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.swj-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  line-height: 1.12;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-wrap: balance;
}

/* Hero 2-Column Split + 4-Photo Editorial Mosaic */
.swj-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .swj-hero-grid {
    grid-template-columns: 5fr 7fr;
  }
}

.swj-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.swj-portrait-strip-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.swj-portrait-thumb {
  position: relative;
  height: 7rem;
  border-radius: 0.25rem;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.swj-portrait-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swj-hero-mosaic-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .swj-hero-mosaic-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.swj-mosaic-card {
  position: relative;
  min-height: 225px;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.swj-mosaic-card:hover {
  border-color: var(--accent-gold);
}

.swj-mosaic-card .swj-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.swj-mosaic-card:hover .swj-bg-img {
  transform: scale(1.05);
}

.swj-watermark {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  height: 1.25rem;
  width: auto;
  opacity: 0.45;
  pointer-events: none;
  z-index: 3;
}

.swj-mosaic-scrim {
  position: relative;
  z-index: 2;
  padding: 1rem;
  width: 100%;
  background: linear-gradient(to top, #090608 10%, rgba(9, 6, 8, 0.75) 65%, transparent 100%);
}

/* 6-Photo Contact Sheet Ribbon */
.swj-contact-sheet-6 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

@media (min-width: 640px) {
  .swj-contact-sheet-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .swj-contact-sheet-6 {
    grid-template-columns: repeat(6, 1fr);
  }
}

.swj-sheet-thumb {
  position: relative;
  height: 8rem;
  border-radius: 0.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  background: var(--bg-card);
  text-align: left;
}

.swj-sheet-thumb:hover {
  border-color: var(--accent-gold);
}

.swj-sheet-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.swj-sheet-thumb:hover img {
  transform: scale(1.05);
}

.swj-sheet-caption {
  position: absolute;
  bottom: 0.5rem;
  left: 0.65rem;
  right: 0.65rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-ivory);
  z-index: 2;
}

/* Filter Bar */
.swj-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.swj-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 0.5rem;
  overflow-x: auto;
}

.swj-filter-btn {
  padding: 0.45rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 0.25rem;
  white-space: nowrap;
  cursor: pointer;
}

.swj-filter-btn.active {
  background: var(--accent-crimson);
  color: #ffffff;
}

/* 6 Dual-Image Opportunity Cards */
.swj-opp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .swj-opp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .swj-opp-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.swj-opp-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.15s ease;
}

.swj-opp-card:hover {
  border-color: var(--border-hover);
}

.swj-opp-media {
  position: relative;
  height: 16rem;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.swj-opp-media .swj-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.swj-opp-card:hover .swj-main-img {
  transform: scale(1.05);
}

.swj-opp-inset {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  width: 4rem;
  height: 4rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
  overflow: hidden;
  z-index: 3;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.swj-opp-inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swj-opp-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #090608 6%, rgba(9, 6, 8, 0.35) 55%, transparent 100%);
  pointer-events: none;
}

.swj-opp-body {
  padding: 1.25rem;
}

.swj-opp-footer {
  padding: 0.5rem 1.25rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* 9-Frame Asymmetric Lookbook Grid */
.swj-lookbook-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .swj-lookbook-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .swj-lookbook-featured {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 360px !important;
  }
  .swj-lookbook-wide {
    grid-column: span 2;
  }
}

.swj-lookbook-item {
  position: relative;
  min-height: 265px;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.22);
  cursor: pointer;
  background: var(--bg-card);
}

.swj-lookbook-item:hover {
  border-color: var(--accent-gold);
}

.swj-lookbook-item .swj-lb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.swj-lookbook-item:hover .swj-lb-img {
  transform: scale(1.05);
}

/* Minimal Sign-Up Section */
.swj-signup-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 0.5rem;
  padding: 1.75rem;
}

@media (min-width: 1024px) {
  .swj-signup-card {
    grid-template-columns: 5fr 7fr;
    padding: 2.5rem;
  }
}

.swj-signup-visuals {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
}

.swj-signup-main-photo {
  position: relative;
  min-height: 260px;
  flex: 1;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.swj-signup-main-photo img.swj-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swj-signup-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.swj-signup-pair-thumb {
  height: 6rem;
  border-radius: 0.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.swj-signup-pair-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

@media (min-width: 640px) {
  .swj-form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.swj-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-ivory);
  margin-bottom: 0.35rem;
}

.swj-input,
.swj-select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 0.25rem;
  padding: 0.75rem 1rem;
  color: var(--text-ivory);
  font-size: 0.875rem;
  font-family: var(--font-sans);
}

.swj-input:focus,
.swj-select:focus {
  outline: none;
  border-color: var(--accent-gold);
}

/* Lightbox Modal */
.swj-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.swj-lightbox.open {
  display: flex;
}

.swj-lightbox-box {
  max-width: 48rem;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 0.5rem;
  overflow: hidden;
}
