*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1C2340;
  --navy-mid: #2C3560;
  --navy-light: #3D4A7A;
  --gold: #B8954A;
  --gold-light: #D4AE6E;
  --gold-pale: #F5EDD8;
  --cream: #FAF8F4;
  --white: #FFFFFF;
  --text-primary: #1C2340;
  --text-secondary: #4A5068;
  --text-muted: #7A8299;
  --border: #E2DDD4;
  --border-light: #EDE9E2;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-primary);
  min-height: 100vh;
}

/* ── HEADER ────────────────────────────────────────────────── */
header {
  background: var(--navy);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  border-bottom: 3px solid var(--gold);
}

.logo-area { display: flex; align-items: center; gap: 16px; }

.logo-box {
  width: 48px; height: 48px;
  background: transparent;
  border: 2px solid var(--gold);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1px;
}

.logo-box span {
  font-family: 'DM Sans', sans-serif;
  font-size: 8px; font-weight: 500;
  color: var(--white); letter-spacing: 0.15em;
  text-transform: uppercase; line-height: 1.2; text-align: center;
}

.logo-box .logo-line { width: 32px; height: 0.5px; background: var(--gold); margin: 2px 0; }

.logo-wordmark { display: flex; flex-direction: column; }
.logo-wordmark .brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 600;
  color: var(--white); letter-spacing: 0.05em;
}
.logo-wordmark .sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; font-weight: 400;
  color: var(--gold-light); letter-spacing: 0.2em; text-transform: uppercase;
}

.header-nav { display: flex; align-items: center; gap: 8px; }

.nav-pill {
  padding: 6px 16px; border-radius: 2px;
  font-size: 13px; font-weight: 400; letter-spacing: 0.05em;
  text-decoration: none; color: rgba(255,255,255,0.6); transition: color 0.2s;
}
.nav-pill:hover { color: var(--white); }
.nav-pill.active { color: var(--gold-light); border-bottom: 1.5px solid var(--gold); }

.user-badge {
  margin-left: 16px; display: flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.07);
  border: 0.5px solid rgba(255,255,255,0.15); border-radius: 2px;
}

.user-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy-light); border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 500; color: var(--gold-light);
}

.user-badge span { font-size: 13px; color: rgba(255,255,255,0.7); }

/* ── PAGE HERO ─────────────────────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 48px 48px 56px;
  position: relative; overflow: hidden;
}

.page-hero::after {
  content: ''; position: absolute;
  right: -60px; top: -60px;
  width: 320px; height: 320px;
  border: 1px solid rgba(184,149,74,0.15); border-radius: 50%;
}

.page-hero::before {
  content: ''; position: absolute;
  right: 20px; top: -20px;
  width: 200px; height: 200px;
  border: 1px solid rgba(184,149,74,0.08); border-radius: 50%;
}

.breadcrumb {
  font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px; font-weight: 500;
  color: var(--white); line-height: 1.15; margin-bottom: 12px;
}

.page-hero p { font-size: 15px; color: rgba(255,255,255,0.55); max-width: 585px; line-height: 1.7; }

/* ── LAYOUT ────────────────────────────────────────────────── */
.main { max-width: 1200px; margin: 0 auto; padding: 48px 48px 80px; }

.section-label {
  font-size: 10px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 500; color: var(--navy); margin-bottom: 6px;
}

.section-desc {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 28px; max-width: 640px;
}

.divider { height: 0.5px; background: var(--border); margin: 48px 0; }

/* ── QUICK LINKS ───────────────────────────────────────────── */
.quick-links {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 48px;
}

.quick-link-card {
  background: var(--white); border: 0.5px solid var(--border); border-radius: 2px;
  padding: 20px 24px; display: flex; align-items: center; gap: 14px;
  text-decoration: none; transition: border-color 0.2s, transform 0.2s;
}
.quick-link-card:hover { border-color: var(--gold); transform: translateY(-1px); }

.ql-icon {
  width: 36px; height: 36px; background: var(--gold-pale); border-radius: 2px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.ql-text .ql-title { font-size: 13px; font-weight: 500; color: var(--navy); display: block; margin-bottom: 2px; }
.ql-text .ql-sub { font-size: 11px; color: var(--text-muted); }

/* ── FILE BROWSER ──────────────────────────────────────────── */
.file-browser {
  background: var(--white); border: 0.5px solid var(--border);
  border-radius: 2px; overflow: hidden;
}

.file-browser-header {
  padding: 16px 24px; background: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
}

.file-browser-header .fb-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 500; color: var(--white);
}

.fb-status { font-size: 11px; color: var(--gold-light); letter-spacing: 0.08em; }

.fb-toolbar {
  padding: 12px 24px; border-bottom: 0.5px solid var(--border);
  display: flex; align-items: center; gap: 12px; background: #FAFAF8;
}

.fb-search { flex: 1; position: relative; }

.fb-search input {
  width: 100%; padding: 8px 12px 8px 36px;
  border: 0.5px solid var(--border); border-radius: 2px;
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  color: var(--text-primary); background: var(--white); outline: none;
}
.fb-search input:focus { border-color: var(--gold); }

.fb-search svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); }

.fb-sort { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); }

.fb-sort select {
  font-family: 'DM Sans', sans-serif; font-size: 12px;
  border: 0.5px solid var(--border); border-radius: 2px;
  padding: 6px 10px; background: var(--white); color: var(--text-primary); outline: none;
}

.category-tabs {
  display: flex; border-bottom: 0.5px solid var(--border);
   background: #FAFAF8; padding: 0 24px;
}

.cat-tab {
  padding: 12px 17px; font-size: 12px; font-weight: 500; letter-spacing: 0.05em;
  color: var(--text-muted); border: none; background: none; cursor: pointer;
  border-bottom: 2px solid transparent; white-space: nowrap;
  transition: color 0.2s; margin-bottom: -0.5px;
}
.cat-tab:hover { color: var(--navy); }
.cat-tab.active { color: var(--navy); border-bottom-color: var(--gold); }

.file-list { padding: 0; }

.file-group-header {
  padding: 12px 24px 8px; font-size: 10px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold);
  background: #FAFAF8; border-bottom: 0.5px solid var(--border-light);
}

.file-row {
  display: grid; grid-template-columns: 32px 1fr 120px 140px 100px;
  align-items: center; gap: 12px; padding: 12px 24px;
  border-bottom: 0.5px solid var(--border-light);
  transition: background 0.15s; cursor: pointer;
}
.file-row:hover { background: var(--gold-pale); }
.file-row:last-child { border-bottom: none; }

.file-icon {
  width: 32px; height: 32px; border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; letter-spacing: 0.05em; flex-shrink: 0;
}
.file-icon.pdf  { background: #FDECEC; color: #B03A2E; }
.file-icon.docx, .file-icon.doc { background: #EAF2FB; color: #1A5276; }
.file-icon.xlsx { background: #E9F7EF; color: #1E8449; }
.file-icon.pptx { background: #FEF5E7; color: #B7770D; }

.file-name {
  font-size: 13px; color: var(--text-primary); font-weight: 400;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.file-name .file-subtitle { font-size: 11px; color: var(--text-muted); margin-top: 1px; display: block; }

.file-meta { font-size: 12px; color: var(--text-muted); }

.file-tag {
  display: inline-block; padding: 3px 8px; border-radius: 2px;
  font-size: 10px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
}
.file-tag.new     { background: #E9F7EF; color: #1E8449; }
.file-tag.updated { background: #FEF5E7; color: #B7770D; }

.file-download {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 500; color: var(--gold);
  text-decoration: none; padding: 5px 10px;
  border: 0.5px solid var(--gold); border-radius: 2px;
  transition: background 0.15s; justify-self: end;
}
.file-download:hover { background: var(--gold-pale); }

.empty-state { padding: 48px 24px; text-align: center; }
.empty-state svg { margin-bottom: 16px; opacity: 0.3; }
.empty-state h3 { font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.empty-state p { font-size: 13px; color: var(--text-muted); }

.skeleton {
  background: linear-gradient(90deg, #f0ece4 25%, #e8e4dc 50%, #f0ece4 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite; border-radius: 2px;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── CONTACTS ──────────────────────────────────────────────── */
.contacts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.contact-card {
  background: var(--white); border: 0.5px solid var(--border); border-radius: 2px;
  padding: 24px; display: flex; gap: 16px; align-items: flex-start; transition: border-color 0.2s;
}
.contact-card:hover { border-color: var(--gold); }

.contact-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 16px;
  font-weight: 600; color: var(--gold-light); flex-shrink: 0;
}

.contact-info .contact-name { font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 2px; }
.contact-info .contact-role { font-size: 11px; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 10px; }
.contact-info a { display: block; font-size: 12px; color: var(--gold); text-decoration: none; margin-bottom: 3px; }
.contact-info a:hover { text-decoration: underline; }

/* ── IT TOOLS PAGE ─────────────────────────────────────────── */
.tools-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-bottom: 16px;
}

.tool-card {
  background: var(--white); border: 0.5px solid var(--border); border-radius: 2px;
  padding: 28px; position: relative; transition: border-color 0.2s, transform 0.2s;
}
/* .tool-card:hover { border-color: var(--gold); transform: translateY(-2px); } */
.tool-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); opacity: 0; transition: opacity 0.2s;
}
.tool-card:hover::before { opacity: 1; }

.tool-icon {
  width: 48px; height: 48px; border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 22px;
}
.tool-icon.claude  { background: #F5EDE8; }
.tool-icon.chatgpt { background: #E8F5EE; }
.tool-icon.copilot { background: #E8EEF5; }

.tool-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 600; color: var(--navy); margin-bottom: 4px;
}

.tool-vendor {
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px;
}

.tool-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }

.tool-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; background: #EAF5EE; border-radius: 2px;
  font-size: 11px; font-weight: 500; color: #1A6B3C; letter-spacing: 0.05em;
}
.tool-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #2ECC71; flex-shrink: 0;
}

.tool-link {
  display: block; margin-top: 16px;
  font-size: 14px; font-weight: 500; color: var(--gold);
  text-decoration: none; letter-spacing: 0.05em; transition: color 0.2s;
}
.tool-link:hover { color: var(--navy); }

.request-banner {
  background: var(--navy); border-radius: 2px; padding: 40px 48px;
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 32px; position: relative; overflow: hidden;
}
.request-banner::after {
  content: ''; position: absolute; right: -40px; bottom: -40px;
  width: 200px; height: 200px;
  border: 1px solid rgba(184,149,74,0.12); border-radius: 50%;
}
.request-banner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 500; color: var(--white); margin-bottom: 8px;
}
.request-banner p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; max-width: 480px; }

.btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; background: var(--gold); color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; border: none; border-radius: 2px;
  cursor: pointer; white-space: nowrap; transition: background 0.2s; flex-shrink: 0;
}
.btn-gold:hover { background: var(--gold-light); }
.btn-gold svg { flex-shrink: 0; }

.flow-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.policy-text p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }

.policy-note {
  padding: 16px 20px; background: var(--gold-pale);
  border-left: 3px solid var(--gold); border-radius: 0 2px 2px 0;
  font-size: 13px; color: var(--text-secondary); line-height: 1.7; margin-top: 20px;
}
.policy-note strong { color: var(--navy); font-weight: 500; }

.flow-steps { display: flex; flex-direction: column; }

.flow-step {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 24px; background: var(--white);
  border: 0.5px solid var(--border); border-bottom: none; transition: background 0.2s;
}
.flow-step:first-child { border-radius: 2px 2px 0 0; }
.flow-step:last-child  { border-bottom: 0.5px solid var(--border); border-radius: 0 0 2px 2px; }
.flow-step:hover { background: #FAFAF8; }

.step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-size: 12px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}

.step-content h4 { font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 4px; }
.step-content p  { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

.policy-doc-card { background: var(--white); border: 0.5px solid var(--border); border-radius: 2px; overflow: hidden; }

.policy-doc-header {
  padding: 20px 28px; background: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
}
.policy-doc-header h3 { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 500; color: var(--white); }
.policy-doc-header span { font-size: 11px; color: var(--gold-light); letter-spacing: 0.1em; }

.policy-section { padding: 24px 28px; border-bottom: 0.5px solid var(--border-light); }
.policy-section:last-child { border-bottom: none; }

.policy-section-title {
  font-size: 11px; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}

.policy-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.policy-item:last-child { margin-bottom: 0; }
.policy-item::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0; margin-top: 8px;
}
.policy-item span { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }
.policy-item strong { font-weight: 500; color: var(--navy); }

/* ── HAMBURGER ─────────────────────────────────────────────── */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: 2px;
  transition: background 0.2s; flex-shrink: 0;
}
.mobile-menu-btn:hover { background: rgba(255,255,255,0.1); }
.mobile-menu-btn span {
  display: block; width: 22px; height: 1.5px;
  background: var(--white);
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── FOOTER ────────────────────────────────────────────────── */
footer {
  background: var(--navy); padding: 28px 48px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(184,149,74,0.2);
}
footer p { font-size: 12px; color: rgba(255,255,255,0.35); }
footer a { font-size: 12px; color: var(--gold); text-decoration: none; }

.btn-primary {
  background: var(--gold-light);
  border: none;
  font-size: 20px;
}
.btn-primary:hover {
  background: var(--navy);
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 900px) {
  header, .page-hero, .main, footer { padding-left: 24px; padding-right: 24px; }
  .tools-grid { grid-template-columns: 1fr; }
  .quick-links { grid-template-columns: 1fr 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .flow-wrap { grid-template-columns: 1fr; }
  .request-banner { grid-template-columns: 1fr; }
  .file-row { grid-template-columns: 32px 1fr 100px; }
  .file-row .file-meta, .file-row div:nth-child(4) { display: none; }
  .logo-wordmark .brand { font-size: 17px; }
}

@media (max-width: 768px) {
  header { padding: 0 20px; position: relative; height: 60px; }
  .page-hero, .main, footer { padding-left: 20px; padding-right: 20px; }
  .mobile-menu-btn { display: flex; }
  .header-nav {
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(184,149,74,0.25);
    border-bottom: 3px solid var(--gold);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 10px;
    display: none;
    z-index: 200;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .header-nav.open { display: flex; }
  .nav-pill { padding: 12px 20px; border-radius: 0; font-size: 14px; border-bottom: none; }
  .nav-pill.active { border-bottom: none; border-left: 2px solid var(--gold); padding-left: 18px; }
  .user-badge { margin: 6px 20px 2px; border-radius: 2px; }
  .logo-wordmark .brand { font-size: 16px; }
  .logo-wordmark .sub { display: none; }
  .page-hero h1 { font-size: 32px; }
  .quick-links { grid-template-columns: 1fr; }
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --navy: #1C2340;
    --navy-mid: #2C3560;
    --navy-light: #3D4A7A;
    --gold: #B8954A;
    --gold-light: #D4AE6E;
    --gold-pale: #F5EDD8;
    --cream: #FAF8F4;
    --white: #FFFFFF;
    --text-primary: #1C2340;
    --text-secondary: #4A5068;
    --text-muted: #7A8299;
    --border: #E2DDD4;
    --border-light: #EDE9E2;
  }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  /* HEADER */
  header {
    background: var(--navy);
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    border-bottom: 3px solid var(--gold);
    flex-shrink: 0;
  }

  .logo-area {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .logo-box {
    width: 48px;
    height: 48px;
    border: 2px solid var(--gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
  }

  .logo-box span {
    font-size: 8px;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: center;
  }

  .logo-box .logo-line {
    width: 32px;
    height: 0.5px;
    background: var(--gold);
    margin: 2px 0;
  }

  .logo-wordmark { display: flex; flex-direction: column; }
  .logo-wordmark .brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.05em;
  }
  .logo-wordmark .sub {
    font-size: 10px;
    color: var(--gold-light);
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }

  .user-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.07);
    border: 0.5px solid rgba(255,255,255,0.15);
    border-radius: 2px;
  }

  .user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--navy-light);
    border: 1.5px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 500;
    color: var(--gold-light);
  }

  .user-badge span { font-size: 13px; color: rgba(255,255,255,0.7); }

  /* HERO */
  .hero {
    background: var(--navy);
    padding: 72px 48px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
  }

  .hero::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border: 1px solid rgba(184,149,74,0.08);
    border-radius: 50%;
    pointer-events: none;
  }

  .hero::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border: 1px solid rgba(184,149,74,0.12);
    border-radius: 50%;
    pointer-events: none;
  }

  .hero-eyebrow {
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
  }

  .hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 500;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
  }

  .hero p {
    font-size: 15px;
    color: rgba(255,255,255,0.5);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
    z-index: 1;
  }

  .hero-divider {
    width: 48px;
    height: 1px;
    background: var(--gold);
    margin: 28px auto;
    opacity: 0.6;
  }

  /* MAIN */
  main {
    max-width: 960px;
    margin: 0 auto;
    padding: 56px 48px 80px;
    width: 100%;
    flex: 1;
  }

  .greeting {
    text-align: center;
    margin-bottom: 48px;
  }

  .greeting .date-label {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
  }

  .greeting h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 500;
    color: var(--navy);
  }

  /* PORTAL CARDS */
  .portals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }

  .portal-card {
    background: var(--white);
    border: 0.5px solid var(--border);
    border-radius: 2px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
    position: relative;
  }

  .portal-card:hover {
    /* transform: translateY(-3px);
    border-color: var(--gold); */
  }

  /* .portal-card:hover .card-arrow { transform: translateX(4px); } */

  .card-top {
    background: var(--navy);
    padding: 32px 32px 28px;
    position: relative;
    overflow: hidden;
  }

  .card-top::after {
    content: '';
    position: absolute;
    right: -32px;
    bottom: -32px;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(184,149,74,0.15);
    border-radius: 50%;
  }

  .card-icon {
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--gold);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
  }

  .card-top h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 6px;
  }

  .card-top .card-dept {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
  }

  .card-body {
    padding: 24px 32px 28px;
    flex: 1;
  }

  .card-body p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
  }

  .card-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
  }

  .card-link-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    color: var(--gold);
    transition: all .3s;

  }

  .card-link-item:hover {
    margin-left: 3px;
  }

  .card-link-item::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
  }

  .card-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 0.5px solid var(--border-light);
  }

  .card-cta a {
    text-decoration: none;
    transition: all .3s;
  }
  .card-cta a span {
    transition: all .3s;
   }

  .card-cta a:hover span {
   padding-left: 3px;
  }

  .card-cta span {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
  }
  .card-cta svg {
    position: relative;
    top: 3px;
  }
  .card-arrow {
    transition: transform 0.2s;
  }

  /* QUICK LINKS ROW */
  .quick-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .quick-card {
    background: var(--white);
    border: 0.5px solid var(--border);
    border-radius: 2px;
    padding: 20px 22px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: border-color 0.2s, transform 0.15s;
  }

  .quick-card:hover { border-color: var(--gold); transform: translateY(-1px); }

  .qc-icon {
    width: 36px;
    height: 36px;
    background: var(--gold-pale);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .qc-text .qc-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--navy);
    display: block;
    margin-bottom: 2px;
  }

  .qc-text .qc-sub {
    font-size: 11px;
    color: var(--text-muted);
  }

  /* FOOTER */
  footer {
    background: var(--navy);
    padding: 24px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(184,149,74,0.2);
    flex-shrink: 0;
  }

  footer p { font-size: 12px; color: rgba(255,255,255,0.3); }

  .footer-links { display: flex; gap: 24px; }
  .footer-links a { font-size: 12px; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
  .footer-links a:hover { color: var(--gold); }

  .logo-link:hover .logo-box span {
    transition: color 0.2s;
  }
  .logo-link:hover .logo-box span {
    color: var(--gold-light)!important;
    transition: color 0.2s;

  }


  .spinner-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
  }
  .spinner-overlay.active {
    opacity: 1;
    pointer-events: all;
  }
  .spinner-box {
    background: var(--color-background-primary, #fff);
    border: 0.5px solid #ddd;
    border-radius: 12px;
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 220px;
  }
  .spinner-ring {
    width: 36px;
    height: 36px;
    border: 2.5px solid #e5e5e5;
    border-top-color: #B8954A;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
  }
  .file-group-sub {
    padding-left: 24px;
    font-size: 12px;
    opacity: 0.7;
  }

/* Salesrep specific CSS */
#salesResourceLink,
#salesResourceCard {
  display: none;
}
/* :is(.admin, .salesrep) #salesResourceLink,
:is(.admin, .salesrep) #salesResourceCard {
  display: inline-block;
}
:is(.admin, .salesrep) .portals {
  grid-template-columns: 1fr 1fr 1fr;
}
:is(.admin, .salesrep) main {
  max-width: 1200px;
} */

/* HR specific CSS */
.hr-only {
  display: none;
}
:is(.admin, .hr) .hr-only {
  display: table-cell;
}


.page-hero a {
  color: var(--gold);
}
.page-hero a:hover {
  color: #fff;
}

  @keyframes spin { to { transform: rotate(360deg); } }
  .spinner-label {
    font-size: 14px;
    color: #666;
    font-weight: 400;
  }
  @media (max-width: 768px) {
    header { padding: 0 20px; position: relative; height: 60px; }
    .hero, main, footer { padding-left: 20px; padding-right: 20px; }
    .mobile-menu-btn { display: flex; }
    .header-nav {
      position: absolute;
      top: 60px; left: 0; right: 0;
      background: var(--navy);
      border-top: 1px solid rgba(184,149,74,0.25);
      border-bottom: 3px solid var(--gold);
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      padding: 6px 0 10px;
      display: none;
      z-index: 200;
      box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    }
    .header-nav.open { display: flex; }
    .nav-pill { padding: 12px 20px; border-radius: 0; font-size: 14px; border-bottom: none; }
    .nav-pill.active { border-bottom: none; border-left: 2px solid var(--gold); padding-left: 18px; }
    .user-badge { margin: 6px 20px 2px; border-radius: 2px; }
    .logo-wordmark .brand { font-size: 16px; }
    .logo-wordmark .sub { display: none; }
    .hero h1 { font-size: 36px; }
    .portals { grid-template-columns: 1fr; }
    .quick-row { grid-template-columns: 1fr; }
    .quick-card { padding: 16px 18px; }
    .quick-link-card { padding: 16px 18px; }
    .qc-text .qc-sub { font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  }

