/* ============================================
   Scott & Mehan Recruitment — Site Stylesheet v2
   Inspired by editorial construction/engineering
   recruitment sites: mixed serif/italic display type,
   full-bleed dark hero art, numbered cards, pill CTAs.
   ============================================ */

:root {
  --navy: #1B2A3C;
  --navy-deep: #0F1C2B;
  --navy-light: #24384F;
  --gold: #A08966;
  --gold-light: #C9AE86;
  --white: #FFFFFF;
  --cream: #F6F3EE;
  --text-body: #3A3F47;
  --text-muted: #8B93A0;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  font-weight: 600;
  margin: 0 0 0.5em;
  line-height: 1.15;
}
h1 { font-size: 3.4rem; }
h2 { font-size: 2.4rem; }
h3 { font-size: 1.4rem; }
em, .italic { font-style: italic; color: var(--gold); font-family: 'Playfair Display', Georgia, serif; }

p { margin: 0 0 1em; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.74rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.8em;
  display: block;
}
.eyebrow.on-dark { color: var(--gold-light); }

.divider { width: 60px; height: 2px; background: var(--gold); border: none; margin: 1.2em 0; }
.divider.center { margin: 1.2em auto; }

.placeholder {
  background: #FBF7EF;
  border: 1px dashed #D8C6A8;
  border-radius: 6px;
  padding: 0.9em 1.1em;
  font-size: 0.92rem;
  color: #8a765a;
  font-style: italic;
}

/* ============ NAV (overlaid on hero) ============ */
.site-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  padding: 30px 0;
}

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

.site-nav .logo img {
  height: 81px;
  width: auto;
  display: block;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.78rem;
  font-weight: 600;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover, .site-nav a.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ============ PAGE HERO (photo) ============ */
.page-hero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(15,23,35,0.86) 0%, rgba(15,23,35,0.68) 48%, rgba(15,23,35,0.56) 100%),
    url('../images/hero-dubai.jpg') center 35% / cover no-repeat;
  color: var(--white);
  padding: 190px 0 110px;
  overflow: hidden;
}
.page-hero.tall { padding: 220px 0 150px; }
.page-hero.short { padding: 150px 0 70px; }

.page-hero .eyebrow { color: var(--gold-light); }

.page-hero h1 {
  color: var(--white);
  max-width: 820px;
  font-weight: 500;
}

.page-hero h1 em,
.page-hero h1 .italic {
  color: var(--white);
  font-weight: 500;
}

.page-hero p.lead {
  max-width: 560px;
  color: #C7CEDA;
  font-size: 1.08rem;
  margin: 0 0 1.8em;
}

.hero-actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }

/* ============ BUTTONS (pill w/ arrow) ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 12px 15px 28px;
  border: 1.5px solid var(--gold);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 40px;
  transition: all 0.2s ease;
  background: transparent;
  cursor: pointer;
  font-family: 'Inter', Arial, sans-serif;
}
.btn .arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.btn:hover { background: var(--gold); color: var(--navy); text-decoration: none; }
.btn:hover .arrow { background: var(--navy); color: var(--gold-light); }

.btn.on-light { color: var(--navy); border-color: var(--navy); }
.btn.on-light .arrow { background: var(--navy); color: var(--gold-light); }
.btn.on-light:hover { background: var(--navy); color: var(--white); }
.btn.on-light:hover .arrow { background: var(--gold); color: var(--navy); }

.text-link {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 3px;
}
.text-link:hover { color: var(--gold-light); border-color: var(--gold-light); text-decoration: none; }

/* ============ SECTIONS ============ */
section { padding: 96px 0; }
section.cream { background: var(--cream); }
section.navy { background: var(--navy); color: var(--white); }
section.navy h2 { color: var(--white); }
section.tight { padding: 64px 0; }

.section-head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin: 0 0 56px; text-align: left; }

/* ============ NUMBERED CARDS (services) ============ */
.numbered-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #E7E1D6;
  border: 1px solid #E7E1D6;
}
.numbered-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.numbered-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.num-card {
  background: var(--white);
  padding: 40px 36px;
  transition: background 0.2s ease;
}
.num-card:hover { background: var(--cream); }
.num-card .num-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.num-card .num-row .idx {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 700;
}
.num-card .num-row .go {
  color: var(--gold);
  font-size: 1.1rem;
}
.num-card h3 { margin-bottom: 0.5em; }
.num-card p { color: var(--text-body); margin: 0; font-size: 0.96rem; }

/* ============ ICON CARDS (dark) ============ */
.icon-cards-wrap {
  position: relative;
  background: var(--navy);
  padding: 96px 0;
  color: var(--white);
}
.icon-cards-wrap .section-head h2 { color: var(--white); }

.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.icon-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 32px 26px;
  backdrop-filter: blur(2px);
}
.icon-card .icon-mark {
  width: 52px;
  height: 52px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--gold-light);
  margin-bottom: 22px;
}
.icon-card h3 { color: var(--white); font-size: 1.2rem; margin: 0; }
.icon-card p { color: #C7CEDA; font-size: 0.92rem; margin: 0; }
.icon-cards-wrap .section-head .eyebrow { font-size: 1rem; }

/* ============ ABOUT / FEATURE COLUMNS ============ */
.col-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.feature { text-align: left; }
.feature .icon-mark-sm {
  width: 44px; height: 44px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  margin-bottom: 18px;
  font-size: 1.1rem;
}

/* ============ FOUNDERS (single spotlight) ============ */
.founder-spotlight {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: center;
}
.founder-spotlight .photo-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--navy);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-spotlight .photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder-spotlight .photo-placeholder {
  color: var(--gold-light);
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  text-align: center;
  padding: 20px;
}
.founder-spotlight h3 { margin-bottom: 0.15em; font-size: 1.8rem; }
.founder-spotlight .role {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1em;
  display: block;
}
.founder-spotlight p.bio { color: var(--text-body); margin: 0 0 1em; font-size: 1.02rem; }
.founder-spotlight p.bio:last-child { margin-bottom: 0; }

/* ============ GLOBAL COVERAGE ============ */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.coverage-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
  display: flex;
  align-items: flex-end;
}
.coverage-card .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15,23,35,0.88) 0%, rgba(15,23,35,0.15) 65%);
}
.coverage-card .content {
  position: relative;
  padding: 32px;
  color: var(--white);
}
.coverage-card h3 { color: var(--white); margin-bottom: 0.35em; }
.coverage-card p { color: #D9DEE5; margin: 0; max-width: 420px; font-size: 0.94rem; }
.coverage-card .divider { margin-top: 1em; margin-bottom: 0; }

/* ============ CTA STRIP ============ */
.cta-strip {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 72px 24px;
}
.cta-strip h2 { color: var(--white); }
.cta-strip p { color: #C7CEDA; margin-bottom: 1.8em; }
.cta-strip .hero-actions { justify-content: center; }

/* ============ VACANCIES ============ */
.vacancy-list { display: flex; flex-direction: column; gap: 22px; }
.vacancy-card {
  border: 1px solid #E7E1D6;
  border-radius: 8px;
  padding: 30px 34px;
  background: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  transition: border-color 0.2s ease;
}
.vacancy-card:hover { border-color: var(--gold); }
.vacancy-card h3 { margin-bottom: 0.3em; }
.vacancy-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 0.9em; }
.vacancy-meta span {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gold); font-weight: 700; background: var(--cream);
  padding: 5px 12px; border-radius: 14px;
}
.vacancy-card .vacancy-desc { max-width: 620px; color: var(--text-body); margin: 0; }
.empty-state { text-align: center; padding: 48px 24px; color: #8a8f97; font-style: italic; }

/* ============ APPLY ============ */
.apply-card {
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid #E7E1D6;
  border-radius: 8px;
  padding: 48px;
  text-align: center;
}
.apply-card .vacancy-meta { justify-content: center; margin-bottom: 1.2em; }
.apply-card p.lead { color: var(--text-body); }
.apply-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 14px; }
.apply-back { display: block; margin-top: 28px; }

/* ============ CONTACT ============ */
.contact-form-wrap { padding: 96px 32px; max-width: 620px; margin: 0 auto; }
form.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form label {
  font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--navy); font-weight: 700; margin-bottom: 6px; display: block;
}
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 16px; border: 1px solid #DDD7C9; border-radius: 4px;
  font-family: 'Inter', Arial, sans-serif; font-size: 0.95rem; background: var(--cream);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
}
.contact-form button { align-self: flex-start; margin-top: 6px; }

/* ============ FOOTER ============ */
footer { background: var(--navy-deep); color: #8B93A0; padding: 56px 24px 30px; text-align: center; }
footer .footer-logo { height: 46px; margin-bottom: 20px; }
footer .footer-links { list-style: none; display: flex; justify-content: center; gap: 30px; padding: 0; margin: 0 0 20px; flex-wrap: wrap; }
footer .footer-links a { color: #C7CEDA; text-transform: uppercase; font-size: 0.76rem; letter-spacing: 0.1em; }
footer .fine-print { font-size: 0.76rem; color: #5E6B80; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .col-3, .icon-grid, .founder-spotlight, .coverage-grid { grid-template-columns: 1fr; }
  .numbered-grid, .numbered-grid.cols-2, .numbered-grid.cols-4 { grid-template-columns: 1fr; }
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.8rem; }
  .site-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    right: 32px;
    left: 32px;
    background: var(--navy-deep);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }
  .site-nav ul.open { display: flex; }
  .site-nav ul li { width: 100%; }
  .site-nav ul a { display: block; padding: 14px 20px; border-bottom: none; }
  .nav-toggle { display: block; }
  .site-nav .container { position: relative; }
  .contact-form-wrap { padding: 56px 24px; }
  .founder-spotlight .photo-wrap { max-width: 340px; margin: 0 auto; }
  .vacancy-card { flex-direction: column; }
}
