/*
Theme Name: Ethical Workforce Consulting
Theme URI: https://ethicalworkforce.com/
Author: OpenAI
Description: Native WordPress corporate theme inspired by the Ethical Workforce Consulting Dubai presentation. No page builder or plugin dependency.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: ethical-workforce
*/

:root {
  --ewc-navy: #101f45;
  --ewc-navy-deep: #0c1835;
  --ewc-cream: #f2efe7;
  --ewc-paper: #f8f6f1;
  --ewc-gold: #c29c5d;
  --ewc-gold-soft: #d2b477;
  --ewc-text: #56617b;
  --ewc-text-light: #b3bdd1;
  --ewc-line: #d8d2c3;
  --ewc-line-dark: rgba(255,255,255,.24);
  --ewc-teal: #496f78;
  --ewc-success: #6a9a81;
  --ewc-max: 1180px;
  --ewc-serif: Georgia, 'Times New Roman', serif;
  --ewc-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ewc-text);
  background: var(--ewc-paper);
  font-family: var(--ewc-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ewc-gold); }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  position: fixed !important;
  top: 10px; left: 10px; z-index: 9999;
  width: auto; height: auto; padding: 10px 14px;
  clip: auto; overflow: visible;
  background: #fff; color: #111;
}

.ewc-wrap { width: min(calc(100% - 64px), var(--ewc-max)); margin-inline: auto; }
.ewc-section { padding: 112px 0; }
.ewc-section--paper { background: var(--ewc-paper); }
.ewc-section--cream { background: var(--ewc-cream); }
.ewc-section--navy { background: var(--ewc-navy); color: #fff; }
.ewc-kicker {
  margin: 0 0 24px;
  color: var(--ewc-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .27em;
  text-transform: uppercase;
}
.ewc-heading {
  margin: 0;
  max-width: 980px;
  color: var(--ewc-navy);
  font-family: var(--ewc-serif);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -.02em;
}
.ewc-heading--small { font-size: clamp(34px, 4vw, 50px); }
.ewc-lead {
  max-width: 960px;
  margin: 34px 0 0;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.7;
}

/* Header */
.site-header {
  background: var(--ewc-navy);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.site-header__inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.ewc-brand { display: inline-flex; align-items: center; gap: 16px; color: #fff; }
.ewc-brand:hover { color: #fff; }
.ewc-brand__mark { width: 44px; height: 54px; flex: 0 0 auto; }
.ewc-brand__title {
  display: block;
  font-family: var(--ewc-serif);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: .01em;
}
.ewc-brand__sub {
  display: block;
  margin-top: 5px;
  color: var(--ewc-gold-soft);
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.site-header .custom-logo-link { display: block; line-height: 0; }
.site-header .custom-logo { max-height: 60px; width: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { color: #e8ecf5; font-size: 14px; font-weight: 600; }
.primary-nav a:hover { color: var(--ewc-gold-soft); }
.nav-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,.25);
  background: transparent;
  color: #fff;
  padding: 10px 12px;
  border-radius: 2px;
}

/* Hero */
.ewc-hero { padding: 150px 0 104px; background: var(--ewc-navy); color: #fff; }
.ewc-hero__title {
  max-width: 1050px;
  margin: 0;
  color: #fff;
  font-family: var(--ewc-serif);
  font-size: clamp(48px, 6.2vw, 76px);
  line-height: 1.03;
  letter-spacing: -.025em;
}
.ewc-hero__intro {
  max-width: 845px;
  margin: 36px 0 0;
  color: #d5dbea;
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.65;
}
.ewc-actions { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 56px; }
.ewc-button {
  display: inline-flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  padding: 0 34px;
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  transition: .2s ease;
}
.ewc-button--gold { border-color: var(--ewc-gold); background: var(--ewc-gold); color: var(--ewc-navy-deep); }
.ewc-button:hover { transform: translateY(-2px); color: #fff; border-color: var(--ewc-gold-soft); }
.ewc-button--gold:hover { color: var(--ewc-navy-deep); background: var(--ewc-gold-soft); }

.ewc-pathway { margin-top: 104px; padding-top: 50px; border-top: 1px solid var(--ewc-line-dark); }
.ewc-pathway__label { color: #9ea8bd; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.ewc-pathway__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 36px; }
.ewc-pathway__item { position: relative; padding-top: 26px; }
.ewc-pathway__item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: -44px;
  height: 2px; background: rgba(194,156,93,.75);
}
.ewc-pathway__item:last-child::before { right: 0; }
.ewc-pathway__item::after {
  content: '';
  position: absolute;
  top: -6px; left: 0;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--ewc-gold-soft);
  box-shadow: 0 0 0 6px rgba(194,156,93,.14);
}
.ewc-pathway__item h3 { margin: 0 0 8px; color: #fff; font: 700 24px/1.2 var(--ewc-serif); }
.ewc-pathway__item p { margin: 0; color: #b5bfd2; }

/* About / values */
.ewc-copy { margin-top: 48px; max-width: 1080px; font-size: 19px; }
.ewc-copy p { margin: 0 0 24px; }
.ewc-values { margin-top: 70px; border-top: 1px solid var(--ewc-line); }
.ewc-value {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--ewc-line);
}
.ewc-value__num { color: var(--ewc-gold); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.ewc-value h3 { margin: 0 0 5px; color: var(--ewc-navy); font-size: 18px; }
.ewc-value p { margin: 0; }

/* Flagship card */
.ewc-brand-card {
  padding: clamp(44px, 6vw, 70px);
  border-radius: 4px;
  background: var(--ewc-navy);
  color: #fff;
}
.ewc-brand-card .ewc-heading { color: #fff; }
.ewc-brand-card .ewc-lead { color: #c9d1e2; }
.ewc-benefits { margin: 54px 0 0; padding: 0; list-style: none; }
.ewc-benefits li { position: relative; margin: 18px 0; padding-left: 34px; color: #e0e5ef; }
.ewc-benefits li::before { content: '—'; position: absolute; left: 0; color: var(--ewc-gold); }

/* Partnership */
.ewc-partner-card {
  margin-top: 60px;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid var(--ewc-line);
  background: rgba(255,255,255,.22);
}
.ewc-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--ewc-teal);
  color: var(--ewc-teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.ewc-partner-card h3 { margin: 26px 0 8px; color: var(--ewc-navy); font: 700 34px/1.2 var(--ewc-serif); }
.ewc-domain { color: var(--ewc-gold); font-weight: 700; letter-spacing: .06em; }
.ewc-stats { display: flex; gap: 52px; margin: 34px 0; }
.ewc-stat { padding-left: 18px; border-left: 2px solid var(--ewc-gold); }
.ewc-stat strong { display: block; color: var(--ewc-navy); font: 700 32px/1.1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.ewc-stat span { display: block; margin-top: 6px; font-size: 14px; }
.ewc-partner-card__divider { margin: 38px 0 30px; border-top: 1px dashed var(--ewc-line); }
.ewc-inline-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; }
.ewc-inline-links a { color: var(--ewc-navy); font-weight: 700; border-bottom: 1px solid var(--ewc-gold); }

/* Countries */
.ewc-country-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 60px; }
.ewc-country-card { min-height: 330px; display: flex; flex-direction: column; padding: 34px; background: var(--ewc-navy); color: #fff; }
.ewc-country-card h3 { margin: 26px 0 12px; font: 700 28px/1.2 var(--ewc-serif); }
.ewc-country-card p { margin: 0; color: #b9c3d6; }
.ewc-status { align-self: flex-start; padding: 5px 10px; background: rgba(73,111,120,.25); color: #9bbec6; font: 700 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; }
.ewc-status--active { color: #e8c47e; background: rgba(194,156,93,.18); }
.ewc-status--approved { color: #9ac7a9; background: rgba(106,154,129,.18); }
.ewc-country-card__stat { margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); }
.ewc-country-card__stat strong { display: block; font: 700 25px/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.ewc-country-card__stat span { display: block; margin-top: 8px; color: #aab5ca; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* Sectors */
.ewc-sectors { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 60px; border: 1px solid var(--ewc-line); }
.ewc-sector { min-height: 150px; padding: 34px; border-right: 1px solid var(--ewc-line); border-bottom: 1px solid var(--ewc-line); }
.ewc-sector:nth-child(2n) { border-right: 0; }
.ewc-sector:nth-last-child(-n+2) { border-bottom: 0; }
.ewc-sector__num { color: var(--ewc-teal); font: 700 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .15em; }
.ewc-sector h3 { margin: 24px 0 0; color: var(--ewc-navy); font-size: 18px; line-height: 1.35; }

/* Footer */
.site-footer { padding: 86px 0 38px; background: var(--ewc-navy-deep); color: #fff; }
.site-footer h2 { margin: 0; max-width: 780px; font: 700 clamp(34px, 4vw, 50px)/1.1 var(--ewc-serif); }
.site-footer__intro { max-width: 670px; margin-top: 24px; color: #aeb8cc; font-size: 18px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 70px; margin-top: 66px; }
.site-footer__label { color: var(--ewc-gold-soft); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.site-footer__cols p { margin: 20px 0 0; color: #adb7cb; }
.site-footer__cols a { color: #fff; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 78px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); color: #8e9ab2; font-size: 14px; }

/* Standard WP content */
.site-main--standard { min-height: 60vh; padding: 90px 0; }
.entry-header h1, .archive-title { color: var(--ewc-navy); font: 700 clamp(36px, 5vw, 58px)/1.1 var(--ewc-serif); }
.entry-content { max-width: 850px; }
.entry-content a { color: var(--ewc-teal); text-decoration: underline; }
.post-card { padding: 34px 0; border-bottom: 1px solid var(--ewc-line); }
.post-card h2 { margin: 0 0 10px; color: var(--ewc-navy); font: 700 34px/1.2 var(--ewc-serif); }
.post-card__meta { color: #8790a3; font-size: 14px; }

@media (max-width: 920px) {
  .ewc-wrap { width: min(calc(100% - 40px), var(--ewc-max)); }
  .site-header__inner { min-height: 86px; }
  .nav-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; top: 86px; left: 0; right: 0; padding: 18px 20px 24px; background: var(--ewc-navy-deep); z-index: 100; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav a { display: block; padding: 11px 0; }
  .ewc-hero { padding-top: 108px; }
  .ewc-pathway__grid { grid-template-columns: 1fr; gap: 22px; }
  .ewc-pathway__item { padding: 0 0 0 26px; }
  .ewc-pathway__item::before { top: 0; bottom: -22px; left: 5px; right: auto; width: 2px; height: auto; }
  .ewc-pathway__item:last-child::before { display: none; }
  .ewc-pathway__item::after { top: 4px; left: 0; }
  .ewc-country-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .ewc-wrap { width: min(calc(100% - 30px), var(--ewc-max)); }
  .ewc-brand__title { font-size: 17px; }
  .ewc-brand__sub { font-size: 8px; letter-spacing: .16em; }
  .ewc-brand__mark { width: 36px; height: 46px; }
  .ewc-section { padding: 78px 0; }
  .ewc-hero { padding: 84px 0 76px; }
  .ewc-hero__title { font-size: clamp(42px, 12vw, 58px); }
  .ewc-actions { flex-direction: column; align-items: stretch; }
  .ewc-button { width: 100%; }
  .ewc-pathway { margin-top: 76px; }
  .ewc-value { grid-template-columns: 44px 1fr; }
  .ewc-country-grid { grid-template-columns: 1fr; }
  .ewc-country-card { min-height: 290px; }
  .ewc-stats { flex-direction: column; gap: 20px; }
  .ewc-sectors { grid-template-columns: 1fr; }
  .ewc-sector, .ewc-sector:nth-child(2n), .ewc-sector:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--ewc-line); }
  .ewc-sector:last-child { border-bottom: 0; }
  .site-footer__cols { grid-template-columns: 1fr; gap: 44px; }
  .site-footer__bottom { flex-direction: column; }
}
