/* =================================================================
   SD EDU PTE LTD
   Design system: Modern Corporate Theme
   ================================================================= */

:root {
  --ink:        #0F1C18;
  --ink-soft:   #43524B;
  --paper:      #F5F2EA;
  --paper-2:    #EDE8DC;
  --lapis:      #15324E;
  --lapis-deep: #0D2338;
  --kemar:      #9C3B27;
  --gold:       #FF6B00;

  --line:       rgba(15, 28, 24, 0.13);
  --line-light: rgba(245, 242, 234, 0.18);

  --shell:      min(1180px, 100% - 3rem);
  --band:       10px;

  --display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --body:    "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.7rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); letter-spacing: -0.015em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.shell { width: var(--shell); margin-inline: auto; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--kemar);
  margin: 0 0 1.1rem;
  display: block;
}

.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 0.75rem 1.25rem; z-index: 999;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- the kemar band ---------------------------------------- */

.kemar {
  height: var(--band);
  background: var(--kemar);
  position: relative;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid rgba(15, 28, 24, 0.35);
}
.kemar::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--gold) 0 2px, transparent 2.5px);
  background-size: 44px 100%;
  background-position: center;
  opacity: 0.85;
}
.kemar--thin { height: 4px; border-bottom-width: 1px; }
.kemar--thin::after { display: none; }

/* ---------- header ------------------------------------------------ */

.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(245, 242, 234, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 0.9rem 0;
}

.wordmark { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.wordmark__mark {
  width: 34px; height: 34px; flex: none;
  background: var(--lapis);
  border-radius: 3px;
  display: grid; place-items: center;
  color: var(--gold);
  font-family: var(--display); font-weight: 700; font-size: 0.95rem;
  letter-spacing: -0.04em;
}
.wordmark__text { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; }
.wordmark__sub {
  display: block; font-family: var(--mono); font-weight: 400;
  font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft);
}

/* Logo Styling */
.wordmark__logo {
  height: 60px; /* Adjust this number to make the logo taller or shorter */
  width: auto;
  display: block;
}

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  text-decoration: none; font-size: 0.94rem; padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--kemar); }

.nav .btn {
  padding: 0.6rem 1.5rem;       
  border-radius: 8px;            
  background-color: #0D2338;    
  border-color: #0D2338;         
  color: #ffffff;                
  font-size: 0.85rem;            
  font-weight: 600;              
  line-height: 1.4;              
}


.nav .btn:hover {
  background-color: #9C3B27;    
  border-color: #9C3B27;
  color: #ffffff;
  transform: translateY(-1px);   
}

.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--body); font-size: 0.94rem; font-weight: 700;
  padding: 0.9rem 1.4rem; 
  border: 2px solid var(--kemar); 
  background: var(--kemar); 
  color: var(--paper); 
  border-radius: 8px; 
  transition: transform 0.15s ease;
}


.btn:hover { 
  transform: translateY(-2px); 
  background: var(--kemar); 
  border-color: var(--kemar); 
}

/* Ghost Button (Outline) */
.btn--ghost { 
  background: transparent; 
  color: var(--kemar); 
  border-color: var(--kemar); 
}
.btn--ghost:hover { 
  background: var(--kemar); 
  color: var(--paper); 
  border-color: var(--kemar); 
}


.btn--light { 
  background: var(--paper); 
  border-color: var(--paper); 
  color: var(--kemar); 
}
.btn--light:hover { 
  background: transparent; 
  border-color: var(--paper); 
  color: var(--paper); 
}

.btn--outline-light { 
  background: transparent; 
  border-color: rgba(245,242,234,0.5); 
  color: var(--paper); 
}
.btn--outline-light:hover { 
  background: var(--paper); 
  color: var(--kemar);
  border-color: var(--paper); 
}

.nav-toggle {
  display: none; 
  background: none; 
  border: none; 
  border-radius: 2px; 
  padding: 0.5rem; 
  cursor: pointer; 
  color: #000000; 
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- hero -------------------------------------------------- */

.hero {
  background: var(--lapis);
  color: var(--paper);
  padding: clamp(4rem, 11vw, 8rem) 0 clamp(3.5rem, 8vw, 6rem);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(217,164,65,0.18), transparent 60%),
    repeating-linear-gradient(90deg, rgba(245,242,234,0.05) 0 1px, transparent 1px 96px);
  pointer-events: none;
}
.hero__inner { position: relative; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__intro { max-width: 46ch; font-size: 1.15rem; color: rgba(245,242,234,0.82); margin-top: 1.6rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.4rem; }

.hero__meta {
  display: flex; flex-wrap: wrap; gap: 2.5rem;
  margin-top: 3.5rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line-light);
  font-family: var(--mono); font-size: 0.75rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(245,242,234,0.6);
}
.hero__meta strong {
  display: block; font-family: var(--display); font-size: 1.9rem;
  letter-spacing: -0.03em; color: var(--paper); margin-bottom: 0.2rem;
}


.ticker {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line); 
  overflow: hidden; 
  padding: 1.3rem 0;
}

.ticker__track {
  display: flex; 
  gap: 3rem; 
  width: max-content;
  animation: slide 38s linear infinite;
  font-family: var(--mono); 
  font-size: 0.85rem;
  letter-spacing: 0.14em; 
  text-transform: uppercase; 
  color: var(--ink-soft);
  align-items: center; 
}

.ticker__track span { display: flex; align-items: center; gap: 3rem; white-space: nowrap; }
.ticker__track span::after { content: "◆"; color: var(--kemar); font-size: 0.6rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------------------------------------------- */

.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--tint { background: var(--paper-2); }
.section__head { max-width: 62ch; margin-bottom: 3rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }

.figure-frame {
  border: 1px solid var(--line);
  padding: 0.6rem; background: var(--paper);
}
.figure-frame img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.stat-block {
  border-left: 3px solid var(--kemar);
  padding-left: 1.2rem; margin-top: 2rem;
}
.stat-block strong { font-family: var(--display); font-size: 2.6rem; display: block; line-height: 1; }
.stat-block span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- venture cards ----------------------------------------- */

.grid-3 { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 1.5rem; 
}
.venture {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2rem 1.75rem 1.75rem;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.section--tint .venture { background: var(--paper); }
.venture::before {
  content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px;
  width: 3px; background: var(--kemar); transform: scaleY(0); transform-origin: top;
  transition: transform 0.22s ease;
}
.venture:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -28px rgba(15,28,24,0.55); }
.venture:hover::before { transform: scaleY(1); }
.venture__index {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em;
  color: var(--ink-soft); margin-bottom: 1.4rem;
}
.venture h3 { margin-bottom: 0.6rem; }
.venture p { color: var(--ink-soft); font-size: 0.98rem; }
.venture__link {
  margin-top: auto; padding-top: 1.4rem;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none; color: var(--kemar);
}
.venture__link::after { content: " →"; }
.venture__logo { height: 46px; width: auto; margin-bottom: 1.2rem; object-fit: contain; }

/* ---------- timeline ---------------------------------------------- */

.timeline { border-top: 1px solid var(--line); }
.timeline__row {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 2rem; padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.timeline__date {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--kemar);
}
.timeline__row h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.timeline__row p { color: var(--ink-soft); font-size: 0.97rem; }
.timeline__row.is-hidden { display: none; }

/* ---------- announcements ----------------------------------------- */

.notice {
  display: grid; grid-template-columns: 150px 1fr; gap: 2rem;
  padding: 1.9rem 0; border-bottom: 1px solid var(--line);
  text-decoration: none; align-items: start;
}
.notice:first-of-type { border-top: 1px solid var(--line); }
.notice__date { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--kemar); }
.notice h3 { margin-bottom: 0.4rem; transition: color 0.15s ease; }
.notice:hover h3 { color: var(--kemar); }
.notice p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }

/* ---------- team -------------------------------------------------- */

/* Tab Navigation */
.team-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 0 0 2rem;
}

.team-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  border: 2px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--body);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.team-tab:hover {
  border-color: var(--kemar);
  color: var(--kemar);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(156, 59, 39, 0.1);
}

.team-tab.is-active {
  background: var(--kemar);
  border-color: var(--kemar);
  color: var(--paper);
  box-shadow: 0 6px 16px rgba(156, 59, 39, 0.2);
}

/* Team Section Visibility & Animation */
.team-section {
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Person Cards - Enhanced Design */
.person {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 2rem 1.5rem;
  position: relative;
  transition: all 0.3s ease;
  animation: scaleUp 0.6s ease-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.person:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(15, 28, 24, 0.1);
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Photo/Image Styling */
.person img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  margin-bottom: 1.5rem;
  border-radius: 12px;
}

/* Name Styling */
.person h3 {
  font-size: 1.2rem;
  margin: 0 0 0.8rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

/* Role/Title Styling */
.person__role {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kemar);
  margin: 0 0 1rem;
  font-weight: 700;
  display: block;
}

/* Division Styling */
.person__division {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 0.8rem;
  font-style: italic;
}

/* Bio/Description Styling */
.person p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}

/* Category Color Top Border Indicators */

/* SD Executive — Kemar (red-brown top border on hover) */
.person--executive {
  border-top: 4px solid transparent;
  transition: all 0.3s ease, border-top-color 0.3s ease;
}

.person--executive:hover {
  border-top-color: var(--kemar);
}

/* Department Heads — Lapis (navy top border on hover) */
.person--head {
  border-top: 4px solid transparent;
  transition: all 0.3s ease, border-top-color 0.3s ease;
}

.person--head:hover {
  border-top-color: var(--lapis);
}

/* Staff — Gold (orange top border on hover) */
.person--staff {
  border-top: 4px solid transparent;
  transition: all 0.3s ease, border-top-color 0.3s ease;
}

.person--staff:hover {
  border-top-color: var(--gold);
}

/* Mobile Responsive */
@media (max-width: 760px) {
  .team-tabs {
    gap: 0.75rem;
  }
  
  .team-tab {
    flex: 1 1 calc(50% - 0.375rem);
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }
  
  .person {
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .team-tab {
    flex: 1 1 100%;
  }
}
/* ---------- article ----------------------------------------------- */

.article { max-width: 68ch; }
.article__meta { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--kemar); margin-bottom: 1rem; }
.article img { margin: 2rem 0; border: 1px solid var(--line); }
.back-link {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none; color: var(--ink-soft);
  display: inline-block; margin-bottom: 2rem;
}
.back-link:hover { color: var(--kemar); }

/* ---------- forms ------------------------------------------------- */

.form { display: grid; gap: 1.1rem; }
.field label {
  display: block; font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.13em; text-transform: uppercase; margin-bottom: 0.45rem;
}
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--body); font-size: 1rem;
  padding: 0.8rem 0.9rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: 4px; color: var(--ink);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--kemar); outline: none; box-shadow: 0 0 0 3px rgba(156,59,39,0.14); }
.field--half { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.honeypot { position: absolute; left: -9999px; }

.alert { padding: 0.9rem 1.1rem; border-left: 3px solid var(--kemar); background: var(--paper-2); font-size: 0.95rem; margin-bottom: 1.5rem; }
.alert--ok { border-left-color: #2F6B4F; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
.contact-list dt, .contact-list__label {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.3rem;
}
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--kemar); }

.map { border: 1px solid var(--line); margin-top: 2.5rem; }
.map iframe { display: block; width: 100%; height: 340px; border: 0; filter: grayscale(0.6); }

/* ---------- footer ------------------------------------------------ */

.footer { background: var(--lapis-deep); color: rgba(245,242,234,0.78); padding: clamp(3rem, 7vw, 5rem) 0 2rem; }
.footer h4 {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 1.1rem; font-weight: 500;
}
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer a { text-decoration: none; font-size: 0.94rem; }
.footer a:hover { color: var(--gold); }
.footer__base {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(245,242,234,0.5);
}
.footer__social { display: flex; gap: 1.2rem; }

/* ---------- page header ------------------------------------------- */

.pagehead { background: var(--lapis); color: var(--paper); padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.pagehead .eyebrow { color: var(--gold); }
.pagehead p { color: rgba(245,242,234,0.8); max-width: 56ch; }

/* ---------- Hero Split Layout (Video) ----------------------------- */
.hero--split .hero__inner {
  display: flex;
  align-items: center;
  gap: 4rem; 
}

.hero__content {
  flex: 1; 
}

.hero__media {
  flex: 1; 
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; 
  height: 0;
  overflow: hidden;
  border-radius: 12px; 
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4); 
  border: 2px solid rgba(255, 255, 255, 0.1); 
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- motion / responsive ----------------------------------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .split, .footer__grid { grid-template-columns: 1fr; }
  .timeline__row, .notice { grid-template-columns: 1fr; gap: 0.5rem; }
  
  /* Mobile Responsiveness for Video */
  .hero--split .hero__inner {
    flex-direction: column; 
    gap: 2.5rem;
    text-align: center;
  }
  .hero__actions { justify-content: center; }
  .hero__meta { justify-content: center; }
}

@media (max-width: 760px) {
  :root { --shell: min(1180px, 100% - 2rem); }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.5rem 1rem 1.2rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 0.8rem; text-align: center; }
  .field--half { grid-template-columns: 1fr; }
  .hero__meta { gap: 1.5rem; }
  .grid-3 {
    grid-template-columns: 1fr !important; 
  }
  
  /* Team Tabs Mobile */
  .team-tabs {
    gap: 0.75rem;
  }
  
  .team-tab {
    flex: 1 1 calc(50% - 0.375rem);
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }
  
  .team-tab__count {
    display: none;
  }
  
  /* Force text to wrap and stay inside the box */
  .venture, .person {
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  
  /* ---------- Responsive Vacancy Table (Cards on Mobile) ---------- */
  .vacancy-table-wrapper table,
  .vacancy-table-wrapper thead,
  .vacancy-table-wrapper tbody,
  .vacancy-table-wrapper th,
  .vacancy-table-wrapper td,
  .vacancy-table-wrapper tr {
    display: block !important;
    width: 100% !important;
  }

  /* Hide the table headers on mobile */
  .vacancy-table-wrapper thead {
    display: none !important;
  }

  /* Turn each row into a card */
  .vacancy-table-wrapper tr {
    margin-bottom: 1.5rem !important;
    border: 1px solid var(--line) !important;
    padding: 1rem !important;
    border-radius: 8px !important;
    background: var(--paper) !important;
  }

  /* Style each cell to stack nicely */
  .vacancy-table-wrapper td {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    padding: 0.6rem 0 !important;
    text-align: left !important;
    border-bottom: 1px solid rgba(15, 28, 24, 0.08) !important;
    font-size: 0.9rem !important;
  }
  
  .vacancy-table-wrapper td:last-child {
    border-bottom: none !important;
  }

  /* Hide the S.N. column on phones (not needed on mobile) */
  .vacancy-table-wrapper td:nth-child(1) {
    display: none !important;
  }

  /* Magic: Use CSS to add the Labels back so users know what the data is */
  .vacancy-table-wrapper td::before {
    font-weight: 700 !important;
    font-family: var(--mono) !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: var(--ink-soft) !important;
    margin-right: 1rem !important;
    flex-shrink: 0 !important;
  }

  .vacancy-table-wrapper td:nth-child(2)::before { content: "Position"; }
  .vacancy-table-wrapper td:nth-child(3)::before { content: "Qualification"; }
  .vacancy-table-wrapper td:nth-child(4)::before { content: "Slots"; }
  .vacancy-table-wrapper td:nth-child(5)::before { content: "TOR"; }
  .vacancy-table-wrapper td:nth-child(6)::before { content: "Deadline"; }
}

@media (max-width: 480px) {
  .team-tab {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}


.person--director {
  border-color: var(--kemar);
  background: var(--paper);
}
.person--director h3 {
  color: var(--kemar);
}

/* ---------- Loading Screen ---------- */
#sd-loader {
  position: fixed;
  inset: 0;
  background-color: #F5F2EA; /* Matches your --paper background color */
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}

#sd-loader.is-hidden {
  opacity: 0;
  pointer-events: none; /* Prevents clicking on it while it's fading out */
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(15, 28, 24, 0.1); /* Light grey ring */
  border-top: 4px solid #15324E; /* Your --lapis blue color */
  border-radius: 50%;
  animation: sd-spin 0.8s linear infinite;
}

@keyframes sd-spin {
  to { transform: rotate(360deg); }
}