/* =========================================================
   The Roster — Shared Stylesheet
   Brand: Navy #1A2D5A · Orange #F26B2C · Cream #F7F4EE
   ========================================================= */

:root {
  --navy: #1A2D5A;
  --navy-dark: #142346;
  --navy-deep: #0E1A36;
  --orange: #F26B2C;
  --orange-dark: #D9531A;
  --orange-light: #FF8A4F;
  --cream: #F7F4EE;
  --gray-50: #F7F8FA;
  --gray-100: #EEF1F5;
  --gray-200: #DCE1E8;
  --gray-300: #B9C0CC;
  --gray-500: #6B7384;
  --gray-700: #3D4454;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(14, 26, 54, 0.06);
  --shadow-md: 0 6px 18px rgba(14, 26, 54, 0.08);
  --shadow-lg: 0 16px 40px rgba(14, 26, 54, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --gradient-hero: linear-gradient(110deg, #F26B2C 0%, #C95446 35%, #6B466A 65%, #1A2D5A 100%);
  --gradient-band: linear-gradient(110deg, #F26B2C 0%, #B25340 45%, #2A3460 100%);
  --font-serif: "Playfair Display", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--navy-deep);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.18;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 2.6vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { margin: 0 0 1em; color: var(--gray-700); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(242, 107, 44, 0.35);
}
.btn-primary:hover { background: var(--orange-dark); color: var(--white); transform: translateY(-1px); }
.btn-secondary {
  background: var(--navy);
  color: var(--white);
}
.btn-secondary:hover { background: var(--navy-dark); color: var(--white); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-lg { padding: 16px 32px; font-size: 0.9rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-deep);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 140px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo svg, .nav-logo img { height: 102px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #FFFFFF;
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--orange); }
.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

/* Login button — no underline, always white text */
.nav-cta { margin-left: 24px; }
.nav-cta .btn-primary { padding: 13px 28px; letter-spacing: 0.08em; }
.nav-cta a:hover { color: var(--white); }
.nav-cta a::after,
.nav-cta a:hover::after { content: none; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  color: #FFFFFF;
  cursor: pointer;
}

@media (max-width: 880px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 140px;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 0;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 24px;
  }
  .nav-cta { margin: 8px 24px; }
}

/* ---------- Hero Slider ---------- */
.hero {
  position: relative;
  background: var(--white);
  padding: 0;
  overflow: hidden;
}

/* Slides: hidden by default, active slide shown with fade-in */
.hero-slide { display: none; }
.hero-slide.active {
  display: block;
  animation: heroFadeIn 0.7s ease both;
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  /* Fixed height so every slide is identical — no text-length variance */
  height: clamp(460px, 52vh, 580px);
}
.hero-image {
  background-size: cover;
  background-position: center;
  background-color: #1d1d1f;
  filter: grayscale(100%);
}
.hero-copy {
  background: var(--gradient-band);
  color: var(--white);
  padding: 56px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden; /* prevent content from expanding slide height */
}
.hero-copy .wing {
  width: 110px;
  height: auto;
  display: block;
  margin-bottom: 18px;
}

/* Clickable dots */
.hero-dots span { cursor: pointer; transition: background 0.25s, transform 0.2s; }
.hero-dots span:hover { transform: scale(1.3); }

/* ---------- Reusable wings brand mark ---------- */
.wing-mark {
  display: block;
  width: 80px;
  height: auto;
  margin: 0 0 14px;
}
.wing-mark.center { margin-left: auto; margin-right: auto; }
.wing-mark.sm     { width: 60px; }
.wing-mark.md     { width: 80px; }
.wing-mark.lg     { width: 110px; }
.hero-copy h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 16px;
}
.hero-copy p { color: rgba(255, 255, 255, 0.92); font-size: 1.02rem; max-width: 460px; }
.hero-dots {
  display: flex; gap: 8px; margin: 18px 0 22px;
}
.hero-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}
.hero-dots span.active { background: var(--white); }

@media (max-width: 880px) {
  /* Stacked layout on mobile — let height be natural */
  .hero-grid {
    grid-template-columns: 1fr;
    height: auto;
  }
  .hero-image { min-height: 52vw; }
  .hero-copy { padding: 36px 24px; }
}
@media (max-width: 480px) {
  .hero-image { min-height: 56vw; }
}

/* ---------- Section spacing ---------- */
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-title { text-align: left; margin-bottom: 36px; }
.section-title.center { text-align: center; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 8px;
}

/* ---------- Feature card grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 230px;
}
.feature-card .icon-wrap {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 14px;
  color: var(--white);
}
/* All icons orange by default; hover on card → navy */
.feature-card .icon-orange,
.feature-card .icon-navy {
  background: var(--orange);
  transition: background 0.3s ease;
}
.feature-card:hover .icon-wrap { background: var(--navy); }

.feature-card h3 { color: var(--orange); font-family: var(--font-sans); font-weight: 700; font-size: 1.05rem; }
.feature-card p { font-size: 0.93rem; flex: 1; }
.feature-card .more {
  align-self: flex-end;
  background: var(--navy);
  color: var(--white);
  font-size: 0.7rem;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s ease;
}
/* Keep text white on anchor hover — global a:hover would turn it orange otherwise */
.feature-card .more:hover { background: var(--navy-dark); color: var(--white); }
@media (max-width: 880px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- Steps band ---------- */
.steps-band {
  background: var(--navy-deep);
  color: var(--white);
  padding: 64px 0;
}
.steps-band h2 { color: var(--white); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.step-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.step h4 { color: var(--orange); margin: 4px 0 6px; font-family: var(--font-sans); font-size: 1rem; font-weight: 700; }
.step p { color: rgba(255,255,255,0.78); font-size: 0.88rem; margin: 0; }
@media (max-width: 880px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ---------- Quote / Testimonial Slider ---------- */
.quote-item { display: none; }
.quote-item.active {
  display: block;
  animation: quoteFadeIn 0.55s ease both;
}
@keyframes quoteFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.quote-dots span { cursor: pointer; transition: background 0.25s, transform 0.2s; }
.quote-dots span:hover { transform: scale(1.3); }

/* ---------- Quotes / Success ---------- */
.success-band {
  background: var(--gradient-band);
  color: var(--white);
  padding: 80px 0;
  position: relative;
}
.success-band h2 { color: var(--white); }
.quote-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  max-width: 760px;
  margin-top: 16px;
}
.quote-card p { color: var(--white); font-size: 1.05rem; margin: 0 0 14px; }
.quote-card .who { font-size: 0.85rem; opacity: 0.85; }
.quote-dots { display: flex; gap: 8px; margin-top: 22px; }
.quote-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); }
.quote-dots span.active { background: var(--white); }

/* ---------- CTA Section ---------- */
.cta-block {
  text-align: center;
  padding: 72px 0;
}
.cta-block h2 { color: var(--orange); margin-bottom: 14px; }
.cta-block p { font-size: 1.05rem; max-width: 720px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 0;
  border-top: 4px solid var(--orange);
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}
.site-footer h4 {
  color: var(--orange);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 8px; font-size: 0.92rem; }
.site-footer ul li a { color: rgba(255,255,255,0.78); }
.site-footer ul li a:hover { color: var(--orange); }
.site-footer .brand-logo svg,
.site-footer .brand-logo img { height: 90px; width: auto; margin-bottom: 18px; display: block; }
.site-footer .brand-logo svg .logo-text { fill: #FFFFFF; }
.site-footer p { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.footer-base {
  background: var(--gradient-band);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  padding: 12px 0;
  text-align: left;
}
@media (max-width: 880px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- About page ---------- */
.about-hero {
  background-image: linear-gradient(rgba(20,35,70,0.25), rgba(20,35,70,0.25)),
    url("https://images.unsplash.com/photo-1573497019940-1c28c88b4f3e?auto=format&fit=crop&w=1600&q=70");
  background-size: cover;
  background-position: center;
  filter: grayscale(70%);
  height: 280px;
}
.mission-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: -110px;
  position: relative;
  z-index: 1;
}
.mission-card {
  background: var(--gradient-band);
  color: var(--white);
  padding: 36px 32px;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}
.mission-card h2 { color: var(--white); }
.mission-card p { color: rgba(255,255,255,0.92); margin: 0; }
.story-card {
  background: var(--gray-50);
  padding: 36px 32px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.story-card h2 { color: var(--orange); font-family: var(--font-serif); }
.story-card p { font-size: 0.95rem; }

@media (max-width: 880px) {
  .mission-row { grid-template-columns: 1fr; margin-top: -60px; }
  .mission-card, .story-card { border-radius: var(--radius-md); }
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.impact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}
.impact-card .pct {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  margin: 0 auto 16px;
}
.impact-card p { font-size: 0.92rem; margin: 0; }
@media (max-width: 880px) { .impact-grid { grid-template-columns: 1fr; } }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 28px;
}
.team-card {
  text-align: left;
}
.avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--gray-200);
  background-size: cover;
  background-position: center;
  margin-bottom: 14px;
}
.team-card h4 { color: var(--orange); font-family: var(--font-sans); font-size: 1rem; font-weight: 700; margin: 0 0 2px;}
.team-card .role { color: var(--navy); font-weight: 600; font-size: 0.85rem; margin-bottom: 8px; }
.team-card p { font-size: 0.9rem; }

@media (max-width: 880px) { .team-grid { grid-template-columns: 1fr; } }

.advisor-tech {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: start;
  margin-top: 28px;
}
.advisor-list .team-card { margin-bottom: 28px; }
.tech-card {
  background: var(--gradient-band);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
}
.tech-card h2 { color: var(--white); }
.tech-card h3 { color: var(--white); margin-top: 22px; font-family: var(--font-serif); font-size: 1.4rem; }
.tech-card ul { color: rgba(255,255,255,0.92); padding-left: 1.1em; margin: 0; }
.tech-card li { margin-bottom: 8px; font-size: 0.92rem; }
.tech-card li b { color: var(--white); }

@media (max-width: 880px) { .advisor-tech { grid-template-columns: 1fr; } }

/* ---------- Resume Forge page ---------- */
.tool-hero {
  background-image: linear-gradient(rgba(20,35,70,0.65), rgba(20,35,70,0.65)),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1600&q=70");
  background-size: cover;
  background-position: center;
  height: 280px;
}
.tool-band {
  background: var(--gradient-band);
  color: var(--white);
  border-radius: var(--radius-md);
  margin-top: -120px;
  padding: 36px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.tool-band h3 { color: var(--white); font-family: var(--font-serif); font-size: 1.4rem; }
.tool-band p { color: rgba(255,255,255,0.85); font-size: 0.85rem; margin: 8px 0 0; }
.upload-input {
  background: var(--cream);
  border: 0;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.95rem;
  width: 100%;
  color: var(--navy);
}
.tool-band > div + div { border-left: 1px solid rgba(255,255,255,0.2); padding-left: 32px; }
@media (max-width: 880px) {
  .tool-band { grid-template-columns: 1fr; padding: 28px 22px; }
  .tool-band > div + div { border-left: 0; padding-left: 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.2); }
}

.job-listing-band {
  background: var(--gray-100);
  padding: 28px 0;
}
.job-listing-band .container {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.job-listing-band h3 { color: var(--orange); margin: 0; font-family: var(--font-serif); }
.job-listing-band p { margin: 0; color: var(--gray-700); font-size: 0.9rem; flex: 1; }
.job-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1px solid transparent;
}
.job-tab.active { background: var(--orange); color: var(--white); }
.job-tab.outline { background: var(--white); color: var(--navy); border-color: var(--gray-200); }

.paste-area {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  margin-top: 28px;
}
.paste-area textarea {
  width: 100%;
  min-height: 240px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  padding: 18px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  resize: vertical;
  color: var(--navy);
}
.paste-area .gen-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 16px;
}
.paste-area .gen-row .hint { color: var(--gray-700); font-size: 0.85rem; max-width: 320px; text-align: right; font-style: italic; }

/* ---------- Email page ---------- */
.email-shell {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 220px 360px 1fr;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--gray-100);
}
.email-side {
  background: var(--gray-50);
  padding: 18px;
  border-right: 1px solid var(--gray-100);
}
.compose-btn {
  width: 100%;
  background: var(--orange);
  color: var(--white);
  border: 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  margin-bottom: 18px;
}
.email-side ul { list-style: none; padding: 0; margin: 0; }
.email-side li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--navy);
  cursor: pointer;
  margin-bottom: 4px;
}
.email-side li.active { background: rgba(242,107,44,0.1); color: var(--orange); font-weight: 600; }
.email-side li .badge {
  background: var(--gray-200);
  color: var(--navy);
  font-size: 0.75rem;
  border-radius: var(--radius-pill);
  padding: 1px 8px;
  font-weight: 600;
}
.email-side .group-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-500);
  font-weight: 700;
  padding: 18px 12px 6px;
}
.email-list-pane {
  border-right: 1px solid var(--gray-100);
  background: var(--white);
}
.email-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-100);
}
.email-list-head h4 { margin: 0; font-family: var(--font-sans); font-weight: 700; color: var(--navy); }
.email-list-head .actions { display: flex; gap: 8px; color: var(--gray-500); }
.email-row {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
}
.email-row:hover { background: var(--gray-50); }
.email-row .row-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.email-row .from { font-weight: 700; color: var(--navy); font-size: 0.92rem; flex: 1; }
.email-row .when { color: var(--gray-500); font-size: 0.78rem; }
.email-row .tag {
  background: var(--orange);
  color: var(--white);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.email-row .tag.tag-blue { background: var(--navy); }
.email-row .subject { font-weight: 600; color: var(--navy-deep); margin: 2px 0; font-size: 0.92rem; }
.email-row .preview { color: var(--gray-500); font-size: 0.85rem; }

.email-detail { padding: 24px 28px; }
.email-detail .det-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border-bottom: 1px solid var(--gray-100); padding-bottom: 14px; margin-bottom: 14px;
}
.email-detail .det-actions { color: var(--gray-500); display: flex; gap: 10px; }
.email-detail h3 { margin: 0 0 12px; color: var(--navy); }
.email-detail .from-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.from-row .avatar-mini {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  display: grid; place-items: center; font-weight: 700;
}
.from-row .meta { font-size: 0.85rem; color: var(--gray-500); }
.from-row .name { color: var(--navy); font-weight: 700; font-size: 0.95rem; }
.email-detail .body { color: var(--gray-700); font-size: 0.95rem; }
.email-detail .body p { margin: 0 0 14px; }
.invitation-banner {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.invitation-banner .meta { display: flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 600; font-size: 0.9rem; }
.cal-mini {
  width: 36px; height: 36px;
  background: var(--orange); color: var(--white);
  border-radius: var(--radius-sm);
  display: grid; place-items: center; font-weight: 700; font-size: 0.85rem;
}

@media (max-width: 1100px) {
  .email-shell { grid-template-columns: 200px 1fr; }
  .email-detail { display: none; }
}
@media (max-width: 720px) {
  .email-shell { grid-template-columns: 1fr; }
  .email-side { display: none; }
}

/* ---------- Calendar page ---------- */
.cal-shell {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 250px 1fr;
  overflow: hidden;
  border: 1px solid var(--gray-100);
}
.cal-side { padding: 22px; background: var(--gray-50); border-right: 1px solid var(--gray-100); }
.cal-side .new-event {
  width: 100%;
  background: var(--orange); color: var(--white); border: 0;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  margin-bottom: 18px;
}
.cal-side h5 {
  margin: 0 0 10px; font-family: var(--font-sans); color: var(--navy);
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em;
}
.event-types label {
  display: flex; align-items: center; gap: 10px; font-size: 0.9rem;
  color: var(--navy); margin-bottom: 8px; cursor: pointer;
}
.event-types .dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.dot-int { background: #2ECC71; }
.dot-dl  { background: #E94B4B; }
.dot-fu  { background: #2D74FF; }
.dot-ot  { background: #B0B6C2; }

.upcoming { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--gray-100); }
.upcoming-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 10px;
  border: 1px solid var(--gray-100);
}
.upcoming-item .when { font-size: 0.75rem; color: var(--gray-500); }
.upcoming-item .what { font-size: 0.9rem; font-weight: 600; color: var(--navy); }

.cal-main { padding: 24px 28px; }
.cal-main-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}
.cal-main-head .nav-month { display: flex; align-items: center; gap: 14px; color: var(--navy); }
.cal-main-head h3 { margin: 0; font-family: var(--font-serif); }
.view-toggle { display: flex; gap: 4px; border: 1px solid var(--gray-200); border-radius: var(--radius-pill); padding: 3px; }
.view-toggle button {
  border: 0; background: transparent; padding: 6px 14px; font-size: 0.78rem; font-weight: 600;
  color: var(--navy); border-radius: var(--radius-pill); cursor: pointer;
}
.view-toggle button.active { background: var(--orange); color: var(--white); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.cal-grid .dow {
  background: var(--gray-50);
  padding: 10px 12px;
  font-size: 0.78rem; font-weight: 600; color: var(--gray-500);
  border-bottom: 1px solid var(--gray-100);
}
.cal-grid .day {
  min-height: 84px;
  border-right: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 8px 10px;
  font-size: 0.85rem; color: var(--navy);
  background: var(--white);
}
.cal-grid .day.muted { color: var(--gray-300); background: var(--gray-50); }
.cal-grid .day .ev {
  margin-top: 6px;
  font-size: 0.7rem;
  background: rgba(242,107,44,0.12);
  color: var(--orange);
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
}
.cal-grid .day .ev.blue { background: rgba(45,116,255,0.12); color: #2D74FF; }
.cal-grid .day .ev.green { background: rgba(46,204,113,0.12); color: #1E9F58; }
.cal-grid .day:nth-child(7n) { border-right: 0; }

@media (max-width: 880px) {
  .cal-shell { grid-template-columns: 1fr; }
  .cal-grid .day { min-height: 60px; }
}

/* ---------- Login / Register ---------- */
.auth-page {
  min-height: calc(100vh - 78px);
  background: var(--gradient-hero);
  display: grid;
  place-items: center;
  padding: 60px 20px;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 460px;
  padding: 36px;
}
.auth-card .logo { display: grid; place-items: center; margin-bottom: 18px; }
.auth-card .logo svg, .auth-card .logo img { height: 114px; width: auto; }
.auth-card h2 { font-family: var(--font-serif); text-align: center; color: var(--navy); margin-bottom: 22px; }
.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 22px;
}
.tab {
  text-align: center;
  padding: 12px 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-500);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  background: transparent;
  border-left: 0; border-right: 0; border-top: 0;
}
.tab.active { color: var(--orange); border-bottom-color: var(--orange); }
.field {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 12px;
  display: flex; flex-direction: column;
}
.field label { font-size: 0.78rem; color: var(--navy); font-weight: 600; }
.field input {
  border: 0; background: transparent; padding: 4px 0 0;
  font-family: var(--font-sans); font-size: 0.95rem; color: var(--navy); outline: none;
}
.auth-row {
  display: flex; align-items: center; justify-content: space-between; margin: 8px 0 0;
}
.auth-row .small { font-size: 0.85rem; color: var(--gray-500); }
.auth-row .small a { color: var(--gray-700); }
.auth-foot { text-align: center; color: var(--gray-500); font-size: 0.78rem; margin-top: 18px; }

/* ---------- For Employers page ---------- */
.emp-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy-deep);
  color: var(--white);
  min-height: 460px;
}
.emp-hero .image {
  background-image: linear-gradient(rgba(20,35,70,0.35), rgba(20,35,70,0.35)),
    url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1600&q=70");
  background-size: cover; background-position: center;
  filter: grayscale(40%);
}
.emp-hero .copy {
  padding: 56px;
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(120deg, #142346, #1A2D5A 50%, #2A2F66);
}
.emp-hero h1 { color: var(--white); }
.emp-hero p { color: rgba(255,255,255,0.85); max-width: 460px; }

.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px;
}
.benefit {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.benefit h3 { color: var(--orange); font-family: var(--font-sans); font-weight: 700; font-size: 1.05rem; margin-top: 8px; }
.benefit p { font-size: 0.92rem; color: var(--gray-700); }
.benefit .icon-wrap { width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--white); display: grid; place-items: center; }
@media (max-width: 880px) {
  .emp-hero { grid-template-columns: 1fr; }
  .emp-hero .image { min-height: 220px; }
  .emp-hero .copy { padding: 36px 24px; }
  .benefits-grid { grid-template-columns: 1fr; }
}

.metrics-band {
  background: var(--gradient-band);
  color: var(--white);
  padding: 56px 0;
}
.metrics-band h2 { color: var(--white); }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 22px;
}
.metric {
  text-align: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  padding: 24px 16px;
}
.metric .num { font-family: var(--font-serif); font-size: 2.4rem; color: var(--white); font-weight: 700; }
.metric p { color: rgba(255,255,255,0.85); margin: 4px 0 0; font-size: 0.9rem; }
@media (max-width: 880px) { .metrics-grid { grid-template-columns: 1fr 1fr; } }

.partner-form {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.partner-form .full { grid-column: 1 / -1; }
.partner-form input,
.partner-form select,
.partner-form textarea {
  width: 100%;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s ease;
}
.partner-form input:focus,
.partner-form select:focus,
.partner-form textarea:focus {
  border-color: var(--orange);
}
.partner-form textarea { min-height: 120px; resize: vertical; }
.partner-form label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; letter-spacing: 0.04em; text-transform: uppercase; }
.partner-form .submit { text-align: right; }
@media (max-width: 720px) { .partner-form { grid-template-columns: 1fr; } }

/* ---------- Form feedback messages ---------- */
.form-msg {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 14px;
}
.form-msg.success {
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.4);
  color: #1a7a42;
}
.form-msg.error {
  background: rgba(233, 75, 75, 0.1);
  border: 1px solid rgba(233, 75, 75, 0.35);
  color: #b02020;
}
.form-msg.visible { display: block; }

/* ---------- Utilities ---------- */
.text-orange { color: var(--orange); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.bg-cream { background: var(--cream); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
