/* =============================================
   WHITE GLOVE STAFFING — styles
   ============================================= */

:root {
  --gold: #C9A84C;
  --gold-light: #E2C97E;
  --gold-dark: #A8872C;
  --black: #0D0D0D;
  --charcoal: #1A1A1A;
  --white: #FFFFFF;
  --off-white: #F9F8F5;
  --gray: #6B6B6B;
  --light-gray: #EFEFEC;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.16);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
p { font-size: 1rem; color: var(--gray); }

.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

/* === LAYOUT === */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 6rem 0; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline-dark:hover {
  background: var(--black);
  color: var(--white);
}

/* === NAV === */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition);
}

#nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 52px;
  width: auto;
  transition: var(--transition);
  background: var(--white);
  border-radius: 6px;
  padding: 6px 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.12);
}

#nav.scrolled .nav-logo img {
  height: 44px;
  padding: 5px 10px;
  box-shadow: none;
}

.nav-cta { white-space: nowrap; }

/* Hide nav CTA text on mobile */
@media (max-width: 480px) {
  .nav-cta .btn-label { display: none; }
}

/* === HERO === */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600&q=80');
  background-size: cover;
  background-position: center top;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}

.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,10,10,0.78) 0%,
    rgba(10,10,10,0.55) 60%,
    rgba(10,10,10,0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 8rem 0 5rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--gold-light);
}

.hero-content p {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bounce 2.5s infinite;
}

.hero-scroll i { font-size: 1rem; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* === TRUST BAR === */
#trust {
  background: var(--black);
  padding: 2rem 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.trust-item i {
  color: var(--gold);
  font-size: 1rem;
}

.trust-divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.15);
}

@media (max-width: 600px) { .trust-divider { display: none; } }

/* === ABOUT === */
#about {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 60%;
  height: 60%;
  border: 2px solid var(--gold);
  border-radius: 2px;
  z-index: -1;
}

.about-text h2 { margin-bottom: 1.25rem; color: var(--black); }
.about-text p { margin-bottom: 1.25rem; line-height: 1.8; }

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--light-gray);
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 0.25rem;
  letter-spacing: 0.04em;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image::after { display: none; }
  .about-image img { height: 320px; }
}

/* === ROLES === */
#roles { background: var(--white); }

.roles-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.roles-header h2 { margin-bottom: 0.75rem; color: var(--black); }

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.role-card {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 2px;
  padding: 2rem 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: var(--transition);
}

.role-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  background: var(--white);
}

.role-card:hover::before { transform: scaleY(1); }

.role-icon {
  width: 48px;
  height: 48px;
  background: rgba(201,168,76,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.role-icon i {
  font-size: 1.1rem;
  color: var(--gold-dark);
}

.role-card h3 {
  color: var(--black);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.role-card p { font-size: 0.9rem; line-height: 1.65; }

@media (max-width: 860px) { .roles-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .roles-grid { grid-template-columns: 1fr; } }

/* === WHY === */
#why { background: var(--charcoal); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 2px;
  filter: brightness(0.85) contrast(1.05);
}

.why-text .section-label { color: var(--gold); }
.why-text h2 { color: var(--white); margin-bottom: 1.5rem; }

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-item-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
}

.why-item-icon i { font-size: 0.85rem; color: var(--gold); }

.why-item-text strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.why-item-text span { color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.6; }

@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .why-image img { height: 300px; }
}

/* === APPLY / CTA === */
#apply {
  background: var(--off-white);
  text-align: center;
}

.apply-inner {
  max-width: 660px;
  margin: 0 auto;
}

.apply-inner h2 { color: var(--black); margin-bottom: 1rem; }
.apply-inner p { font-size: 1.05rem; margin-bottom: 2.25rem; max-width: 500px; margin-left: auto; margin-right: auto; }

.apply-email-block {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 2px;
  padding: 2.25rem 2.5rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-sm);
}

.apply-email-block p {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 0.75rem;
}

.apply-email-link {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--gold-dark);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.apply-email-link:hover { color: var(--black); }
.apply-email-link i { font-size: 1rem; }

.apply-note {
  margin-top: 1.25rem;
  font-size: 0.8rem !important;
  color: var(--gray) !important;
}

/* === FOOTER === */
footer {
  background: var(--black);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

footer img {
  height: 48px;
  background: var(--white);
  border-radius: 6px;
  padding: 5px 14px;
  opacity: 0.95;
}

.footer-tagline {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.footer-copy {
  color: rgba(255,255,255,0.25);
  font-size: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  width: 100%;
  text-align: center;
}

/* === AOS FALLBACK (if CDN fails) === */
[data-aos] { transition-property: opacity, transform; }

/* === UTILITY === */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
