/* West Wind Talent Partners — Sample Site Stylesheet
   Aligned with CHOOSE A+ WorkForce design system (v1.0 tokens)
   Navy + Gold, Ivory background, Georgia headings, Avenir body
   WCAG 2.1 AA compliant, mobile-first responsive
*/

:root {
  /* Navy scale */
  --navy-950: #071735;
  --navy-900: #0a1d43;
  --navy-800: #112b57;
  --navy-700: #1a3d70;
  /* Gold scale */
  --gold-700: #96651f;
  --gold-600: #aa7727;
  --gold-500: #c89543;
  --gold-300: #e1c286;
  /* Ivory / neutrals */
  --ivory-100: #f8f4ed;
  --ivory-50: #fcfaf6;
  --white: #ffffff;
  --ink: #14213a;
  --muted: #5d6675;
  --border: #ded8ce;
  --focus: #f2b84b;
  --success: #1f6b4f;
  --danger: #a23434;
  /* Typography */
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: 'Avenir Next', Avenir, 'Segoe UI', Helvetica, Arial, sans-serif;
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.65rem;
  --radius-lg: 1rem;
  /* Shadow */
  --shadow-soft: 0 1rem 3rem rgb(7 23 53 / 0.1);
  --shadow-card: 0 4px 16px rgba(7, 23, 53, 0.08);
  /* Layout */
  --content: 74rem;
}

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

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

body {
  color: var(--ink);
  background: var(--ivory-50);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1rem; text-wrap: pretty; }

a { color: var(--navy-800); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--gold-700); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

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

/* ===== Skip Link ===== */
.skip-link {
  position: fixed;
  z-index: 100;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-3) var(--space-4);
  color: var(--white);
  background: var(--navy-950);
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ===== Container ===== */
.container { width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; }

/* ===== Sections ===== */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--navy { color: var(--ivory-100); background: var(--navy-950); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(248, 244, 237, 0.8); }
.section--ivory { background: var(--ivory-100); }
.section--white { background: var(--white); }

/* ===== Eyebrow ===== */
.eyebrow {
  display: inline-flex;
  gap: var(--space-2);
  align-items: center;
  color: var(--gold-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 2.25rem; height: 1px; background: currentColor; content: '';
}
.section--navy .eyebrow { color: var(--gold-300); }

/* ===== Lede ===== */
.lede {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
}

/* ===== Section Header ===== */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-top: var(--space-3); }
.section-header .lede { margin-inline: auto; }
.section-header .eyebrow { margin-bottom: var(--space-2); }

/* ===== Buttons ===== */
.button-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
  cursor: pointer;
}
.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--navy-950); background: var(--gold-500); }
.button--primary:hover { background: var(--gold-300); color: var(--navy-950); }
.button--secondary { color: var(--navy-900); border-color: var(--navy-900); background: transparent; }
.button--secondary:hover { color: var(--white); background: var(--navy-900); }
.button--light { color: var(--white); border-color: rgba(255,255,255,0.48); }
.button--light:hover { color: var(--navy-950); background: var(--white); }
.button--navy { color: var(--white); background: var(--navy-900); }
.button--navy:hover { background: var(--navy-800); color: var(--white); }
.button--lg { min-height: 3.5rem; padding: 1rem 2rem; font-size: 1.05rem; }
.button--full { width: 100%; }

/* ===== Header / Navigation ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(10, 29, 67, 0.12);
  background: rgba(252, 250, 246, 0.96);
  backdrop-filter: blur(8px);
}

.header-inner {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  gap: var(--space-5);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}
.logo:hover { color: var(--navy-950); }
.logo-icon { width: 32px; height: 32px; flex-shrink: 0; }
.logo span { white-space: nowrap; }
.logo .accent-text { color: var(--gold-700); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.75rem);
}
.primary-nav a {
  color: var(--navy-900);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
}
.primary-nav a:hover { color: var(--gold-700); }
.primary-nav a.active { color: var(--gold-700); }
.primary-nav a.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--gold-500);
}
.primary-nav a.button--primary { color: var(--navy-950); }
.primary-nav a.button--primary:hover { color: var(--navy-950); }

.nav-toggle {
  display: none;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy-900);
  align-items: center;
  justify-content: center;
}

/* ===== Cards ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }

.card h3 { margin-bottom: var(--space-3); }
.card p { color: var(--muted); margin-bottom: 0; }

.card-icon {
  width: 48px; height: 48px;
  background: var(--navy-950);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  flex-shrink: 0;
}
.card-icon svg { width: 24px; height: 24px; }

/* ===== Role Cards ===== */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
}

.role-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.role-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }

.role-badge {
  width: 44px; height: 44px;
  margin: 0 auto var(--space-3);
  background: var(--navy-950);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
  font-size: 1.2rem;
  font-weight: 700;
}

.role-card h4 { margin-bottom: var(--space-2); color: var(--navy-950); }
.role-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 0; }
.role-card .salary {
  display: block;
  margin-top: var(--space-3);
  font-weight: 700;
  color: var(--gold-700);
  font-size: 0.85rem;
}

/* ===== Process Steps ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-6);
}

.process-step { text-align: center; }

.step-number {
  width: 52px; height: 52px;
  background: var(--gold-500);
  color: var(--navy-950);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto var(--space-4);
}

.process-step h4 { color: var(--white); margin-bottom: var(--space-2); }
.process-step p { color: rgba(248, 244, 237, 0.75); font-size: 0.9rem; margin-bottom: 0; }

/* ===== Fee Table ===== */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.fee-table th {
  background: var(--navy-950);
  color: var(--white);
  padding: var(--space-4) var(--space-5);
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.95rem;
}
.fee-table td {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border);
}
.fee-table tr:last-child td { border-bottom: none; }
.fee-table tr:nth-child(even) td { background: var(--ivory-100); }
.fee-table .fee-amount { font-weight: 700; color: var(--navy-950); }
.fee-table .fee-note { font-size: 0.88rem; color: var(--muted); }

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--navy-950);
  padding: clamp(3rem, 7vw, 5rem) var(--space-4);
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: var(--space-4); }
.cta-banner p { color: rgba(248, 244, 237, 0.8); font-size: 1.15rem; margin-bottom: var(--space-6); }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--navy-950);
  color: var(--ivory-100);
}
.hero::before {
  position: absolute;
  width: 35rem; height: 35rem;
  border: 1px solid rgba(200, 149, 67, 0.15);
  border-radius: 50%;
  top: -22rem; right: -12rem;
  content: '';
}
.hero::after {
  position: absolute;
  width: 24rem; height: 24rem;
  border: 1px solid rgba(200, 149, 67, 0.08);
  border-radius: 50%;
  bottom: -16rem; left: -8rem;
  content: '';
}

.hero-grid {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero h1 { color: var(--white); margin-bottom: var(--space-5); }
.hero h1 .accent { color: var(--gold-500); }
.hero p { color: rgba(248, 244, 237, 0.82); font-size: clamp(1.05rem, 2vw, 1.25rem); margin-bottom: var(--space-6); max-width: 38rem; }
.hero .button-row { margin-top: var(--space-5); }

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.hero-stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(200, 149, 67, 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  text-align: center;
  backdrop-filter: blur(8px);
}
.hero-stat .number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--gold-500);
  display: block;
  line-height: 1;
  margin-bottom: var(--space-2);
}
.hero-stat .label {
  font-size: 0.82rem;
  color: rgba(248, 244, 237, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  line-height: 1.4;
}

/* ===== Stats Band ===== */
.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-6);
  text-align: center;
}
.stat-item .number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--gold-500);
  display: block;
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-item .label {
  font-size: 0.88rem;
  color: rgba(248, 244, 237, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* ===== Testimonial ===== */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--gold-500);
}
.testimonial p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: var(--space-4);
}
.testimonial .author { font-weight: 700; color: var(--navy-950); margin-bottom: 0; }
.testimonial .role-text { font-size: 0.88rem; color: var(--muted); margin-bottom: 0; }

.sample-badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* ===== Forms ===== */
.form-container {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  padding: var(--space-7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.form-group { margin-bottom: var(--space-5); }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--navy-950);
}
.form-group .required { color: var(--danger); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  transition: border-color 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy-900);
  outline: 3px solid var(--focus);
  outline-offset: 1px;
}
.form-group textarea { min-height: 120px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-note { font-size: 0.88rem; color: var(--muted); margin-top: var(--space-2); }

.form-success {
  background: #ecfdf5;
  border: 2px solid var(--success);
  border-radius: var(--radius-sm);
  padding: var(--space-4) var(--space-5);
  color: #064e3b;
  margin-bottom: var(--space-5);
  display: none;
}

/* ===== Two-Column ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: start;
}
.two-col ul { list-style: none; margin: var(--space-5) 0; }
.two-col li {
  padding: var(--space-2) 0 var(--space-2) var(--space-5);
  position: relative;
  color: var(--muted);
}
.two-col li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--gold-600);
  font-weight: 800;
}

/* ===== Footer ===== */
.site-footer {
  color: var(--ivory-100);
  background: #061229;
  padding-block: var(--space-8) var(--space-5);
}
.footer-inner {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-6);
}
.footer-brand strong {
  display: block;
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
}
.footer-brand p { font-size: 0.9rem; color: rgba(248, 244, 237, 0.6); margin-bottom: 0; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: var(--space-4); font-family: var(--font-display); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: var(--space-2); }
.footer-col a { color: rgba(248, 244, 237, 0.7); font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold-300); }

.footer-bottom {
  width: min(calc(100% - 2rem), var(--content));
  margin: var(--space-6) auto 0;
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.45); }
.footer-bottom a:hover { color: var(--gold-300); }
.footer-accessibility { font-size: 0.8rem; color: rgba(255, 255, 255, 0.35); margin-top: var(--space-2); }

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-2 { margin-top: var(--space-6); }
.mt-3 { margin-top: var(--space-7); }
.mb-0 { margin-bottom: 0; }
.grid-1 { grid-template-columns: 1fr !important; }

/* ===== Responsive — Tablet ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .two-col { grid-template-columns: 1fr; gap: var(--space-6); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ===== Responsive — Mobile ===== */
@media (max-width: 768px) {
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--space-4);
    gap: 0;
    box-shadow: var(--shadow-soft);
    border-top: 1px solid var(--border);
  }
  .primary-nav.open { display: flex; }
  .primary-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
    display: flex;
    align-items: center;
  }
  .primary-nav a:last-child { border-bottom: none; }
  .primary-nav a.button--primary {
    justify-content: center;
    margin-top: var(--space-3);
    border: 2px solid var(--gold-500);
  }
  .nav-toggle { display: flex; }

  .hero h1 { font-size: 1.7rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .cards-grid, .roles-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: var(--space-5); }
  .form-container { padding: var(--space-5) var(--space-4); }
  .process-steps { grid-template-columns: 1fr; gap: var(--space-5); }
  .footer-inner { grid-template-columns: 1fr; gap: var(--space-5); }
  .fee-table { font-size: 0.88rem; }
  .fee-table th, .fee-table td { padding: var(--space-3); }
}

/* ===== Responsive — Small Phone ===== */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.5rem; }
  .hero-stat .number { font-size: 1.6rem; }
  .stat-item .number { font-size: 1.8rem; }
  .button { width: 100%; }
  .button-row { flex-direction: column; }
  .form-container { padding: var(--space-4); }
  .fee-table { font-size: 0.8rem; }
  .fee-table th, .fee-table td { padding: var(--space-2); }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
