:root{
  --bg: #ffffff;
  --bg-alt: #f7f8fb;
  --bg-soft: #f3f6fb;

  --text: #0f172a;
  --muted: #475569;
  --muted-2: #64748b;

  --line: rgba(15, 23, 42, 0.10);
  --line-strong: rgba(15, 23, 42, 0.16);

  --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 16px 38px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 20px 44px rgba(15, 23, 42, 0.12);

  --radius: 18px;
  --radius-sm: 14px;
  --radius-xs: 10px;

  --max: 1200px;
  --narrow: 840px;

  --accent: #1f4b99;
  --accent-2: #0b2f6a;
  --accent-3: #2b76ff;

  --footer-bg: #5d0826;
  --footer-line: rgba(255,255,255,0.10);
  --footer-text: rgba(255,255,255,0.92);
  --footer-muted: rgba(255,255,255,0.72);

  --success-bg: #eef7ef;
  --success-text: #1f5e32;

  --focus: rgba(31, 75, 153, 0.35);
}

*,
*::before,
*::after{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a{
  color: inherit;
  text-decoration: none;
}

:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 10px;
}

.skiplink{
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 1000;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

.skiplink:focus{
  left: 10px;
}

.container{
  width: min(92%, var(--max));
  margin: 0 auto;
}

.narrow{
  width: min(92%, var(--narrow));
  margin: 0 auto;
}

.section{
  padding: 88px 0;
  scroll-margin-top: 100px;
}

.section.alt{
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow{
  margin: 0 0 10px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

h1, h2, h3, h4{
  margin: 0;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2{
  font-size: clamp(2rem, 3vw, 2.7rem);
  margin-bottom: 18px;
}

h3{
  font-size: 1.18rem;
  margin-bottom: 10px;
}

p{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.02rem;
}

.link{
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link:hover{
  color: var(--accent-2);
}

.sep{
  color: rgba(255,255,255,0.72);
  margin: 0 8px;
}

/* ---------- NAV ---------- */
.topbar{
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo{
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-text{
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--text);
}

.navlinks{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.navlinks a{
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}

.navlinks a:hover{
  color: var(--accent);
  background: rgba(31,75,153,0.06);
}

.menu{
  display: none;
  position: relative;
}

.menu-btn{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-weight: 800;
  color: var(--text);
}

.menu-btn::-webkit-details-marker{
  display: none;
}

.menu-icon{
  width: 18px;
  height: 12px;
  position: relative;
  display: inline-block;
}

.menu-icon::before,
.menu-icon::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.menu-icon::before{
  top: 0;
}

.menu-icon::after{
  bottom: 0;
}

.menu-panel{
  position: absolute;
  right: 0;
  top: 58px;
  width: min(340px, 90vw);
  padding: 10px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-panel a{
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 650;
  color: var(--muted);
}

.menu-panel a:hover{
  color: var(--accent);
  background: rgba(31,75,153,0.06);
}

.hero {
  color: #ffffff;
}

.hero .title,
.hero h1 {
  color: #ffffff;
}

.hero .subtitle {
  color: rgba(255,255,255,0.92);
}

.hero .tagline {
  color: rgba(255,255,255,0.85);
}

.hero .hero-meta {
  color: rgba(255,255,255,0.75);
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
  border-bottom: 1px solid var(--line);
  background: none; /* important: remove old gradients */
}


.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.35)
  );
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0),
    rgba(247, 248, 251, 0.9)
  );
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 42px;
  align-items: center;
}

.hero-copy{
  max-width: 680px;
}

.hero-topline{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.kicker{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.80);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-badge{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--success-bg);
  color: var(--success-text);
  border: 1px solid rgba(31,94,50,0.12);
  font-size: 0.84rem;
  font-weight: 800;
}

.title{
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

.subtitle{
  max-width: 18ch;
  font-size: clamp(1.5rem, 2.8vw, 2.35rem);
  font-weight: 700;
  line-height: 1.16;
  color: #243244;
  margin-bottom: 14px;
}

.tagline{
  max-width: 62ch;
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.hero-meta{
  min-height: 1px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--muted-2);
  margin-bottom: 26px;
}

.btnrow{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-weight: 800;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(31,75,153,0.24);
  box-shadow: 0 16px 30px rgba(15,23,42,0.10);
}

.btn.primary{
  color: #fff;
  border-color: rgba(31,75,153,0.25);
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: 0 16px 30px rgba(31,75,153,0.18);
}

.hero-logos{
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.hero-logo{
  display: block;
  object-fit: contain;
}

.hero-logo-dosita{
  width: 84px;
  height: 84px;
}

.hero-logo-shu{
  width: auto;
  height: 64px;
  max-width: 280px;
}

.hero-logo-divider{
  width: 1px;
  height: 44px;
  background: var(--line-strong);
}

.hero-visual{
  display: grid;
  gap: 18px;
}

.hero-figure{
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(15,23,42,0.12);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.hero-figure img{
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
}

.hero-figure figcaption{
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  background: #fcfcfe;
  color: var(--muted-2);
  font-size: 0.95rem;
}

/* ---------- FIGURES ---------- */
.figure{
  margin: 20px 0 10px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.figure img{
  width: 100%;
  height: auto;
}

.figure figcaption{
  padding: 13px 15px;
  border-top: 1px solid var(--line);
  background: #fbfbfd;
  color: var(--muted-2);
  font-size: 0.94rem;
}

/* ---------- PUBLICATIONS ---------- */
.pub-panel{
  padding: 6px 0 0;
}

.pub-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.pub-item{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.pub-main{
  display: grid;
  gap: 6px;
}

.pub-title{
  font-weight: 800;
  color: var(--text);
}

.pub-desc{
  color: var(--muted);
  font-size: 0.98rem;
}

.pub-meta{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pub-badge{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(31,75,153,0.10);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
}

.pub-link{
  font-weight: 800;
  color: var(--accent);
}

.pub-link:hover{
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- TEAM ---------- */
.team-block{
  margin-top: 22px;
}

.team-heading{
  margin: 10px 0 14px;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 900;
}

.team-grid{
  display: grid;
  gap: 18px;
}

.team-grid-feature{
  grid-template-columns: minmax(0, 1fr);
}

.team-grid-compact{
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.team-card{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.94);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.team-card:hover{
  transform: translateY(-3px);
  border-color: rgba(31,75,153,0.22);
  box-shadow: var(--shadow-hover);
}

.team-card-compact{
  padding: 18px 16px;
  text-align: center;
}

.team-card-feature{
  padding: 24px;
}

.team-card-top{
  display: flex;
  align-items: center;
  gap: 22px;
}

.team-card-main{
  min-width: 0;
}

.team-photo{
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 4px solid rgba(15,23,42,0.05);
  box-shadow: 0 10px 24px rgba(15,23,42,0.10);
}

.team-photo-lg{
  width: 132px;
  height: 132px;
  margin: 0;
  flex: 0 0 auto;
}

.team-name{
  margin: 0 0 6px;
  font-size: 1.12rem;
  font-weight: 900;
  color: var(--text);
}

.team-role{
  margin: 0 0 6px;
  color: #334155;
  font-weight: 650;
}

.team-org{
  margin: 0 0 12px;
  color: var(--muted-2);
  font-size: 0.96rem;
}

.team-links{
  font-size: 0.92rem;
  color: var(--accent);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.team-card-feature .team-links{
  justify-content: flex-start;
}

.team-links a{
  color: var(--accent);
  font-weight: 800;
}

.team-links a:hover{
  color: var(--accent-2);
}

/* ---------- FOOTER ---------- */
.footer{
  margin-top: 0;
  padding: 56px 0 22px;
  background: var(--footer-bg);
  color: var(--footer-text);
}

.footer p{
  color: var(--footer-muted);
}

.footer h2,
.footer h4{
  color: #fff;
}

.footer-with-contact{
  position: relative;
}

.footer-contact-wrap{
  display: grid;
  gap: 34px;
}

.footer-contact{
  display: grid;
  gap: 18px;
}

.footer-contact-head{
  max-width: 760px;
}

.footer-contact-title{
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
}

.footer-contact-sub{
  margin: 0;
}

.footer-contact-card{
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--footer-line);
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 16px 30px rgba(0,0,0,0.12);
}

.footer-contact-left,
.footer-contact-right{
  min-width: 0;
}

.contact-logos{
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.contact-logo{
  object-fit: contain;
  display: block;
}

.dosita-contact-logo{
  width: 58px;
  height: 58px;
}

.shu-contact-logo{
  max-width: 240px;
  height: 46px;
  width: auto;
}

.contact-name,
.contact-role,
.contact-org,
.contact-line,
.addr-title,
.addr{
  margin: 0 0 10px;
}

.contact-name strong{
  color: #fff;
}

.addr-title strong{
  color: #fff;
}

.footer-grid{
  display: grid;
  gap: 24px;
}

.footer-grid-compact{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  padding-top: 8px;
}

.footer-col{
  display: grid;
  gap: 10px;
}

.footer-col h4{
  margin: 0 0 4px;
  font-size: 1rem;
}

.footer-col a{
  color: var(--footer-muted);
  transition: color 0.15s ease;
}

.footer-col a:hover{
  color: #fff;
}

.footer-simple-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.footer-title{
  color: #fff;
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 2.8vw, 2.2rem);
}

.footer-intro{
  margin: 0 0 18px;
}

.footer-person,
.footer-line-text{
  margin: 0 0 14px;
}

.footer-link{
  color: rgba(255,255,255,0.92);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-link:hover{
  color: #fff;
}

.footer-brand-compact{
  border-left: 1px solid var(--footer-line);
  padding-left: 18px;
}

.footer-brand-logo{
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
  object-fit: contain;
  border-radius: 12px;
}

.footer-brand-text{
  margin: 0;
  color: var(--footer-muted);
  max-width: 40ch;
  font-size: 0.98rem;
}

.footer-bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--footer-line);
}

.footer-bottom p{
  margin: 0;
  color: var(--footer-muted);
  font-size: 0.95rem;
}

.footer-meta{
  text-align: right;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1120px){
  .navlinks{
    display: none;
  }

  .menu{
    display: block;
  }

  .hero-grid{
    grid-template-columns: 1fr;
  }

  .footer-simple-grid{
    grid-template-columns: 1fr;
  }

  .footer-grid-compact{
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-compact{
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--footer-line);
    padding-top: 16px;
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px){
  .section{
    padding: 74px 0;
  }

  .pub-item{
    flex-direction: column;
  }

  .pub-meta{
    justify-content: flex-start;
  }

  .team-card-top{
    align-items: flex-start;
  }

  .footer-contact-card{
    grid-template-columns: 1fr;
  }

  .footer-bottom{
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta{
    text-align: left;
  }
}

@media (max-width: 720px){
  .hero{
    padding: 54px 0 70px;
  }

  .hero-topline,
  .btnrow,
  .hero-logos{
    gap: 10px;
  }

  .subtitle{
    max-width: 100%;
  }

  .hero-logo-dosita{
    width: 72px;
    height: 72px;
  }

  .hero-logo-shu{
    max-width: 220px;
    height: 54px;
  }

  .team-card-feature{
    padding: 20px;
  }

  .team-card-top{
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .team-card-feature .team-links{
    justify-content: center;
  }

  .footer-grid-compact{
    grid-template-columns: 1fr;
  }

  .contact-logos{
    gap: 14px;
  }
}

@media (max-width: 560px){
  .nav{
    gap: 10px;
  }

  .brand-text{
    font-size: 0.95rem;
  }

  .title{
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .btn{
    width: 100%;
  }

  .btnrow{
    align-items: stretch;
  }

  .hero-logo-divider{
    display: none;
  }

  .footer-contact-card{
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce){
  html{
    scroll-behavior: auto;
  }

  *{
    transition: none !important;
    animation: none !important;
  }
}
.hero,
.hero h1,
.hero h2,
.hero p,
.hero .subtitle,
.hero .tagline,
.hero .hero-meta {
  color: #ffffff !important;
}

.hero .subtitle {
  color: rgba(255,255,255,0.92) !important;
}

.hero .tagline {
  color: rgba(255,255,255,0.85) !important;
}

.hero .hero-meta {
  color: rgba(255,255,255,0.75) !important;
}
.hero-visual {
  margin-left: 120px; 
}
